summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix image requests for already obtained imagesMikhail Pozdnyakov2019-10-172-5/+7
| | | | | Before this change, repeated request for an already obtained image was erroneously treated as pending.
* [core] fix icon-text-fitKonstantin Käfer2019-10-144-45/+72
| | | | This fixes rendering by account for the 1px texture padding around icons that were stretched with icon-text-fit. We've added the 1px padding before, but didn't scale it accordingly when we are resizing the icon when it is stretched to fit the text. Adjusts the code to match the logic in GL JS.
* [core] map image type to string until we have a dedicated implementationKonstantin Käfer2019-10-143-36/+38
|
* Add iOS bindings for cluster properties (#15515)Jordan Kiley2019-10-111-0/+1
|
* [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
|