Home
last modified time | relevance | path

Searched defs:GrGlyph (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/
DGrGlyph.h19 struct GrGlyph { struct
20 enum MaskStyle {
25 static GrMaskFormat FormatFromSkGlyph(const SkGlyph& glyph) { in FormatFromSkGlyph()
54 ? GrGlyph::MaskStyle::kDistance_MaskStyle in MaskStyleFromSkGlyph() argument
58 GrGlyph(const SkGlyph& skGlyph) in GrGlyph() function
65 SkRect destRect(SkPoint origin) { in destRect()
95 static const SkPackedGlyphID& GetKey(const GrGlyph& glyph) { in GetKey() argument
99 static uint32_t Hash(SkPackedGlyphID key) { in Hash()
103 const SkPackedGlyphID fPackedID;
104 const GrMaskFormat fMaskFormat;
[all …]
/external/skia/src/gpu/
DGrGlyph.h19 struct GrGlyph { struct
20 enum MaskStyle {
46 ? GrGlyph::MaskStyle::kDistance_MaskStyle in MaskStyleFromSkGlyph() argument
50 GrGlyph(const SkGlyph& skGlyph) in GrGlyph() argument
57 SkRect destRect(SkPoint origin) { in destRect()
65 SkRect destRect(SkPoint origin, SkScalar textScale) { in destRect()
81 int width() const { return fBounds.width(); } in width()
82 int height() const { return fBounds.height(); } in height()
83 uint32_t pageIndex() const { return GrDrawOpAtlas::GetPageIndexFromID(fPlotLocator); } in pageIndex()
84 MaskStyle maskStyle() const { return fMaskStyle; } in maskStyle()
[all …]