Commit Graph

11569 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
a339dcc6cc [Qt] Do not assume viewport size == fbo size in Qt4 2017-11-09 16:13:05 +02:00
Bruno de Oliveira Abinader
12f69ae14a [Qt] Call QNetworkReply::readAll() only once 2017-11-09 16:13:05 +02:00
Bruno de Oliveira Abinader
7936c138fe [Qt] Call QSqlQuery::finish() when inactive 2017-11-09 16:13:05 +02:00
Bruno de Oliveira Abinader
ca73bbc9be [Qt] Do not store QSqlDatabase 2017-11-09 16:13:05 +02:00
Bruno de Oliveira Abinader
3053dabca3 [build] Added Qt{4,5} Linux build folders to YCM config 2017-11-09 16:13:05 +02:00
Bruno de Oliveira Abinader
2b03d6e805 [Qt] Qt SQLite driver has no setForwardOnly support 2017-11-09 16:13:05 +02:00
Ivo van Dongen
c30161e4c8 [android] MapRendererRunnable - avoid weak reference table overflow
Apparently on some devices the weak reference table is limited (numbers around 52000). Even though we don't use that many weak references, when GC is not called for a while they can stack up and a crash will occur before the GC has had the time to clear the references. The C++ peer now holds on to a global ref (strong) which can be obtained to queue the java peer and then release automatically so that the GC can take over after the runnable has been executed.
2017-11-09 15:24:34 +02:00
Ivo van Dongen
43f89d6b6a [android] fix map snapshotter marker example
The reference to the MapSnapshotter needs to be held for the duration of the snapshot, otherwise it might be GC'd
2017-11-09 15:24:15 +02:00
Pablo Guardiola
cec7d12e37 [android] revert adding mapbox-android-core dependency (#10354) (#10380) 2017-11-09 12:43:28 +01:00
Anand Thakker
a71756ea8d Fix gl-js submodule sha (#10420) 2017-11-08 14:06:37 -05:00
Anand Thakker
f648cfeef6 Implement Expressions (#9439)
Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
2017-11-08 12:34:02 -05:00
Tobrun
9aac976104 [android] - update getting started documentation 2017-11-03 17:44:29 -07:00
Ivo van Dongen
c24721103d [android] TextureView - cleanup destruction code 2017-11-03 12:31:44 +02:00
Ivo van Dongen
1970a94695 [android] test app - texture view test activities 2017-11-02 19:55:46 +02:00
Ivo van Dongen
8671b834b4 [android] bring back texture view 2017-11-02 19:55:46 +02:00
Ivo van Dongen
efc776e4f9 [android] texture view map renderer 2017-11-02 19:55:46 +02:00
Ivo van Dongen
0fb2629a37 [android] move egl under renderer package 2017-11-02 19:55:46 +02:00
Ivo van Dongen
b30ec535bf [android] encapsulate gl surfaceview rendering specifics in map renderer subclass
- preparation for re-introduction of texture view
2017-11-02 19:55:46 +02:00
Bruno de Oliveira Abinader
13ec2cc562 Revert "[core] Expose ColorMask in gl::Context::clear()"
This reverts commit e350ef37fe.
2017-11-02 15:14:37 +02:00
Pablo Guardiola
f13a8b0afa [android] make location provider optional (#9488) 2017-11-01 17:12:12 -07:00
Tobrun
ae1ada3b2b [android] - check for possitive animation duration 2017-11-01 13:57:55 -07:00
Bruno de Oliveira Abinader
0ef7b7154f [test] Added GLContextMode.Shared utest 2017-11-01 17:45:37 +02:00
Bruno de Oliveira Abinader
68ab4f6cec [core] Let transparency leak in GLContext::Shared mode 2017-11-01 17:45:37 +02:00
Bruno de Oliveira Abinader
e350ef37fe [core] Expose ColorMask in gl::Context::clear() 2017-11-01 17:45:37 +02:00
Bruno de Oliveira Abinader
388610d6aa [core] Expose GLContextMode in HeadlessFrontend 2017-11-01 17:45:37 +02:00
Bruno de Oliveira Abinader
1262659b8d [core] Move GLContextMode to its own Renderer header 2017-11-01 17:45:37 +02:00
Tobrun
53e61fa71b [android] - add logo resize to MapSnapshotter 2017-11-01 03:17:45 -07:00
Tobrun
c61ccb30e9 [android] - make snapshot logo optional 2017-11-01 03:17:22 -07:00
Ivo van Dongen
a42455c56a [darwin] MGLMapSnapshot - add missing EXPORT 2017-11-01 10:46:23 +02:00
Tobrun
56c2af5670 [android] - rework ease interactions to take in account possitve duration requirement 2017-10-31 15:28:19 -07:00
Ivo van Dongen
e0a305247a [android] map snapshotter - expose attributions 2017-10-31 19:52:08 +02:00
Ivo van Dongen
2d81186fc1 [darwin] map snapshotter - expose attributions 2017-10-31 19:52:08 +02:00
Ivo van Dongen
2c0c516354 [core] map snapshotter - add attributions to snapshotter callback 2017-10-31 19:52:08 +02:00
Ivo van Dongen
3cdb249c70 [darwin][ios][macos] map snapshotter - add MGLMapSnapshot wrapper 2017-10-31 19:52:08 +02:00
Ivo van Dongen
dde1a92291 [android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality 2017-10-31 19:52:08 +02:00
Ivo van Dongen
87b735aaf7 [default] map snapshotter - add function to get screen coordinate from latlng for snapshot
- Wraps the TransformState for the snapshot so that the snapshotter itself is free to be re-used or destroyed
2017-10-31 19:52:08 +02:00
Ivo van Dongen
316f2bed4b [default] headless frontend - allow access to the transform state 2017-10-31 19:52:08 +02:00
Ivo van Dongen
334dde0d76 [darwin] map snapshotter - snapshotter mutability 2017-10-31 19:52:08 +02:00
Ivo van Dongen
7481d317e7 [android] map snapshotter - add mutators 2017-10-31 19:52:08 +02:00
Ivo van Dongen
d37144d2f8 [core] map snapshotter - add mutators 2017-10-31 19:52:08 +02:00
Thiago Marcos P. Santos
a815c16ab3 [qt] Fix build on some archs
When building for certain platforms, don't redefine OpenGL constants
we use.
2017-10-31 15:58:59 +02:00
Thiago Marcos P. Santos
c65465c02e [gcc4.9] Keep compatibility with GCC + Android
Needed by Qt builds on Android.
2017-10-31 12:41:40 +02:00
Osana Babayan
8c716fde96 [android] MapboxMap.animate() and Mapbox.easeCamera() should throw IllegalArgument (#10321)
if non-positive duration is passed in
2017-10-30 16:48:56 -07:00
Asheem Mamoowala
375f9f94b6 [core] Add LatLngBounds::contains(const LatLngBounds&) 2017-10-30 16:44:34 -07:00
Langston Smith
484c04a924 Update README.md with snapshot info (#9636)
* Update README.md

* spacing fix

* Added build.gradle root folder code

* added make aproj instructions

* snapshot info tweak

* text reorder

* small tweak
2017-10-26 13:04:55 -07:00
Konstantin Käfer
ab3547a216 [core] fix crash when querying GeoJSON tiles 2017-10-26 14:30:39 +03:00
Ivo van Dongen
45dc313009 [core] blacklist VAO usage on adreno 3xx
- Causes crashes on usage of glBuffer(Sub)Data
2017-10-26 12:00:11 +02:00
Anand Thakker
424ba0d9de Add support for 'sleep' operation in render tests (#10282)
Ports 0069349550
2017-10-25 16:36:43 -04:00
Jesse Bounds
aad26419b4 [ios] Move scale bar content size invalidation to map view 2017-10-25 12:44:41 -07:00
John Firebaugh
01ed21a3c4 [core] Add layer before notifying observer 2017-10-25 08:27:59 -07:00