Tobrun
ed16a7d632
[android] - zoom to rounded levels
2017-03-10 09:37:00 -08:00
Ivo van Dongen
b5d0a661c5
[android] Add support for queryRenderedFeatures filter
2017-03-04 15:42:07 -08:00
Asheem Mamoowala
60d10dd27d
[core] Add support for queryRenderedFeatures filter
2017-03-04 15:42:07 -08:00
Tobrun
34fef22d95
[core] [android] - allow zooming/scaling to use AnimationOptions ( #8181 )
...
[glfw] - allow glfw binding to use AnimationOptions instead of using direction directly
2017-02-28 13:22:47 -05:00
Ivo van Dongen
99786e1e3f
[android] insert layer at index
2017-02-28 09:33:04 -08:00
Ivo van Dongen
a9d2929819
[android] remove layer at index
2017-02-28 09:33:04 -08:00
Ivo van Dongen
dc21396d71
[android] insert layer above
2017-02-28 09:33:04 -08:00
Ivo van Dongen
3040d40772
[android] remove source returns reference
2017-02-28 09:33:04 -08:00
Ivo van Dongen
609cdb0fd7
[android] fix ownership of style layer after delete
2017-02-28 09:33:04 -08:00
Ivo van Dongen
f0de56cffa
[android] source list accessor + example
2017-02-28 09:33:04 -08:00
Ivo van Dongen
ec1dc2622b
[android] layer list accessor + example
2017-02-28 09:33:04 -08:00
Ivo van Dongen
465c949153
[android] jni high level binding refactor
2017-02-24 17:54:20 +02:00
John Firebaugh
694159c49e
[core] Nestable BackendScope
2017-02-20 12:04:21 -08:00
Konstantin Käfer
3ef9e26593
[ios,macos,android,qt] use shared threadpool
2017-02-20 19:26:06 +01:00
Konstantin Käfer
c86e38e303
[android] use shared DefaultFileSource for all maps + OfflineManager
2017-02-20 14:36:27 +01:00
Konstantin Käfer
4d35826014
[android] use native image encoding and decoding
2017-01-27 18:45:16 +01:00
Tobrun
f1c3cfb7e2
[android] - remove redundant log statements in native_map_view.cpp ( #7801 )
2017-01-23 12:22:58 +01:00
Ivo van Dongen
c76a933514
[core] use raii to guard backend deactivation
2016-12-12 09:05:23 -05:00
Konstantin Käfer
e76de05402
[build] move logging to util
2016-11-22 20:58:51 +01:00
Bruno de Oliveira Abinader
1c79147a84
[android] Update GLSL + ensure binding to OpenGL ES 2.0
2016-11-14 17:45:22 +01:00
Konstantin Käfer
108a28faa8
[android] update viewport size when framebuffer size changed
2016-11-10 17:04:18 +01:00
Konstantin Käfer
29c5c13aa2
[core] move OpenGL debug information printing to core
2016-11-04 21:24:05 +01:00
Konstantin Käfer
c90a559599
[core] move framebuffer reading to gl::Context
2016-11-04 21:24:05 +01:00
Konstantin Käfer
f7801e5d82
[core] correctly set the framebuffer size on retina screens
...
Also asserts in Debug mode that the internal state and the OpenGL state are identical
2016-11-01 10:46:04 +01:00
Konstantin Käfer
62b56b799a
[core] change std::array<uint16_t, 2> to mbgl::Size
2016-10-27 18:30:58 -07:00
Konstantin Käfer
a4d259c33f
[core] move gl::Context to Backend and refactor View
2016-10-25 13:52:36 -07:00
Konstantin Käfer
5cc390d694
[core] separate Backend from View for headless rendering
2016-10-25 13:52:36 -07:00
Mike Morris
817c26111a
[core] [node] pass thread pool impl to Map constructor
...
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Konstantin Käfer
2ec2860ce5
[core] move OpenGL extension loading to their own headers
2016-09-29 13:19:27 -07:00
Tobrun
0c0671bff0
[android] - disable general purpose logging during transformation change ( #6452 )
2016-09-27 15:08:49 +02:00
Konstantin Käfer
63e53de157
[core] standardize on uint16_t for texture sizes
2016-09-27 10:42:10 +02:00
Thiago Marcos P. Santos
0c460a5590
[android] Refcount the view activations
...
Fixes #5836
Fixes #5721
2016-08-06 12:58:59 -04:00
Tobrun Van Nuland
6016b2981e
[android] SurfaceView compatible snapshot api
...
[android] #5587 - snapshot API on surface view, create Bitmap with a ByteBuffer
[android] #5587 - write bitmap to external storage
PreMultipliedImage approach
callback implemented
clean up code
introduce bitmap reuse
cleanup
renaming surfaceContent to bitmap
2016-08-03 14:55:45 -04:00
Tobrun
7d0d09e7dc
[android] - fix black screen issue
2016-05-09 16:44:49 +02:00
Thiago Marcos P. Santos
7d80690f91
[android] Restore prior GLContext if exists
...
Apparently some versions of Android, notable 4.4.4 running
on my Nexus 5, creates a GLContext on the Android UIThread
which is the one we are now using for rendering after #2909 .
If the context is not restored, nothing gets rendered (or
sometimes partially, or artifacts) because Android will try
to do GL stuff on the context used by Mapbox GL and mess things up.
2016-04-18 18:57:20 +03:00
Thiago Marcos P. Santos
ba3125142e
[android] Make the correct GL context current
2016-04-14 13:51:27 -07:00
Thiago Marcos P. Santos
7b3c61f619
[android] Do not attach/detach to threads
...
Not needed as everything is now running on the same thread.
2016-04-14 13:51:27 -07:00
John Firebaugh
204c7fee03
[core] Render from the main thread
...
Do not create a thread for the MapContext anymore.
2016-04-14 13:44:08 -07:00
John Firebaugh
5eda74a514
Merge branch 'release-ios-3.2.0-android-4.0.0'
2016-03-30 17:43:37 -07:00
Antonio Zugaldia
682b404bf6
[android] Unify cache and offline databases
...
See #4362
2016-03-21 10:55:54 -07:00
John Firebaugh
1593b962ed
[android] Throw C++ exceptions by value, not by pointer
...
Refs #4385
2016-03-18 16:29:22 -07:00
Tobrun
20c3706536
[android] #4240 - add flag to resize only when needed.
2016-03-08 08:06:55 -05:00
Tobrun
e9b7cd724f
[android] #3631 - resize fix issue
2016-03-07 21:47:40 -05:00
Tobrun
46986c665e
[android] #2996 - test workaround for device not sharing context
2016-03-07 21:46:11 -05:00
Konstantin Käfer
2f06ca74e2
[core] move platform/gl.hpp to gl/gl.hpp
2016-02-08 12:50:00 +01:00
Larry Geromegnace
c114ed6562
[android] Add API to be able to set insets on MapView.
2016-01-27 10:57:38 -06:00
John Firebaugh
5a7d2fd60e
[core] Eliminate platform::assetRoot()
...
I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
2016-01-13 13:40:31 -08:00
John Firebaugh
e7b0b31d58
[core] Privatize SQLiteCache
2016-01-08 12:31:13 -08:00
John Firebaugh
2b782308e5
[android] Simplify structure for native files
2015-12-16 16:06:45 -08:00