mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-22 14:13:45 +00:00
[drape] Faster RenderBucket
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user