summaryrefslogtreecommitdiff
path: root/src/mbgl
Commit message (Collapse)AuthorAgeFilesLines
* [core] Updated Size::isEmpty and TransformState::valid checksBruno de Oliveira Abinader2017-04-106-9/+20
|
* [core] Invalidate cached tiles of disabled sources on relayoutJohn Firebaugh2017-04-072-3/+7
|
* [Qt] Fix build when zlib is compiled with -DZ_PREFIXThiago Marcos P. Santos2017-04-071-1/+1
| | | | Proper fix this time.
* [core] Inline GlyphPBF into GlyphAtlasJohn Firebaugh2017-04-066-173/+111
|
* [core] Test glyph PBF parsing independently of GlyphAtlasJohn Firebaugh2017-04-064-11/+20
|
* [core] Add DDS support for {text,icon}-size (#8593)Anand Thakker2017-04-0624-170/+681
| | | | | | | | | | | | | | | | | | | | | | | | * Update gl-js and generate style code * Factor out packUint8Pair() helper function * Draft implementation of DDS for {text,icon}-size Ports https://github.com/mapbox/mapbox-gl-js/pull/4455 * Fix text-size/composite-function-line-placement test * Refactor to PaintPropertyBinders-like strategy * Dedupe gl::Program construction * Use exponential function base for interpolation * Dedupe coveringZoomStops method * Fixup tests * Fix CI errors (hidden within #if block)
* [all] Make LatLng coordinates read-onlyJohn Firebaugh2017-04-066-15/+17
|
* [core] Tighten LatLng and other geo.hpp classesJohn Firebaugh2017-04-062-24/+15
| | | | | * Remove LatLng::null and enforce invariants * Remove unnecessary operator bool()
* [Qt] Fix typo in gl.hppBruno de Oliveira Abinader2017-04-061-1/+1
|
* [core] De-mutex GlyphAtlas and SpriteAtlasChris Loer2017-04-0426-629/+804
| | | | | | | | | | | | - Expose glyph and icon information to workers via message interface. - Glyph/SpriteAtlas track which tiles have outstanding requests and send messages to them when glyphs/icons become available. - Remove obsolete "updateSymbolDependentTiles" pathway - Symbol preparation for a tile now depends on all glyphs becoming available before it can start. - Start tracking individual icons needed for a tile, although we don't do anything with the information yet. - Introduce typedef for GlyphID
* [core] return empty optional when color could not be parsedIvo van Dongen2017-04-041-8/+12
|
* [core] Add another explanatory comment to PaintPropertyBinderJohn Firebaugh2017-04-031-0/+31
|
* [core] Remove unused ThreadLocal constructorJohn Firebaugh2017-04-031-5/+0
|
* [core] Do not throw on dtorsThiago Marcos P. Santos2017-04-011-1/+4
| | | | Fix build on GCC6 + Ubuntu 16.04.
* [core] Add DDS support for icon-imageJohn Firebaugh2017-03-313-20/+21
|
* [core] Add DDS support for text-rotateJohn Firebaugh2017-03-313-7/+7
|
* [core] Pass fully-evaluated layout properties to SymbolInstance and quad methodsJohn Firebaugh2017-03-315-7/+7
|
* [core] Introduce a fully-evaluated tuple type for layout propertiesJohn Firebaugh2017-03-3111-27/+69
|
* [core] Value stored to 'format' is never read in Context::drawPixelsBruno de Oliveira Abinader2017-03-311-1/+1
| | | | Captured via clang-analyzer-deadcode.DeadStores.
* [core] check null data in query source featuresIvo van Dongen2017-03-281-0/+5
|
* [core] implement dds for text-offsetMolly Lloyd2017-03-284-8/+8
|
* [core] Update mapbox-gl-js submoduleJohn Firebaugh2017-03-287-25/+25
| | | | Includes lowp ⇢ highp fix for shader color attributes / uniforms.
* [core] Privatize gl/gl.hppKonstantin Käfer2017-03-281-0/+50
|
* [core] Privatize OpenGL/Context headersKonstantin Käfer2017-03-282-0/+36
|
* [node] Move util/async_task.hpp to public include directoryKonstantin Käfer2017-03-281-24/+0
|
* [glfw] Remove GL state restorationKonstantin Käfer2017-03-281-29/+0
| | | | We're doing all of this in our own context anyway, so no need to restore the state
* [core] Remove private header includes from CLI utilitiesKonstantin Käfer2017-03-282-14/+0
|
* [core] Internalize rapidjson.hppBruno de Oliveira Abinader2017-03-281-0/+35
|
* [core] Move map/change.hpp to public include directoryJohn Firebaugh2017-03-281-26/+0
|
* [core] Move actor/{mailbox,scheduler}.hpp to public include directoryJohn Firebaugh2017-03-282-71/+0
| | | | Map constructor takes Scheduler&, and consumers are expected to define an implementation. Therefore the interface must be public.
* [core] Move ignore.hpp to public include directoryJohn Firebaugh2017-03-281-26/+0
|
* [core] Avoid public dtoa.hpp includeJohn Firebaugh2017-03-281-0/+20
|
* [core] Move interpolate.hpp to public include directoryJohn Firebaugh2017-03-281-89/+0
|
* Small edit to improve code resiliency (#8540)Anand Thakker2017-03-281-2/+3
| | | | | h/t @ChrisLoer catching this place where we were relying on member initialization order. While it _happened_ to be okay here, it's unnecessarily fragile.
* [core] Added Map::latLngBoundsForCameraBruno de Oliveira Abinader2017-03-242-0/+13
|
* [core] Refactor OpenGL extension loading mechanismKonstantin Käfer2017-03-2321-373/+448
| | | | Previously, we initialized global variables that held pointers to the extension functions. While this seemed to work, the spec doesn't guarantee that the function pointers are identical for different OpenGL contexts. Therefore, we are now making them a member variable of the Context object.
* [core] Move OpenGL extension initialization to BackendKonstantin Käfer2017-03-234-22/+23
|
* [core] Ensure that a BackendScope exists when doing GL callsKonstantin Käfer2017-03-233-5/+19
|
* [all] Replace Result<T> with optional<T> plus out Error parameterJohn Firebaugh2017-03-235-71/+21
|
* Verbose commenting on getSegmentGlyphs (#8361)Chris Loer2017-03-221-58/+180
| | | | | | | | | | | | | | | * Verbose commenting on getSegmentGlyphs This came out of @cloer and @anandthakker trying to figure out how getSegmentGlyphs actually worked. Goal is to use this commented version as the base for a refactor. * Refactor getSegmentGlyphs for clarity. * Add more documentation, inline helper functions * Initialize VirtualSegments directly * Fix virtual anchor diagram
* [core] cache binary shaders on AndroidKonstantin Käfer2017-03-2221-32/+443
|
* Merge branch 'release-ios-v3.5.0-android-v5.0.0'John Firebaugh2017-03-2111-4/+243
|\
| * [core] fixes #8433: don't skip style recalculations for fade-from-zero ↵Justin R. Miller2017-03-161-3/+1
| | | | | | | | transitions (#8440)
| * Increase precision of shader variable (#8423)Anand Thakker2017-03-151-1/+1
| | | | | | Fixes #7599
| * [core] don’t query rendered features until all data is availableIvo van Dongen2017-03-142-1/+6
| |
| * Per-attribute transition properties on MGLStyleLayer (#8225)Fabian Guerra Soto2017-03-109-0/+241
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] new struct MGLTransition * [ios] MGLTransition struct moved to MGLTypes.h * [ios] MGLTransition implemented for style layer properties * [ios, macos] added support for getting property transitions * [ios, macos] updated to MGLDurationFromTimeInterval and MGLTimeIntervalFromDuration * [ios, macos] added transition properties test * [ios, macos] modified key strings imp * [ios, macos] The impl for transition properties were changed to public methods * [ios, macos] Changelog update * [ios] Fixed layer space formatting * [core] The name space was fixed for getters that returned TransitionOptions * [ios, macos] Added rawLayer transition property tests * [ios] Added a factory method for MGLTransition and transition-related methods to NSValue(MGLAdditions) * [ios, macos] Copyedited changelog blurbs about transition properties
| * [core] query source featuresIvo van Dongen2017-03-109-1/+107
| |
| * [core] rename query options for query rendered featuresIvo van Dongen2017-03-1011-20/+20
| |
* | Make Source::getZoomRange return an optional rangeBruno de Oliveira Abinader2017-03-219-18/+22
| |
* | [core] Remove unnecessary unordered_map includesJohn Firebaugh2017-03-215-5/+0
| |