Commit Graph

16768 Commits

Author SHA1 Message Date
Łukasz Paczos
da8ed930de [core] decrease the minimum pixel distance required to interpolate during camera animation
The changes introduced in #9199 changed the minimum required pixel distance between start and end points to >= 1px in order to interpolate, which in scenarios of big zoom changes and low pixel density can result in animation to the previous position and then a jump to the target.
2019-07-09 18:07:22 +02:00
Aleksandar Stojiljkovic
4d84e52ce2 Enable ignored but passing run-time styling tests (#6745) 2019-07-09 17:53:34 +02:00
Mikhail Pozdnyakov
6b8df343ef [core] Put gfx backend scope guard to Renderer::reduceMemoryUse() 2019-07-09 17:36:10 +03:00
Mikhail Pozdnyakov
eaed0036ef [glfw] Reduce memory use when window loses focus 2019-07-09 17:36:10 +03:00
Aleksandar Stojiljkovic
286bc66ba4 Issue #15065 changelogs and nit fix. 2019-07-09 15:13:38 +02:00
Aleksandar Stojiljkovic
2c5528e691 Fix layers rendering after fill-extrusion
This fixes following issues:
* Fix some false passing combinations/fill-extrusion-translucent--XXXX tests
* Fix and enable other, failing but ignored, combinations/fill-extrusion-translucent--XXXX tests
* Fix rendering of layers that are on top of fill-extrusion layers

state.getProjMatrix(nearClippedProjMatrix, 100) caused that tests with size 64x64 were not
rendering fill extrusions: far plane calculated as 96.9 and near plane set to 100 was the cause.
near plane is changed from hardcoded 100 to depend on state.getCameraToCenterDistance() - producing
similar value but one that follows max zoom.

This caused that e.g. combinations/fill-extrusion-translucent--fill-opaque was falsely passing as
only fill-opaque layer got rendered.

combinations/fill-extrusion-translucent--XXXX tests expose regression https://github.com/mapbox/mapbox-gl-native/issues/14844#issuecomment-503600034 in #14844, #14779.

Fix (opaquePassCutoff, is3D) is ported from https://github.com/mapbox/mapbox-gl-js/pull/7821

Fixes: #14844, #14779, #15039
2019-07-09 15:13:38 +02:00
Mikhail Pozdnyakov
929824ecc3 [core] Share render tiles lists between layers
This helps to avoid unneeded allocations.
2019-07-09 12:34:58 +03:00
Alexander Shalamov
81fc495023 [android][ios][macos] Update changelog for #14930 2019-07-09 11:43:46 +03:00
Alexander Shalamov
8d94bb1be0 [core] Reserve size for filtered render layers 2019-07-09 11:43:46 +03:00
Alexander Shalamov
57402314e1 [core] Improve performance for query rendered features
- query rendered symbols only from layers that support it
- remove unnecessary iterations over vectors
2019-07-09 11:43:46 +03:00
Jason Wray
d6c1c838eb [ios, build] Add tests for MGLMapView pitch setting and tilt gesture 2019-07-08 21:18:18 -07:00
Jason Wray
593ef252b6 [ios] Prepare ios-v5.2.0-alpha.2 release 2019-07-08 15:28:12 -07:00
Alf Watt
59c4204bf5 [ios] Mapbox Events - v0.9.5 (#15077) 2019-07-08 15:25:03 -07:00
Thiago Marcos P. Santos
3575695033 Revert "[core] Change severity of too many data-driven properties to "Info""
This reverts commit 2125080dc3.
2019-07-08 20:29:43 +03:00
tobrun
ee0d831a2f [android] - introduce MapboxMapOptins facility creation method. 2019-07-08 16:33:26 +02:00
tobrun
532e9dc6ae [android] - add snapshotter and offline test 2019-07-08 08:12:36 +02:00
Kevin Li
64e9784d79 [android] Add command to run app center in Makefile (#15056)
* Add command to run app center in Makefile

* rename command
2019-07-05 09:20:26 +08:00
Mikhail Pozdnyakov
da3b7749b0 [core] RenderSource creates render items 2019-07-04 16:56:43 +03:00
Mikhail Pozdnyakov
8b78398190 [core] Remove down-casting of render sources 2019-07-04 16:56:43 +03:00
Mikhail Pozdnyakov
1155121530 [core] Introduce ImageSourceRenderData and RenderSource::getImageRenderData()
Image source render data is owned by render source, which is simpler than the
previous approach and aligned with the render tiles ownership model.
2019-07-04 16:56:43 +03:00
Mikhail Pozdnyakov
e797e31831 [core] ImageManager is not used at tile upload stage 2019-07-04 16:56:43 +03:00
Mikhail Pozdnyakov
d2e867e3e0 [core] Introduce ImageManager::getSharedImage 2019-07-04 16:56:43 +03:00
Mikhail Pozdnyakov
63dd17e2bb [core] Introduce TileRenderData
Remove rendering functionality from Tile implementations.
2019-07-04 16:56:43 +03:00
Mikhail Pozdnyakov
b1cbc2f245 [core] Geometry tile keeps layout result as a shared pointer 2019-07-04 16:56:43 +03:00
Mikhail Pozdnyakov
d570834975 [core] Remove orchestration methods from RenderTile 2019-07-04 16:56:43 +03:00
tobrun
dd16eadc38 [android] - add ktlint, optimise code for ktlint validation 2019-07-04 12:08:49 +02:00
Bruno de Oliveira Abinader
16f1854a9c [node] Parse 'sdf' option when adding an image 2019-07-04 11:45:10 +03:00
Łukasz Paczos
869ff70e0d [android] changelog for 8.2.0-alpha.2 2019-07-03 22:58:23 +02:00
Fabian Guerra Soto
12e0a6b0c6 [ios] Add removeStyleImage to MGLMapView (#14769)
* [ios] Add shoulRremoveStyleImage to MGLMapViewDelegate.

* [ios] Changelog update.

* [ios, macos] Update shouldRemoveStyle method documentation.
2019-07-02 16:33:09 -07:00
Jason Wray
3b1d437460 [ios, build] Add podspec lint script 2019-07-02 12:22:03 -07:00
Jason Wray
93ecf9ae30 [ios, build] Stop packaging local podspec with releases 2019-07-02 11:43:01 -07:00
Mikhail Pozdnyakov
664c50f3bd [core] Update changelog files 2019-07-02 16:05:09 +03:00
Mikhail Pozdnyakov
55da0b0fe7 [core] Remove unused PaintPropertyBinders::constants() 2019-07-02 16:05:09 +03:00
Mikhail Pozdnyakov
0687460033 [core] RenderSource does re-layout if layer's data-driven properties change. 2019-07-02 16:05:09 +03:00
Mikhail Pozdnyakov
affb21a612 [core] Geometry tile updates layer render data if its constants mask remains
Thus, we do not have to wait for tile update completion in case
the updated properties have the same constants mask, i.e. fit
the existing bucket.
2019-07-02 16:05:09 +03:00
Mikhail Pozdnyakov
c144591322 [core] Introduce LayerProperties::constantsMask()
Constants mask for data-driven paint properties is a reliable
criteria of whether the given updated properties can still be used
with the existing bucket (and the gl program instance).
2019-07-02 16:05:09 +03:00
tobrun
21f7522967 [android] - add binding integration for cache management API 2019-07-02 14:23:24 +02:00
Julian Rex
e611e57271 [core] Minor change to silence documentation warning on iOS. 2019-07-02 11:44:20 +03:00
Zachariah Mully
ca4e3650c0 [build] clean up cloudformation template and policies 2019-07-01 14:33:37 -07:00
Mikhail Pozdnyakov
4c896cbb31 [core] Fix error handling in HeadlessFrontend::render() 2019-06-28 16:33:52 +03:00
Thiago Marcos P. Santos
657e847015 [tests] Update test expecations 2019-06-28 15:19:58 +03:00
Thiago Marcos P. Santos
848ad0d25e [core] include Hiragana and Katakana glyph ranges to LocalGlyphRasterizer
Fixes #14993
2019-06-28 15:19:58 +03:00
Juha Alanen
0ca8ea6f16 [core] Add number-format expression 2019-06-27 15:51:22 +03:00
tobrun
81ea5d020e [android] - update CI image to NDK 20 2019-06-27 14:32:46 +02:00
Jason Wray
98a5c64d34 [ios] Fix ios-v5.2.0-alpha.1 podspec versions
Versions had a period instead of a dash between the numbers and pre-release string.
2019-06-26 16:50:01 -07:00
Jason Wray
f17154d7dc [ios] Release ios-v5.2.0-alpha.1 2019-06-26 14:16:58 -07:00
Jason Wray
e26a60d0c9 [ios] Remove previously deprecated unavailable methods and properties 2019-06-26 13:36:30 -07:00
Jason Wray
8a9567e072 [ios, macos] Deprecate methods in favor of new completion handler versions 2019-06-26 12:18:22 -07:00
Blake Thompson
a16c67d953 Fixes problems associated with node 10 and NAN (#14847)
* Fixes problems associated with node 10 and NAN

* Follow up removal of unnecessary linking to map object

* Remove header left over from debugging
2019-06-26 13:38:06 -05:00
Tobrun
012ccecaa4 [android] - update changelog for v8.2.0-alpha.1 2019-06-26 19:40:04 +02:00