Flutter Engine
The Flutter Engine
|
#include <GlyphVector.h>
Classes | |
union | Variant |
Public Member Functions | |
GlyphVector (SkStrikePromise &&strikePromise, SkSpan< Variant > glyphs) | |
SkSpan< const Glyph * > | glyphs () const |
void | flatten (SkWriteBuffer &buffer) const |
int | unflattenSize () const |
void | packedGlyphIDToGlyph (StrikeCache *cache) |
Static Public Member Functions | |
static GlyphVector | Make (SkStrikePromise &&promise, SkSpan< const SkPackedGlyphID > glyphs, SubRunAllocator *alloc) |
static std::optional< GlyphVector > | MakeFromBuffer (SkReadBuffer &buffer, const SkStrikeClient *strikeClient, SubRunAllocator *alloc) |
static size_t | GlyphVectorSize (size_t count) |
Friends | |
class | GlyphVectorTestingPeer |
class | ::skgpu::graphite::Device |
class | ::skgpu::ganesh::AtlasTextOp |
Definition at line 42 of file GlyphVector.h.
sktext::gpu::GlyphVector::GlyphVector | ( | SkStrikePromise && | strikePromise, |
SkSpan< Variant > | glyphs | ||
) |
Definition at line 32 of file GlyphVector.cpp.
void sktext::gpu::GlyphVector::flatten | ( | SkWriteBuffer & | buffer | ) | const |
Definition at line 84 of file GlyphVector.cpp.
Definition at line 96 of file GlyphVector.cpp.
|
inlinestatic |
Definition at line 72 of file GlyphVector.h.
|
static |
Definition at line 38 of file GlyphVector.cpp.
|
static |
Definition at line 50 of file GlyphVector.cpp.
void sktext::gpu::GlyphVector::packedGlyphIDToGlyph | ( | StrikeCache * | cache | ) |
Definition at line 102 of file GlyphVector.cpp.
|
inline |
Definition at line 68 of file GlyphVector.h.
|
friend |
Definition at line 79 of file GlyphVector.h.
|
friend |
Definition at line 78 of file GlyphVector.h.
|
friend |
Definition at line 77 of file GlyphVector.h.