Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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. | ||||
* | [core] Introduce variable text placement for point labels - Layout part | Mikhail Pozdnyakov | 2019-03-29 | 1 | -0/+3 |
| | |||||
* | [core] auto value for 'text-justify' field | Mikhail Pozdnyakov | 2019-03-29 | 1 | -0/+1 |
| | |||||
* | [core] Enable 'text-radial-offset' property | Mikhail Pozdnyakov | 2019-03-29 | 1 | -0/+4 |
| | |||||
* | [core] Enable text-variable-anchor property | Mikhail Pozdnyakov | 2019-03-29 | 3 | -0/+11 |
| | |||||
* | [core] Include pixelRatio property in MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 2 | -1/+15 |
| | | | | Move pixelRatio property from Map constructor to MapOptions. | ||||
* | [core] Add setter/getter for size property in MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 2 | -5/+17 |
| | |||||
* | [core] Add interface to change the orientation through MapOptions | Sudarsana Babu Nagineni | 2019-03-28 | 2 | -4/+18 |
| | |||||
* | [core] Add getter for Map options | Sudarsana Babu Nagineni | 2019-03-28 | 1 | -5/+2 |
| | | | | | Instead of having individual getter for each Map option, add a common getter for all Map options. | ||||
* | [core] ResoureOptions explicit copy via clone() | Bruno de Oliveira Abinader | 2019-03-25 | 2 | -4/+6 |
| | |||||
* | [core] Fix signature of fluent interface setters | Bruno de Oliveira Abinader | 2019-03-23 | 2 | -10/+10 |
| | |||||
* | [core] Replace shared_ptr with unique_ptr in {Map,Resource}Options | Bruno de Oliveira Abinader | 2019-03-22 | 2 | -20/+26 |
| | |||||
* | [core] Change definition of "complete" so offline packs created before ↵ | Julian Rex | 2019-03-21 | 1 | -1/+1 |
| | | | | #11055 can complete. (#14188) | ||||
* | [core] Remove file source from public Map ctor | Bruno de Oliveira Abinader | 2019-03-20 | 5 | -53/+137 |
| | |||||
* | [core] Expose a way of flushing the graphics pipeline | Thiago Marcos P. Santos | 2019-03-20 | 1 | -0/+2 |
| | | | | | Useful for apps before going to background that are restricted by the OS of performing any operation. | ||||
* | [core] Forward evaluation context directly to evaluated property | Alexander Shalamov | 2019-03-15 | 1 | -1/+5 |
| | | | | | So that default value owned by the FormatSectionOverride, can be evaluated based on required context parameters. |