summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [build] split out DefaultFileSource and dependents to a separate targetupstream/cmake-filesourceKonstantin Käfer2017-09-2725-279/+472
| | | | We don't want to link it into the node bindings, so keep it in a separate target
* [core] Move *TileID hashing to separate implJesse Crocker2017-09-263-24/+41
|
* [android] - hide overlain views on initTobrun Van Nuland2017-09-261-0/+2
|
* [android] - bump snapshot version to betaTobrun Van Nuland2017-09-262-3/+3
|
* [android] - add API to perform platform side animationsTobrun Van Nuland2017-09-268-4/+282
|
* [android] - update changelog for 5.1.4 release.Tobrun Van Nuland2017-09-261-0/+16
|
* [core] fix loading of stale must-revalidate resourcesKonstantin Käfer2017-09-253-9/+96
| | | | | | In https://github.com/mapbox/mapbox-gl-native/pull/9670, we implemented support for the Cache-Control: must-revalidate header. While we now respect this header and don't show resources that are stale and have this header set, the optional cache request never completes. This means we're also never going to try to actually get a fresh tile and just never show this tile anymore. This commit fixes this by responding with a Not Found error when the resource is unusable (= stale and has must-revalidate set). Since we actually still have the data (but can't use it due to caching rules), we're responding with the data as well. To avoid a second cache hit, tile_loader_impl.hpp now passes on the data from the Optional to the Required request so that it can be reused when we get a 304 Not Modified response from the server.
* [all] - use resource_class large on Circle-CI to avoid OOMTobrun Van Nuland2017-09-251-0/+6
|
* [android] - disable rotation gesture when pinch zoomingTobrun Van Nuland2017-09-252-15/+23
|
* [android] fix map in dialog activityIvo 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
* [test] add test for rendering a 204 No Content tileKonstantin Käfer2017-09-222-0/+42
|
* [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
|