summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adjust external memory after freeing image buffer (ref ##15915)upstream/adjust-external-memoryArtem Pavlenko2019-11-131-3/+9
|
* clang-formatArtem Pavlenko2019-11-131-6/+4
|
* Bring back original pattern of calling get() and release() after NewBuffer ↵Artem Pavlenko2019-11-131-1/+4
| | | | ctor (ref #15915)
* more clang-formatArtem Pavlenko2019-11-131-5/+6
|
* clang-formatArtem Pavlenko2019-11-131-6/+5
|
* Call `Nan::AdjustExternalMemory` to ensure allocated memory is registred ↵Artem Pavlenko2019-11-131-23/+19
| | | | with GC (ref #15915)
* [core] Fix MapSnapshotter build failure on WindowsAnder Conselvan de Oliveira2019-11-138-26/+16
| | | | | | | | MSVC implementation of std::promise is buggy and only works with types that can be default-constructed. To avoid a compilation failure in the instantiation of ask() inside MapSnapshotter::getRegion(), which creates a std::promise<LanLngBounds>, make LatLngBounds' default constructor public.
* No firebase skip for commits touching paths other than darwin-specificMikhail Pozdnyakov2019-11-131-3/+3
|
* [android] Add change log entryMikhail Pozdnyakov2019-11-121-0/+3
|
* [android] Add OfflineRegion.deleteAndSkipPackDatabaseMikhail Pozdnyakov2019-11-123-35/+96
|
* [android] Consolidate exception handling code in OfflineManagerMikhail Pozdnyakov2019-11-121-67/+36
|
* [android] Add OfflineManager.packDatabase() APIMikhail Pozdnyakov2019-11-124-2/+87
|
* [core] Extend DefaultFileSource APIMikhail Pozdnyakov2019-11-122-9/+32
| | | | Add `packDatabase()` method and `bool pack` argument to the `deleteOfflineRegion()` method.
* [core] OfflineDatabase pack APIMikhail Pozdnyakov2019-11-123-15/+52
| | | | | | - introduce `OfflineDatabase::pack()` standing for incremental vacuum - make pack optional at offline region deletion - update `OfflineDatabase.DeleteRegion` test accordingly to the items above
* fix -Wfor-loop-analysis and -Wreorder warnings (#15901)Dane Springmeyer2019-11-122-4/+5
|
* remove duplicate formatNumber (#15908)Dane Springmeyer2019-11-121-39/+0
|
* [android] Update unit tests that use resolvedImage typeAlexander Shalamov2019-11-127-7/+54
|
* [core] Add Source.GeoJSONSourceTilesRemainAfterDataReset unit testMikhail Pozdnyakov2019-11-121-10/+34
|
* [ios][android] Add change log entriesMikhail Pozdnyakov2019-11-122-0/+2
|
* [core] Avoid GeoJSON source flickering on style transitionsMikhail Pozdnyakov2019-11-121-12/+13
| | | | | | | | | | | | Before this change, all GeoJSON source cleared tile pyramid at the style transition and it caused flickering. Now, in Continuous mode, we keep the existing tiles until the new GeoJSON data is not yet available, thus providing smart style transitions without flickering. In other modes (Static, Tile) clear the tile pyramid in order to avoid render tests being flaky.
* [qt] Fix code formattingThiago Marcos P. Santos2019-11-111-15/+13
|
* [qt] Make image source url update possibleTadej Novak2019-11-111-4/+10
|
* Fix linking error in render-test (#15900)Dane Springmeyer2019-11-111-0/+2
| | | | | | | | | | | | | | | | ``` Undefined symbols for architecture x86_64: "mbgl::ProxyFileSource::getRequestCount()", referenced from: TestRunner::runOperations(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, TestMetadata&, RunContext&) in runner.cpp.o "mbgl::ProxyFileSource::isTrackingActive()", referenced from: TestRunner::runOperations(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, TestMetadata&, RunContext&) in runner.cpp.o "mbgl::ProxyFileSource::setTrackingActive(bool)", referenced from: TestRunner::runOperations(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, TestMetadata&, RunContext&) in runner.cpp.o TestRunner::run(TestMetadata&) in runner.cpp.o "mbgl::ProxyFileSource::getTransferredSize()", referenced from: TestRunner::runOperations(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, TestMetadata&, RunContext&) in runner.cpp.o ``` Fixes Debug build on OS X with clang-8
* [darwin] Update changelogAlexander Shalamov2019-11-112-1/+2
|
* [android] Update changelogAlexander Shalamov2019-11-111-0/+1
|
* [node] Update changelogAlexander Shalamov2019-11-111-0/+3
|
* [darwin] Fix image roundrip conversionAlexander Shalamov2019-11-118-21/+33
|
* [darwin] Add conversion for resolvedImageAlexander Shalamov2019-11-1113-38/+53
|
* [darwin] Update image expression evaluated type nameAlexander Shalamov2019-11-111-7/+7
|
* [android] Placeholders for conversion from:to ImageAlexander Shalamov2019-11-112-0/+11
|
* [android] Update image expression evaluated type nameAlexander Shalamov2019-11-111-6/+6
|
* [node] Add support for Image expressionAlexander Shalamov2019-11-111-1/+4
|
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-1186-526/+1051
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Bump gl-js version * [core] Implement image expression * [core] Use new image expression * [core] Coerce image expression to / from string * [core] Serialize evaluated image * [core] Pass available images to layout * [core] Pass images to evaluation context * [core] Set available flag value based on image availability * [core] Allow image coercion to boolean to indicate image availability * [core] Coalesce image expression * [core] Add image expression to next build system * [core] Align serialization format and evaluated type with gl-js * [core] Add images to expression evaluation method * [core] Add support for Image expression to expression test runner * [core] Unskip image expression tests * [core] Update unit tests * [core] Use image expression in annotation manager * [core] Add string to ImageExpression conversion * [core] Add image expression to expression dsl * [core] Convert tokens for implicitly created Image literal * [core] Fix clang format * [core] Split generated style code lines that are over 120 characters * [core] Add unit test for image expression equality * [core] Add image property expression evaluation unit test * [core] Unskip image expression render test * [core] Skip 'in' expression tests * [core] Ignore fill-pattern/update-feature-state render test * [core] Rename Image::serialize to Image::toValue
* [core] Improve OfflineDatabase error handlingMikhail Pozdnyakov2019-11-112-55/+62
| | | | | - fixes missing exception handlers (e.g. runtim error from the `initialize()` method) - introduces generic exception handling mechanism to reduce the repeated code
* [Linux] Remove CA certificate bundleMikko Pulkki2019-11-115-3533/+0
|
* [core] Use expected.hpp from mapbox-baseMikhail Pozdnyakov2019-11-0818-1782/+22
|
* [core] Add batch conversion of latLngs to/from screenCoords (#15891)zmiao2019-11-075-13/+99
| | | | | | * [core] Add batch conversion of latLng vs screenCoord * [core] Take the simple approach
* [render-test] Fix render-test manifest confilicted local and member names ↵zmiao2019-11-051-8/+8
| | | | (#15888)
* [ios][android] Add change log entriesMikhail Pozdnyakov2019-11-052-0/+2
|
* [core] Parse GeoJSONSource description in backgroundMikhail Pozdnyakov2019-11-051-12/+24
| | | | Unblocks the UI thread on heavy GeoJSON tiles parsing operation
* [core] Add Scheduler::scheduleAndReplyValue() APIMikhail Pozdnyakov2019-11-053-2/+48
|
* [render-test]Fix regex match for testFilter input (#15886)zmiao2019-11-041-2/+2
|
* [android] Add change log entryMikhail Pozdnyakov2019-10-311-0/+1
|
* [android] Convert GeoJSON features to tiles in backgroundMikhail Pozdnyakov2019-10-314-51/+56
| | | | | | | | | Composing tiles from the GeoJSON features is an expensive operation that might block UI thread on updating the `GeoJsonSource` with the new data. This change moves tile composing to the background thread and thus unblocks the UI thread.
* [core] Introduce and apply GeoJSONData::create() APIMikhail Pozdnyakov2019-10-314-40/+49
|
* [render-test] Add gfx probe test casesMikko Pulkki2019-10-3031-1/+266
|
* [render-test] Implement gfx probe for tracking gpu resourcesMikko Pulkki2019-10-3014-34/+267
|
* [render-test] Add resource usage tracking to gfx contextMikko Pulkki2019-10-3016-14/+176
|
* [render-test] Add manifest parser for render-test-runner (#15861)zmiao2019-10-2919-461/+635
| | | | | | | | | | * [render-test] Add manifest parser for render-test-runner * [render-test] Refactory manifest parser * [render-test] Parse full manifest file through CLI * [render-test] Add linux probe manifest
* [core] use individual textures for line dash patternsupstream/zmiao-testKonstantin Käfer2019-10-295-104/+143
| | | | | | | | This moves the LineAtlas from a shared texture that contained SDF dash patterns to use individual textures. Previously, the texture space was limited to a texture of 512 pixels height. Dash patterns were never removed (and are still never removed as of this patch), which means that this texture could fill up for styles that use a lot of different dash patterns. In particular, dash patterns for lines with a round line cap take up 15 pixels of texture height, limiting the amount of unique dash patterns to 34. While this was probably enough for rendering a single style, we quickly exhausted this number when reusing the Map object to render different styles. Instead of a global shared texture, we're now creating individual textures for every dash pattern. These textures are still cached so that we don't need to re-upload the texture on every frame.