Searched refs:SkGradientBitmapCache (Results 1 – 5 of 5) sorted by relevance
12 struct SkGradientBitmapCache::Entry {36 SkGradientBitmapCache::SkGradientBitmapCache(int max) : fMaxEntries(max) { in SkGradientBitmapCache() function in SkGradientBitmapCache43 SkGradientBitmapCache::~SkGradientBitmapCache() { in ~SkGradientBitmapCache()54 SkGradientBitmapCache::Entry* SkGradientBitmapCache::detach(Entry* entry) const { in detach()72 void SkGradientBitmapCache::attachToHead(Entry* entry) const { in attachToHead()83 bool SkGradientBitmapCache::find(const void* buffer, size_t size, SkBitmap* bm) const { in find()102 void SkGradientBitmapCache::add(const void* buffer, size_t len, const SkBitmap& bm) { in add()120 void SkGradientBitmapCache::validate() const { in validate()
15 class SkGradientBitmapCache : SkNoncopyable {17 SkGradientBitmapCache(int maxEntries);18 ~SkGradientBitmapCache();42 AutoValidate(const SkGradientBitmapCache* bc) : fBC(bc) { bc->validate(); } in AutoValidate()45 const SkGradientBitmapCache* fBC;
668 static SkGradientBitmapCache* gCache; in getGradientTableBitmap()674 gCache = new SkGradientBitmapCache(MAX_NUM_CACHED_GRADIENT_BITMAPS); in getGradientTableBitmap()
75 '<(skia_src_path)/effects/gradients/SkGradientBitmapCache.cpp',76 '<(skia_src_path)/effects/gradients/SkGradientBitmapCache.h',
364 src/effects/gradients/SkGradientBitmapCache.cpp \