[drape] Faster RenderBucket

Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
x7z4w
2025-11-01 16:10:22 +00:00
committed by map-per
parent bb9637041d
commit bf07edbc33
17 changed files with 90 additions and 129 deletions

View File

@@ -1,11 +1,9 @@
#include "drape/batcher.hpp"
#include "drape/batcher_helpers.hpp"
#include "drape/cpu_buffer.hpp"
#include "drape/index_storage.hpp"
#include "drape/vertex_array_buffer.hpp"
#include "base/assert.hpp"
#include "base/stl_helpers.hpp"
#include <utility>
@@ -190,14 +188,6 @@ void Batcher::ResetSession()
m_buckets.clear();
}
void Batcher::SetFeatureMinZoom(int minZoom)
{
m_featureMinZoom = minZoom;
for (auto const & bucket : m_buckets)
bucket.second->SetFeatureMinZoom(m_featureMinZoom);
}
void Batcher::SetBatcherHash(uint64_t batcherHash)
{
m_batcherHash = batcherHash;