Home
last modified time | relevance | path

Searched refs:PackedID (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/gpu/
DGrGlyph.h32 typedef uint32_t PackedID; typedef
38 PackedID fPackedID;
44 void init(GrGlyph::PackedID packed, const SkIRect& bounds, GrMaskFormat format) { in init()
74 static inline PackedID Pack(uint16_t glyphID, SkFixed x, SkFixed y, MaskStyle ms) { in Pack()
81 static inline SkFixed UnpackFixedX(PackedID packed) { in UnpackFixedX()
85 static inline SkFixed UnpackFixedY(PackedID packed) { in UnpackFixedY()
89 static inline MaskStyle UnpackMaskStyle(PackedID packed) { in UnpackMaskStyle()
93 static inline uint16_t UnpackID(PackedID packed) { in UnpackID()
97 static inline const GrGlyph::PackedID& GetKey(const GrGlyph& glyph) { in GetKey()
101 static inline uint32_t Hash(GrGlyph::PackedID key) { in Hash()
DGrFontScaler.h70 GrMaskFormat getPackedGlyphMaskFormat(GrGlyph::PackedID) const;
71 bool getPackedGlyphBounds(GrGlyph::PackedID, SkIRect* bounds);
72 bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height,
74 bool getPackedGlyphDFBounds(GrGlyph::PackedID, SkIRect* bounds);
75 bool getPackedGlyphDFImage(GrGlyph::PackedID, int width, int height,
DGrFontScaler.cpp86 GrMaskFormat GrFontScaler::getPackedGlyphMaskFormat(GrGlyph::PackedID packed) const { in getPackedGlyphMaskFormat()
106 bool GrFontScaler::getPackedGlyphBounds(GrGlyph::PackedID packed, SkIRect* bounds) { in getPackedGlyphBounds()
115 bool GrFontScaler::getPackedGlyphDFBounds(GrGlyph::PackedID packed, SkIRect* bounds) { in getPackedGlyphDFBounds()
151 bool GrFontScaler::getPackedGlyphImage(GrGlyph::PackedID packed, in getPackedGlyphImage()
198 bool GrFontScaler::getPackedGlyphDFImage(GrGlyph::PackedID packed, in getPackedGlyphDFImage()
DGrBatchFontCache.h35 inline GrGlyph* getGlyph(GrGlyph::PackedID packed, GrFontScaler* scaler) { in getGlyph()
63 SkTDynamicHash<GrGlyph, GrGlyph::PackedID> fCache;
71 GrGlyph* generateGlyph(GrGlyph::PackedID packed, GrFontScaler* scaler);
DGrBatchFontCache.cpp167 SkTDynamicHash<GrGlyph, GrGlyph::PackedID>::Iter iter(&fCache); in ~GrBatchTextStrike()
174 GrGlyph* GrBatchTextStrike::generateGlyph(GrGlyph::PackedID packed, in generateGlyph()
195 SkTDynamicHash<GrGlyph, GrGlyph::PackedID>::Iter iter(&fCache); in removeID()
DGrAtlasTextContext.h262 void bmpAppendGlyph(BitmapTextBlob*, int runIndex, GrGlyph::PackedID, int left, int top,
264 bool dfAppendGlyph(BitmapTextBlob*, int runIndex, GrGlyph::PackedID, SkScalar sx, SkScalar sy,
DGrAtlasTextContext.cpp1223 GrGlyph::PackedID packed, in bmpAppendGlyph()
1284 GrGlyph::PackedID packed, in dfAppendGlyph()