Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] correctly alter sprite URLs when attaching sprite.png/sprite.json ↵ | Konstantin Käfer | 2017-10-17 | 1 | -0/+8 |
| | | | | filenames | ||||
* | [core] don't generate clip IDs for buckets/layers that don't need to be clipped | Konstantin Käfer | 2017-10-17 | 1 | -2/+5 |
| | |||||
* | [core] make forcing cache/network only more explicit | Konstantin Käfer | 2017-10-12 | 3 | -129/+129 |
| | | | | | | Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving). This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme. | ||||
* | [core] Add `cameraForLatLngs()` method with modified bearing | Asheem Mamoowala | 2017-10-09 | 1 | -0/+26 |
| | |||||
* | [core] Add minzoom to GeoJSONOptions | Konstantin Käfer | 2017-09-28 | 1 | -0/+2 |
| | |||||
* | [core] fix loading of stale must-revalidate resources | Konstantin Käfer | 2017-09-25 | 1 | -0/+78 |
| | | | | | | 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. | ||||
* | [core] Actor/ActorRef - ask calls to void methods | Ivo van Dongen | 2017-09-22 | 2 | -0/+44 |
| | | | | - allows to wait for execution of void methods as well as non-void methods | ||||
* | [test] add test for rendering a 204 No Content tile | Konstantin Käfer | 2017-09-22 | 2 | -0/+42 |
| | |||||
* | Preserve depth buffer between 3D layers + optimize render order (#9931) | Lauren Budorick | 2017-09-21 | 1 | -4/+8 |
| | | | 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. | ||||
* | [core] make sure tiles are not treated as complete until all worker ↵ | Konstantin Käfer | 2017-09-21 | 4 | -16/+13 |
| | | | | | | 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 occurs | Konstantin Käfer | 2017-09-21 | 2 | -0/+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. | ||||
* | [core] Reset zoom history state in still mode | Bruno de Oliveira Abinader | 2017-09-15 | 1 | -0/+6 |
| | |||||
* | Fast tileCount with help from @mapbox/sphericalmercator module | Asheem Mamoowala | 2017-09-08 | 2 | -0/+17 |
| | |||||
* | Update to gejson 0.4.2 and add StyleParser test to verify that GeoJSON ↵ | Asheem Mamoowala | 2017-08-28 | 2 | -0/+15 |
| | | | | without `properties` field can be loaded | ||||
* | Implement icon-anchor property | Lauren Budorick | 2017-08-28 | 1 | -2/+2 |
| | |||||
* | [core] Added GeometryTileWorker-owned image correlation ID | Bruno de Oliveira Abinader | 2017-08-25 | 1 | -4/+7 |
| | |||||
* | [core] Avoid RenderStyle dependency in query code | John Firebaugh | 2017-08-24 | 1 | -3/+1 |
| | |||||
* | [tests] Enforce the schema downgrade behavior | Thiago Marcos P. Santos | 2017-08-22 | 2 | -0/+24 |
| | | | | Which is, delete and recreate the database. | ||||
* | [test] Re-added API.ZoomHistory | Bruno de Oliveira Abinader | 2017-08-22 | 2 | -0/+65 |
| | |||||
* | [core] Correct x-offset introduced by vertical glyph rotation | Chris Loer | 2017-08-18 | 1 | -1/+1 |
| | | | | | Fixes issue#9768. Port of GL JS PR #5100. | ||||
* | [test] Added API.RecycleMapUpdateImages test | Bruno de Oliveira Abinader | 2017-08-14 | 3 | -0/+58 |
| | |||||
* | [test] Added Map.SetStyleDefaultCamera test | Bruno de Oliveira Abinader | 2017-08-11 | 2 | -0/+21 |
| | |||||
* | [core] Added Style::getDefaultCamera() | Bruno de Oliveira Abinader | 2017-08-11 | 1 | -9/+9 |
| | |||||
* | [core] finish must-revalidate support | Konstantin Käfer | 2017-08-08 | 6 | -50/+154 |
| | |||||
* | [core] make actor self reference optional - again | Ivo van Dongen | 2017-08-08 | 1 | -0/+31 |
| | | | | - uses a different method of constructor selection that also works on Apple clang < 8.2. | ||||
* | [core] Removed unused constructorupstream/tvn-test-ci-time-out | Thiago Marcos P. Santos | 2017-08-07 | 1 | -31/+0 |
| | | | | | | | | | | Not in use at the moment, was causing a compiler error on Apple LLVM version 8.0.0 (clang-800.0.42.1). ``` src/mbgl/sprite/sprite_loader.cpp:25:11: error: call to constructor of 'Actor<mbgl::SpriteLoaderWorker>' is ambiguous ``` | ||||
* | [core] modify texture coordinate scaling (#9153) | Molly Lloyd | 2017-07-27 | 1 | -31/+31 |
| | | | | | | | | | ignore unsupported dds property tests fix tests remove unneeded texture extent variable bump gl-js to master | ||||
* | [all] Merge View into RendererBackend | John Firebaugh | 2017-07-26 | 2 | -1/+3 |
| | |||||
* | [node, tests] Consolidate headless rendering logic in HeadlessFrontend | John Firebaugh | 2017-07-26 | 13 | -337/+135 |
| | |||||
* | [core] Remove API tests that are covered by node tests | John Firebaugh | 2017-07-26 | 3 | -151/+0 |
| | |||||
* | [core] Replace API.ZoomHistory test with integration test | John Firebaugh | 2017-07-26 | 3 | -63/+0 |
| | |||||
* | [core] make actor self reference optional | Ivo van Dongen | 2017-07-24 | 1 | -0/+31 |
| | |||||
* | [core] add ask pattern to actor ref | Ivo van Dongen | 2017-07-24 | 1 | -3/+55 |
| | |||||
* | [core] implement ask pattern in actor | Ivo van Dongen | 2017-07-24 | 1 | -0/+24 |
| | |||||
* | [core] generate masks for raster tiles to avoid painting over children | Konstantin Käfer | 2017-07-24 | 1 | -0/+159 |
| | |||||
* | [core] add algorithm for computing masks for raster tiles | Konstantin Käfer | 2017-07-24 | 1 | -0/+132 |
| | |||||
* | [core] Correctly track sprite loaded state through smart setStyle | John Firebaugh | 2017-07-20 | 1 | -1/+1 |
| | |||||
* | [build] make Xcode use the correct compiler when it is installed in a ↵ | Konstantin Käfer | 2017-07-18 | 1 | -4/+0 |
| | | | | non-standard location | ||||
* | [core] BackendScope prevent double (de-)activation | Ivo van Dongen | 2017-07-18 | 1 | -0/+111 |
| | | | | | - Guards against duplicate activations by checking wether the backend of the prior scope is the same as the current ones - Makes sure that only the most outer backend scope deactivates by tracking activation state | ||||
* | [test] allow only a single shared display to avoid egl errors | Ivo van Dongen | 2017-07-18 | 14 | -23/+16 |
| | |||||
* | [core] rename backend to renderer backend | Ivo van Dongen | 2017-07-18 | 12 | -12/+12 |
| | |||||
* | [core] renderer interface | Ivo van Dongen | 2017-07-18 | 14 | -237/+372 |
| | |||||
* | [core] split backend from mapobserver | Ivo van Dongen | 2017-07-18 | 9 | -75/+67 |
| | |||||
* | [core] mutate style on annotation mutations immediately | Ivo van Dongen | 2017-07-18 | 5 | -7/+17 |
| | |||||
* | [core][ios][android][macos] Use premultiplied image directly for RasterTile ↵ | Asheem Mamoowala | 2017-07-17 | 3 | -3/+3 |
| | | | | and ImageSource, un-premultiply in the shader for blending | ||||
* | [core] Use shared pointer to manage Image source raster data and speed up ↵ | Asheem Mamoowala | 2017-07-17 | 1 | -1/+1 |
| | | | | change detection | ||||
* | [tests] Add test to enforce database not found behavior | Thiago Marcos P. Santos | 2017-07-17 | 1 | -0/+11 |
| | | | | | | Make sure all the implementations, currently Qt and Default, throw an exception with error code CANTOPEN when opening a database that doesn't exist without the CREATE flag. | ||||
* | [core] Make sure ThreadLocal will not own the pointer it is managing | Thiago Marcos P. Santos | 2017-07-14 | 1 | -10/+18 |
| | | | | | | | | | | | | | | ThreadLocal should not own the pointer it is managing because the use case in Mapbox GL is to keep a pointer to a stack allocated object, like: ``` MyObject foo; threadLocal.set(&foo); ``` To keep consistency, it is required that we clear the managed object before ThreadLocal gets destroyed by setting it to `nullptr`. | ||||
* | [test] Fix undefined behavior warning: | Chris Loer | 2017-07-14 | 1 | -2/+2 |
| | | | | | quads.test.cpp used a bin with unsupported x/y coordinates. Issue #9499. | ||||
* | [core] add unused default template parameter to keep Xcode 9's Clang from ↵ | Konstantin Käfer | 2017-07-13 | 1 | -0/+6 |
| | | | | crashing |