Commit Graph

14177 Commits

Author SHA1 Message Date
Osana Babayan
5c61e2cf3e [android] release 7.4.0-alpha.2 changelog (#14387) 2019-04-10 12:10:14 -04:00
Fabian Guerra Soto
8389e746b6 [ios, macos] Add Mapbox Maps SDK metrics manager. (#13997)
Added MGLSDKMetricsManager to keep track of SDK related events such as tile download times.

* [ios, macos] Add tile download performance event.

* [ios, macos] Modify the performance event format.

* [ios, macos] Add Mapbox Maps SDK events manager.

* [ios, macos] Remove events delegate.

* [ios, macos] Remove deprecated macro.

* [ios, macos] Rename MGLEventsManager to MGLMetricsManager.

* [ios, macos] Make MGLMetricsDelegate follow delegate convention.

* [ios, macos] Remove mbgl-filesource target dependency on MGLMetricsManager.

* [ios, macos] Update metrics manager documentation.

* [ios, macos] Add device metadata.

* [ios, macos] Rename MGLMetricsManager to MGLSDKMetricsManager.
2019-04-09 16:10:14 -07:00
Łukasz Paczos
2ee342448b [android] expose LOCATION_SOURCE constant 2019-04-09 12:26:40 +02:00
Łukasz Paczos
f20b6e0048 [android] expose LocationComponentConstants class 2019-04-09 12:26:40 +02:00
Mikhail Pozdnyakov
8faf47ab5e [core] Pass only visible render layers to source in renderer
This simplifies the code and make it slightly more performant.

Also, this change enables initialization the `RenderTile.used`
field from inside the source (currently done in render layers).
2019-04-09 13:04:21 +03:00
Łukasz Paczos
f22c014b91 [android] check for Mapbox#INSTANCE when initializing the MapView 2019-04-09 10:52:24 +02:00
Ansis Brammanis
104091cd93 fix firing onStyleImageMissing after sprite has loaded (#14369) 2019-04-08 16:28:55 -04:00
Osana Babayan
37a8865703 [android] Avoid memory leak by making static inner classes (#14343) 2019-04-08 16:03:46 -04:00
tobrun
744ce2c026 [android] - allow resetting a custom OkHttp client to the default implementation 2019-04-08 15:13:33 +02:00
Konstantin Käfer
8f331f5ae3 [core] refactor ThreadLocal backend 2019-04-08 14:41:16 +02:00
Nadia Barbosa
9c8ee53cd8 Bump Podspecs & changelog for ios-v4.10.0-beta.3 2019-04-05 15:48:50 -07:00
Alexander Shalamov
300c91b46a [core] Move should not call destructors 2019-04-05 22:35:04 +03:00
Thiago Marcos P. Santos
5a173faec1 [android] Fix build with mismatching glShaderSource signature
Not all GL implementations are following the glShaderSource signature
specified by Khronos for GLES20.

https://www.khronos.org/registry/OpenGL-Refpages/es2.0/xhtml/glShaderSource.xml
2019-04-05 18:58:58 +03:00
Langston Smith
cc3babfdb1 [android] small naming tweaks made to mention of Android Maps SDK (#14346) 2019-04-05 06:25:30 -07:00
Konstantin Käfer
3ceabcd3ec [core] clang-tidy fixes 2019-04-05 11:49:17 +02:00
Konstantin Käfer
d7aaf83421 [core] introduce gfx::RenderPass 2019-04-05 11:49:17 +02:00
Konstantin Käfer
b1a2513b61 [core] test OffscreenTexture renderability before using them 2019-04-05 11:49:17 +02:00
Konstantin Käfer
7081d5e154 [core] move depth/stencil buffer debug viz to gfx::Context 2019-04-05 11:49:17 +02:00
Konstantin Käfer
1d58850d0c [core] remove Renderer::flush 2019-04-05 11:49:17 +02:00
Konstantin Käfer
5cc3d7a733 [core] move GLContextMode to RendererBackend 2019-04-05 11:49:17 +02:00
Konstantin Käfer
4053776c27 [core] use unique names for debug segments 2019-04-05 11:49:17 +02:00
Konstantin Käfer
4f735db9d8 [core] move RenderParameters creation to a later stage 2019-04-05 11:49:17 +02:00
Konstantin Käfer
b0c012fdc5 [build] don't add gl to outputPath 2019-04-05 11:49:17 +02:00
Konstantin Käfer
66c020034e [core] refactor RendererBackend 2019-04-05 11:49:17 +02:00
Konstantin Käfer
a782a6d15b [core] move BackendScope to gfx namespace 2019-04-05 11:49:17 +02:00
Konstantin Käfer
865f8a6c03 [core] add gfx::Renderable and gfx::OffscreenTexture 2019-04-05 11:49:17 +02:00
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