From 95deab32ceadd2bca3912d866e76c6b0f1b931f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Thu, 28 Feb 2019 14:28:58 +0100 Subject: [core] extract attribute structs and gl::Vertex to separate namespace --- src/mbgl/renderer/buckets/symbol_bucket.hpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/mbgl/renderer/buckets/symbol_bucket.hpp') diff --git a/src/mbgl/renderer/buckets/symbol_bucket.hpp b/src/mbgl/renderer/buckets/symbol_bucket.hpp index 0388c5756b..4fa24aa614 100644 --- a/src/mbgl/renderer/buckets/symbol_bucket.hpp +++ b/src/mbgl/renderer/buckets/symbol_bucket.hpp @@ -80,8 +80,8 @@ public: struct PaintProperties { style::SymbolPaintProperties::PossiblyEvaluated evaluated; - SymbolIconProgram::PaintPropertyBinders iconBinders; - SymbolSDFTextProgram::PaintPropertyBinders textBinders; + SymbolIconProgram::Binders iconBinders; + SymbolSDFTextProgram::Binders textBinders; }; std::map paintProperties; @@ -89,15 +89,15 @@ public: struct TextBuffer { gl::VertexVector vertices; - gl::VertexVector dynamicVertices; - gl::VertexVector opacityVertices; + gl::VertexVector> dynamicVertices; + gl::VertexVector> opacityVertices; gl::IndexVector triangles; SegmentVector segments; std::vector placedSymbols; optional> vertexBuffer; - optional> dynamicVertexBuffer; - optional> opacityVertexBuffer; + optional>> dynamicVertexBuffer; + optional>> opacityVertexBuffer; optional> indexBuffer; } text; @@ -105,26 +105,26 @@ public: struct IconBuffer { gl::VertexVector vertices; - gl::VertexVector dynamicVertices; - gl::VertexVector opacityVertices; + gl::VertexVector> dynamicVertices; + gl::VertexVector> opacityVertices; gl::IndexVector triangles; SegmentVector segments; std::vector placedSymbols; PremultipliedImage atlasImage; optional> vertexBuffer; - optional> dynamicVertexBuffer; - optional> opacityVertexBuffer; + optional>> dynamicVertexBuffer; + optional>> opacityVertexBuffer; optional> indexBuffer; } icon; struct CollisionBuffer { - gl::VertexVector vertices; - gl::VertexVector dynamicVertices; + gl::VertexVector> vertices; + gl::VertexVector> dynamicVertices; SegmentVector segments; - optional> vertexBuffer; - optional> dynamicVertexBuffer; + optional>> vertexBuffer; + optional>> dynamicVertexBuffer; }; struct CollisionBoxBuffer : public CollisionBuffer { -- cgit v1.2.1