Searched refs:GrFontDescKey (Results 1 – 4 of 4) sorted by relevance
23 class GrFontDescKey : public SkRefCnt {25 explicit GrFontDescKey(const SkDescriptor& desc) : fDesc(desc), fHash(desc.getChecksum()) {} in GrFontDescKey() function29 bool operator==(const GrFontDescKey& rh) const {51 const GrFontDescKey* getKey();64 GrFontDescKey* fKey;
27 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;
72 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()
42 const GrFontDescKey* GrFontScaler::getKey() { in getKey()44 fKey = new GrFontDescKey(fStrike->getDescriptor()); in getKey()