summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core] Pass TransformState to the cross tile symbol indexupstream/cross_tile_index_performanceMikhail Pozdnyakov2020-01-206-12/+19
|
* [core] Simplify Placement::addLayer()Mikhail Pozdnyakov2020-01-194-9/+10
|
* [core] Simplify CrossTileSymbolIndex::addLayer()Mikhail Pozdnyakov2020-01-176-25/+35
|
* [core] Avoid repeated calculations in symbol placementMikhail Pozdnyakov2020-01-162-42/+47
|
* [core] Cache showCollisionBoxes in PlacementMikhail Pozdnyakov2020-01-163-20/+13
|
* [core] Pass UpdateParameters to Placement constructorMikhail Pozdnyakov2020-01-165-38/+27
|
* [core] Pass std::shared_ptr<UpdateParameters> to the render orchestratorMikhail Pozdnyakov2020-01-159-72/+73
| | | | So that it can retain ownership of the given parameters.
* [core] Pass placement commit parameters in constructorMikhail Pozdnyakov2020-01-153-9/+14
|
* [core] Consider symbol bucket leader id in cross-tile symbol indexingMikhail Pozdnyakov2020-01-152-21/+38
| | | | | | | Only buckets with the same leader id participate in `TileLayerIndex::findMatches()` in order to improve its performace. `TileLayerIndex` constness is fixed.
* [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
|
* [test] Run unit tests as NativeActivity application on AndroidJuha Alanen2020-01-1023-29/+528
|
* [android] Fix a RunLoop bug where tasks are run only onceJuha Alanen2020-01-101-2/+1
| | | | | Do not remove tasks from the RunLoop in processRunnables(). Otherwise the task is run only once.
* [ios] Add native_apple_interface to ios.cmake (#16103)Jordan Kiley2020-01-092-1/+2
| | | | | | * [ios] Add native_apple_interface to ios.cmake * [ios] Use Xcode for next-macos-xcode11-release
* [android] add CI bot that validates downstream API breakagetobrun2020-01-091-0/+14
|
* [core] Fix GeoJSONVTData ownership and life cycleMikhail Pozdnyakov2020-01-092-11/+7
| | | | | | | | | | | | | | | | | | | | | | | Before this change, the `GeoJSONVTData` instance was retained at the scheduled lambda, which run on the worker thread represented by the `GeoJSONVTData::scheduler` class member: ``` std::weak_ptr<GeoJSONVTData> weak = shared_from_this(); scheduler->scheduleAndReplyValue( [id, weak, this]() -> TileFeatures { if (auto self = weak.lock()) { return impl.getTile(id.z, id.x, id.y).features; } return {}; }, fn); ``` It caused program termination in case `self` turned to be the last reference to `this`, as the `std::thread` destructor was called from the thread it represented. Now, only the `GeoJSONVTData::impl` class member is retained.
* [android][core] Add `Map::latLngBoundsForCameraUnwrapped` and jni binding ↵Peng Liu2020-01-095-0/+87
| | | | | | | | | for `getVisibleCoordinateBounds`. (#16069) * [android] Add getVisibleCoordinateBounds method. * Fix Map::latLngBoundsForCamera, add Android binding for getVisibleRegionBounds. * Add unit tests for CameraToLatLngBoundsWithRotation and CameraToLatLngBoundsCrossDateLine. * Move API breaking changes to a new method name latLngBoundsForCameraUnwrapped.
* [build] Remove uneeded submodulesThiago Marcos P. Santos2020-01-083-6/+0
| | | | Not needed after the render tests are using the offline cache.
* [render-test] Make the manifest mandatoryThiago Marcos P. Santos2020-01-083-13/+6
| | | | At the moment we have an invalid path as default.
* [render-test] Remove positional argumentThiago Marcos P. Santos2020-01-083-43/+20
| | | | Not in use, for running a single test, use -f instead.
* [metrics] Add new baselinesThiago Marcos P. Santos2020-01-08109-218/+218
| | | | More accurate now since everything goes through the FileSource.
* [core] Make it possible to reopen the database read-only for testingThiago Marcos P. Santos2020-01-085-38/+120
| | | | | | Needed for Android, because the database is in readonly filesystem and also because it is annoying to see files modified every time we run the tests.
* [metrics] Add 2 tests to the ignore listThiago Marcos P. Santos2020-01-081-0/+2
| | | | | Need further investigation on why these tests are failing after we started to use the cache database.
* [metrics] Use the cache database instead of file paths for fixturesThiago Marcos P. Santos2020-01-0816-48/+27
| | | | | Now that we use a cache, we no longer need "asset_path" and "vendor_path".
* [render-test] Use image from the cache for addImage operationThiago Marcos P. Santos2020-01-084-11/+37
| | | | Instead of trying to read it from the filesystem.
* [render-test] Effectively use the offline cache for fixturesThiago Marcos P. Santos2020-01-089-267/+87
|
* [render-test] Add access token to the test manifestThiago Marcos P. Santos2020-01-082-1/+27
| | | | | Needed if we want to run tests online. Will default to the MAPBOX_ACCESS_TOKEN environment value.
* [render-test] Add flag to run tests onlineThiago Marcos P. Santos2020-01-081-3/+11
| | | | | And also make it not go to the network by setting the status explicitly when when the -o flag is not passed.
* [render-test] Add cache database path to the manifestThiago Marcos P. Santos2020-01-082-0/+18
| | | | A path relative to the manifest pointing at the data cache.
* [render-test] Fixed typo and remove unusedThiago Marcos P. Santos2020-01-081-29/+14
|
* [tools] Added cache toolThiago Marcos P. Santos2020-01-082-0/+111
| | | | | A tool for adding resources to a cache database, important for adding fixtures to our render test cache database.
* Update change log and binary size metricsMikhail Pozdnyakov2020-01-082-4/+8
|
* [core] Introduce CollisionIndex::getProjectedCollisionBoundaries()Mikhail Pozdnyakov2020-01-083-21/+26
| | | | In order to remove the repeated code.
* [core] Introduce CollisionBoundaries and use it in CollisionIndexMikhail Pozdnyakov2020-01-083-100/+109
|
* [test] Update render test expectationsMikhail Pozdnyakov2020-01-081-0/+0
|
* [core] Use only the first variable anchor for the symbols intersecting tile ↵Mikhail Pozdnyakov2020-01-081-7/+14
| | | | | | borders Do not try the following variable anchors, if the first variable anchor placement failed.
* [core] Fix CollisionIndex::featureIntersectsTileBorders() implementationMikhail Pozdnyakov2020-01-082-4/+3
|
* [core] Performance fix for placement in tile modeMikhail Pozdnyakov2020-01-081-2/+10
|
* [core] In tile mode, place labels from tile borders firstMikhail Pozdnyakov2020-01-081-53/+88
|
* [core] Pre-defined variable anchor at tile bordersMikhail Pozdnyakov2020-01-082-20/+49
| | | | In tile mode, stick to the first variable anchor if the label intersects tile borders.
* [core] Add CollisionIndex::featureIntersectsTileBorders()Mikhail Pozdnyakov2020-01-082-4/+33
|
* [core] Consolidate more logic in calculateVariableLayoutOffset()Mikhail Pozdnyakov2020-01-081-13/+25
|