Commit Graph

15728 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
02e91428fd [core] Fix modernize-use-auto errors
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Thiago Marcos P. Santos
cee3910f17 [core] Fix modernize-return-braced-init-list errors
As reported by clang-tidy-8.
2020-03-23 20:05:40 +02:00
Alexander Shalamov
47594f003b Update LICENSE.mbgl-core.md license file 2020-03-23 11:33:06 -04:00
Alexander Shalamov
71efb24e2d Bump mapbox-base to 1.2.0 2020-03-23 11:33:06 -04:00
zmiao
648ce071d3 Add Changelog 2020-03-23 12:19:39 +02:00
Thiago Marcos P. Santos
4b139b5905 [build] Thread clang-tidy performance-* warnings as errors
With all them fixed, they won't come back.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
d15b9c1f9c [core] Fix performance-unnecessary-value-param errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
37802eec36 [core] Fix performance-type-promotion-in-math-fn errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
991cfee7df [core] Fix performance-noexcept-move-constructor errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
6223fc2898 [core] Fix performance-inefficient-vector-operation errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
5210d720ad [core] Fix performance-unnecessary-copy-initialization errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
cedb7368f1 [core] Fix performance-for-range-copy errors
As reported by clang-tidy-8.
2020-03-23 12:09:09 +02:00
Thiago Marcos P. Santos
ef19a33866 [build] Trigger the downstream CI and get the status back
Allows triggering a pipeline at any other repository
passing parameters.
2020-03-20 13:59:23 +02:00
Mikhail Pozdnyakov
8bf841a951 [core] Render::clearData clears fonts 2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
cb1d5053b0 Update changelog 2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
2a8e89d355 Update metrics 2020-03-20 11:43:59 +02:00
Mikhail Pozdnyakov
2ae96ad687 [core] Introduce Renderer::clearData() instead of keepRenderData map options
`Renderer::clearData()` is a better API than the removed `MapOptions::keepRenderData()`:
- gives more flexibility to the client
- similar to the existing `Renderer::reduceMemoryUse()`
- the `MapOptions::keepRenderData()` API implementation could not handle the raise condition, which
happened if the new still image request had come before all tiles from the previous requests were loaded.

Co-authored-by: Dane Springmeyer <dane@mapbox.com>
2020-03-20 11:43:59 +02:00
galinelle
bc45d65c58 Add additional transformState::latLngToScreenCoordinate getter (#16311)
This change adds a latLngToScreenCoordinate overload, to retrieve
the projected vec4 in additional to the ScreenCoordinate object,
that is useful to detect whether the projected latLng is in front
or behind the camera.
2020-03-19 18:53:09 +02:00
zmiao
f3cf855894 Update metrics 2020-03-19 14:40:49 +02:00
zmiao
b45cae286e Refactor within function 2020-03-19 14:40:49 +02:00
zmiao
c3a1caf612 update test 2020-03-19 14:40:49 +02:00
zmiao
df79b05178 [core] Using TileCoordinates for geometry comparison 2020-03-19 14:40:49 +02:00
zmiao
6989ee6e03 [build] Use found code sign identities 2020-03-19 10:20:44 +02:00
Mikhail Pozdnyakov
52f72dd8b4 Change log entry 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
11e6bd46c2 Add Map.KeepRenderData and Map.DontKeepRenderData tests 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
0f5e5311fa Update metrics 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
9e80a9f922 [render tests] Unset MapOptions::keepRenderData() flag in tile mode 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
6a68305e1e [core] Add ImageManager::clear() 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
b48900b0a7 [core] Add RenderOrchestrator::clearData() 2020-03-18 20:14:15 +02:00
Mikhail Pozdnyakov
3536de5124 [core][tile|static mode] Introduce MapOptions::keepRenderData() flag
Render orchestrator stores the render data between render frames if this flag is set.
2020-03-18 20:14:15 +02:00
Alexander Shalamov
14f19f0201 Update change log for the maps-v1.4.1 release 2020-03-16 06:56:51 -04:00
Dane Springmeyer
46a6932222 start using tname variable 2020-03-16 11:50:51 +02:00
Kevin Li
9daaf2fe3a Update CHANGELOG.md (#16313) 2020-03-16 16:31:55 +08:00
Kevin Li
3aa80ff407 Update map_snapshotter.cpp (#16308) 2020-03-16 08:03:30 +08:00
Thiago Marcos P. Santos
7d77a55fe0 [build] Bump docker
Allow building with OpenGL ES 2.0 headers on Linux.
2020-03-14 03:08:54 +02:00
Mikhail Pozdnyakov
09d307db14 Merge pull request #16305 from mapbox/mikhail_change_log_for_maps-v1.3.0
Update change log for the maps-v1.4.0 release
2020-03-13 14:30:33 +02:00
Mikhail Pozdnyakov
a70b33be8b [core] Fix crash at Placement::getSymbolPlacement() 2020-03-13 14:30:17 +02:00
zmiao
45c0dd8844 Update Changelog 2020-03-13 12:59:23 +02:00
Mikhail Pozdnyakov
b88fbe14f1 Add change log entry 2020-03-12 23:35:55 +02:00
Mikhail Pozdnyakov
915c412c17 Update metrics 2020-03-12 23:35:55 +02:00
Mikhail Pozdnyakov
05657e9573 [core] Binary size fixup 2020-03-12 23:35:55 +02:00
Mikhail Pozdnyakov
0bf8fdae9c [core] Collision index uses doubled padding with the tilted view 2020-03-12 23:35:55 +02:00
Mikhail Pozdnyakov
57810759ef [core] Variable labels stick to latest anchor if the view is tilted
This is done in order to improve labels stability and for the performace reasons.
2020-03-12 23:35:55 +02:00
Mikhail Pozdnyakov
f29865f31d [core] Do not squeeze placement period if the view is tilted
If the view is not tilted, we want the new symbols to show up faster, so we squeeze the placement period.

On contrary, with the tilted view it's more important to make placement rarely for performance reasons and as the new symbols are normally "far away" and the user is not that interested to see them ASAP.
2020-03-12 23:35:55 +02:00
Mikhail Pozdnyakov
7a2126bebb [core] Place already visible symbols first and hidden symbols last 2020-03-12 23:35:55 +02:00
Mikhail Pozdnyakov
04d840de53 Update baselines 2020-03-12 15:25:28 +02:00
Mikhail Pozdnyakov
5577c37495 [tests] Enable left-top-right-bottom-offset-tile-map-mode test
Rebase its results after 3ca26ed2a6
2020-03-12 15:25:28 +02:00
Juha Alanen
428f666adb [test][ios] Update iOS render test data setup script 2020-03-12 15:24:37 +02:00
Juha Alanen
cd320d8591 [glfw] Add OpenGL files only when the flag is enabled 2020-03-12 15:24:37 +02:00
Juha Alanen
96e32717c0 [test] Run Annotations DebugSparse test only with OpenGL renderer 2020-03-12 15:24:37 +02:00