Lines Matching refs:SkGlyph
166 bool read_path(Deserializer* deserializer, SkGlyph* glyph, SkStrike* cache) { in read_path()
442 static void writeGlyph(SkGlyph* glyph, Serializer* serializer) { in writeGlyph()
475 SkGlyph glyph{glyphID}; in writePendingGlyphs()
492 SkGlyph glyph{glyphID}; in writePendingGlyphs()
501 const SkGlyph& SkStrikeServer::SkGlyphCacheState::findGlyph(SkPackedGlyphID glyphID) { in findGlyph()
502 SkGlyph* glyphPtr = fGlyphMap.findOrNull(glyphID); in findGlyph()
504 glyphPtr = fAlloc.make<SkGlyph>(glyphID); in findGlyph()
535 const SkGlyph& SkStrikeServer::SkGlyphCacheState::getGlyphMetrics( in getGlyphMetrics()
544 bool SkStrikeServer::SkGlyphCacheState::hasImage(const SkGlyph& glyph) { in hasImage()
549 bool SkStrikeServer::SkGlyphCacheState::hasPath(const SkGlyph& glyph) { in hasPath()
550 return const_cast<SkGlyph&>(glyph).addPath(fContext.get(), &fAlloc) != nullptr; in hasPath()
596 static bool readGlyph(SkTLazy<SkGlyph>& glyph, Deserializer* deserializer) { in readGlyph()
675 SkTLazy<SkGlyph> glyph; in readStrikeData()
678 SkGlyph* allocatedGlyph = strike->getRawGlyphByID(glyph->getPackedID()); in readStrikeData()
699 SkTLazy<SkGlyph> glyph; in readStrikeData()
702 SkGlyph* allocatedGlyph = strike->getRawGlyphByID(glyph->getPackedID()); in readStrikeData()