Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Calculate size of an ambient cache without offline resourcesupstream/kl-soucre-leak | Alexander Shalamov | 2020-07-21 | 2 | -25/+147 |
| | |||||
* | Expose READ_ONLY_MODE_KEY property for DatabaseFileSource | Mikhail Pozdnyakov | 2020-07-21 | 2 | -41/+116 |
| | |||||
* | Fix remove source memory leak. | kevin | 2020-07-16 | 2 | -5/+9 |
| | | | | Cherry-pick from https://github.com/mapbox/mapbox-gl-native-android/pull/412 | ||||
* | [core] Fix GeoJSONVTData ownership and life cycleupstream/release-tequila | Mikhail Pozdnyakov | 2020-01-09 | 2 | -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 size | Mikhail Pozdnyakov | 2019-12-19 | 1 | -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" | tobrun | 2019-12-19 | 9 | -26/+47 |
| | | | | This reverts commit 1e2cd1e086c3053f1cea075d7641b7f56cc7dfbf. | ||||
* | [core] Offline download must clear batch buffer at load interrupt | Mikhail Pozdnyakov | 2019-12-19 | 2 | -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 #16018 | Ansis Brammanis | 2019-12-18 | 2 | -6/+130 |
| | |||||
* | [core] Add unit test for calculateTileDistances | Alexander Shalamov | 2019-12-18 | 5 | -4/+34 |
| | |||||
* | [core] Add unit test for getAnchors and remove unused field | Alexander Shalamov | 2019-12-18 | 6 | -9/+140 |
| | |||||
* | [core] Don't use signed int type for anchor segment | Alexander Shalamov | 2019-12-18 | 7 | -40/+75 |
| | |||||
* | [android] - add hooks for bulk conversion of geographic coordinates to ↵ | tobrun | 2019-12-06 | 2 | -0/+58 |
| | | | | screen coordinates | ||||
* | [core] Refactoring transform state (#15956) | zmiao | 2019-12-05 | 9 | -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 ↵ | zmiao | 2019-12-04 | 31 | -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::cycleDebugOptions | Bruno de Oliveira Abinader | 2019-12-04 | 9 | -47/+26 |
| | |||||
* | [android] remove OfflineRegion.java, gitiginore and issue template. update ↵ | tobrun | 2019-12-03 | 4 | -605/+1 |
| | | | | README | ||||
* | [android] remove platform specific Android code, migrate project to ↵ | tobrun | 2019-12-03 | 885 | -387682/+4 |
| | | | | mapbox-gl-native-android | ||||
* | [test-runner] Allow to define filter inside manifest file | Alexander Shalamov | 2019-12-03 | 7 | -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 Pozdnyakov | 2019-12-03 | 1 | -20/+4 |
| | |||||
* | [android][node][qt] Update platform code for style::Layer::setProperty() | Mikhail Pozdnyakov | 2019-12-03 | 5 | -60/+19 |
| | |||||
* | [core] Merge style::Layer::set{Layout,Paint}Property | Mikhail Pozdnyakov | 2019-12-03 | 24 | -852/+548 |
| | |||||
* | [metrics] Rebaseline linux-gcc8 mbgl-offline filesize metric | Alexander Shalamov | 2019-12-02 | 1 | -1/+1 |
| | |||||
* | [metrics] Add baselines for formatted-images and line-dasharray render tests | Alexander Shalamov | 2019-12-02 | 9 | -0/+315 |
| | |||||
* | [metrics] Rebaseline filesize metric for linux-clang8 | Alexander Shalamov | 2019-12-02 | 1 | -3/+3 |
| | |||||
* | [core] Add unit test for tagged string's image sections | Alexander Shalamov | 2019-12-02 | 1 | -0/+17 |
| | |||||
* | [core] Turn off clang format for generated shaded code | Alexander Shalamov | 2019-12-02 | 2 | -6/+4 |
| | |||||
* | [core] Add unit tests for Formatted class | Alexander Shalamov | 2019-12-02 | 4 | -3/+55 |
| | |||||
* | [core] Shape images in labels at bucket zoom level | Alexander Shalamov | 2019-12-02 | 4 | -2/+9 |
| | |||||
* | [core] Use linear filtering for icons in text for zoom dependent text-size | Alexander Shalamov | 2019-12-02 | 1 | -7/+9 |
| | |||||
* | [core] Use new 'SymbolTextAndIcon' program to draw icons in text | Alexander Shalamov | 2019-12-02 | 45 | -651/+1276 |
| | |||||
* | [core] Store 'sdf' flag in vertex attribute | Alexander Shalamov | 2019-12-02 | 8 | -58/+73 |
| | |||||
* | [core] Shape images in labels and create image quads | Alexander Shalamov | 2019-12-02 | 15 | -230/+389 |
| | |||||
* | [core] Calculate line width and line breaks for images | Alexander Shalamov | 2019-12-02 | 2 | -23/+34 |
| | |||||
* | [core] Pass images and evaluated layout text size to shaping | Alexander Shalamov | 2019-12-02 | 5 | -22/+65 |
| | |||||
* | [core] Add evaluated images to styled text sections | Alexander Shalamov | 2019-12-02 | 4 | -24/+76 |
| | |||||
* | [core] Add image sections to format expression | Alexander Shalamov | 2019-12-02 | 8 | -92/+151 |
| | |||||
* | [core] Bump gl-js version | Alexander Shalamov | 2019-12-02 | 1 | -0/+0 |
| | |||||
* | [core] Introduce Pass<> class and use it for Scheduler | Mikhail Pozdnyakov | 2019-12-02 | 5 | -14/+32 |
| | | | | Thus we enforce client to retain the returned `Scheduler` objects. | ||||
* | [android] Add OfflineManager.runPackDatabaseAutomatically(boolean) API | Mikhail Pozdnyakov | 2019-12-02 | 4 | -4/+37 |
| | |||||
* | [core] Add OfflineDatabase.Pack unit test | Mikhail Pozdnyakov | 2019-12-02 | 2 | -3/+33 |
| | |||||
* | [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() API | Mikhail Pozdnyakov | 2019-12-02 | 6 | -54/+78 |
| | | | | | - added a unit test - Updated inline comments in default_file_source.hpp | ||||
* | Revert "[android] Add OfflineRegion.deleteAndSkipPackDatabase" | Mikhail Pozdnyakov | 2019-12-02 | 3 | -96/+35 |
| | | | | This reverts commit 9bc3aa46384229778853c2710e5b06259b78ed18. | ||||
* | [test-runner] Add android RenderTestRunner baseline metrics (#15979) | zmiao | 2019-12-02 | 1139 | -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' failures | Alexander Shalamov | 2019-12-02 | 1 | -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 GPUs | Alexander Shalamov | 2019-12-02 | 1 | -8/+8 |
| | | | | Blacklist in order to avoid crashes in a driver. | ||||
* | [core] Retain thread pool in GeoJSONSource | Mikhail Pozdnyakov | 2019-11-29 | 2 | -3/+4 |
| | | | | Otherwise, the construction of the `Immutable<Source::Impl>` in background thread might never yeld. | ||||
* | [test-runner] Run render tests with metrics on linux | Juha Alanen | 2019-11-29 | 5 | -6/+46 |
| | |||||
* | [test-runner] Add baseline metrics for linux | Juha Alanen | 2019-11-29 | 1134 | -0/+39762 |
| | |||||
* | [glfw] Fix map not resizing on Linux | Thiago Marcos P. Santos | 2019-11-29 | 1 | -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=all | Thiago Marcos P. Santos | 2019-11-29 | 3 | -7/+7 |
| | | | | | | Chromium is using it for a while on ARM. https://codereview.chromium.org/1153143004/patch/20001/30002 |