[core] Per-bucket glyph atlases
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include <mbgl/geometry/feature_index.hpp>
|
||||
#include <mbgl/annotation/annotation_manager.hpp>
|
||||
#include <mbgl/sprite/sprite_atlas.hpp>
|
||||
#include <mbgl/text/glyph_atlas.hpp>
|
||||
#include <mbgl/text/glyph_manager.hpp>
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -28,7 +28,7 @@ public:
|
||||
ThreadPool threadPool { 1 };
|
||||
AnnotationManager annotationManager;
|
||||
SpriteAtlas spriteAtlas;
|
||||
GlyphAtlas glyphAtlas { { 512, 512, }, fileSource };
|
||||
GlyphManager glyphManager { fileSource };
|
||||
Tileset tileset { { "https://example.com" }, { 0, 22 }, "none" };
|
||||
|
||||
TileParameters tileParameters {
|
||||
@@ -40,7 +40,7 @@ public:
|
||||
MapMode::Continuous,
|
||||
annotationManager,
|
||||
spriteAtlas,
|
||||
glyphAtlas
|
||||
glyphManager
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user