summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core] Calculate size of an ambient cache without offline resourcesupstream/kl-soucre-leakAlexander Shalamov2020-07-212-25/+147
|
* Expose READ_ONLY_MODE_KEY property for DatabaseFileSourceMikhail Pozdnyakov2020-07-212-41/+116
|
* Fix remove source memory leak.kevin2020-07-162-5/+9
| | | | Cherry-pick from https://github.com/mapbox/mapbox-gl-native-android/pull/412
* [core] Fix GeoJSONVTData ownership and life cycleupstream/release-tequilaMikhail 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.
* [core] Handle zero text sizeMikhail Pozdnyakov2019-12-191-1/+1
| | | | | | | | The style specification stipulates that `text-size` values must be positive (https://docs.mapbox.com/mapbox-gl-js/style-spec/#layout-symbol-text-size). However, a zero value could be passed to the engine (e.g. as a result of an expression) this patch handles it and avoids assertion hit in `shaping.cpp`.
* Revert "[core] Remove Map::cycleDebugOptions"tobrun2019-12-199-26/+47
| | | | This reverts commit 1e2cd1e086c3053f1cea075d7641b7f56cc7dfbf.
* [core] Offline download must clear batch buffer at load interruptMikhail Pozdnyakov2019-12-192-1/+83
| | | | | | | Otherwise, the stale buffer data are processed again at the repeated load. It is causing various problems like missing load completion notification or crashes (if the previously used observer instance has been deleted).
* [core] Fix really overscaled lines #16018Ansis Brammanis2019-12-182-6/+130
|
* [core] Add unit test for calculateTileDistancesAlexander Shalamov2019-12-185-4/+34
|
* [core] Add unit test for getAnchors and remove unused fieldAlexander Shalamov2019-12-186-9/+140
|
* [core] Don't use signed int type for anchor segmentAlexander Shalamov2019-12-187-40/+75
|
* [android] - add hooks for bulk conversion of geographic coordinates to ↵tobrun2019-12-062-0/+58
| | | | screen coordinates
* [core] Refactoring transform state (#15956)zmiao2019-12-059-197/+526
| | | | | | | | | | * [core] Refactoring transform state class * [core] update matrix in transform, Fix precision * [core] Make matrix mutable so that we only update them when needed * [core] Add getters for matrices
* [test-runner] Make Android RenderTestRunner bot fail when test cases are not ↵zmiao2019-12-0431-31/+357
| | | | | | | | | | | | | | fully passed (#15994) * [test-runner] Fix failed tests, generate android specific expectations * [test-runner] Check render test runner testing result * [test-runner] Add error case to android ignore list * [test-runner] Update metrics * [test-runner] Move Android render tests with big diff(>0.006) to ignore list
* [core] Remove Map::cycleDebugOptionsBruno de Oliveira Abinader2019-12-049-47/+26
|
* [android] remove OfflineRegion.java, gitiginore and issue template. update ↵tobrun2019-12-034-605/+1
| | | | README
* [android] remove platform specific Android code, migrate project to ↵tobrun2019-12-03885-387682/+4
| | | | mapbox-gl-native-android
* [test-runner] Allow to define filter inside manifest fileAlexander Shalamov2019-12-037-16/+22
| | | | | Command line option is still available and allows to override filter that is defined in a manifest file.
* [test runner] Update test commands for Layer::setProperty()Mikhail Pozdnyakov2019-12-031-20/+4
|
* [android][node][qt] Update platform code for style::Layer::setProperty()Mikhail Pozdnyakov2019-12-035-60/+19
|
* [core] Merge style::Layer::set{Layout,Paint}PropertyMikhail Pozdnyakov2019-12-0324-852/+548
|
* [metrics] Rebaseline linux-gcc8 mbgl-offline filesize metricAlexander Shalamov2019-12-021-1/+1
|
* [metrics] Add baselines for formatted-images and line-dasharray render testsAlexander Shalamov2019-12-029-0/+315
|
* [metrics] Rebaseline filesize metric for linux-clang8Alexander Shalamov2019-12-021-3/+3
|
* [core] Add unit test for tagged string's image sectionsAlexander Shalamov2019-12-021-0/+17
|
* [core] Turn off clang format for generated shaded codeAlexander Shalamov2019-12-022-6/+4
|
* [core] Add unit tests for Formatted classAlexander Shalamov2019-12-024-3/+55
|
* [core] Shape images in labels at bucket zoom levelAlexander Shalamov2019-12-024-2/+9
|
* [core] Use linear filtering for icons in text for zoom dependent text-sizeAlexander Shalamov2019-12-021-7/+9
|
* [core] Use new 'SymbolTextAndIcon' program to draw icons in textAlexander Shalamov2019-12-0245-651/+1276
|
* [core] Store 'sdf' flag in vertex attributeAlexander Shalamov2019-12-028-58/+73
|
* [core] Shape images in labels and create image quadsAlexander Shalamov2019-12-0215-230/+389
|
* [core] Calculate line width and line breaks for imagesAlexander Shalamov2019-12-022-23/+34
|
* [core] Pass images and evaluated layout text size to shapingAlexander Shalamov2019-12-025-22/+65
|
* [core] Add evaluated images to styled text sectionsAlexander Shalamov2019-12-024-24/+76
|
* [core] Add image sections to format expressionAlexander Shalamov2019-12-028-92/+151
|
* [core] Bump gl-js versionAlexander Shalamov2019-12-021-0/+0
|
* [core] Introduce Pass<> class and use it for SchedulerMikhail Pozdnyakov2019-12-025-14/+32
| | | | Thus we enforce client to retain the returned `Scheduler` objects.
* [android] Add OfflineManager.runPackDatabaseAutomatically(boolean) APIMikhail Pozdnyakov2019-12-024-4/+37
|
* [core] Add OfflineDatabase.Pack unit testMikhail Pozdnyakov2019-12-022-3/+33
|
* [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() APIMikhail Pozdnyakov2019-12-026-54/+78
| | | | | - added a unit test - Updated inline comments in default_file_source.hpp
* Revert "[android] Add OfflineRegion.deleteAndSkipPackDatabase"Mikhail Pozdnyakov2019-12-023-96/+35
| | | | This reverts commit 9bc3aa46384229778853c2710e5b06259b78ed18.
* [test-runner] Add android RenderTestRunner baseline metrics (#15979)zmiao2019-12-021139-24/+53267
| | | | | | | | | | * [test-runner] Enable probe-testing android render test runner * [test-runner] Add pixel4 baseline metrics * Add git ignored metrics * Make renderTestrunner run two times with different manifest config
* [test-runner] Log all 'probeFileSize' failuresAlexander Shalamov2019-12-021-5/+8
| | | | | If there are multiple file size probes in a test file, it is better to report all failures instead of first failed probe.
* [core] Blacklist VAO extension for Adreno (TM) 4xx GPUsAlexander Shalamov2019-12-021-8/+8
| | | | Blacklist in order to avoid crashes in a driver.
* [core] Retain thread pool in GeoJSONSourceMikhail Pozdnyakov2019-11-292-3/+4
| | | | Otherwise, the construction of the `Immutable<Source::Impl>` in background thread might never yeld.
* [test-runner] Run render tests with metrics on linuxJuha Alanen2019-11-295-6/+46
|
* [test-runner] Add baseline metrics for linuxJuha Alanen2019-11-291134-0/+39762
|
* [glfw] Fix map not resizing on LinuxThiago Marcos P. Santos2019-11-291-1/+1
| | | | | Apparently GLFW is implicitly calling glViewport on macOS but not on Linux. Force setting the viewport instead of assuming a value.
* [android] Use icf=allThiago Marcos P. Santos2019-11-293-7/+7
| | | | | | Chromium is using it for a while on ARM. https://codereview.chromium.org/1153143004/patch/20001/30002