summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [metrics] Rebaseline filesize metric for linux-clang8upstream/alexshalamov_images_in_labelsAlexander 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
|
* [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
* [core] GeoJSONVTData uses Scheduler::GetSequenced()Mikhail Pozdnyakov2019-11-291-14/+19
|
* [core] Introduce GeometryTile::reset()Mikhail Pozdnyakov2019-11-296-17/+44
| | | | | | The newly introduced `GeometryTile::reset()` is used while GeoJSON tile update in order to prevent from the parsing of the new data with the stale layers or vice verse.
* [core] Calculate GeoJSON tile geometries in a background threadMikhail Pozdnyakov2019-11-296-52/+86
| | | | | Call `mapbox::geojsonvt::GeoJSONVT::getTile()` in a background thread, so that the rendering thread is not blocked.
* [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.