[core] TilePyramid has sorted render tiles

Thus we obviate unneeded extra sorting of render tiles at each render layer.
This commit is contained in:
Mikhail Pozdnyakov
2019-01-16 14:35:13 +02:00
parent e0aeeba10f
commit ac3d59862a
8 changed files with 29 additions and 20 deletions

View File

@@ -43,7 +43,7 @@ RenderLayer::RenderTiles RenderLayer::filterRenderTiles(RenderTiles tiles) const
}
void RenderLayer::sortRenderTiles(const TransformState&) {
std::sort(renderTiles.begin(), renderTiles.end(), [](const auto& a, const auto& b) { return a.get().id < b.get().id; });
// no-op
}
const RenderLayerSymbolInterface* RenderLayer::getSymbolInterface() const {