Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrGlyph.h27 struct GrGlyph { struct
43 void init(GrGlyph::PackedID packed, const SkIRect& bounds, GrMaskFormat format) { in init() argument
53 void reset() { in reset()
60 int width() const { return fBounds.width(); } in width()
61 int height() const { return fBounds.height(); } in height()
62 bool isEmpty() const { return fBounds.isEmpty(); } in isEmpty()
63 uint16_t glyphID() const { return UnpackID(fPackedID); } in glyphID()
67 static inline unsigned ExtractSubPixelBitsFromFixed(SkFixed pos) { in ExtractSubPixelBitsFromFixed()
95 static inline const GrGlyph::PackedID& GetKey(const GrGlyph& glyph) { in GetKey() argument
99 static inline uint32_t Hash(GrGlyph::PackedID key) { in Hash() argument