Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactor: coordinatePointMatrix skip recomputation (#14507) | Aleksandar Stojiljkovic | 2019-05-13 | 2 | -6/+6 |
| | | | | | | | | coordinatePointMatrix is always used with getZoom(): Projection::worldSize(scale) / std::pow(2, z) is computed as scale * util::tileSize / std::pow(2, z) scale is equal to std::pow(2, z). ____________________________________=> Projection::worldSize(scale) / std::pow(2, z) => util::tileSize. | ||||
* | [core] Make the BackgroundScheduler a singleton | Thiago Marcos P. Santos | 2019-05-10 | 19 | -42/+126 |
| | | | | | | | | | | - 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 | -1/+1 |
| | | | | So that the lambdas calling these methods do not have to be mutable. | ||||
* | [core] Schedule invocation of onStyleImageMissing completion callback on the ↵ | Alexander Shalamov | 2019-05-09 | 2 | -9/+26 |
| | | | | | | | | | same thread Before this change, ImageManger's 'done' callback for onStyleImageMissing observer notification that was created on renderer thread, could be called from different thread, therefore, is not thread safe. For example, on Android platform, callback was invoked from UI thread. This change makes callback to be scheduled on originating thread. | ||||
* | [core] Failed sprite requests do not block tiles rendering | Mikhail Pozdnyakov | 2019-05-09 | 1 | -0/+3 |
| | |||||
* | [core] Remove clipping option from RenderTile and style::Layer | Mikhail Pozdnyakov | 2019-05-08 | 13 | -14/+0 |
| | |||||
* | [core] upgrade mapbox-gl-js pin to the most recent version | Konstantin Käfer | 2019-05-08 | 33 | -659/+689 |
| | |||||
* | [core] render extrusions directly in the main framebuffer | Konstantin Käfer | 2019-05-08 | 24 | -718/+604 |
| | |||||
* | [core] Placement order matches viewport-y sort | Mikhail Pozdnyakov | 2019-05-08 | 3 | -166/+172 |
| | | | | | | | | Symbols are placed accordingly to their viewport Y order, if the style `symbol-z-order` is set to `viewport-y`. This improves rendering of symbol layers, where icons are allowed to overlap but not text. | ||||
* | [core] Guard access to CustomTileLoader's data members with mutex | Alexander Shalamov | 2019-05-03 | 2 | -4/+9 |
| | |||||
* | [core] Keep shared_ptr to thread pool in CustomGeometrySource | Alexander Shalamov | 2019-05-03 | 1 | -1/+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 | 19 | -1746/+1746 |
| | | | | 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. | ||||
* | [build] change special casing for LineFloorWidth in shader generation | Konstantin Käfer | 2019-05-02 | 2 | -17/+10 |
| | |||||
* | [core] Less strict rules for adding render layers to sources | Mikhail Pozdnyakov | 2019-04-29 | 3 | -10/+20 |
| | |||||
* | [core] change approach to stencil clipping to (almost) match JS | Konstantin Käfer | 2019-04-29 | 23 | -388/+139 |
| | |||||
* | [core] Store type of renderable segment when sorting symbols by key | Alexander Shalamov | 2019-04-26 | 1 | -15/+31 |
| | |||||
* | [core] RendererImpl::dumDebugLogs() -> dumpDebugLogs() | Mikhail Pozdnyakov | 2019-04-25 | 3 | -3/+3 |
| | |||||
* | [core] Create ImageManager at renderer construction | Mikhail Pozdnyakov | 2019-04-25 | 1 | -17/+12 |
| | |||||
* | [core] Pass ImageManager to ImageRequestor's constructor | Alexander Shalamov | 2019-04-25 | 4 | -7/+19 |
| | | | | | This makes ImageRequestor API explicitly dependant on ImageManager, so that ImageRequestor can unregister itself from ImageManager on destruction. | ||||
* | [core] Track missing style images that were provided by client | Alexander Shalamov | 2019-04-25 | 3 | -5/+36 |
| | | | | | | - Track images provided by client thruough onStyleImageMissing API - Handle reduceMemoryUsage in ImageManager, via Renderer API - Release client provided images when no tiles are using them | ||||
* | [core] Updated script detection for Unicode 12.1 | Minh Nguyễn | 2019-04-17 | 1 | -2/+13 |
| | | | | Updated script detection files to reflect changes in Unicode 12.1. | ||||
* | [core] Render layers use synchronized buckets and paint properties | Mikhail Pozdnyakov | 2019-04-17 | 7 | -49/+64 |
| | | | | Actual for layers rendering the geometry tile data: line, fill, fill-extrusion, heatmap, circle, symbol (was updated in previous commits). | ||||
* | [core] Simplify RenderLayer interface. | Mikhail Pozdnyakov | 2019-04-17 | 7 | -30/+12 |
| | |||||
* | [core] Update `style::LayerProperties` instances in tiles | Mikhail Pozdnyakov | 2019-04-17 | 11 | -85/+94 |
| | |||||
* | [core] Add `FadingTiles` layer type property | Mikhail Pozdnyakov | 2019-04-17 | 11 | -11/+23 |
| | |||||
* | [core] Introduce `LayerRenderData`. Source::update() accepts layer properties. | Mikhail Pozdnyakov | 2019-04-17 | 39 | -113/+122 |
| | |||||
* | [core] Use `style::LayerProperties` in render layers, buckets and layouts. | Mikhail Pozdnyakov | 2019-04-17 | 49 | -386/+366 |
| | |||||
* | [core] Introduce `style::LayerProperties` interface and its implementations | Mikhail Pozdnyakov | 2019-04-17 | 21 | -3/+359 |
| | |||||
* | [core] Sort cross-tile symbol segments using symbol-sort-key | Alexander Shalamov | 2019-04-17 | 3 | -285/+422 |
| | |||||
* | [core] Set sortKey for symbol segments during layout phase | Alexander Shalamov | 2019-04-17 | 3 | -11/+30 |
| | |||||
* | [core] Add optional sortKey to segment | Alexander Shalamov | 2019-04-17 | 1 | -2/+6 |
| | |||||
* | [core] Enable 'symbol-sort-key' layout property and generate style code | Alexander Shalamov | 2019-04-17 | 2 | -40/+69 |
| | |||||
* | [core] Add 'auto' enum value to symbol-z-order layout property | Alexander Shalamov | 2019-04-17 | 2 | -1/+2 |
| | |||||
* | Use emplace_hint for inserting render items | Mikhail Pozdnyakov | 2019-04-12 | 1 | -3/+3 |
| | |||||
* | [core] Order render items properly across several sources | Mikhail Pozdnyakov | 2019-04-12 | 1 | -21/+30 |
| | |||||
* | [ios] run glFlush when reducing memory and don't reduce memory while in ↵ | Konstantin Käfer | 2019-04-11 | 1 | -0/+2 |
| | | | | background (#14383) | ||||
* | [core] Pass only visible render layers to source in renderer | Mikhail Pozdnyakov | 2019-04-09 | 2 | -7/+5 |
| | | | | | | | This simplifies the code and make it slightly more performant. Also, this change enables initialization the `RenderTile.used` field from inside the source (currently done in render layers). | ||||
* | fix firing onStyleImageMissing after sprite has loaded (#14369) | Ansis Brammanis | 2019-04-08 | 1 | -6/+7 |
| | |||||
* | [core] refactor ThreadLocal backend | Konstantin Käfer | 2019-04-08 | 1 | -13/+25 |
| | |||||
* | [core] clang-tidy fixes | Konstantin Käfer | 2019-04-05 | 56 | -330/+331 |
| | |||||
* | [core] introduce gfx::RenderPass | Konstantin Käfer | 2019-04-05 | 25 | -39/+186 |
| | |||||
* | [core] test OffscreenTexture renderability before using them | Konstantin Käfer | 2019-04-05 | 4 | -4/+14 |
| | |||||
* | [core] move depth/stencil buffer debug viz to gfx::Context | Konstantin Käfer | 2019-04-05 | 4 | -47/+73 |
| | |||||
* | [core] remove Renderer::flush | Konstantin Käfer | 2019-04-05 | 5 | -22/+0 |
| | |||||
* | [core] move GLContextMode to RendererBackend | Konstantin Käfer | 2019-04-05 | 7 | -23/+19 |
| | |||||
* | [core] use unique names for debug segments | Konstantin Käfer | 2019-04-05 | 3 | -14/+19 |
| | |||||
* | [core] move RenderParameters creation to a later stage | Konstantin Käfer | 2019-04-05 | 1 | -24/+30 |
| | |||||
* | [core] refactor RendererBackend | Konstantin Käfer | 2019-04-05 | 14 | -97/+129 |
| | |||||
* | [core] move BackendScope to gfx namespace | Konstantin Käfer | 2019-04-05 | 5 | -17/+19 |
| | |||||
* | [core] add gfx::Renderable and gfx::OffscreenTexture | Konstantin Käfer | 2019-04-05 | 13 | -159/+190 |
| |