summaryrefslogtreecommitdiff
path: root/include/mbgl
Commit message (Collapse)AuthorAgeFilesLines
* [core] Decouple Scheduler interface from actor modelMikhail Pozdnyakov2019-10-043-12/+8
| | | | So that it is possible to schedule normal `std::function` and use `mapbox::base::WeakPtr`.
* [core] Enable move semantics for StylePropertyMikhail Pozdnyakov2019-09-271-3/+9
|
* [core] Return enum layer property values as stringAnder Conselvan de Oliveira2019-09-271-1/+1
| | | | | | | | | | The output of Layer::getProperty is a mapbox::base::Value which is equivalent to JSON. When setting the value of an enum property via JSON its value would be a string, so it would be natural to return a string too. Also, the numbers generated depend on the enum definition. They are not part of the style spec.
* [core] Introduce Light::getProperty()Mikhail Pozdnyakov2019-09-273-0/+11
|
* [core] ValueFactory for `expression::formatted`, other improvementsMikhail Pozdnyakov2019-09-274-21/+39
|
* [core] Layer::getPaintProperty() -> Layer::getProperty()Mikhail Pozdnyakov2019-09-2612-12/+12
|
* [core] Separate header for StylePropertyMikhail Pozdnyakov2019-09-262-9/+21
|
* [core] LayerProperty -> StylePropertyMikhail Pozdnyakov2019-09-2613-25/+25
|
* [core] Introduce Layer::getPaintProperty() generic getterMikhail Pozdnyakov2019-09-2613-8/+67
|
* [core] type aliases and conversion traits for mapbox::base::ValueMikhail Pozdnyakov2019-09-262-6/+58
|
* [core][android][darwin] Move number format to i18nAlexander Shalamov2019-09-262-3/+15
|
* [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.