summaryrefslogtreecommitdiff
path: root/src/mbgl/text/cross_tile_symbol_index.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Only run placement for first layer per SymbolBucketChris Loer2018-05-031-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 Loer2018-05-011-1/+1
| | | | Fixes issue #11811 (too much CPU time spent in CrossTileSymbolIndex).
* Prune unused layers from CrossTileSymbolIndexChris Loer2018-01-191-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 Loer2018-01-171-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 updateAnsis Brammanis2018-01-111-0/+2
| | | | emplace does not overwite existing entries
* [core] port minor collision changes from -js (#10764)Ansis Brammanis2018-01-081-39/+27
|
* [core] Add unit test for CrossTileSymbolIndexAnsis Brammanis2017-11-171-4/+2
|
* [core] Add CrossTileSymbolIndex.Chris Loer2017-11-171-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.