GlyphVector(SkStrikePromise &&strikePromise, SkSpan< Variant > glyphs)
static GlyphVector Make(SkStrikePromise &&promise, SkSpan< const SkPackedGlyphID > glyphs, SubRunAllocator *alloc)
void flatten(SkWriteBuffer &buffer) const
SkSpan< const Glyph * > glyphs() const
void packedGlyphIDToGlyph(StrikeCache *cache)
static size_t GlyphVectorSize(size_t count)
int unflattenSize() const
static std::optional< GlyphVector > MakeFromBuffer(SkReadBuffer &buffer, const SkStrikeClient *strikeClient, SubRunAllocator *alloc)
SkPackedGlyphID packedGlyphID
Variant(SkPackedGlyphID id)