Home
last modified time | relevance | path

Searched refs:grGlyph (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/gpu/text/
DGrStrikeCache.cpp45 GrGlyph* grGlyph = fCache.findOrNull(packedGlyphID); in getGlyph() local
46 if (grGlyph == nullptr) { in getGlyph()
47 grGlyph = fAlloc.make<GrGlyph>(packedGlyphID); in getGlyph()
48 fCache.set(grGlyph); in getGlyph()
50 return grGlyph; in getGlyph()
DGrAtlasManager.cpp142 GrGlyph* grGlyph, in addGlyphToAtlas() argument
150 SkASSERT(grGlyph != nullptr); in addGlyphToAtlas()
180 &grGlyph->fAtlasLocator); in addGlyphToAtlas()
183 grGlyph->fAtlasLocator.insetSrc(srcPadding); in addGlyphToAtlas()
DGrTextBlob.cpp308 GrGlyph* grGlyph; member
310 Variant() : grGlyph{nullptr} {} in Variant()
368 variant.grGlyph = fGrStrike->getGlyph(variant.packedGlyphID); in packedGlyphIDToGrGlyph()
401 GrGlyph* grGlyph = variant.grGlyph; in regenerateAtlas() local
402 SkASSERT(grGlyph != nullptr); in regenerateAtlas()
404 if (!atlasManager->hasGlyph(maskFormat, grGlyph)) { in regenerateAtlas()
408 const SkGlyph& skGlyph = *metricsAndImages.glyph(grGlyph->fPackedID); in regenerateAtlas()
410 skGlyph, grGlyph, srcPadding, target->resourceProvider(), in regenerateAtlas()
423 &fBulkUseToken, maskFormat, grGlyph, in regenerateAtlas()