Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrGlyph.h26 struct GrGlyph { struct
44 void init(GrGlyph::PackedID packed, const SkIRect& bounds, GrMaskFormat format) { in init() argument
55 void free() { in free()
62 int width() const { return fBounds.width(); } in width()
63 int height() const { return fBounds.height(); } in height()
64 bool isEmpty() const { return fBounds.isEmpty(); } in isEmpty()
65 uint16_t glyphID() const { return UnpackID(fPackedID); } in glyphID()
69 static inline unsigned ExtractSubPixelBitsFromFixed(SkFixed pos) { in ExtractSubPixelBitsFromFixed()
97 static inline const GrGlyph::PackedID& GetKey(const GrGlyph& glyph) { in GetKey() argument
101 static inline uint32_t Hash(GrGlyph::PackedID key) { in Hash() argument