Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Fix performance-type-promotion-in-math-fn errors | Thiago Marcos P. Santos | 2020-03-23 | 1 | -2/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-for-range-copy errors | Thiago Marcos P. Santos | 2020-03-23 | 1 | -1/+1 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Do not index and place the off-screen symbols for overscaled tiles | Mikhail Pozdnyakov | 2020-01-22 | 1 | -5/+39 |
| | | | | | For overscaled tiles the viewport might be showing only a small part of the tile, so we filter out the off-screen symbols to improve the performance. | ||||
* | [core] Simplify CrossTileSymbolIndex::addLayer() | Mikhail Pozdnyakov | 2020-01-22 | 1 | -4/+12 |
| | |||||
* | [core] Consider symbol bucket leader id in cross-tile symbol indexing | Mikhail Pozdnyakov | 2020-01-22 | 1 | -17/+30 |
| | | | | | | | Only buckets with the same leader id participate in `TileLayerIndex::findMatches()` in order to improve its performace. `TileLayerIndex` constness is fixed. | ||||
* | [core] Initiate new placement only when a new bucket appeares | Mikhail Pozdnyakov | 2019-09-13 | 1 | -10/+9 |
| | |||||
* | [core] RenderSource creates render items | Mikhail Pozdnyakov | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | [core] RenderTile does not expose Tile | Mikhail Pozdnyakov | 2019-05-28 | 1 | -1/+1 |
| | | | | | | RenderTile and Tile will be split when ochestration movces to a separate thread. This PR improves encapsulation of Tiles management: now performed within TilePyramid. | ||||
* | [core] CrossTileSymbolIndex::pruneUnusedLayers() does not create ↵ | Mikhail Pozdnyakov | 2019-05-20 | 1 | -7/+5 |
| | | | | intermadiate containers | ||||
* | [core] Remove RenderLayerSymbolInterface | Mikhail Pozdnyakov | 2019-05-19 | 1 | -1/+0 |
| | |||||
* | [core] RenderLayerSymbolInterface is not used in CrossTileSymbolIndex | Mikhail Pozdnyakov | 2019-05-19 | 1 | -24/+9 |
| | |||||
* | [core] RenderTile shall never be created for a not renderable tile | Mikhail Pozdnyakov | 2019-05-14 | 1 | -3/+1 |
| | | | | | | | | A RenderTile is already never created for a not renderable tile, guarantied by the checks in `updateRenderables()`. However, the client code had plenty of `isRenderable()` checks in the render path, which complicated the code and affected rendering performance. This patch removes the unneeded checks from the client code and puts an assertion to `TilePyramid::addRenderTile()`. | ||||
* | [core] clang-tidy fixes | Konstantin Käfer | 2019-04-05 | 1 | -3/+2 |
| | |||||
* | [core] Replace RenderSymbolLayer downcast with symbol interface | Alexander Shalamov | 2018-11-19 | 1 | -5/+6 |
| | |||||
* | [core] Use hand-rolled RTTI | John Firebaugh | 2018-07-24 | 1 | -1/+1 |
| | |||||
* | [core] Check all bucket dynamic_casts | John Firebaugh | 2018-07-24 | 1 | -3/+6 |
| | | | | A mismatch can occur when a layer changes from one type to another. | ||||
* | [core] avoid symbol flickering when longitude is wrapped | Ansis Brammanis | 2018-05-22 | 1 | -1/+29 |
| | |||||
* | [core] Only run placement for first layer per SymbolBucket | Chris Loer | 2018-05-03 | 1 | -0/+4 |
| | | | | | | | | | Native version of mapbox/mapbox-gl-js#6548. Port of mapbox/mapbox-gl-js#6550. Prevents symbols that share the same layout properties from colliding against each other. Bump GL JS pin to get regression test. Rename "bucketName" -> "bucketLeaderID" to make it clearer what it represents. | ||||
* | [core] Don't copy TileLayerIndexes on every frame. | Chris Loer | 2018-05-01 | 1 | -1/+1 |
| | | | | Fixes issue #11811 (too much CPU time spent in CrossTileSymbolIndex). | ||||
* | Prune unused layers from CrossTileSymbolIndex | Chris Loer | 2018-01-19 | 1 | -0/+12 |
| | | | | Fixes issue #10939 -- removed layers would leak entries in the CrossTileSymbolIndex. | ||||
* | [core] Prevent symbols at the same zoom from sharing a crossTileID. | Chris Loer | 2018-01-17 | 1 | -7/+29 |
| | | | | | Port of GL JS PR #5994. Fixes issue #10844, which would allow multiple symbols in a tile to share the same crossTileID as one of their duplicate parent-tile symbols. Once the symbols shared a crossTileID, they would permanently remain "duplicates" of each other, even after increasing zoom level allowed the CrossTileSymbolIndex to distinguish between them. | ||||
* | [core] fix updating CrossTileSymbolIndex after bucket update | Ansis Brammanis | 2018-01-11 | 1 | -0/+2 |
| | | | | emplace does not overwite existing entries | ||||
* | [core] port minor collision changes from -js (#10764) | Ansis Brammanis | 2018-01-08 | 1 | -39/+27 |
| | |||||
* | [core] Add unit test for CrossTileSymbolIndex | Ansis Brammanis | 2017-11-17 | 1 | -4/+2 |
| | |||||
* | [core] Add CrossTileSymbolIndex. | Chris Loer | 2017-11-17 | 1 | -0/+167 |
This class is responsible for tracking which symbols are "the same" between tiles at different zoom levels, so that symbol opacities (fade animations) can be copied smoothly between tiles. |