Home
last modified time | relevance | path

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

/external/skia/src/gpu/text/
DGrBatchFontCache.h33 inline GrGlyph* getGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in getGlyph()
35 GrGlyph* glyph = fCache.find(packed); in getGlyph()
46 inline GrGlyph* getGlyph(GrGlyph::PackedID packed, in getGlyph()
49 GrGlyph* glyph = fCache.find(packed); in getGlyph()
66 bool addGlyphToAtlas(GrDrawBatch::Target*, GrGlyph*, GrFontScaler*,
86 SkTDynamicHash<GrGlyph, GrGlyph::PackedID> fCache;
94 GrGlyph* generateGlyph(const SkGlyph&, GrGlyph::PackedID, GrFontScaler*);
135 bool hasGlyph(GrGlyph* glyph) { in hasGlyph()
146 GrGlyph* glyph, GrBatchToken token) { in addGlyphToBulkAndSetUseToken()
DGrBatchFontCache.cpp166 SkTDynamicHash<GrGlyph, GrGlyph::PackedID>::Iter iter(&fCache); in ~GrBatchTextStrike()
173 GrGlyph* GrBatchTextStrike::generateGlyph(const SkGlyph& skGlyph, GrGlyph::PackedID packed, in generateGlyph()
176 if (GrGlyph::kDistance_MaskStyle == GrGlyph::UnpackMaskStyle(packed)) { in generateGlyph()
187 GrGlyph* glyph = (GrGlyph*)fPool.alloc(sizeof(GrGlyph)); in generateGlyph()
194 SkTDynamicHash<GrGlyph, GrGlyph::PackedID>::Iter iter(&fCache); in removeID()
206 GrGlyph* glyph, in addGlyphToAtlas()
221 if (GrGlyph::kDistance_MaskStyle == GrGlyph::UnpackMaskStyle(glyph->fPackedID)) { in addGlyphToAtlas()
DGrFontScaler.cpp203 const SkGlyph& GrFontScaler::grToSkGlyph(GrGlyph::PackedID id) { in grToSkGlyph()
204 return fStrike->getGlyphIDMetrics(GrGlyph::UnpackID(id), in grToSkGlyph()
205 GrGlyph::UnpackFixedX(id), in grToSkGlyph()
206 GrGlyph::UnpackFixedY(id)); in grToSkGlyph()
DGrTextUtils.cpp130 GrGlyph::PackedID id = GrGlyph::Pack(skGlyph.getGlyphID(), in BmpAppendGlyph()
133 GrGlyph::kCoverage_MaskStyle); in BmpAppendGlyph()
134 GrGlyph* glyph = (*strike)->getGlyph(skGlyph, id, scaler); in BmpAppendGlyph()
433 GrGlyph::PackedID id = GrGlyph::Pack(skGlyph.getGlyphID(), in DfAppendGlyph()
436 GrGlyph::kDistance_MaskStyle); in DfAppendGlyph()
437 GrGlyph* glyph = (*strike)->getGlyph(skGlyph, id, scaler); in DfAppendGlyph()
DGrAtlasTextBlob_regenInBatch.cpp22 inline void regen_vertices(intptr_t vertex, const GrGlyph* glyph, size_t vertexStride, in regen_vertices()
182 GrGlyph* glyph = nullptr; in regenInBatch()
190 GrGlyph::PackedID id = fGlyphs[glyphOffset]->fPackedID; in regenInBatch()
DGrFontScaler.h60 const SkGlyph& grToSkGlyph(GrGlyph::PackedID);
DGrAtlasTextBlob.cpp26 glyphCount * sizeof(GrGlyph**) + in Create()
39 cacheBlob->fGlyphs = reinterpret_cast<GrGlyph**>(cacheBlob->fVertices + verticesCount); in Create()
71 GrGlyph* glyph, in appendGlyph()
155 void GrAtlasTextBlob::appendLargeGlyph(GrGlyph* glyph, GrFontScaler* scaler, const SkGlyph& skGlyph, in appendLargeGlyph()
DGrAtlasTextBlob.h161 GrGlyph* glyph,
288 void appendLargeGlyph(GrGlyph* glyph, GrFontScaler* scaler, const SkGlyph& skGlyph,
533 GrGlyph** fGlyphs;
/external/skia/src/gpu/
DGrGlyph.h26 struct GrGlyph { struct
42 void init(GrGlyph::PackedID packed, const SkIRect& bounds, GrMaskFormat format) { in init() argument
94 static inline const GrGlyph::PackedID& GetKey(const GrGlyph& glyph) { in GetKey() argument
98 static inline uint32_t Hash(GrGlyph::PackedID key) { in Hash() argument
/external/skia/gyp/
Dgpu.gypi94 '<(skia_src_path)/gpu/GrGlyph.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj886 …9F13B122D40064D447 /* GrGlyph.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
1997 260E039F13B122D40064D447 /* GrGlyph.h */,