Home
last modified time | relevance | path

Searched refs:skGlyph (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/
DGrPathRendering.cpp35 SkGlyph skGlyph; in generatePath() local
36 skGlyph.initWithGlyphID(glyphID); in generatePath()
37 fScalerContext->getMetrics(&skGlyph); in generatePath()
39 fScalerContext->getPath(skGlyph, out); in generatePath()
/external/skia/src/gpu/text/
DGrBatchFontCache.cpp173 GrGlyph* GrBatchTextStrike::generateGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in generateGlyph() argument
177 if (!scaler->getPackedGlyphDFBounds(skGlyph, &bounds)) { in generateGlyph()
181 if (!scaler->getPackedGlyphBounds(skGlyph, &bounds)) { in generateGlyph()
185 GrMaskFormat format = scaler->getPackedGlyphMaskFormat(skGlyph); in generateGlyph()
220 const SkGlyph& skGlyph = scaler->grToSkGlyph(glyph->fPackedID); in addGlyphToAtlas() local
222 if (!scaler->getPackedGlyphDFImage(skGlyph, glyph->width(), glyph->height(), in addGlyphToAtlas()
227 if (!scaler->getPackedGlyphImage(skGlyph, glyph->width(), glyph->height(), in addGlyphToAtlas()
DGrTextUtils.cpp124 GrBatchTextStrike** strike, const SkGlyph& skGlyph, in BmpAppendGlyph() argument
130 GrGlyph::PackedID id = GrGlyph::Pack(skGlyph.getGlyphID(), in BmpAppendGlyph()
131 skGlyph.getSubXFixed(), in BmpAppendGlyph()
132 skGlyph.getSubYFixed(), in BmpAppendGlyph()
134 GrGlyph* glyph = (*strike)->getGlyph(skGlyph, id, scaler); in BmpAppendGlyph()
152 blob->appendGlyph(runIndex, r, color, *strike, glyph, scaler, skGlyph, in BmpAppendGlyph()
425 GrBatchTextStrike** strike, const SkGlyph& skGlyph, in DfAppendGlyph() argument
433 GrGlyph::PackedID id = GrGlyph::Pack(skGlyph.getGlyphID(), in DfAppendGlyph()
434 skGlyph.getSubXFixed(), in DfAppendGlyph()
435 skGlyph.getSubYFixed(), in DfAppendGlyph()
[all …]
DGrBatchFontCache.h33 inline GrGlyph* getGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in getGlyph() argument
37 glyph = this->generateGlyph(skGlyph, packed, scaler); in getGlyph()
54 const SkGlyph& skGlyph = scaler->grToSkGlyph(packed); in getGlyph() local
55 glyph = this->generateGlyph(skGlyph, packed, scaler); in getGlyph()
DGrAtlasTextBlob.cpp72 GrFontScaler* scaler, const SkGlyph& skGlyph, in appendGlyph() argument
77 this->appendLargeGlyph(glyph, scaler, skGlyph, x, y, scale, applyVM); in appendGlyph()
155 void GrAtlasTextBlob::appendLargeGlyph(GrGlyph* glyph, GrFontScaler* scaler, const SkGlyph& skGlyph, in appendLargeGlyph() argument
158 const SkPath* glyphPath = scaler->getGlyphPath(skGlyph); in appendLargeGlyph()
DGrAtlasTextBlob.h162 GrFontScaler* scaler, const SkGlyph& skGlyph,
288 void appendLargeGlyph(GrGlyph* glyph, GrFontScaler* scaler, const SkGlyph& skGlyph,