From 2643a0efc74ac8b623744f399245c8b66c61e04f Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Wed, 14 Jan 2015 20:56:18 -0500 Subject: start porting dash lines from js - switches to dash units that are scaled by line width - adds a lineatlas to store patterns line dashed lines - adds linesdf shader which renders line fill from the lineatlas js: 8e83d76af3bd877eb9639c02e296363e2c0186f8 --- include/mbgl/map/map.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index 45846170c2..5d1f576586 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -30,6 +30,7 @@ class FileSource; class View; class GlyphAtlas; class SpriteAtlas; +class LineAtlas; class Map : private util::noncopyable { public: @@ -182,6 +183,7 @@ private: util::ptr glyphStore; const std::unique_ptr spriteAtlas; util::ptr sprite; + const std::unique_ptr lineAtlas; util::ptr texturePool; const std::unique_ptr painter; -- cgit v1.2.1