Commit Graph

14196 Commits

Author SHA1 Message Date
tobrun
b4d5890c82 [android] - only perform thread checking in debug builds of the integrating app. Use constants for source when thread checking 2019-04-12 16:06:04 +02:00
Mikhail Pozdnyakov
4bc79cf4ff Use emplace_hint for inserting render items 2019-04-12 16:17:57 +03:00
Mikhail Pozdnyakov
feaff9260e [core] Order render items properly across several sources 2019-04-12 16:17:57 +03:00
tobrun
58696a0704 [android] - rework test to use query activity, fix attempt to render without surface crash 2019-04-12 13:12:31 +02:00
tobrun
6c2948d3e6 [android] - harden query invocations, move hasSurface handling to NativeMapView 2019-04-12 13:12:31 +02:00
tobrun
ecfa67bbff [android] - add javadoc indicating that query methods can return empty depending on map/surface state 2019-04-12 13:12:31 +02:00
tobrun
06541b261a [android] - reproduce downstream navigation crash with queryRendererFeatures when resuming Activity 2019-04-12 13:12:31 +02:00
Konstantin Käfer
e95bf4dd9b [ios] run glFlush when reducing memory and don't reduce memory while in background (#14383) 2019-04-11 09:57:35 -04:00
Łukasz Paczos
bd5527fea7 [android] ignore equal offline region's download state updates 2019-04-11 14:58:05 +02:00
Łukasz Paczos
51daaa1e3c [android] activate the ConnectivityReceiver when starting the download 2019-04-11 14:27:01 +02:00
Lloyd Sheng
8c5c4dd565 [ios] Fix issue wrong position of attribution dialog after rotation (#14185)
* Fix issue #12897
2019-04-11 16:48:53 +08:00
Julian Rex
82b5d8e5c7 [ios] Updated podspecs for v4.11.0-alpha.2 (#14391) 2019-04-10 19:13:49 -04:00
Randall Lee
1bd23e2182 [iOS] Events submodule update (#14388)
* [iOS] Update Events submodule to v0.9.3

Internal change -- shouldn't require changelog notes.
2019-04-10 17:50:40 -04:00
Minh Nguyễn
0982efe830 [macos] Fixed Auto Layout warnings
Added constraints to the offline CJK checkbox and updated constraints around it.
2019-04-10 14:37:38 -07:00
Minh Nguyễn
1567281ee8 [macos] Fixed offline CJK checkbox outlet connection 2019-04-10 14:37:38 -07:00
Fabian Guerra Soto
2f0af0e8f4 [ios] Deactivate MGLMapView IBDesignable (#14379)
Removed MGLMapView's IBDesignable attribute. The map's view render attributes
uses GL, making changes through the inspectables were not reflected in the storyboard
and were causing IB crashes.

* [ios] Deactivate MGLMapView IBDesignable.

* [ios] Remove IBDesignable agent code.

* [ios, macos] Remove NSProcessInfo category from iOS.
2019-04-10 13:01:59 -07:00
Jason Wray
7bfb9c9658 [ios] Update mapbox/jazzy-theme 2019-04-10 12:38:36 -07:00
Jason Wray
264db54f10 [ios, build] Install latest jazzy, if not already installed 2019-04-10 12:38:36 -07:00
Jason Wray
d04b4844dd [ios, build] Bump to jazzy 0.9.6 2019-04-10 12:38:36 -07:00
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