[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

@@ -5,9 +5,8 @@
#include "drape/pointers.hpp"
#include "drape/shader.hpp"
#include <map>
#include <unordered_map>
#include <string>
#include <vector>
namespace dp
{
@@ -30,7 +29,7 @@ public:
glConst m_type = gl_const::GLFloatType;
};
using UniformsInfo = std::map<std::string, UniformInfo>;
using UniformsInfo = std::unordered_map<std::string, UniformInfo>;
UniformsInfo const & GetUniformsInfo() const;
uint32_t GetNumericUniformsCount() const { return m_numericUniformsCount; }