[core] TilePyramid has sorted render tiles
Thus we obviate unneeded extra sorting of render tiles at each render layer.
This commit is contained in:
@@ -39,9 +39,7 @@ void RenderVectorSource::update(Immutable<style::Source::Impl> baseImpl_,
|
||||
|
||||
// TODO: this removes existing buckets, and will cause flickering.
|
||||
// Should instead refresh tile data in place.
|
||||
tilePyramid.tiles.clear();
|
||||
tilePyramid.renderTiles.clear();
|
||||
tilePyramid.cache.clear();
|
||||
tilePyramid.clearAll();
|
||||
}
|
||||
// Allow clearing the tile pyramid first, before the early return in case
|
||||
// the new tileset is not yet available or has an error in loading
|
||||
|
||||
Reference in New Issue
Block a user