Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Synchronize render passes and render tiles | Mikhail Pozdnyakov | 2019-07-11 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | Before this change render passes were assigned for the whole layer at properties evaluation stage. This caused problems, as layer render data are bound to the tile and these data might differ from tile to tile, depending on which tile has been updated by the tile worker and which has not been yet updated. This change takes into consideration the actual render passes required for each tile and combines them for the layer render passes. Naturally, this change also introduces render pass check for each render layer in `RenderLayer::render()` implementations. | ||||
* | [core] Introduce LayerProperties::constantsMask() | Mikhail Pozdnyakov | 2019-07-02 | 1 | -1/+2 |
| | | | | | | Constants mask for data-driven paint properties is a reliable criteria of whether the given updated properties can still be used with the existing bucket (and the gl program instance). | ||||
* | [core] Minor change to silence documentation warning on iOS. | Julian Rex | 2019-07-02 | 1 | -2/+2 |
| | |||||
* | [core] Add number-format expression | Juha Alanen | 2019-06-27 | 3 | -1/+45 |
| | |||||
* | [core] DefaultFileSource dynamic support for cache-only requests | Bruno de Oliveira Abinader | 2019-06-25 | 2 | -12/+20 |
| | |||||
* | [core] Add method for setting a maximum size for the ambient cache | Thiago Marcos P. Santos | 2019-06-18 | 1 | -6/+24 |
| | | | | | | | - Removed this parameter from the constructor, now that we have a method to set it. - Add the method and enforce the limits if the ambient cache exceeds the size. | ||||
* | [core] Clear/Invalidate should also work on non-tile resources | Thiago Marcos P. Santos | 2019-06-18 | 1 | -7/+13 |
| | | | | | These methods were only affecting tiles, but they should really work on every resource like style, glyphs, etc. | ||||
* | [core] Rename resetCache to resetDatabase | Thiago Marcos P. Santos | 2019-06-18 | 1 | -1/+1 |
| | | | | | Avoid confusion about what is being reset. In this case, the whole database and not only the ambient cache. | ||||
* | [core] Surface cache management APIs | Thiago Marcos P. Santos | 2019-06-13 | 1 | -0/+28 |
| | | | | | These APIs need to be on the DefaultFileSource in order to be visible for the SDKs bindings. | ||||
* | [build] remove roundtrip through <experimental/optional> when using optional | Konstantin Käfer | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | [core] Make tile id unwrapTo() const | Mikhail Pozdnyakov | 2019-06-10 | 1 | -4/+4 |
| | |||||
* | [core] remove platform::show(Color)?DebugImage | Konstantin Käfer | 2019-05-28 | 1 | -6/+0 |
| | |||||
* | [core] refactor program object creation | Konstantin Käfer | 2019-05-28 | 3 | -3/+49 |
| | |||||
* | [core] Remove priority from the constructor | Thiago Marcos P. Santos | 2019-05-28 | 1 | -11/+7 |
| | | | | Make the constructor less verbose and set good defaults. | ||||
* | [core] Introduce usage tag for resources | Thiago Marcos P. Santos | 2019-05-28 | 1 | -0/+7 |
| | | | | | | | Make the distinction if a resource is being requested for offline usage or if it will be used immediately. Fixes #14746 | ||||
* | [core] Offset viewport center when edge insets are specified | Aleksandar Stojiljkovic | 2019-05-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges. MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation. iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set. Tests: ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests. Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets. LocalGlyphRasterizer: verify text rendering when applying padding. Related to #11882: both use projection matrix elements [8] and [9]. Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area. Fixes #12107, #12728, navigation-sdks/issues/120 | ||||
* | [core] invoke optional resource path change completion listener | Łukasz Paczos | 2019-05-24 | 1 | -1/+4 |
| | |||||
* | [core] limit thread's scope to release the Object before detaching the thread | Łukasz Paczos | 2019-05-24 | 1 | -11/+15 |
| | |||||
* | [core] option to perform platform specific operations when ↵ | Łukasz Paczos | 2019-05-22 | 2 | -0/+16 |
| | | | | creating/destroying core threads | ||||
* | [core] RenderLayer::render(PaintParameters, RenderSource*) -> ↵ | Mikhail Pozdnyakov | 2019-05-22 | 1 | -0/+2 |
| | | | | render(PaintParameters) | ||||
* | [core] Forward ImageManagerObserver::onRemoveUnusedStyleImages to ↵ | Alexander Shalamov | 2019-05-21 | 2 | -0/+4 |
| | | | | MapObserver interface | ||||
* | [core] Define max cache size for ImageManager | Alexander Shalamov | 2019-05-21 | 1 | -0/+4 |
| | |||||
* | [core] Don't use optional unique_ptr in function coversion code | Ander Conselvan de Oliveira | 2019-05-21 | 1 | -7/+7 |
| | | | | | Since unique_ptr is already nullable there is no need to wrap it in an optional<>. | ||||
* | [core] Fix most identity function with default legacy expression tests | Ander Conselvan de Oliveira | 2019-05-21 | 1 | -8/+15 |
| | | | | | Add handling of default value to the conversion of legacy identity functions. The color and enum tests still don't pass though. | ||||
* | [core] Remove RenderLayerSymbolInterface | Mikhail Pozdnyakov | 2019-05-19 | 1 | -0/+6 |
| | |||||
* | [core] add gfx::UploadPass, split startRender into prepare and upload | Konstantin Käfer | 2019-05-15 | 1 | -0/+3 |
| | |||||
* | [core] add gfx::CommandEncoder::present() | Konstantin Käfer | 2019-05-15 | 1 | -0/+7 |
| | |||||
* | [core] use unique IDs for DrawScopes | Konstantin Käfer | 2019-05-15 | 1 | -1/+2 |
| | |||||
* | [core] Make FileSource API clearer | Mikhail Pozdnyakov | 2019-05-14 | 1 | -6/+8 |
| | |||||
* | [core] Make the BackgroundScheduler a singleton | Thiago Marcos P. Santos | 2019-05-10 | 5 | -6/+12 |
| | | | | | | | | | | - Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`. | ||||
* | [core] Make ActorRef methods const | Mikhail Pozdnyakov | 2019-05-10 | 1 | -2/+2 |
| | | | | So that the lambdas calling these methods do not have to be mutable. | ||||
* | [core] Remove clipping option from RenderTile and style::Layer | Mikhail Pozdnyakov | 2019-05-08 | 1 | -6/+0 |
| | |||||
* | [core] Keep shared_ptr to thread pool in CustomGeometrySource | Alexander Shalamov | 2019-05-03 | 1 | -0/+2 |
| | | | | | CustomGeometrySource should keep strong reference to shared thread pool that is used by CustomTileLoader. | ||||
* | [build] change style code generator to sort properties alphabetically | Konstantin Käfer | 2019-05-02 | 10 | -301/+301 |
| | | | | JSON keys in our style specification don't have a defined order. This change sorts them alphabetically so that we can rely on the order remaining them same across code generation runs. | ||||
* | [core] Introduce resetCache API | Sudarsana Babu Nagineni | 2019-04-29 | 1 | -0/+9 |
| | | | | Add an API to delete existing database and re-initialize. | ||||
* | [core] Render layers use synchronized buckets and paint properties | Mikhail Pozdnyakov | 2019-04-17 | 1 | -0/+5 |
| | | | | Actual for layers rendering the geometry tile data: line, fill, fill-extrusion, heatmap, circle, symbol (was updated in previous commits). | ||||
* | [core] Add `FadingTiles` layer type property | Mikhail Pozdnyakov | 2019-04-17 | 1 | -0/+6 |
| | |||||
* | [core] Use `style::LayerProperties` in render layers, buckets and layouts. | Mikhail Pozdnyakov | 2019-04-17 | 8 | -10/+17 |
| | |||||
* | [core] Introduce `style::LayerProperties` interface and its implementations | Mikhail Pozdnyakov | 2019-04-17 | 1 | -0/+29 |
| | |||||
* | [core] Enable 'symbol-sort-key' layout property and generate style code | Alexander Shalamov | 2019-04-17 | 1 | -0/+4 |
| | |||||
* | [core] Add 'auto' enum value to symbol-z-order layout property | Alexander Shalamov | 2019-04-17 | 1 | -0/+1 |
| | |||||
* | [core] Move should not call destructors | Alexander Shalamov | 2019-04-05 | 1 | -18/+7 |
| | |||||
* | [core] clang-tidy fixes | Konstantin Käfer | 2019-04-05 | 10 | -236/+236 |
| | |||||
* | [core] move depth/stencil buffer debug viz to gfx::Context | Konstantin Käfer | 2019-04-05 | 1 | -3/+0 |
| | |||||
* | [core] remove Renderer::flush | Konstantin Käfer | 2019-04-05 | 1 | -2/+0 |
| | |||||
* | [core] move GLContextMode to RendererBackend | Konstantin Käfer | 2019-04-05 | 4 | -23/+13 |
| | |||||
* | [core] refactor RendererBackend | Konstantin Käfer | 2019-04-05 | 5 | -96/+122 |
| | |||||
* | [core] move BackendScope to gfx namespace | Konstantin Käfer | 2019-04-05 | 2 | -2/+5 |
| | |||||
* | [core] add gfx::Renderable and gfx::OffscreenTexture | Konstantin Käfer | 2019-04-05 | 2 | -0/+61 |
| | |||||
* | add onStyleImageMissing to allow dynamically loaded or generated images (#14253) | Ansis Brammanis | 2019-04-02 | 2 | -0/+6 |
| | | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images. |