Commit Graph

15183 Commits

Author SHA1 Message Date
zmiao
2e8a350d68 [core] Add batch conversion of latLngs to/from screenCoords (#15891)
* [core] Add batch conversion of latLng vs screenCoord

* [core] Take the simple approach
2019-11-07 18:16:31 +02:00
zmiao
1d49c23b85 [render-test] Fix render-test manifest confilicted local and member names (#15888) 2019-11-05 13:41:46 +02:00
Mikhail Pozdnyakov
4964f7ed00 [ios][android] Add change log entries 2019-11-05 11:45:38 +02:00
Mikhail Pozdnyakov
e6e6bcf55c [core] Parse GeoJSONSource description in background
Unblocks the UI thread on heavy GeoJSON tiles parsing operation
2019-11-05 11:45:38 +02:00
Mikhail Pozdnyakov
31421f8448 [core] Add Scheduler::scheduleAndReplyValue() API 2019-11-05 11:45:38 +02:00
zmiao
d8b1b2bacf [render-test]Fix regex match for testFilter input (#15886) 2019-11-04 18:34:30 +02:00
Mikhail Pozdnyakov
5b38cfee18 [android] Add change log entry 2019-10-31 10:24:55 +02:00
Mikhail Pozdnyakov
4afb4438eb [android] Convert GeoJSON features to tiles in background
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.
2019-10-31 10:24:55 +02:00
Mikhail Pozdnyakov
8c498cd36c [core] Introduce and apply GeoJSONData::create() API 2019-10-31 10:24:55 +02:00
Mikko Pulkki
6900ac9837 [render-test] Add gfx probe test cases 2019-10-30 14:32:27 +02:00
Mikko Pulkki
a7a7e8cbe2 [render-test] Implement gfx probe for tracking gpu resources 2019-10-30 14:32:27 +02:00
Mikko Pulkki
fb062bb23e [render-test] Add resource usage tracking to gfx context 2019-10-30 14:32:27 +02:00
zmiao
c8576e089f [render-test] Add manifest parser for render-test-runner (#15861)
* [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
2019-10-29 20:59:29 +02:00
Konstantin Käfer
84f2ff1084 [core] use individual textures for line dash patterns
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.
2019-10-29 11:27:24 +01:00
Juha Alanen
360b8b4247 [core,android,darwin,qt] Add fields related to feature-state
Move the fields from geometry.hpp/feature.hpp as they are not
part of the GeoJSON specification.
2019-10-28 16:46:55 +02:00
Juha Alanen
7c9c71fba1 [build] update mapbox-base 2019-10-28 16:46:55 +02:00
Mikhail Pozdnyakov
bdbb136612 [ios][android][core] Added change log entries and more code comments 2019-10-28 13:02:32 +02:00
Mikhail Pozdnyakov
f1a28377b5 [core] Add Map.NoHangOnMissingImage unit test 2019-10-28 13:02:32 +02:00
Mikhail Pozdnyakov
2f00ba7294 [core] Do not make pending requests for already requested images.
so that processing for the corresponding tile does not suspend and
the rendering performance is not affected.
2019-10-28 13:02:32 +02:00
Mikhail Pozdnyakov
aa36dc87fb Revert "[core] Revert coalescing requests to the client for the same missing image"
This reverts commit 22132683797b5ea5cbe8622f77c01b399ad9c71e.
2019-10-28 13:02:32 +02:00
Mikhail Pozdnyakov
6428d12a8d [core] Bump mapbox-gl-js version 2019-10-28 11:45:25 +02:00
zmiao
128da903c1 Config CircleCI to save render test output when failing (#15863)
* [render-test] Save index.html

* Add extra folder
2019-10-25 18:22:32 +03:00
Mikhail Pozdnyakov
646d4e3996 [core] Fixed formatting 2019-10-24 15:43:13 +03:00
Mikhail Pozdnyakov
424cf20207 [core] Revert coalescing requests to the client for the same missing image 2019-10-24 15:43:13 +03:00
Ansis Brammanis
4fb75ba32c [core] avoid edges for labels that use text-variable-anchors
to prevent clipped labels in rendered image tiles.
2019-10-24 15:39:10 +03:00
Dane Springmeyer
744102d955 back to v8 2019-10-24 13:26:32 +03:00
Dane Springmeyer
a1aa3b0e08 fix linux node platform publishing 2019-10-24 13:26:32 +03:00
Thiago Marcos P. Santos
1cfd0c4e92 [build] Bump CI docker image
This version includes gcloud, needed to run
android firebase tests.
2019-10-23 14:29:18 +03:00
zmiao
2385f4cd86 [render-test] Add configurable rootPath, ignorePath via CLI arguments (#15832)
* [render-test] Add configurable path via CLI arguments

* [render-test] Change ignore path config
2019-10-23 12:04:23 +03:00
Ansis Brammanis
99feb9bb30 [core] fix collisions with icon-text-fit and variable placement (#15828)
port 61a61a1982cb8c637d467f91da5b0817a61a9de6
2019-10-22 20:30:55 -04:00
Alexander Shalamov
b1d048217a [node] Exclude node abi 79 (13.x) from build 2019-10-22 23:46:55 +03:00
Julian Rex
a4c2cdb507 [ios] Set xcode properties for cmake. (#15842)
* [ios] Set xcode properties for cmake.

* Fix Sanitize typo
2019-10-22 14:45:55 -04:00
zmiao
068befa9df [test-runner] Run render test runner as a NativeActivity app on android device (#15827)
* [test-runner]Add android render-test-runner NativeActivity app

* [test-runner] Fix cmake for CI build failure

* [test-runner] Update folder location, change app configureation

* [test-runner] Add running instruction
2019-10-22 16:32:21 +03:00
Mikhail Pozdnyakov
2cdc09dbb1 [ios][android] Add change log entries 2019-10-22 15:51:16 +03:00
Mikhail Pozdnyakov
ab603c5fed [core] Enable incremental vacuum for Offline DB
Thus we avoid re-creating the whole database and keeping the backup file as it happens on calling VACUUM.
2019-10-22 15:51:16 +03:00
Mikko Pulkki
0ca96fd8a4 [render-test] Implement fps benchmarking tests (#15803) 2019-10-22 12:13:55 +03:00
Mikhail Pozdnyakov
bb0e5ffb2c [test runner] Improve error messaging for memory metrics tests 2019-10-21 16:10:45 +03:00
Mikhail Pozdnyakov
61d1018087 [test runner] Memory metrics expectations for MAC 2019-10-21 16:10:45 +03:00
Mikhail Pozdnyakov
b03982730e [test runner] Command line option for the tests expectations path
-e[expectationsPath], --expectationsPath=[expectationsPath]

Test expectations path.
2019-10-21 16:10:45 +03:00
Mikhail Pozdnyakov
eb3c203d4e [test runner] Adjust memory metrics test results 2019-10-21 16:10:45 +03:00
Mikhail Pozdnyakov
8bdd8ec670 [test runner] Disable memory metrics checks on sanitize builds 2019-10-21 16:10:45 +03:00
Mikhail Pozdnyakov
b0976feca2 [test runner] Tests for memory size metrics 2019-10-21 16:10:45 +03:00
Mikhail Pozdnyakov
9adc78134c [test runner] Threshold for memory metrics 2019-10-21 16:10:45 +03:00
Bruno de Oliveira Abinader
f41f274ca1 [build] Only add mapbox-base if target is not set 2019-10-20 00:01:28 +03:00
Fabian Guerra Soto
bbeb86577e [ios] Add ARC config to the new build system. (#15833) 2019-10-18 13:59:04 -07:00
Thiago Marcos P. Santos
722a0c2f61 [build] Make output of the tests verbose
We have a flaky test that is hanging on the bots and we need to find out
which one.
2019-10-18 23:39:58 +03:00
Mikhail Pozdnyakov
3ac706edfe [core] Update ImageManager.OnStyleImageMissingBeforeSpriteLoaded
So that it checks pending image requests for a different requestor.
2019-10-17 16:29:02 +03:00
Mikhail Pozdnyakov
057048b293 [core] Fix image requests for already obtained images
Before this change, repeated request for an already
obtained image was erroneously treated as pending.
2019-10-17 16:29:02 +03:00
Alexander Shalamov
a8558379db [android] Check flag before runnable task invocation 2019-10-16 15:37:10 +03:00
Juha Alanen
050b3360ec [render-test] Add network metrics test case 2019-10-16 14:14:46 +03:00