summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move AnnotationManager inside Style, make Style sharedupstream/galinelle_setStyle++Gali Nelle2020-02-0424-170/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change enables to share a style across Maps. The goal is to avoid loading the same style multiple times if multiple maps with the same style are used. Use cases range from minimap to snapshotters. This change moves the AnnotationManager inside the Style itself. In this way, the old behavior is retained under the old use-cases: single map-single style. When using the style on multiple maps, changing annotations on the style, or on one map will result in changing them on all maps where that style is used. To add more flexibility, moving forward, a possible solution can be to support multiple stacked styles in the Map, that will then be flattened in the map. In this way a style will be a group of layers that can be added or removed without much troubles. Practical use case would be a style with the annotations on top of a style for the base map, that could be changed by the user. This would allow avoiding the current required procedure of modifying the new style when it gets set, in order to add the annotations.
* [core] Update changelogAlexander Shalamov2020-01-271-0/+4
|
* [core] Add unit test for pausing & resuming database fsAlexander Shalamov2020-01-273-0/+27
|
* [metrics] Upbdate baselines for test app binary sizeAlexander Shalamov2020-01-271-3/+3
|
* [core] Add pause and resume to database filesource implementationAlexander Shalamov2020-01-272-0/+13
|
* [test-runner] Add iOS RenderTestRunner test metrics (#16139)zmiao2020-01-241118-46/+38881
| | | | | | * [test-runner] Add iOS RenderTestRunner test metrics * [test-runner] Add ios probe metrics
* GeoJSONSource is re-using the existing schedulerMikhail Pozdnyakov2020-01-243-14/+33
| | | | Thus avoiding spawing new threads on `setGeoJSONData()` calls.
* [core] Update changelogAlexander Shalamov2020-01-231-0/+4
|
* [core] Use weak scheduler inside mailboxAlexander Shalamov2020-01-232-15/+19
| | | | | There is no guarantee that scheduler is alive when message is pushed to the mailbox.
* [core] Move resource loader to dedicated thread with schedulerAlexander Shalamov2020-01-232-76/+48
|
* [core] remove std::vector copy step in SymbolLayout::anchorIsTooClose (#16131)galinelle2020-01-221-1/+1
| | | A const reference is enough here.
* Add change log entryMikhail Pozdnyakov2020-01-221-0/+6
|
* Add CrossTileSymbolLayerIndex.offscreenSymbols testMikhail Pozdnyakov2020-01-221-1/+54
|
* [core] Do not index and place the off-screen symbols for overscaled tilesMikhail Pozdnyakov2020-01-229-30/+69
| | | | | For overscaled tiles the viewport might be showing only a small part of the tile, so we filter out the off-screen symbols to improve the performance.
* [core] Simplify Placement::addLayer()Mikhail Pozdnyakov2020-01-224-9/+10
|
* [core] Simplify CrossTileSymbolIndex::addLayer()Mikhail Pozdnyakov2020-01-226-25/+35
|
* [core] Avoid repeated calculations in symbol placementMikhail Pozdnyakov2020-01-222-42/+47
|
* [core] Cache showCollisionBoxes in PlacementMikhail Pozdnyakov2020-01-223-20/+13
|
* [core] Pass UpdateParameters to Placement constructorMikhail Pozdnyakov2020-01-225-38/+27
|
* [core] Pass std::shared_ptr<UpdateParameters> to the render orchestratorMikhail Pozdnyakov2020-01-229-72/+73
| | | | So that it can retain ownership of the given parameters.
* [core] Pass placement commit parameters in constructorMikhail Pozdnyakov2020-01-223-9/+14
|
* [core] Consider symbol bucket leader id in cross-tile symbol indexingMikhail Pozdnyakov2020-01-222-21/+38
| | | | | | | Only buckets with the same leader id participate in `TileLayerIndex::findMatches()` in order to improve its performace. `TileLayerIndex` constness is fixed.
* avoid restore sanity ccache since it will cause unarchive error for new ↵zmiao2020-01-221-4/+17
| | | | added macos job (#16135)
* [ios, macos] Include SKU token for offline requests (#16130)Jordan Kiley2020-01-213-7/+5
|
* [test-runner] Enable IOS RenderTestRunner and run it on Firebase (#16111)zmiao2020-01-2139-7/+1140
| | | | | | | | | | * [test-runner] Setup iOS RenderTestRunner * [test-runner] Make app runnable on firebase * Add iOS platform dependent expectation and ignores; Run prepare script via cmake * Make RenderTestRunner report test status
* [ios][macos] Disable document generation for obsolete targetsAlexander Shalamov2020-01-211-4/+4
|
* [core] Update changelogAlexander Shalamov2020-01-151-0/+4
|
* [test-runner] Add stretchable icons resources to cacheAlexander Shalamov2020-01-151-0/+0
|
* [metrics] Baselines for stretchable icons featureAlexander Shalamov2020-01-151950-3778/+6306
|
* [core] implement stretchable icons for icon-text-fitKonstantin Käfer2020-01-1517-105/+279
|
* [core] move icon rotation from shaping to quad generation to mirror JSKonstantin Käfer2020-01-159-40/+39
|
* [core] Remove unused WritingMode from getIconQuadsKonstantin Käfer2020-01-154-18/+17
|
* [core] Change ImagePosition from storing non-padded rect to padded rect to ↵Konstantin Käfer2020-01-156-46/+22
| | | | mirror the JS implementation
* [core] add stretches + content to ImagePositionKonstantin Käfer2020-01-152-8/+8
|
* [core] parse stretchX, stretchX, and content from sprite JSON filesKonstantin Käfer2020-01-153-174/+427
|
* [core] Add stretches and content to style::ImageKonstantin Käfer2020-01-1510-43/+229
|
* [core] getGlyphQuad -> getGlyphQuadsKonstantin Käfer2020-01-158-45/+111
|
* [core] add pixelOffset and minFontScale to SymbolQuadsKonstantin Käfer2020-01-153-9/+46
|
* [core] Upgrade shaders and add new vertices to SymbolLayoutKonstantin Käfer2020-01-1510-471/+521
|
* Add change log entry for PR #16106Mikhail Pozdnyakov2020-01-131-0/+2
|
* [android] Use new FileSourceManager interfaceAlexander Shalamov2020-01-1310-65/+133
| | | | Use new interface for android jni adaptation classes.
* [qt] Use new FileSourceManager interfaceAlexander Shalamov2020-01-133-7/+17
|
* [darwin] Use new FileSourceManager interfaceAlexander Shalamov2020-01-137-36/+52
|
* [node] Use new FileSourceManager interfaceAlexander Shalamov2020-01-134-12/+22
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-1385-1345/+1877
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Introduce FileSourceManager and use it for default platform impl - Add `FileSourceManager` interface that provides access to `FileSource` instances and means of registering / unregistering `FileSource` factories - Split `DefaultFileSource` into smaller parts - Add `DatabaseFileSource` interface and it's default implementation - Remove inter-dependencies between concrete `FileSource` classes * [build] Add files to next build system * [core] Add generic property setters / getters * [core] Remove setOnlineStatus from OnlineFileSource interface * [core] Hide threading implementation details from DatabaseFileSource interface * [core] Make DB file source methods virtual * [core] Add documentation for DatabaseFileSource and rename one method * [core] Use simple callback instead of ActorRef * [core] Remove ActorRef from OnlineFileSource public header * [core] Add callback to FileSource::forward async API * [core] Pass OfflineRegionDefinition by value * [core] Update tests to use modular file sources * [core] Update unit tests * [core] Update unit tests after rebase * [core] Backport low prio fix for cached requests * [core] Backport pack database * [core] Return removed factory from unRegisterFileSourceFactory * [core] Rename shadowed args in onlinefilesource * [core] Remove simple std::function callback aliases * [core] Expose online file source property keys in public header file * [test-runner] Add proxy file source test runner * [cache] Update mbgl-cache utility to use new file source * [metrics] Rebaseline binary size metrics * [offline] Update offline utility * [core] Update changelog
* [build][android] Fix CI bot that validates downstream API breakageJuha Alanen2020-01-101-1/+1
|
* [build] Run Android unit test on FirebaseJuha Alanen2020-01-101-0/+35
|
* [test] Increase the threshold for Map.Offline test on AndroidJuha Alanen2020-01-101-1/+4
|
* [test] Skip number-format expression tests on AndroidJuha Alanen2020-01-101-0/+6
|
* [android] Use stub HTTP file source for test runnersJuha Alanen2020-01-102-1/+22
|