summaryrefslogtreecommitdiff
path: root/include/mbgl/util
Commit message (Collapse)AuthorAgeFilesLines
* [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-062-41/+45
|
* [core] Tighten LatLng and other geo.hpp classesJohn Firebaugh2017-04-061-17/+18
| | | | | * Remove LatLng::null and enforce invariants * Remove unnecessary operator bool()
* [node] Move util/async_task.hpp to public include directoryKonstantin Käfer2017-03-281-0/+24
|
* [core] Move ignore.hpp to public include directoryJohn Firebaugh2017-03-281-0/+26
|
* [core] Avoid public dtoa.hpp includeJohn Firebaugh2017-03-281-13/+3
|
* [core] Move interpolate.hpp to public include directoryJohn Firebaugh2017-03-281-0/+89
|
* [core] Added Map::latLngBoundsForCameraBruno de Oliveira Abinader2017-03-241-0/+8
|
* [core] Pass std::exception_ptr in style::Observer::onStyleErrorBruno de Oliveira Abinader2017-03-171-0/+15
|
* [core] Avoid -Wundefined-var-template warnings with clang 3.9+John Firebaugh2017-03-091-19/+19
|
* [core] Enable debug events in Debug configurationMinh Nguyễn2017-03-041-1/+1
|
* [core] Safeguard ICU UChar usageBruno de Oliveira Abinader2017-03-021-0/+16
|
* [core] Make Image saferJohn Firebaugh2017-02-142-4/+65
| | | | | | Provide Image::copy, which handles copying rectangles from a source to a destination, with thorough bounds checking. Also fixes an indexing error in SpriteAtlas, where the top row of pixels in a wrapped image was copied from the wrong source row.
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-0/+17
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-274-9/+9
|
* [core] add clone() call to Image objectsKonstantin Käfer2017-01-261-0/+7
|
* [core] Get rid of user-specified refsJohn Firebaugh2017-01-041-0/+1
|
* [core] Remove constexpr from ColorJohn Firebaugh2017-01-041-10/+10
| | | | GCC can't cope with it.
* [core] Assert valid range for color componentsJohn Firebaugh2016-11-291-0/+16
|
* [build] move logging to utilKonstantin Käfer2016-11-223-0/+170
|
* [build] move default_styles to platform/defaultKonstantin Käfer2016-11-221-31/+0
|
* [core] Introduce gl::Program templateJohn Firebaugh2016-11-081-5/+0
|
* [core] add ability to upload alpha-only textures + imagesKonstantin Käfer2016-11-011-3/+6
|
* [core] Moved util::log2 to its own headerBruno de Oliveira Abinader2016-10-311-0/+2
| | | | | | - Added util::{MIN,MAX}_ZOOM_F to avoid consecutive conversions from double to float - Move util::log2 to its own header (part of mbgl/math)
* [core] Modern C++ bindings for OpenGLJohn Firebaugh2016-10-282-1/+5
|
* [core] operator bool() must always be explicitJohn Firebaugh2016-10-281-1/+1
| | | | Otherwise, it can participate in unexpected conversions. Case in point: GlyphSet::insert was comparing the result of GlyphMetrics::operator bool() where it wanted to use operator==.
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-272-18/+50
|
* [core] extract weak_ptr mailbox->receive into Mailbox::maybeReceiveMike Morris2016-10-201-3/+1
|
* [core] TileCoordinate::fromLatLng no longer depens on TransformStateBruno de Oliveira Abinader2016-10-191-1/+1
|
* [core] Move TransformState::{un,}project() to ProjectionBruno de Oliveira Abinader2016-10-191-0/+16
|
* [core] Move TransformState::worldSize() to ProjectionBruno de Oliveira Abinader2016-10-191-4/+10
|
* [core] standardize on uint16_t for texture sizesKonstantin Käfer2016-09-271-6/+6
|
* [core] Use an actor model for tile worker concurrencyJohn Firebaugh2016-09-161-2/+13
|
* [core] [android] - public api configurable base endpoint (#6309)Tobrun2016-09-151-0/+2
| | | add runloop to test
* [core] OnlineFileSource - rate limitIvo van Dongen2016-09-132-0/+4
|
* [core] Don't use std::move on forwarding referencesJohn Firebaugh2016-09-081-13/+16
|
* [core] Rework invokeWithCallback so that the callback is lastJohn Firebaugh2016-09-083-11/+25
|
* [core] Extract WorkTaskImpl from run_loop.hppJohn Firebaugh2016-09-083-83/+105
|
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-0/+3
|
* [core] Use NDEBUG instead of DEBUGBruno de Oliveira Abinader2016-08-051-1/+1
| | | | | CMake defines 'NDEBUG' by default for release build, so we can check if that's not defined instead of using 'DEBUG' for debug build.
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-271-15/+3
| | | | | | | | | | | | | | | | * add supercluster dependency * prepare GeoJSONTile for Supercluster * prepare GeoJSONSource for accepting options * try removing mbgl::GeoJSON * fix setGeoJSON types * add GeoJSONSource getURL * add geojson to include path * add Supercluster index in GeoJSONSource * fix GeoJSONSource getZoomRange * bring back mbgl::GeoJSON header * fix tidy warnings hopefully * try test-suite with enabled cluster test * fix formatting in clustering-related files
* [core] Add support for $id key to filtersJohn Firebaugh2016-07-181-5/+1
| | | | https://github.com/mapbox/mapbox-gl-style-spec/issues/391
* [core] Revert workaround for std::atomic on ARMv5Thiago Marcos P. Santos2016-07-131-5/+5
| | | | | | Got fix on r12. https://github.com/android-ndk/ndk/issues/31
* Merge branch 'release-ios-v3.3.0' into masterJesse Bounds2016-07-071-0/+12
|\
| * [ios] #3979 compress telemetry events (#5490)Fredrik Karlsson2016-07-051-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] #3979 wip gzip telemetry events * [ios] expose compression from core instead of adding a new dependency * [ios] #3979 Exposed decompress from mbgl and added a test case * [ios] #3979 cleanup * [ios] #3979 cleaned up test case * [ios] #3979 cleanup * [ios] #3979 gzip -> deflate
* | [core] geometry@0.8.0 / geojsonvt@6.0.0 (#5514)Young Hahn2016-07-062-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] geometry.hpp 0.8.0 * geojsonvt @ 6.0.0 * Update platform deps, build scripts * Perf optimizations/cleanup * Rebase in geometry@080 * D.R.Y. etc * Ensure fill annotation geometries have closed rings. * Optimizations * Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt * Apply close multi/poly geoms for line annotations as well
* | [core] code style cleanupsKonstantin Käfer2016-07-011-4/+4
| | | | | | | | | | | | | | - puts function definitions in a namespace ... {} rather than using namespace ...; - remove trailing whitespace - add trailing newline - protect SQL statements from being formatted by clang-format
* | [core] Added CharArrayBufferBruno de Oliveira Abinader2016-06-301-0/+55
| | | | | | | | | | | | | | | | Implements a custom std::streambuf to avoid creating temporary std::string objects and thus optimizing image decode. Suggested by @artemp in https://github.com/mapbox/mapbox-gl-native/pull/5417#issuecomment-227700063.
* | [core] Use the right types for zoom scale logicBruno de Oliveira Abinader2016-06-281-1/+1
| | | | | | | | | | | | | | 32 bit integers should be enough for zoom scale logic. In shape annotation logic, 'maxAmountOfTileFeatures' requires 64 bits because we are multiplying the zoom scale with the extent, which might give a number higher than std::numeric_limits<uint32_t>::max().
* | [core, node] Implement bindings for addSourceJohn Firebaugh2016-06-241-0/+22
| |
* | [core] Added mbgl::util::DEFAULT_TRANSITION_EASEBruno de Oliveira Abinader2016-06-201-0/+3
| |