Commit Graph

17582 Commits

Author SHA1 Message Date
Tobrun
c85c99f8e8 [projection] add bulk conversion of geographic coordinates to screen coordinates with reusable objects (#91) 2019-12-06 15:30:36 +01:00
tobrun
1ac3e9e9c2 [android] - add hooks for bulk conversion of geographic coordinates to screen coordinates 2019-12-06 08:56:38 +01:00
zmiao
9f3a384296 [core] Refactoring transform state (#15956)
* [core] Refactoring transform state class

* [core] update matrix in transform, Fix precision

* [core] Make matrix mutable so that we only update them when needed

* [core] Add getters for matrices
2019-12-05 18:58:48 +02:00
Fabian Guerra Soto
5509ce2aa7 Bump podspec and submodules (#82)
* Updated events library to v0.10.1

* Bump podspec to alpha.2

* Update changelog.
2019-12-04 16:03:18 -08:00
zmiao
e619552a5d [test-runner] Make Android RenderTestRunner bot fail when test cases are not fully passed (#15994)
* [test-runner] Fix failed tests, generate android specific expectations

* [test-runner] Check render test runner testing result

* [test-runner] Add error case to android ignore list

*  [test-runner] Update metrics

* [test-runner] Move Android render tests with big diff(>0.006) to ignore list
2019-12-04 18:10:58 +02:00
Bruno de Oliveira Abinader
1e2cd1e086 [core] Remove Map::cycleDebugOptions 2019-12-04 11:50:05 +02:00
Tobrun
c51eab4001 [map] expose getter for the view used for rendering OpenGL on (#87) 2019-12-03 21:00:37 +01:00
tobrun
27536631d0 [android] remove OfflineRegion.java, gitiginore and issue template. update README 2019-12-03 18:39:35 +01:00
tobrun
29bbfcccde [android] remove platform specific Android code, migrate project to mapbox-gl-native-android 2019-12-03 17:10:31 +01:00
Tobrun
e8678922e4 Introduce OfflineManager.runPackDatabaseAutomatically(boolean) API (#78)
* [offline] Introduce OfflineManager.runPackDatabaseAutomatically(boolean) API

* [doc]  update changelog

* [doc] add note to offline region delete API
2019-12-03 16:28:16 +01:00
Alexander Shalamov
41324842b2 [test-runner] Allow to define filter inside manifest file
Command line option is still available and allows to override filter
that is defined in a manifest file.
2019-12-03 16:26:22 +02:00
Tobrun
8fe32cc8ac [ci] remove core benchmark trigger (#86) 2019-12-03 14:09:40 +01:00
Mikhail Pozdnyakov
75f8530ed1 [test runner] Update test commands for Layer::setProperty() 2019-12-03 14:20:17 +02:00
Mikhail Pozdnyakov
5d46cd662f [android][node][qt] Update platform code for style::Layer::setProperty() 2019-12-03 14:20:17 +02:00
Mikhail Pozdnyakov
684000fc26 [core] Merge style::Layer::set{Layout,Paint}Property 2019-12-03 14:20:17 +02:00
Łukasz Paczos
703edff8f4 add changelog entry for #80 and #83 2019-12-03 13:16:39 +01:00
Łukasz Paczos
9a40605133 invoke cancelable callback when zoom/tilt while tracking is ignored 2019-12-03 13:15:58 +01:00
Łukasz Paczos
4bde987fb9 invoke location camera transition finish callback when equal mode is set 2019-12-03 12:01:02 +01:00
Alexander Shalamov
1ad1358c8e [metrics] Rebaseline linux-gcc8 mbgl-offline filesize metric 2019-12-02 17:11:49 +02:00
Alexander Shalamov
1f30b03047 [metrics] Add baselines for formatted-images and line-dasharray render tests 2019-12-02 17:11:49 +02:00
Alexander Shalamov
154d95a626 [metrics] Rebaseline filesize metric for linux-clang8 2019-12-02 17:11:49 +02:00
Alexander Shalamov
60b61a08f4 [core] Add unit test for tagged string's image sections 2019-12-02 17:11:49 +02:00
Alexander Shalamov
84ec379477 [core] Turn off clang format for generated shaded code 2019-12-02 17:11:49 +02:00
Alexander Shalamov
72e9388a61 [core] Add unit tests for Formatted class 2019-12-02 17:11:49 +02:00
Alexander Shalamov
614000256b [core] Shape images in labels at bucket zoom level 2019-12-02 17:11:49 +02:00
Alexander Shalamov
33ba4052b6 [core] Use linear filtering for icons in text for zoom dependent text-size 2019-12-02 17:11:49 +02:00
Alexander Shalamov
26bf566f53 [core] Use new 'SymbolTextAndIcon' program to draw icons in text 2019-12-02 17:11:49 +02:00
Alexander Shalamov
2c49c4374c [core] Store 'sdf' flag in vertex attribute 2019-12-02 17:11:49 +02:00
Alexander Shalamov
2bb2a40b6d [core] Shape images in labels and create image quads 2019-12-02 17:11:49 +02:00
Alexander Shalamov
f4f652063d [core] Calculate line width and line breaks for images 2019-12-02 17:11:49 +02:00
Alexander Shalamov
34a9bc08ce [core] Pass images and evaluated layout text size to shaping 2019-12-02 17:11:49 +02:00
Alexander Shalamov
a9c3b5a389 [core] Add evaluated images to styled text sections 2019-12-02 17:11:49 +02:00
Alexander Shalamov
a01ecc92a0 [core] Add image sections to format expression 2019-12-02 17:11:49 +02:00
Alexander Shalamov
5e3ef2e9e0 [core] Bump gl-js version 2019-12-02 17:11:49 +02:00
Mikhail Pozdnyakov
7bacf5696c [core] Introduce Pass<> class and use it for Scheduler
Thus we enforce client to retain the returned `Scheduler` objects.
2019-12-02 14:12:18 +02:00
Mikhail Pozdnyakov
e373d8a592 [android] Add OfflineManager.runPackDatabaseAutomatically(boolean) API 2019-12-02 13:46:51 +02:00
Mikhail Pozdnyakov
6d4e5f57ec [core] Add OfflineDatabase.Pack unit test 2019-12-02 13:46:51 +02:00
Mikhail Pozdnyakov
4c49f0c9db [core] Introduce OfflineDatabase::runPackDatabaseAutomatically() API
- added a unit test
- Updated inline comments in default_file_source.hpp
2019-12-02 13:46:51 +02:00
Mikhail Pozdnyakov
0ec01356d8 Revert "[android] Add OfflineRegion.deleteAndSkipPackDatabase"
This reverts commit 9bc3aa46384229778853c2710e5b06259b78ed18.
2019-12-02 13:46:51 +02:00
zmiao
b2693f9d53 [test-runner] Add android RenderTestRunner baseline metrics (#15979)
* [test-runner] Enable probe-testing android render test runner

* [test-runner] Add pixel4 baseline metrics

* Add git ignored metrics

* Make renderTestrunner run two times with different manifest config
2019-12-02 13:29:13 +02:00
Alexander Shalamov
0c348a8acf [test-runner] Log all 'probeFileSize' failures
If there are multiple file size probes in a test file, it is
better to report all failures instead of first failed probe.
2019-12-02 12:07:37 +02:00
Alexander Shalamov
00d133239e [core] Blacklist VAO extension for Adreno (TM) 4xx GPUs
Blacklist in order to avoid crashes in a driver.
2019-12-02 11:03:16 +02:00
Mikhail Pozdnyakov
3947d5fa98 [core] Retain thread pool in GeoJSONSource
Otherwise, the construction of the `Immutable<Source::Impl>` in background thread might never yeld.
2019-11-29 15:37:49 +02:00
Juha Alanen
2e93f1e982 [test-runner] Run render tests with metrics on linux 2019-11-29 15:08:34 +02:00
Juha Alanen
0ba4b5c93f [test-runner] Add baseline metrics for linux 2019-11-29 15:08:34 +02:00
Thiago Marcos P. Santos
105ddad389 [glfw] Fix map not resizing on Linux
Apparently GLFW is implicitly calling glViewport on macOS but
not on Linux. Force setting the viewport instead of assuming a value.
2019-11-29 15:03:45 +02:00
Thiago Marcos P. Santos
af0d46c367 [android] Use icf=all
Chromium is using it for a while on ARM.

https://codereview.chromium.org/1153143004/patch/20001/30002
2019-11-29 13:42:18 +02:00
Mikhail Pozdnyakov
597757df6a [core] GeoJSONVTData uses Scheduler::GetSequenced() 2019-11-29 11:12:55 +02:00
Mikhail Pozdnyakov
06c80cae3c [core] Introduce GeometryTile::reset()
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.
2019-11-29 11:12:55 +02:00
Mikhail Pozdnyakov
6419cd0ab2 [core] Calculate GeoJSON tile geometries in a background thread
Call `mapbox::geojsonvt::GeoJSONVT::getTile()` in a background
thread, so that the rendering thread is not blocked.
2019-11-29 11:12:55 +02:00