Home
last modified time | relevance | path

Searched refs:GrFontDescKey (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/text/
DGrFontScaler.h23 class GrFontDescKey : public SkRefCnt {
25 explicit GrFontDescKey(const SkDescriptor& desc) : fDesc(desc), fHash(desc.getChecksum()) {} in GrFontDescKey() function
29 bool operator==(const GrFontDescKey& rh) const {
51 const GrFontDescKey* getKey();
64 GrFontDescKey* fKey;
DGrBatchFontCache.h27 GrBatchTextStrike(GrBatchFontCache*, const GrFontDescKey* fontScalerKey);
30 const GrFontDescKey* getFontScalerKey() const { return fFontScalerKey; } in getFontScalerKey()
78 static const GrFontDescKey& GetKey(const GrBatchTextStrike& ts) { in GetKey()
81 static uint32_t Hash(const GrFontDescKey& key) { in Hash()
87 SkAutoTUnref<const GrFontDescKey> fFontScalerKey;
225 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey> fCache;
DGrBatchFontCache.cpp72 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey>::Iter iter(&fCache); in ~GrBatchFontCache()
84 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey>::Iter iter(&fCache); in freeAll()
100 SkTDynamicHash<GrBatchTextStrike, GrFontDescKey>::Iter iter(&fontCache->fCache); in HandleEviction()
156 GrBatchTextStrike::GrBatchTextStrike(GrBatchFontCache* cache, const GrFontDescKey* key) in GrBatchTextStrike()
DGrFontScaler.cpp42 const GrFontDescKey* GrFontScaler::getKey() { in getKey()
44 fKey = new GrFontDescKey(fStrike->getDescriptor()); in getKey()