Implement dynamic texture atlas (#3198)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
Co-authored-by: Bart Louwers <bart.louwers@gmail.com>
This commit is contained in:
Alex Cristici
2025-05-14 18:38:47 +03:00
committed by GitHub
parent a537956529
commit 8a81444c43
74 changed files with 763 additions and 400 deletions

View File

@@ -44,6 +44,7 @@
#include <mbgl/renderer/image_manager.hpp>
#include <mbgl/renderer/tile_render_data.hpp>
#include <mbgl/text/glyph_manager.hpp>
#include <mbgl/gfx/dynamic_texture_atlas.hpp>
#include <cstdint>
#include <optional>
@@ -64,6 +65,7 @@ public:
AnnotationManager annotationManager{style};
std::shared_ptr<ImageManager> imageManager = std::make_shared<ImageManager>();
std::shared_ptr<GlyphManager> glyphManager = std::make_shared<GlyphManager>();
gfx::DynamicTextureAtlasPtr dynamicTextureAtlas;
TaggedScheduler threadPool;
Style style;
@@ -77,7 +79,8 @@ public:
imageManager,
glyphManager,
0,
threadPool};
threadPool,
dynamicTextureAtlas};
};
SourceTest()