19 std::shared_ptr<TypographerContext> typographer_context);
23 void AddTextFrame(
const std::shared_ptr<TextFrame>& frame,
27 std::optional<GlyphProperties> properties);
37 std::shared_ptr<TypographerContext> typographer_context_;
39 std::vector<std::shared_ptr<TextFrame>> alpha_text_frames_;
40 std::vector<std::shared_ptr<TextFrame>> color_text_frames_;
41 std::shared_ptr<GlyphAtlasContext> alpha_context_;
42 std::shared_ptr<GlyphAtlasContext> color_context_;
43 mutable std::shared_ptr<GlyphAtlas> alpha_atlas_;
44 mutable std::shared_ptr<GlyphAtlas> color_atlas_;
To do anything rendering related with Impeller, you need a context.