summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [core] Blacklist VAO extension for Adreno (TM) 4xx GPUsupstream/alexshalamov_blacklist_vao_ext_adreno_4xxAlexander Shalamov2019-11-271-8/+8
| | | | Blacklist in order to avoid crashes in a driver.
* [render-test] Add metric_paths into Manifest (#15973)zmiao2019-11-2712-197/+276
| | | | | | | | | | * [render-test]Add expected metrics path in manifest file * seperate metrics.json and expected.png * fix expected path parsing * keep expectation path if update is enabled
* [core] Update Source.GeoJSONSourceTilesAfterDataReset unit testMikhail Pozdnyakov2019-11-261-96/+46
|
* [core] Clear tiles when GeoJSON data changesMikhail Pozdnyakov2019-11-261-15/+13
| | | | | In tile and static mode clear tiles when data changes in order to avoid render tests being flaky.
* [build] Add an option to include platform specific implementationSudarsana Babu Nagineni2019-11-261-0/+4
| | | | | Add an option to include platform specific implementation sources to mbgl-core.
* [core] fix rendering of dashed lines with round capsKonstantin Käfer2019-11-221-2/+20
| | | | | | | | | | | | | In https://github.com/mapbox/mapbox-gl-native/pull/15862, we introduced individual textures for line dash patterns to eliminate atlas overflows. Unfortunately, this broke dashed lines that had round caps (dashed lines with straight caps still rendered correctly). Line pattern textures for round caps were now using 256×15 pixel textures. The OpenGL ES 2.0 spec, section 3.8.2 states: Calling a sampler from a fragment shader will return `(R,G,B,A) = (0,0,0,1)` if any of the following conditions are true: […] - A two-dimensional sampler is called, the corresponding texture image is a non-power-of-two image […], and either the texture wrap mode is not `CLAMP_TO_EDGE`, or the minification filter is neither `NEAREST` nor `LINEAR`. […] This means that texture lookups won't work for NPOT textures unless they use `GL_CLAMP_TO_EDGE`. We're using `GL_CLAMP_TO_EDGE` for the vertical direction, but GL_REPEAT for the horizontal direction, which means that we need a power-of-two texture for our line dash patterns to work on OpenGL ES 2.0 conforming implementations. Fortunately, this just means changing the height from 15 to 16, and from 30 to 32, so we don't waste many pixels.
* [test-runner] Add render test runner options for injecting probesAlexander Shalamov2019-11-223-48/+177
| | | | | This allows injection of memory, gfx and network probes before and after operations defined in render test are run.
* [render-test] Adding mvt-fixture to app asset content (#15955)zmiao2019-11-211-0/+1
|
* [tests] Disable some metrics recording on FirebaseThiago Marcos P. Santos2019-11-211-1/+2
| | | | We are not using them, attempt to make the tests run faster.
* [build] Build Android release when running render testsThiago Marcos P. Santos2019-11-212-6/+15
|
* [ios, macos] Changelog entry for network request priority change (#15950)Juha Alanen2019-11-212-0/+2
|
* [android] Changelog entry for network request priority change (#15950)Juha Alanen2019-11-211-0/+1
|
* [test] Add test for priority of online requests for expired resourcesJuha Alanen2019-11-211-1/+76
|
* [core] Set the priority of online requests for existing resource to lowJuha Alanen2019-11-211-0/+2
|
* [core] Add new method to DefaultFileSourceJuha Alanen2019-11-212-0/+9
| | | | | Add setMaximumConcurrentRequests() method for setting it on the OnlineFileSource.
* [core] Notify requests about network reachability only when coming back onlineJuha Alanen2019-11-211-1/+3
|
* [ios] Refactor host checks (#15948)Julian Rex2019-11-201-2/+9
|
* [render-test] Config CircleCi to run RenderTestApp on Firebase with Pixel4 ↵zmiao2019-11-202-0/+39
| | | | | (#15951) This reverts commit d2413d4ffffd087b352b6e4edd6e6322a311bc07.
* [build] Run Valgrind instead of Memory SanitizerThiago Marcos P. Santos2019-11-204-75/+19
| | | | | | Memory Sanitizer requires all the dependencies, including libstdc++ to be compiled with Memory Sanitizer, otherwise we will get tons of false positives.
* [render-test] Wrap test data inside RenderTestRunner App + Add a new test ↵zmiao2019-11-1917-78/+399
| | | | | | | | | | | | app (#15887) * [render-test] Wrap test resources inside app * [render-test] Add test app * fix test app failure * [render-test]add callback + add javaObjectWrapper
* [ios][android] Change log entries for #15941Mikhail Pozdnyakov2019-11-192-0/+2
|
* [core] Remove default move operator for RenderTileRoman Kuznetsov2019-11-191-1/+0
|
* [core] Identation and build fixesMikhail Pozdnyakov2019-11-192-34/+32
|
* [core] Fix incorrect resizing of TileCacheSergey Yershov2019-11-193-2/+93
|
* [core] Add Style.SourceImplsOrder testMikhail Pozdnyakov2019-11-191-0/+22
|
* [core] Introduce style::CollectionWithPersistentOrderMikhail Pozdnyakov2019-11-193-39/+77
| | | | | | So that we do not unnecessarily remove and re-add sources and images if their order has been modified in the updated style.
* [build] Check if mapbox-gl-js is pinned to masterThiago Marcos P. Santos2019-11-191-0/+4
|
* [build] Enable more warnings on the next buildThiago Marcos P. Santos2019-11-155-24/+27
| | | | Make compilation more pedantic.
* [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
|