Flutter Engine
The Flutter Engine
|
A container for caching a glyph atlas across frames. More...
#include <glyph_atlas_context_skia.h>
Public Member Functions | |
GlyphAtlasContextSkia () | |
~GlyphAtlasContextSkia () override | |
std::shared_ptr< SkBitmap > | GetBitmap () const |
Retrieve the previous (if any) SkBitmap instance. | |
void | UpdateBitmap (std::shared_ptr< SkBitmap > bitmap) |
Public Member Functions inherited from impeller::GlyphAtlasContext | |
virtual | ~GlyphAtlasContext () |
std::shared_ptr< GlyphAtlas > | GetGlyphAtlas () const |
Retrieve the current glyph atlas. | |
const ISize & | GetAtlasSize () const |
Retrieve the size of the current glyph atlas. | |
std::shared_ptr< RectanglePacker > | GetRectPacker () const |
Retrieve the previous (if any) rect packer. | |
void | UpdateGlyphAtlas (std::shared_ptr< GlyphAtlas > atlas, ISize size) |
Update the context with a newly constructed glyph atlas. | |
void | UpdateRectPacker (std::shared_ptr< RectanglePacker > rect_packer) |
Additional Inherited Members | |
Static Public Member Functions inherited from impeller::BackendCast< GlyphAtlasContextSkia, GlyphAtlasContext > | |
static GlyphAtlasContextSkia & | Cast (GlyphAtlasContext &base) |
static const GlyphAtlasContextSkia & | Cast (const GlyphAtlasContext &base) |
static GlyphAtlasContextSkia * | Cast (GlyphAtlasContext *base) |
static const GlyphAtlasContextSkia * | Cast (const GlyphAtlasContext *base) |
Protected Member Functions inherited from impeller::GlyphAtlasContext | |
GlyphAtlasContext () | |
A container for caching a glyph atlas across frames.
Definition at line 18 of file glyph_atlas_context_skia.h.
|
default |
|
overridedefault |
std::shared_ptr< SkBitmap > impeller::GlyphAtlasContextSkia::GetBitmap | ( | ) | const |
Retrieve the previous (if any) SkBitmap instance.
Definition at line 15 of file glyph_atlas_context_skia.cc.
void impeller::GlyphAtlasContextSkia::UpdateBitmap | ( | std::shared_ptr< SkBitmap > | bitmap | ) |
Definition at line 19 of file glyph_atlas_context_skia.cc.