summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Introduce Scheduler::bindOnce() and use it in ImageManagerMikhail Pozdnyakov2019-10-102-6/+11
|
* [core] Disallow coalesced requests for patternsMikhail Pozdnyakov2019-10-101-6/+14
| | | | | | | Unlike icons, pattern changes are not caught with style-diff meaning that the existing request could be from the previous style and we cannot coalesce requests for them.
* [core] Coalesce requests for the same missing imageMikhail Pozdnyakov2019-10-102-29/+43
| | | | | | | This commit coalesces the repeated `onStyleImageMissing` calls for the same image. It also simplifies the image manager code.
* [core] Introduce Scheduler::makeWeakPtr()Mikhail Pozdnyakov2019-10-091-0/+3
|
* [core] Introduce SequencedScheduler and ParallelSchedulerMikhail Pozdnyakov2019-10-073-43/+74
| | | | | | | | | | | This commit refactors `utils::ThreadPool` into a template `ThreadedScheduler` class and provides aux type aliases. So that it is possible to obtain a sequenced schedule,where all the scheduled tasks are guarantied to be executed consequently. The sequenced lightweight scheduler is required by both the orchestration thread and the refactored `FileSource` implementation.
* [core] Decouple Scheduler interface from actor modelMikhail Pozdnyakov2019-10-043-10/+15
| | | | So that it is possible to schedule normal `std::function` and use `mapbox::base::WeakPtr`.
* [core] Orchestration performance for styles with multiple sourcesMikhail Pozdnyakov2019-10-042-26/+39
| | | | | | | | | | | | RenderOrchestrator holds a vector of ordered rendered layers, in order to minimize calling of `getRenderLayer()`, which could be quite expensive as it calculates hash of the layer Id. This change improves orchestration performance in particular for the styles that have multiple sources. The `API_renderStill_multiple_sources` benchmark runs approximately 70% faster with the changes applied.
* [core] fix opacity interpolation for composition expressions (#15738)Ansis Brammanis2019-10-021-5/+4
| | | | port https://github.com/mapbox/mapbox-gl-js/pull/8818
* [core] Suppress network requests for invisible tilesMikhail Pozdnyakov2019-10-021-0/+4
| | | | If the render source does not need rendering, we set necessity for its tiles to `optional`, and thus suppress network requests on tiles expiration.
* [core] Introduce Light::getProperty()Mikhail Pozdnyakov2019-09-272-39/+93
|
* [core] Layer::getProperty supports layout propertiesMikhail Pozdnyakov2019-09-2710-208/+262
|
* [core] ValueFactory for `expression::formatted`, other improvementsMikhail Pozdnyakov2019-09-271-0/+29
|
* [core] Layer::getPaintProperty() -> Layer::getProperty()Mikhail Pozdnyakov2019-09-2611-11/+11
|
* [core] Separate header for StylePropertyMikhail Pozdnyakov2019-09-261-0/+1
|
* [core] LayerProperty -> StylePropertyMikhail Pozdnyakov2019-09-2611-169/+169
|
* [core] Fix clang format errorsMikhail Pozdnyakov2019-09-2610-401/+441
|
* [core] Introduce Layer::getPaintProperty() generic getterMikhail Pozdnyakov2019-09-2612-379/+820
|
* [core] type aliases and conversion traits for mapbox::base::ValueMikhail Pozdnyakov2019-09-261-4/+4
|
* [core][android][darwin] Move number format to i18nAlexander Shalamov2019-09-262-2/+4
|
* [core][android][darwin] Move platform specific Collator impls from expressionAlexander Shalamov2019-09-262-0/+25
| | | | Platform specific Collator implementations should not be part of an expression APIs.
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-2544-127/+88
|
* [core] Fix bugprone-use-after-moveThiago Marcos P. Santos2019-09-251-15/+14
| | | | Luckily this is an enum and was being copied.
* [build] Disable clang-format on generated codeThiago Marcos P. Santos2019-09-2532-0/+128
| | | | Nice to have, but would make maintain the templates a lot harder.
* [build] Move compression to platformThiago Marcos P. Santos2019-09-202-105/+0
| | | | It depends on platform specific compression library.
* [core] Clang format fixandroid-v8.3.2Mikhail Pozdnyakov2019-09-198-68/+89
|
* [core] Immutable/Mutable pattern for PlacementMikhail Pozdnyakov2019-09-194-80/+109
|
* [core] Update buckets in RendererMikhail Pozdnyakov2019-09-196-18/+35
|
* [core] Fix Placement constnessMikhail Pozdnyakov2019-09-197-16/+20
| | | | Update buckets methods do not mutate placement, placement methods do not mutate buckets.
* [core] Fix formattingMikhail Pozdnyakov2019-09-1812-99/+81
|
* [core] Use LayerInfo::tileKind in sourcesMikhail Pozdnyakov2019-09-186-12/+12
|
* [core] Add LayerTypeInfo::TileKindMikhail Pozdnyakov2019-09-1812-18/+47
|
* [core] Check layer compatibility with sourceMikhail Pozdnyakov2019-09-189-43/+94
|
* [build] Fix clang format and tidy checksJuha Alanen2019-09-1845-491/+348
|
* [core] Add removeFeatureState APIJuha Alanen2019-09-188-0/+91
|
* [core] Feature state support to RenderLayer classesJuha Alanen2019-09-1812-20/+31
|
* [core] Add feature state support to queryRenderedFeatures APIJuha Alanen2019-09-1810-17/+43
|
* [core] Add support for set/getFeatureState APIsJuha Alanen2019-09-186-0/+73
|
* [core] Add SourceFeatureState class to handle feature statesJuha Alanen2019-09-183-0/+97
|
* [core] Add setFeatureState API to Tile classesJuha Alanen2019-09-185-1/+35
|
* [core] Add feature state support to bucket classesJuha Alanen2019-09-1816-42/+208
|
* [core] Add feature-state compound expressionJuha Alanen2019-09-181-0/+15
|
* [core] Add feature state support to isFeatureConstant expressionJuha Alanen2019-09-181-1/+2
|
* [core] Add feature state support to expressionJuha Alanen2019-09-182-0/+27
|
* [Core] Fix wrong `maxzoom` setting of tileSet when using URL source (#15581)zmiao2019-09-172-6/+30
| | | | | | | | | | | | * [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] Make the default styles part of GL NativeThiago Marcos P. Santos2019-09-171-0/+1
| | | | | The reason is applications using it, like GLFW, don't need to depend on code inside platform/default.
* [core] Fix for FormatSectionOverrides::hasOverrideAlexander Shalamov2019-09-171-11/+4
|
* [core] Coalesce buckets updates from several tilesMikhail Pozdnyakov2019-09-133-6/+24
|
* [core] Initiate new placement only when a new bucket appearesMikhail Pozdnyakov2019-09-133-14/+23
|
* [core] Bitmask operations for enumsMikhail Pozdnyakov2019-09-135-49/+5
|
* [core] Fix placement for updated bucketsMikhail Pozdnyakov2019-09-132-16/+10
| | | | | Buckets update initiates new placement, so that newly added symbols are placed and shown immediately.