[core] Per-bucket icon atlases

This commit is contained in:
John Firebaugh
2017-06-07 12:45:35 -07:00
parent 92252849c1
commit 0b68731207
55 changed files with 688 additions and 728 deletions

View File

@@ -9,7 +9,7 @@
#include <mbgl/annotation/annotation_manager.hpp>
#include <mbgl/renderer/tile_parameters.hpp>
#include <mbgl/renderer/buckets/raster_bucket.hpp>
#include <mbgl/sprite/sprite_atlas.hpp>
#include <mbgl/renderer/image_manager.hpp>
#include <mbgl/text/glyph_manager.hpp>
using namespace mbgl;
@@ -21,7 +21,7 @@ public:
util::RunLoop loop;
ThreadPool threadPool { 1 };
AnnotationManager annotationManager;
SpriteAtlas spriteAtlas;
ImageManager imageManager;
GlyphManager glyphManager { fileSource };
Tileset tileset { { "https://example.com" }, { 0, 22 }, "none" };
@@ -33,7 +33,7 @@ public:
fileSource,
MapMode::Continuous,
annotationManager,
spriteAtlas,
imageManager,
glyphManager
};
};