Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Update mapbox-gl-js submodule | John Firebaugh | 2017-03-28 | 7 | -25/+25 |
| | | | | Includes lowp ⇢ highp fix for shader color attributes / uniforms. | ||||
* | [core] Privatize gl/gl.hpp | Konstantin Käfer | 2017-03-28 | 1 | -0/+50 |
| | |||||
* | [core] Privatize OpenGL/Context headers | Konstantin Käfer | 2017-03-28 | 2 | -0/+36 |
| | |||||
* | [node] Move util/async_task.hpp to public include directory | Konstantin Käfer | 2017-03-28 | 1 | -24/+0 |
| | |||||
* | [glfw] Remove GL state restoration | Konstantin Käfer | 2017-03-28 | 1 | -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 utilities | Konstantin Käfer | 2017-03-28 | 2 | -14/+0 |
| | |||||
* | [core] Internalize rapidjson.hpp | Bruno de Oliveira Abinader | 2017-03-28 | 1 | -0/+35 |
| | |||||
* | [core] Move map/change.hpp to public include directory | John Firebaugh | 2017-03-28 | 1 | -26/+0 |
| | |||||
* | [core] Move actor/{mailbox,scheduler}.hpp to public include directory | John Firebaugh | 2017-03-28 | 2 | -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 directory | John Firebaugh | 2017-03-28 | 1 | -26/+0 |
| | |||||
* | [core] Avoid public dtoa.hpp include | John Firebaugh | 2017-03-28 | 1 | -0/+20 |
| | |||||
* | [core] Move interpolate.hpp to public include directory | John Firebaugh | 2017-03-28 | 1 | -89/+0 |
| | |||||
* | Small edit to improve code resiliency (#8540) | Anand Thakker | 2017-03-28 | 1 | -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::latLngBoundsForCamera | Bruno de Oliveira Abinader | 2017-03-24 | 2 | -0/+13 |
| | |||||
* | [core] Refactor OpenGL extension loading mechanism | Konstantin Käfer | 2017-03-23 | 21 | -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 Backend | Konstantin Käfer | 2017-03-23 | 4 | -22/+23 |
| | |||||
* | [core] Ensure that a BackendScope exists when doing GL calls | Konstantin Käfer | 2017-03-23 | 3 | -5/+19 |
| | |||||
* | [all] Replace Result<T> with optional<T> plus out Error parameter | John Firebaugh | 2017-03-23 | 5 | -71/+21 |
| | |||||
* | Verbose commenting on getSegmentGlyphs (#8361) | Chris Loer | 2017-03-22 | 1 | -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 Android | Konstantin Käfer | 2017-03-22 | 21 | -32/+443 |
| | |||||
* | Merge branch 'release-ios-v3.5.0-android-v5.0.0' | John Firebaugh | 2017-03-21 | 11 | -4/+243 |
|\ | |||||
| * | [core] fixes #8433: don't skip style recalculations for fade-from-zero ↵ | Justin R. Miller | 2017-03-16 | 1 | -3/+1 |
| | | | | | | | | transitions (#8440) | ||||
| * | Increase precision of shader variable (#8423) | Anand Thakker | 2017-03-15 | 1 | -1/+1 |
| | | | | | | Fixes #7599 | ||||
| * | [core] don’t query rendered features until all data is available | Ivo van Dongen | 2017-03-14 | 2 | -1/+6 |
| | | |||||
| * | Per-attribute transition properties on MGLStyleLayer (#8225) | Fabian Guerra Soto | 2017-03-10 | 9 | -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 features | Ivo van Dongen | 2017-03-10 | 9 | -1/+107 |
| | | |||||
| * | [core] rename query options for query rendered features | Ivo van Dongen | 2017-03-10 | 11 | -20/+20 |
| | | |||||
* | | Make Source::getZoomRange return an optional range | Bruno de Oliveira Abinader | 2017-03-21 | 9 | -18/+22 |
| | | |||||
* | | [core] Remove unnecessary unordered_map includes | John Firebaugh | 2017-03-21 | 5 | -5/+0 |
| | | |||||
* | | [core] Prefer std::map to std::unordered_map for smaller binary size | John Firebaugh | 2017-03-21 | 7 | -9/+9 |
| | | |||||
* | | [core] s/onSourceDidChange/onSourceChanged/ + source ref | Bruno de Oliveira Abinader | 2017-03-21 | 5 | -8/+8 |
| | | |||||
* | | [core] Expose Source::getZoomRange | Bruno de Oliveira Abinader | 2017-03-20 | 8 | -9/+14 |
| | | |||||
* | | [core] Use core wagyu algorithm; move results into GeometryCollection | John Firebaugh | 2017-03-17 | 2 | -69/+20 |
| | | |||||
* | | Added wagyu and removed angus clipper | Blake Thompson | 2017-03-17 | 4 | -6207/+68 |
| | | |||||
* | | [core] Fix overspecialization of PaintPropertyBinder template | John Firebaugh | 2017-03-17 | 3 | -192/+150 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PaintPropertyBinder and subclass templates were being instantiated for every unique attribute type (e.g. a_color, a_fill_color, a_halo_color) even though they behave identically for a given property value type (e.g. Color). To fix this, a unique type such as a_color no longer derives from gl::Attribute<...> -- instead it has an inner Type typedef, which should be used wherever neither a unique type nor attribute name is required. This reduces binary size substantially: VM SIZE FILE SIZE ++++++++++++++ GROWING ++++++++++++++ -------------- SHRINKING -------------- -2.0% -49.3Ki __TEXT,__text -49.3Ki -2.0% -3.1% -5.21Ki [None] -2.79Ki -1.6% -2.1% -4.12Ki __TEXT,__const -4.12Ki -2.1% -1.4% -4.04Ki __TEXT,__gcc_except_tab -4.04Ki -1.4% -19.3% -3.62Ki __DATA,__data -3.62Ki -19.3% -2.5% -1.65Ki __TEXT,__unwind_info -1.65Ki -2.5% -4.2% -8 __DATA,__mod_init_func 0 [ = ] -1.9% -68.0Ki TOTAL -65.6Ki -1.9% | ||||
* | | [core] Don't need to use normalized attributes anymore | John Firebaugh | 2017-03-17 | 3 | -86/+5 |
| | | |||||
* | | [core] Pass std::exception_ptr in MapObserver::onDidFailLoadingMap | Bruno de Oliveira Abinader | 2017-03-17 | 1 | -2/+2 |
| | | |||||
* | | [core] Pass std::exception_ptr in style::Observer::onStyleError | Bruno de Oliveira Abinader | 2017-03-17 | 3 | -8/+16 |
| | | |||||
* | | [core] Avoid copy construction of PaintPropertyBinders | John Firebaugh | 2017-03-15 | 5 | -10/+22 |
| | | |||||
* | | [core] Replace variant with polymorphic PaintPropertyBinder class | John Firebaugh | 2017-03-15 | 1 | -83/+57 |
| | | |||||
* | | [node] Work around a link error on macOS release builds (#8409) | John Firebaugh | 2017-03-15 | 1 | -0/+5 |
| | | |||||
* | | [core] Replace MapChange enum with MapObserver | Bruno de Oliveira Abinader | 2017-03-15 | 4 | -39/+23 |
| | | |||||
* | | [core] Never join coincident start/end points of LineStrings | John Firebaugh | 2017-03-14 | 2 | -17/+9 |
| | | |||||
* | | [core] don’t query rendered features until all data is available | Ivo van Dongen | 2017-03-14 | 2 | -1/+6 |
| | | |||||
* | | [build] Fix build when using a Z_PREFIX zlib | Thiago Marcos P. Santos | 2017-03-14 | 1 | -0/+5 |
| | | | | | | | | | | It will redefine mbgl::util::compress to mbgl::util::z_compress and cause a link error. Aka pre-processor hell. | ||||
* | | [core] query source features | Ivo van Dongen | 2017-03-09 | 9 | -1/+107 |
| | | |||||
* | | [core] rename query options for query rendered features | Ivo van Dongen | 2017-03-09 | 11 | -20/+20 |
| | | |||||
* | | [core] Extract and de-templatize several Program static methods | John Firebaugh | 2017-03-09 | 3 | -27/+52 |
| | | |||||
* | | [core] Avoid unnecessary convert template instantiations | John Firebaugh | 2017-03-09 | 1 | -1/+1 |
|/ | |||||
* | Pack min + max into one attribute :muscle: | Molly Lloyd | 2017-03-08 | 16 | -244/+234 |
| | | | | | | | | Some devices supported by Mapbox GL provide only 8 vertex attributes; this change packs existing attributes to get us just under that limit. For properties using a composite function, pack the min and max values into a single attribute with two logical components instead of using two separate attributes and buffers. Special logic is included for color attributes, whose integer components must be packed into the available bits of floating-point attributes. (We don't have access to ivec types in GL ES 2.0.) For source functions, continue to bind just a one-component attribute even though the GLSL type is vec2 (or vec4 for colors). The type-checking done by gl::Attribute is relaxed slightly to accommodate this. |