Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrGlyph.h52 static MaskStyle MaskStyleFromSkGlyph(const SkGlyph& skGlyph) { in MaskStyleFromSkGlyph()
53 return (SkMask::Format)skGlyph.fMaskFormat == SkMask::kSDF_Format in MaskStyleFromSkGlyph()
58 GrGlyph(const SkGlyph& skGlyph) in GrGlyph()
59 : fPackedID{skGlyph.getPackedID()} in GrGlyph()
60 , fMaskFormat{FormatFromSkGlyph(skGlyph)}
61 , fMaskStyle{MaskStyleFromSkGlyph(skGlyph)}
62 , fBounds{BoundsFromSkGlyph(skGlyph)} {}
/external/skqp/src/gpu/
DGrGlyph.h52 static MaskStyle MaskStyleFromSkGlyph(const SkGlyph& skGlyph) { in MaskStyleFromSkGlyph()
53 return (SkMask::Format)skGlyph.fMaskFormat == SkMask::kSDF_Format in MaskStyleFromSkGlyph()
58 GrGlyph(const SkGlyph& skGlyph) in GrGlyph()
59 : fPackedID{skGlyph.getPackedID()} in GrGlyph()
60 , fMaskFormat{FormatFromSkGlyph(skGlyph)}
61 , fMaskStyle{MaskStyleFromSkGlyph(skGlyph)}
62 , fBounds{BoundsFromSkGlyph(skGlyph)} {}
/external/skqp/src/gpu/text/
DGrStrikeCache.h33 GrGlyph* getGlyph(const SkGlyph& skGlyph) { in getGlyph() argument
34 GrGlyph* glyph = fCache.find(skGlyph.getPackedID()); in getGlyph()
36 glyph = this->generateGlyph(skGlyph); in getGlyph()
52 const SkGlyph& skGlyph = GrToSkGlyph(cache, packed); in getGlyph() local
53 glyph = this->generateGlyph(skGlyph); in getGlyph()
DGrStrikeCache.cpp175 GrGlyph* GrTextStrike::generateGlyph(const SkGlyph& skGlyph) { in generateGlyph() argument
176 GrGlyph* grGlyph = fAlloc.make<GrGlyph>(skGlyph); in generateGlyph()
224 const SkGlyph& skGlyph = GrToSkGlyph(cache, glyph->fPackedID); in addGlyphToAtlas() local
230 if (!get_packed_glyph_image(cache, skGlyph, glyph->width(), glyph->height(), in addGlyphToAtlas()
DGrTextBlob.h439 const SkGlyph& skGlyph,
444 const SkGlyph& skGlyph,
/external/skia/src/gpu/text/
DGrStrikeCache.h33 GrGlyph* getGlyph(const SkGlyph& skGlyph) { in getGlyph() argument
34 GrGlyph* glyph = fCache.find(skGlyph.getPackedID()); in getGlyph()
36 glyph = this->generateGlyph(skGlyph); in getGlyph()
52 const SkGlyph& skGlyph = GrToSkGlyph(cache, packed); in getGlyph() local
53 glyph = this->generateGlyph(skGlyph); in getGlyph()
DGrStrikeCache.cpp175 GrGlyph* GrTextStrike::generateGlyph(const SkGlyph& skGlyph) { in generateGlyph() argument
176 GrGlyph* grGlyph = fAlloc.make<GrGlyph>(skGlyph); in generateGlyph()
224 const SkGlyph& skGlyph = GrToSkGlyph(cache, glyph->fPackedID); in addGlyphToAtlas() local
230 if (!get_packed_glyph_image(cache, skGlyph, glyph->width(), glyph->height(), in addGlyphToAtlas()
DGrTextBlob.h439 const SkGlyph& skGlyph,
444 const SkGlyph& skGlyph,
/external/skia/src/core/
DSkGlyphRunPainter.cpp787 const SkGlyph& skGlyph, SkPoint origin) { in appendDeviceSpaceGlyph() argument
788 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendDeviceSpaceGlyph()
799 const SkGlyph& skGlyph, in appendSourceSpaceGlyph() argument
802 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendSourceSpaceGlyph()
/external/skqp/src/core/
DSkGlyphRunPainter.cpp661 const SkGlyph& skGlyph, SkPoint origin) { in appendDeviceSpaceGlyph() argument
662 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendDeviceSpaceGlyph()
673 const SkGlyph& skGlyph, in appendSourceSpaceGlyph() argument
676 if (GrGlyph* glyph = strike->getGlyph(skGlyph)) { in appendSourceSpaceGlyph()