summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [core][android][darwin] Move platform specific Collator impls from expressionAlexander Shalamov2019-09-262-4/+26
| | | | Platform specific Collator implementations should not be part of an expression APIs.
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-257-22/+14
|
* [build] Disable clang-format on generated codeThiago Marcos P. Santos2019-09-2512-0/+48
| | | | Nice to have, but would make maintain the templates a lot harder.
* [build] Fix builds with -pedanticThiago Marcos P. Santos2019-09-201-2/+2
|
* [core] Add LayerTypeInfo::TileKindMikhail Pozdnyakov2019-09-181-0/+6
|
* [core] Check layer compatibility with sourceMikhail Pozdnyakov2019-09-187-1/+13
|
* [build] Fix clang format and tidy checksJuha Alanen2019-09-183-31/+12
|
* [core] Add removeFeatureState APIJuha Alanen2019-09-181-1/+4
|
* [core] Add support for set/getFeatureState APIsJuha Alanen2019-09-181-0/+12
|
* [core] Add feature state support to bucket classesJuha Alanen2019-09-181-0/+24
|
* [core] Add feature state support to expressionJuha Alanen2019-09-182-0/+13
|
* [core] Add new types for feature statesJuha Alanen2019-09-181-0/+3
|
* [Core] Fix wrong `maxzoom` setting of tileSet when using URL source (#15581)zmiao2019-09-171-1/+4
| | | | | | | | | | | | * [core] Take max/min zoom option from style if they are set * [core] std::move input value * [Core] Add changelogs * [Core] Fix clang-format reported error * [Core] fix clang-tidy reported error
* [build] Fix clang format and tidy checksThiago Marcos P. Santos2019-09-172-5/+10
|
* [build] Mark explicitly visible symbolsThiago Marcos P. Santos2019-09-171-0/+21
| | | | | Easier to maintain than a linker script. We build everything with visibility hidden by default.
* [build] Make the default styles part of GL NativeThiago Marcos P. Santos2019-09-171-0/+30
| | | | | The reason is applications using it, like GLFW, don't need to depend on code inside platform/default.
* [core] Bitmask operations for enumsMikhail Pozdnyakov2019-09-132-16/+35
|
* [core] Update MapObserver::onDidFinishRenderingFrame() APIMikhail Pozdnyakov2019-09-121-1/+7
|
* [core] Expose mbgl::style::Light::setPropertyBruno de Oliveira Abinader2019-09-112-0/+8
| | | | Works the same way as mbgl::style::set{Paint,Layout}Property functions.
* [core] Use mapbox::base::TypeWrapper instead of utils::peerMikhail Pozdnyakov2019-09-103-38/+4
|
* [core, ios, macos] SDK objects should hold weak pointers to the core style ↵Mikhail Pozdnyakov2019-09-097-4/+39
| | | | objects (#15539)
* [core] Add requiredTileCount to OfflineRegionStatusBruno de Oliveira Abinader2019-08-291-0/+5
|
* [core] make padding optional when camera position is requested.Łukasz Paczos2019-08-291-1/+1
| | | | When padding is not provided, the current one that's cached in the TransformState is going to be returned.
* [core] Remove programCacheDir parameter from ProgramParametersAnder Conselvan de Oliveira2019-08-271-1/+0
| | | | | | Binary shader support has been removed in commit c2f974f2a573 ([core] Remove binary shader support). This left-over parameter is not used anywhere anymore.
* [core] Export symbol placement update status from MapObserverMikhail Pozdnyakov2019-08-232-3/+3
|
* Indroduce clusterProperty option for aggregation (#15287)zmiao2019-08-164-19/+30
| | | | | | | | | | * indroduce clusterProperty option for aggregation * remove unnecessary codes * update geojson_option conversion * fix reviewing findings
* [core][node] Serialize formatted expression's text-color optionAlexander Shalamov2019-08-151-0/+2
| | | | This enables proper round-tripping for serialized format expression.
* [core] Add style bindings for "text-writing-mode" layout propertyAlexander Shalamov2019-08-132-0/+9
|
* [core] Limit pitch based on edge insets. Fix max Z calculation in getProjMatrix.Aleksandar Stojiljkovic2019-08-011-1/+1
| | | | | | | | | | | | | Patch partly fixes #15163 in a way that it doesn't allow loading tens of thousands of tiles and attempt to show area above horizon: Limit pitch based on edge insets. It is not too bad - current limit of 60 degrees stays active until center of perspective is moved towards the bottom, to 84% of screen height. The plan is to split removal of 60 degrees limit to follow up patch. Fix max Z calculation in getProjMatrix. TransformState::getProjMatrix calculation of farZ was complex with possibility to lead to negative z values. Replacing it with simpler, precise calculation: furthestDistance = cameraToCenterDistance / (1 - tanFovAboveCenter * std::tan(getPitch())); TransformState::getProjMatrix calculation of farZ was an aproximation. Replacing it with simpler, but precise calculation. Related to: #15163
* [docs] Remove references to increasing offline tile limitHeather Stenson2019-07-181-2/+1
|
* [core] Synchronize render passes and render tilesMikhail Pozdnyakov2019-07-111-0/+2
| | | | | | | | | | | | | | | | Before this change render passes were assigned for the whole layer at properties evaluation stage. This caused problems, as layer render data are bound to the tile and these data might differ from tile to tile, depending on which tile has been updated by the tile worker and which has not been yet updated. This change takes into consideration the actual render passes required for each tile and combines them for the layer render passes. Naturally, this change also introduces render pass check for each render layer in `RenderLayer::render()` implementations.
* [core] Introduce LayerProperties::constantsMask()Mikhail Pozdnyakov2019-07-021-1/+2
| | | | | | Constants mask for data-driven paint properties is a reliable criteria of whether the given updated properties can still be used with the existing bucket (and the gl program instance).
* [core] Minor change to silence documentation warning on iOS.Julian Rex2019-07-021-2/+2
|
* [core] Add number-format expressionJuha Alanen2019-06-273-1/+45
|
* [core] DefaultFileSource dynamic support for cache-only requestsBruno de Oliveira Abinader2019-06-252-12/+20
|
* [core] Add method for setting a maximum size for the ambient cacheThiago Marcos P. Santos2019-06-181-6/+24
| | | | | | | - Removed this parameter from the constructor, now that we have a method to set it. - Add the method and enforce the limits if the ambient cache exceeds the size.
* [core] Clear/Invalidate should also work on non-tile resourcesThiago Marcos P. Santos2019-06-181-7/+13
| | | | | These methods were only affecting tiles, but they should really work on every resource like style, glyphs, etc.
* [core] Rename resetCache to resetDatabaseThiago Marcos P. Santos2019-06-181-1/+1
| | | | | Avoid confusion about what is being reset. In this case, the whole database and not only the ambient cache.
* [core] Surface cache management APIsThiago Marcos P. Santos2019-06-131-0/+28
| | | | | These APIs need to be on the DefaultFileSource in order to be visible for the SDKs bindings.
* [build] remove roundtrip through <experimental/optional> when using optionalKonstantin Käfer2019-06-121-1/+1
|
* [core] Make tile id unwrapTo() constMikhail Pozdnyakov2019-06-101-4/+4
|
* [core] remove platform::show(Color)?DebugImageKonstantin Käfer2019-05-281-6/+0
|
* [core] refactor program object creationKonstantin Käfer2019-05-283-3/+49
|
* [core] Remove priority from the constructorThiago Marcos P. Santos2019-05-281-11/+7
| | | | Make the constructor less verbose and set good defaults.
* [core] Introduce usage tag for resourcesThiago Marcos P. Santos2019-05-281-0/+7
| | | | | | | Make the distinction if a resource is being requested for offline usage or if it will be used immediately. Fixes #14746
* [core] Offset viewport center when edge insets are specifiedAleksandar Stojiljkovic2019-05-281-2/+2
| | | | | | | | | | | | | | | | | | | | | The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges. MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation. iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set. Tests: ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests. Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets. LocalGlyphRasterizer: verify text rendering when applying padding. Related to #11882: both use projection matrix elements [8] and [9]. Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area. Fixes #12107, #12728, navigation-sdks/issues/120
* [core] invoke optional resource path change completion listenerŁukasz Paczos2019-05-241-1/+4
|
* [core] limit thread's scope to release the Object before detaching the threadŁukasz Paczos2019-05-241-11/+15
|
* [core] option to perform platform specific operations when ↵Łukasz Paczos2019-05-222-0/+16
| | | | creating/destroying core threads
* [core] RenderLayer::render(PaintParameters, RenderSource*) -> ↵Mikhail Pozdnyakov2019-05-221-0/+2
| | | | render(PaintParameters)