summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* | [core] Replace MapChange enum with MapObserverBruno de Oliveira Abinader2017-03-153-5/+41
| |
* | [core] Avoid -Wundefined-var-template warnings with clang 3.9+John Firebaugh2017-03-091-19/+19
| |
* | [core] query source featuresIvo van Dongen2017-03-093-1/+33
| |
* | [core] rename query options for query rendered featuresIvo van Dongen2017-03-092-5/+5
|/
* [core] Avoid using std::function in property_setter.hppJohn Firebaugh2017-03-083-198/+209
|
* For data-driven paint setters, transition immediately to target value (#8306)Anand Thakker2017-03-081-0/+1
| | | Closes #8237
* [core] Add support for queryRenderedFeatures filterAsheem Mamoowala2017-03-044-4/+31
|
* [core] Enable debug events in Debug configurationMinh Nguyễn2017-03-041-1/+1
|
* [Qt] Remove legacy QOpenGL dependency from Qt5 buildThiago Marcos P. Santos2017-03-031-2/+2
| | | | OpenGL on Qt5 is offered via QtGui.
* [core] Safeguard ICU UChar usageBruno de Oliveira Abinader2017-03-021-0/+16
|
* [core] Cache file source base URL and access tokenJesse Bounds2017-03-011-0/+18
| | | | | This caches the base URL and access token values when they are set so that they can still be retrieved even when the thread is paused.
* [core] Implement data-driven styling for ↵Anand Thakker2017-02-281-30/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {text,icon}-{color,opacity,halo-color,halo-blur,halo-width} (#7939) * Add symbol dds attributes and adapt style code generation * Update to mapbox-gl-js/master * Refactor SymbolFeature as a subclass of GeometryTileFeature Prepares for enabling DDS on symbol paint properties by allowing the SymbolFeatures, which we keep around after constructing SymbolLayout, to be used in evaluating data-driven paint properties later in the layout process. * Draft approach for splitting icon/text paint properties The `Program` types are set up to bind GL attributes to each of the data-driven paint properties specified in the `PaintProperties` type provided. Since `SymbolPaintProperties` specifies both `Text*` and `Icon*` properties, the symbolIcon, symbolIconSDF, and symbolGlyph programs each attempt to bind roughly double the number of attributes that they actually need. This change addresses this by: - Adding the more specific `IconPaintProperties` and `TextPaintProperties` types, which are subsets of the full `SymbolPaintProperties`. - The symbol layer continues to use its `SymbolPaintProperties paint` member to track layer property state, but it provides helpers that construct objects of each the specific `{Icon,Text}PaintProperties::Evaluated` type, for use by the painter. - The three symbol programs instantiate `Program<>` using the appropriate `{Icon,Text}PaintProperties` type. * check in generated style code * Populate paint buffers for symbol DDS properties * Address first round of review comments * Refactor VectorTile{Layer,Feature} to explicitly share data * Update submodule
* [core] [android] - allow zooming/scaling to use AnimationOptions (#8181)Tobrun2017-02-281-18/+18
| | | [glfw] - allow glfw binding to use AnimationOptions instead of using direction directly
* [core] Add a pause/resume API to the DefaultFileSourceThiago Marcos P. Santos2017-02-251-0/+3
| | | | | It will halt the networking thread completely. Expired and error'ed tiles won't get re-requested until resume() is called again.
* [core] - allow moveBy to use AnimationOptionsTobrun2017-02-201-1/+2
| | | | [android] - update jni bindings for moveBy with an interpolator
* [core] Link BackendScopes in a list for additional assertionsJohn Firebaugh2017-02-201-1/+2
|
* [core] Ensure that context resources are destroyed before context is destroyedJohn Firebaugh2017-02-201-2/+1
|
* [core] Nestable BackendScopeJohn Firebaugh2017-02-202-14/+17
|
* [core] add ability to transform URLs before they're requested from the InternetKonstantin Käfer2017-02-202-0/+6
|
* [core] Enable property functions for text-{field,transform} (#7944)Anand Thakker2017-02-171-6/+6
|
* Refactor: use conversion system to convert MGLStyleFunction to mbgl core ↵Anand Thakker2017-02-151-1/+1
| | | | | types (#8026) This leverages the work already happening in `mbgl::style::conversion` to convert style functions from style-spec definitions into `mbgl::style::{Camera,Source,Composite}Function`s. In particular, this allows the conversions system to handle the differing typing requirements based on whether the output type of the style function is interpolatable or non-interpolatable.
* [core] Add noexcept(false) in MBGL_CHECK_ERRORJohn Firebaugh2017-02-151-1/+1
| | | | C++11 destructors are noexcept by default, so the prior definition always called std::terminate without allowing anything to catch the exception.
* [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] Expose Map::setZoom with anchor parameterJason Wray2017-02-131-0/+1
|
* [core] Introduce dedicated filter types for $type and $id special cases (#7971)John Firebaugh2017-02-093-50/+287
| | | | | | | | * [core] Introduce dedicated filter types for $type and $id special cases * [ios, macos] Special-case $id, $type in predicates Also support $id ≟ nil.
* [core] Restore support for *-transition propertiesJohn Firebaugh2017-02-0912-0/+198
|
* [core, ios, macos] Refactor composite stop types and conversionsJohn Firebaugh2017-02-095-71/+185
|
* [core] Do not consider error'ed responses freshThiago Marcos P. Santos2017-02-071-1/+1
| | | | | It has the unwanted side effect of not retrying anymore in case of error.
* [ios, macos] Add support for data-driven property functionsJesse Bounds2017-02-021-0/+5
|
* [core] default value support in categorical function conversionIvo van Dongen2017-02-028-31/+64
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-0225-164/+897
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-277-12/+12
|
* [core] add clone() call to Image objectsKonstantin Käfer2017-01-261-0/+7
|
* [core] Include what you useThiago Marcos P. Santos2017-01-201-0/+1
|
* [Qt] Use Qt's OpenGL headerThiago Marcos P. Santos2017-01-201-0/+3
|
* Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.7Minh Nguyễn2017-01-164-2/+66
|\
| * [core] Filter operator==John Firebaugh2017-01-041-1/+59
| |
| * [core] Added URL accessor for tile sourcesMinh Nguyễn2016-12-203-1/+7
| |
* | [core] Get rid of user-specified refsJohn Firebaugh2017-01-042-0/+3
| |
* | [core] Use PropertyMap typedefJohn Firebaugh2017-01-041-2/+2
| |
* | [core] Remove constexpr from ColorJohn Firebaugh2017-01-041-10/+10
| | | | | | | | GCC can't cope with it.
* | [core, ios] replace `altitude` with `fov`Ansis Brammanis2016-12-211-1/+1
| | | | | | | | | | | | | | | | | | ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19 `altitude` was a terribly-named variable that was used to indirectly control the fov. This should eliminate some confusion. `altitude` was equivalent to `cameraToCenterDistance / height`
* | Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.5-masterMinh Nguyễn2016-12-202-3/+4
|\ \ | |/ | | | | Also reran make style-code and manually discarded anything related to fill extrusion layers.
| * [core] use raii to guard backend deactivationIvo van Dongen2016-12-131-6/+25
| |
| * [ios, macos] Migrate MGLCustomStyleLayerAdditions to style layer API (#7250)Minh Nguyễn2016-12-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] Replaced custom style layer API with MGLOpenGLStyleLayer Replaced the custom style layer API on MGLMapView with an equally unsupported MGLOpenGLStyleLayer API that nonetheless is consistent with the broader runtime styling API and is compatible with macOS. Fixed an unrecognized selector crash when wrapping a layer of unrecognized type coming from mbgl. * [macos] Added lime green layer demo to macosapp Reprised the demo removed from iosapp in #5091. * [ios, macos] Rationalized MGLOpenGLStyleLayer API MGLStyle now strongly references any MGLOpenGLStyleLayer object that’s added to it, in order to prevent pointers from going stale and make it easy for layer drawing code to get more information about the map view. Replaced the MGLOpenGLStyleLayer callback blocks with overridable instance methods. Added internal documentation for each method. Subclassed MGLOpenGLStyleLayer as LimeGreenStyleLayer inside macosapp. Consolidated -addToMapView: into -addToMapView:belowLayer: to ensure that MGLRedundantLayerException gets raised even if the layer is being inserted rather than added to the bottom of the stack. * [core] Clarified that rendering happens on the main thread * [ios, macos] Fixed removing and re-adding MGLOpenGLStyleLayer Don’t allow index-based layer removal to circumvent -removeFromMapView:, which MGLOpenGLStyleLayer relies on to synchronize the style’s array of MGLOpenGLStyleLayers. When obtaining an MGLOpenGLStyleLayer, get the instance already added to the style instead of creating a new one to wrap the underlying CustomLayer.
| * [core, ios, macos] Add image accessor to MGLStyle (#7096)Roman Blum2016-12-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * [core] Add interface to get image from sprite atlas * [tests] Add tests for Map::getImage * [ios, macos] WIP: get MGLImage for name from style * [ios, macos] Fixed -imageForName: Convert from sprite images to platform images using the existing encodePNG() function, which is also used for printing. Allow -imageForName: to return nil without an assertion failure. Added a basic test.
* | [core] use raii to guard backend deactivationIvo van Dongen2016-12-121-6/+25
| |
* | [core] Implement circle-stroke propertiesJohn Firebaugh2016-12-095-1/+102
| | | | | | | | Also includes stubs for fill-extrusion layer, because most of the code was auto-generated.
* | [core] Move evaluation algorithm to FunctionJohn Firebaugh2016-12-061-1/+4
| |
* | [core] Inline friend equality operatorsJohn Firebaugh2016-12-062-23/+15
| |