summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [android] fix map in dialog activityupstream/ivd-android-glsurfaceviewIvo van Dongen2017-09-221-6/+18
|
* [android] fix double map activityIvo van Dongen2017-09-221-2/+2
|
* [android] example custom layer - add context lost callbackIvo van Dongen2017-09-223-0/+10
|
* [android] CustomLayer - optionally accept a context lost callback functionIvo van Dongen2017-09-223-5/+16
|
* [core] custom layer - add contextLost callbackIvo van Dongen2017-09-225-3/+36
| | | | - optional callback method that can be used to do cleanup when the context has been lost before re-initialisation
* [android] re-implemented the fps listener apiIvo van Dongen2017-09-228-80/+77
|
* [android] speed up ui testsIvo van Dongen2017-09-221-22/+21
| | | | - Make the idling resource use a push model instead of polling for the ready state.
* [android] reset renderer on the GL thread when map is destroyedIvo van Dongen2017-09-222-2/+11
| | | | - ensures cleanup of resources on the right thread
* [core] Actor/ActorRef - ask calls to void methodsIvo van Dongen2017-09-223-0/+70
| | | | - allows to wait for execution of void methods as well as non-void methods
* [android] map snapshotsIvo van Dongen2017-09-227-32/+49
|
* [android] signal renderer when gl surface is re-initialized that gl context ↵Ivo van Dongen2017-09-221-0/+1
| | | | is lost
* [core] send signal to RenderCustomLayer when gl context has been lostIvo van Dongen2017-09-226-1/+29
| | | | - Prevents cleaning up of GL resources that no longer exist, resulting in a crash
* [android] Re-initialise renderer, backend and context when the android ↵Ivo van Dongen2017-09-227-45/+99
| | | | system destroyed the underlying gl resources
* [core] allow context to be abandoned on destructionIvo van Dongen2017-09-222-1/+9
| | | | - This enables the use case where the system already destroyed the underlying GL resources. Otherwise, the cleanup would fail and crash
* [android] fix ZoomButtonController initialisation orderIvo van Dongen2017-09-221-1/+1
| | | | - prevents "java.lang.IllegalArgumentException: Receiver not registered: android.widget.ZoomButtonsController" when quitting the map before the receiver is properly registered
* [android] self-contained map rendererIvo van Dongen2017-09-2218-435/+560
| | | | - Isolates the GL thread in a MapRenderer class with a native peer
* [android] schedule work on the gl thread using GLSurfaceView#queueEventIvo van Dongen2017-09-229-47/+122
|
* [android] async renderingIvo van Dongen2017-09-2211-644/+713
| | | | | | - introduces GLSurfaceView - introduces Orchestration thread - renders on the gl thread
* [android] extract RendererBackend from NativeMapViewIvo van Dongen2017-09-225-106/+109
|
* [android] remove texture viewIvo van Dongen2017-09-226-55/+8
|
* [core] remove throttling from geometry tileIvo van Dongen2017-09-222-9/+2
| | | | - This doesn't work for asynchronous rendering - see https://github.com/mapbox/mapbox-gl-native/pull/9611
* [glfw] Save/Restore online status of DefaultFileSourceKonstantin Käfer2017-09-225-0/+26
|
* [glfw] Always load settings, and allow CLI args to override themKonstantin Käfer2017-09-221-30/+14
|
* [test] add ability to take the OnlineFileSource offlineKonstantin Käfer2017-09-224-4/+39
| | | | This functionality is used for testing to ensure correct offline behavior when connectivity is missing.
* [build] Shuffle render tests in 'test-node-recycle-map' targetBruno de Oliveira Abinader2017-09-211-1/+1
|
* Preserve depth buffer between 3D layers + optimize render order (#9931)Lauren Budorick2017-09-2123-150/+219
| | | Port of https://github.com/mapbox/mapbox-gl-js/pull/5101: adds a new render pass `Pass3D` before any other rendering wherein we render layers with 3D passes (fill-extrusion layers) to offscreen framebuffers, sharing a depth renderbuffer between those layers in order to render 3D space correctly. Those framebuffers are saved on the RenderLayers and copied back to the map during the translucent pass. Rendering to offscreen framebuffers before we do any clear + draw means we can avoid expensive framebuffer restores.
* [glfw] allow loading mapbox:// style URLs via CLIKonstantin Käfer2017-09-211-1/+5
|
* [core] make sure tiles are not treated as complete until all worker ↵Konstantin Käfer2017-09-2111-53/+56
| | | | | | operations completed Previously, when we started a worker operation that eventually throws an exception (e.g. due to the tile not being parseable), and then enqueue another worker operation while the first one is processing, we treated the worker as idle once the first operation's error callback fired, even though the second operation was still in progress. Due to our use of coalescing, I was unable to come up with a reliable test since we'd need to reproduce the behavior described above, which is timing dependent.
* [core] keep tiles renderable even if a subsequent error occursKonstantin Käfer2017-09-214-5/+51
| | | | Since 9a9408e8111bcdcd0fcb9a93112d61ab8fce0601, we marked tiles as non-renderable if an error occured. This lead to situations where a tile was loaded + parsed successfully, then a revalidation attempt occured (e.g. because the resource was stale) which failed. In this case, we used to mark the tile as non-renderable although we could've used the perfectly parsed (stale) resource.
* [android] - set error handler when starting snapshotter, remove obsolete ↵Tobrun Van Nuland2017-09-211-1/+2
| | | | static keyword on interface
* Fix platform dependent number type `unsigned long` -> `uint64_t`Asheem Mamoowala2017-09-204-5/+5
|
* [android] hook camera events into compass (#10019)Pablo Guardiola2017-09-203-53/+90
|
* [android] ignore failed uninstallsIvo van Dongen2017-09-191-3/+3
| | | | - ensures targets run whether the app was installed before on the device or not
* [core] Don't redo placement for zoom changes at low pitch.Chris Loer2017-09-181-3/+3
| | | | | Fixes issue #9996 Port of GL-JS #5284
* [android] - move strings resources to dedicated files, fixup simple map ↵Tobrun Van Nuland2017-09-1824-588/+295
| | | | activity, fixup double map activity, snapshot activity home button click fix, add activity titles, remove obsolete navigation drawer activity
* [core] Bypass GeoJSON tile data update if tileID zoom is above source's maxZoomBruno de Oliveira Abinader2017-09-152-5/+8
|
* [core] TransformState::getIntegerZoom should be uint8_tBruno de Oliveira Abinader2017-09-152-2/+2
|
* [node] Added 'removeSource'Bruno de Oliveira Abinader2017-09-153-0/+21
|
* [core] Reset zoom history state in still modeBruno de Oliveira Abinader2017-09-152-2/+15
|
* [core] Partially revert ZoomHistory.lastIntegerZoom updateBruno de Oliveira Abinader2017-09-151-1/+1
|
* Mapbox develops React Native Mapbox GLMinh Nguyễn2017-09-141-1/+1
| | | Updated the readme to acknowledge Mapbox’s official support for React Native.
* [android] - update zoom function example with selected stateTobrun Van Nuland2017-09-141-11/+59
|
* [android] - add style inspecatable in debug mode activityTobrun Van Nuland2017-09-143-60/+231
|
* Do not check connection if it is local requestRadosław Juszczyk2017-09-141-4/+5
| | | | Requests to servers which run on localhost should be independent from internet connection.
* [android] - harden offline region deletionTobrun Van Nuland2017-09-141-1/+2
|
* [android] - bump external dependenciesTobrun Van Nuland2017-09-143-10/+9
|
* [core] Do not cache stale tilesBruno de Oliveira Abinader2017-09-143-24/+20
|
* [core] Precompute if has image diffs when updating sourcesBruno de Oliveira Abinader2017-09-141-5/+3
|
* [node] Reflect GL JS changes in render.test.jsBruno de Oliveira Abinader2017-09-142-45/+1
|
* [node] Implement GeoJSON converterBruno de Oliveira Abinader2017-09-134-22/+14
|