summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [test-runner] Run render tests with metrics on linuxupstream/jmalanen-linux-metricsJuha Alanen2019-11-295-6/+46
|
* [test-runner] Add baseline metrics for linuxJuha Alanen2019-11-291134-0/+39762
|
* [core] Fix supercluster lambdas capturingMikhail Pozdnyakov2019-11-291-7/+7
|
* [core][android][darwin] Fix GeoJSONOptions handlingMikhail Pozdnyakov2019-11-2912-92/+99
| | | | | | - share the `GeoJSONOptions` instances using `Immutable<GeoJSONOptions>` - avoid extra copying - fix wrapping of the `GeoJSONOptions` instances in supercluster map/reduce lambdas. Previously, local variables were wrapped by reference.
* [metrics] Measure compressed size for AndroidThiago Marcos P. Santos2019-11-288-8/+8
| | | | Because what metters is the size we add to the APK.
* [render-test] Add support for measuring compressed file sizeThiago Marcos P. Santos2019-11-283-4/+30
| | | | | Useful because for platform such as Android, we want to measure the size of the library inside the APK, which is usually compressed.
* [core] Introduce Scheduler::GetSequenced() APIMikhail Pozdnyakov2019-11-283-0/+83
| | | | | | The newly introduced `Scheduler::GetSequenced()` returns sequenced schedulers from the cache limited to 10 instances, preventing from spawning too many threads.
* [metrics] Add new baselines.Thiago Marcos P. Santos2019-11-283-3/+3
|
* [android] Use -Oz to reduce binary sizeThiago Marcos P. Santos2019-11-281-6/+6
|
* [metrics] Make the parsing of metrics even more strictThiago Marcos P. Santos2019-11-281-1/+1
| | | | File must be `metrics.json`.
* [metrics] Isolate binary size metricsThiago Marcos P. Santos2019-11-2824-106/+231
| | | | | Will give us a better view of what changed and by how much. Otherwise the test stops at the first failure.
* [render-test] Fix regex matching the directory nameThiago Marcos P. Santos2019-11-271-3/+3
| | | | | This code was matching `style.json` instead of `metrics.json` if the `style.json` was contained inside `metrics/.../style.json`.
* [build] Get the bots enforcing the binary sizeThiago Marcos P. Santos2019-11-271-27/+80
| | | | | | Release bots will build and persist the build targets other workspaces. A bot will collect all the binaries and check the size.
* [build] Install some of our targetsThiago Marcos P. Santos2019-11-273-0/+6
| | | | | This will make it easier to measure the binary size because we can strip the binaries from symbols in a portable way.
* [metrics] Add binary size metricsThiago Marcos P. Santos2019-11-277-0/+131
| | | | | | | This test will check the size of the tools and shared libraries built from previous bots in a single run. We will have +/- 1% acceptable variance before the test fails.
* [tests] Increase test toleranceThiago Marcos P. Santos2019-11-271-1/+1
| | | | This test has been flaky on mac.
* [test runner] Enable test results update from cmd lineMikhail Pozdnyakov2019-11-273-10/+45
| | | | | | | | Added the following command line argument: ``` -u[update], --update=[update] Test results update mode. Supported values are: "default", "platform", "metrics" ```
* [mobile] README update about mobile work being moved to new repos (#15958)Langston Smith2019-11-272-0/+12
|
* [test-runner] Move probe related command line args to manifestAlexander Shalamov2019-11-276-41/+49
| | | | | | | | | | | - Move probe related command line arguments to manifest, example: "probes": ["probeGFX", "probeNetwork", "probeMemory"], "metric_path": "metrics/linux" - Use manifest file name as a postfix for a result page - Move injected probes 'begin' section before map object creation - Generalize artifact storing shell script
* [android] do not fail on tautological-constant-compare errorŁukasz Paczos2019-11-271-0/+1
|
* [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
|