summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [core] Add style::Layer(Impl) constructorMikhail Pozdnyakov2019-12-132-0/+2
|
* [core] Remove Map::cycleDebugOptionsBruno de Oliveira Abinader2019-12-041-1/+0
|
* [core] Merge style::Layer::set{Layout,Paint}PropertyMikhail Pozdnyakov2019-12-0312-25/+12
|
* [core] Add image sections to format expressionAlexander Shalamov2019-12-022-19/+24
|
* [core] Introduce Pass<> class and use it for SchedulerMikhail Pozdnyakov2019-12-021-2/+19
| | | | Thus we enforce client to retain the returned `Scheduler` objects.
* [core] Add OfflineDatabase.Pack unit testMikhail Pozdnyakov2019-12-021-3/+3
|
* [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() APIMikhail Pozdnyakov2019-12-021-9/+21
| | | | | - added a unit test - Updated inline comments in default_file_source.hpp
* [core] Retain thread pool in GeoJSONSourceMikhail Pozdnyakov2019-11-291-1/+2
| | | | Otherwise, the construction of the `Immutable<Source::Impl>` in background thread might never yeld.
* [core] Calculate GeoJSON tile geometries in a background threadMikhail Pozdnyakov2019-11-291-5/+7
| | | | | Call `mapbox::geojsonvt::GeoJSONVT::getTile()` in a background thread, so that the rendering thread is not blocked.
* [core][android][darwin] Fix GeoJSONOptions handlingMikhail Pozdnyakov2019-11-291-2/+5
| | | | | | - share the `GeoJSONOptions` instances using `Immutable<GeoJSONOptions>` - avoid extra copying - fix wrapping of the `GeoJSONOptions` instances in supercluster map/reduce lambdas. Previously, local variables were wrapped by reference.
* [core] Introduce Scheduler::GetSequenced() APIMikhail Pozdnyakov2019-11-281-0/+13
| | | | | | The newly introduced `Scheduler::GetSequenced()` returns sequenced schedulers from the cache limited to 10 instances, preventing from spawning too many threads.
* [core] Add new method to DefaultFileSourceJuha Alanen2019-11-211-0/+1
| | | | | Add setMaximumConcurrentRequests() method for setting it on the OnlineFileSource.
* [core] Fix MapSnapshotter build failure on WindowsAnder Conselvan de Oliveira2019-11-131-7/+2
| | | | | | | | MSVC implementation of std::promise is buggy and only works with types that can be default-constructed. To avoid a compilation failure in the instantiation of ask() inside MapSnapshotter::getRegion(), which creates a std::promise<LanLngBounds>, make LatLngBounds' default constructor public.
* [core] Extend DefaultFileSource APIMikhail Pozdnyakov2019-11-121-3/+17
| | | | Add `packDatabase()` method and `bool pack` argument to the `deleteOfflineRegion()` method.
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-1117-55/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Bump gl-js version * [core] Implement image expression * [core] Use new image expression * [core] Coerce image expression to / from string * [core] Serialize evaluated image * [core] Pass available images to layout * [core] Pass images to evaluation context * [core] Set available flag value based on image availability * [core] Allow image coercion to boolean to indicate image availability * [core] Coalesce image expression * [core] Add image expression to next build system * [core] Align serialization format and evaluated type with gl-js * [core] Add images to expression evaluation method * [core] Add support for Image expression to expression test runner * [core] Unskip image expression tests * [core] Update unit tests * [core] Use image expression in annotation manager * [core] Add string to ImageExpression conversion * [core] Add image expression to expression dsl * [core] Convert tokens for implicitly created Image literal * [core] Fix clang format * [core] Split generated style code lines that are over 120 characters * [core] Add unit test for image expression equality * [core] Add image property expression evaluation unit test * [core] Unskip image expression render test * [core] Skip 'in' expression tests * [core] Ignore fill-pattern/update-feature-state render test * [core] Rename Image::serialize to Image::toValue
* [core] Use expected.hpp from mapbox-baseMikhail Pozdnyakov2019-11-082-22/+16
|
* [core] Add batch conversion of latLngs to/from screenCoords (#15891)zmiao2019-11-071-0/+2
| | | | | | * [core] Add batch conversion of latLng vs screenCoord * [core] Take the simple approach
* [core] Add Scheduler::scheduleAndReplyValue() APIMikhail Pozdnyakov2019-11-051-0/+27
|
* [android] Convert GeoJSON features to tiles in backgroundMikhail Pozdnyakov2019-10-311-0/+1
| | | | | | | | | Composing tiles from the GeoJSON features is an expensive operation that might block UI thread on updating the `GeoJsonSource` with the new data. This change moves tile composing to the background thread and thus unblocks the UI thread.
* [core] Introduce and apply GeoJSONData::create() APIMikhail Pozdnyakov2019-10-311-0/+16
|
* [render-test] Add resource usage tracking to gfx contextMikko Pulkki2019-10-301-0/+22
|
* [core,android,darwin,qt] Add fields related to feature-stateJuha Alanen2019-10-281-1/+15
| | | | | Move the fields from geometry.hpp/feature.hpp as they are not part of the GeoJSON specification.
* [render-test] Implement fps benchmarking tests (#15803)Mikko Pulkki2019-10-221-0/+24
|
* [core] Introduce Scheduler::bindOnce() and use it in ImageManagerMikhail Pozdnyakov2019-10-101-0/+10
|
* [core] Introduce Scheduler::makeWeakPtr()Mikhail Pozdnyakov2019-10-092-0/+6
|
* [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
|