Lines Matching refs:allocatedGlyph
678 SkGlyph* allocatedGlyph = strike->getRawGlyphByID(glyph->getPackedID()); in readStrikeData() local
682 if (allocatedGlyph->fImage == nullptr) { in readStrikeData()
683 auto* glyphPath = allocatedGlyph->fPathData; in readStrikeData()
684 *allocatedGlyph = *glyph; in readStrikeData()
685 allocatedGlyph->fPathData = glyphPath; in readStrikeData()
691 auto* image = deserializer.read(imageSize, allocatedGlyph->formatAlignment()); in readStrikeData()
693 strike->initializeImage(image, imageSize, allocatedGlyph); in readStrikeData()
702 SkGlyph* allocatedGlyph = strike->getRawGlyphByID(glyph->getPackedID()); in readStrikeData() local
706 if (allocatedGlyph->fPathData == nullptr) { in readStrikeData()
707 auto* glyphImage = allocatedGlyph->fImage; in readStrikeData()
708 *allocatedGlyph = *glyph; in readStrikeData()
709 allocatedGlyph->fImage = glyphImage; in readStrikeData()
712 if (!read_path(&deserializer, allocatedGlyph, strike.get())) READ_FAILURE in readStrikeData()