Lines Matching refs:SkGlyphCache
40 class SkGlyphCache {
129 static SkGlyphCache* VisitCache(SkTypeface*, const SkDescriptor* desc,
130 bool (*proc)(const SkGlyphCache*, void*),
137 static void AttachCache(SkGlyphCache*);
148 static SkGlyphCache* DetachCache(SkTypeface* typeface, in DetachCache()
163 AutoValidate(const SkGlyphCache* cache) : fCache(cache) { in AutoValidate()
177 const SkGlyphCache* fCache;
182 SkGlyphCache(SkTypeface*, const SkDescriptor*, SkScalerContext*);
183 ~SkGlyphCache();
200 static bool DetachProc(const SkGlyphCache*, void*) { return true; } in DetachProc() argument
202 SkGlyphCache* fNext, *fPrev;
255 inline static SkGlyphCache* FindTail(SkGlyphCache* head);
262 SkGlyphCache* getCache() const { return fCache; } in getCache()
266 SkGlyphCache::AttachCache(fCache); in release()
274 SkAutoGlyphCacheBase(SkGlyphCache* cache) : fCache(cache) {} in SkAutoGlyphCacheBase()
276 fCache = SkGlyphCache::DetachCache(typeface, desc); in SkAutoGlyphCacheBase()
288 SkGlyphCache::AttachCache(fCache); in ~SkAutoGlyphCacheBase()
292 SkGlyphCache* fCache;
295 static bool DetachProc(const SkGlyphCache*, void*);
300 SkAutoGlyphCache(SkGlyphCache* cache) : SkAutoGlyphCacheBase(cache) {} in SkAutoGlyphCache()
316 SkAutoGlyphCacheNoGamma(SkGlyphCache* cache) : SkAutoGlyphCacheBase(cache) {} in SkAutoGlyphCacheNoGamma()