[core] Per-bucket glyph atlases

This commit is contained in:
John Firebaugh
2017-06-01 10:30:49 -07:00
parent b201a7900f
commit 92252849c1
36 changed files with 409 additions and 474 deletions

View File

@@ -32,7 +32,7 @@
#include <mbgl/annotation/annotation_manager.hpp>
#include <mbgl/annotation/annotation_source.hpp>
#include <mbgl/sprite/sprite_atlas.hpp>
#include <mbgl/text/glyph_atlas.hpp>
#include <mbgl/text/glyph_manager.hpp>
#include <cstdint>
@@ -49,7 +49,7 @@ public:
ThreadPool threadPool { 1 };
AnnotationManager annotationManager;
SpriteAtlas spriteAtlas;
GlyphAtlas glyphAtlas { { 512, 512, }, fileSource };
GlyphManager glyphManager { fileSource };
TileParameters tileParameters {
1.0,
@@ -60,7 +60,7 @@ public:
MapMode::Continuous,
annotationManager,
spriteAtlas,
glyphAtlas
glyphManager
};
SourceTest() {