[core] Per-bucket glyph atlases
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include <mbgl/annotation/annotation_manager.hpp>
|
||||
#include <mbgl/annotation/annotation_tile.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:
|
||||
AnnotationManager annotationManager;
|
||||
RenderStyle style { threadPool, fileSource };
|
||||
SpriteAtlas spriteAtlas;
|
||||
GlyphAtlas glyphAtlas { { 512, 512, }, fileSource };
|
||||
GlyphManager glyphManager { fileSource };
|
||||
|
||||
TileParameters tileParameters {
|
||||
1.0,
|
||||
@@ -39,7 +39,7 @@ public:
|
||||
MapMode::Continuous,
|
||||
annotationManager,
|
||||
spriteAtlas,
|
||||
glyphAtlas
|
||||
glyphManager
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user