Commit Graph

14151 Commits

Author SHA1 Message Date
Konstantin Käfer
ebd8508032 [core] add getResource template to gfx::*Resource classes 2019-04-05 11:49:17 +02:00
Konstantin Käfer
c02010ab6c [core] move debug groups to gfx::CommandEncoder 2019-04-05 11:49:17 +02:00
Konstantin Käfer
543b678982 [core] introduce CommandEncoder object 2019-04-05 11:49:17 +02:00
Konstantin Käfer
5270b2ffbd [core] move supportsHalfFloatTextures to gfx::Context 2019-04-05 11:49:17 +02:00
Konstantin Käfer
394e2aa717 [core] prefer static_cast for casts to derived classes 2019-04-05 11:49:17 +02:00
Konstantin Käfer
be3b5917c1 [core] add generic base class for renderbuffers 2019-04-05 11:49:17 +02:00
Konstantin Käfer
839f4687aa [core] gl::RenderbufferType -> gfx::RenderbufferPixelType 2019-04-05 11:49:17 +02:00
Alexander Eggers
ca60095071 Added getter for the field isComponentInitialized
This change is meanly because of https://github.com/mapbox/mapbox-gl-native/pull/14068 which is now throwing an exception when the component is not activated. This getter should help users to identify if the component is not activated yet to prevent usage and therefore exceptions.
2019-04-05 11:47:28 +02:00
Mikhail Pozdnyakov
35bcb7c072 [core] Pass crossfade parameters by const reference 2019-04-05 11:24:57 +03:00
Mikhail Pozdnyakov
1a5b933983 [core] Minor performance tweaks in renderer impl 2019-04-04 20:28:23 +03:00
Mikhail Pozdnyakov
4b19324c74 [core] Renderer: initialize render items and render sources in the same cycle 2019-04-04 20:28:23 +03:00
Łukasz Paczos
03159b3589 [android] clear previous style loaded listener when setting a new style 2019-04-04 17:14:22 +02:00
Łukasz Paczos
98d3f42e18 [android] add unit tests for #13947 2019-04-04 13:42:14 +02:00
Łukasz Paczos
af74d00b05 [android] add unit tests for #14171 2019-04-04 13:42:14 +02:00
Jason Wray
4a36d848ce [ios] Bump to v4.11.0-alpha.1 2019-04-03 16:28:26 -07:00
Jason Wray
cfd398a499 [ios] Remove unused line from MGLExpressionTests 2019-04-03 15:56:28 -07:00
Jason Wray
e1b5b51374 [ios] Update to Swift 5.0 2019-04-03 15:56:28 -07:00
Jason Wray
0d31a2ff1d [darwin, build] Update CircleCI to Xcode 10.2
Except macos-debug, which has issues compiling some files.
2019-04-03 15:56:22 -07:00
Fabian Guerra Soto
0f416fbbde [ios] Cocoapods bump to v4.10.0-beta.2 (#14323)
* [ios] Update podspec to beta.2.

* [ios] Update changelogs.
2019-04-03 14:36:32 -07:00
Jordan Kiley
1aa705c2f6 [ios] Add iOS bindings and example for missing icons event. (#14302)
Added a new mapView delegate method that allows reload a style icon in case it couldn't load it from the style.

Added an iosapp test example.
2019-04-03 12:37:56 -07:00
Osana Babayan
f3c3dc49e2 [android] Updated Changelog for 7.4.0-alpha.1 release (#14317) 2019-04-03 12:21:15 -04:00
Julian Rex
c7b709c5af [ios] Enable/disable presentsWithTransaction to address #14232 (#14307) 2019-04-03 11:50:11 -04:00
Łukasz Paczos
100c9b7bc1 [android] clean up location permissions annotation 2019-04-03 12:09:13 +02:00
Łukasz Paczos
a75a78242f [android] disable leak canary during instrumentation tests 2019-04-03 10:23:55 +02:00
Alf Watt
dabbe4f92e [ios] Update mapbox-events-ios to v0.9.2 (#14288) (#14303)
* [ios] Update `mapbox-events-ios` to `v0.9.2` (#14288)
2019-04-02 18:47:27 -07:00
Julian Rex
bf21fa1ff8 [core] Adds target branch parameter to clang-tools.sh (#14301) 2019-04-02 16:44:02 -04:00
Ansis Brammanis
2455275bf4 add onStyleImageMissing to allow dynamically loaded or generated images (#14253)
Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
2019-04-02 12:57:45 -04:00
Thiago Marcos P. Santos
805b140245 [core] Disable binary programs until we fix #14294 2019-04-02 19:30:03 +03:00
Osana Babayan
b6910407e8 [android] updated PerformanceEvent (#13894) 2019-04-02 12:26:36 -04:00
Mikhail Pozdnyakov
ebe6f7dea3 [core] Remove RenderLinePaintProperties
This patch removes the `RenderLinePaintProperties` by
making `LineFloorWidth` part of the `style::LinePaintProperties`.

It normalizes paint properties evaluation for the line layer.
2019-04-02 17:56:16 +03:00
Mikhail Pozdnyakov
45e8154d33 [core] Simplify render symbol layer initialization
Obviate few extra calls from the renderer impl parts initializing symbol layers.
2019-04-02 17:40:53 +03:00
Łukasz Paczos
2fed2155c5 [android] change the firebase device for arm-v7 test run to htc_m8 2019-04-02 14:30:57 +02:00
Łukasz Paczos
463a6b2736 [android] clear camera callbacks' message queue when the map is destroyed 2019-04-02 14:14:47 +02:00
Kevin Li
50e02666f0 Remove support v7 (#14265)
* remove support v7

* update license
2019-04-02 10:07:40 +08:00
Antonio Zugaldia
ac4bb98572 [linux] add a new run step to build the offline cli (#14272) 2019-04-01 11:39:41 -04:00
Łukasz Paczos
c66ec867c9 [android] reset scale/rotate focal point in each step 2019-04-01 17:38:51 +02:00
Łukasz Paczos
1aa44d5451 [android] do not reset custom location gestures manager if already set 2019-04-01 17:38:51 +02:00
tobrun
3e106c3f56 [android] - LatLng#distanceTo uses TurfMeasurement#distance 2019-04-01 16:11:09 +02:00
Łukasz Paczos
ccf99cfe7e [android] add #toString override for formatted sections 2019-04-01 16:04:29 +02:00
Sudarsana Babu Nagineni
92887cc3f7 [glfw] Remove unused map object
Remove unused map object that was accidentally added
in 7af00a4.
2019-04-01 14:35:58 +03:00
tobrun
6a97768209 [android] - add pixel dimension annotation to public UiSettings methods 2019-04-01 12:58:43 +02:00
Łukasz Paczos
9a792ca304 [android] disable move gesture detector foreseeing the quickzoom 2019-04-01 11:29:52 +02:00
tobrun
4731f884b3 [android] - update snapshot activity example with idle listener, convert to kotlin 2019-04-01 11:13:19 +02:00
Mikhail Pozdnyakov
2cfdd1a2f7 [Darwin] Improve documentation for enum array properties 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
1eaae50ffe [darwin] Support for variable text placement API 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
94d8cb4f7f [core] Single line optimization for variable label placement 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
9fb149b261 [android] Fix style code generation if array default value is missing 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
106e592a55 Enable text-variable-anchor render tests 2019-03-29 16:18:41 +02:00
Mikhail Pozdnyakov
2292623bc6 [core] Introduce variable text placement for point labels - Placement part 2019-03-29 16:18:41 +02:00
Alexander Shalamov
cb64dbe0d6 [core] Introduce variable text placement for point labels - Render part 2019-03-29 16:18:41 +02:00