Lines Matching refs:SkResourceCache
15 #include "SkResourceCache.h"
38 SkResourceCache::DiscardableFactory factory = SkResourceCache::GetDiscardableFactory();
41 SkAutoTDelete<SkResourceCache> cache;
43 cache.reset(new SkResourceCache(factory));
46 cache.reset(new SkResourceCache(byteLimit));
92 static void test_mipmapcache(skiatest::Reporter* reporter, SkResourceCache* cache) {
129 static void test_mipmap_notify(skiatest::Reporter* reporter, SkResourceCache* cache) {
154 static void test_bitmap_notify(skiatest::Reporter* reporter, SkResourceCache* cache) {
191 static void testBitmapCache_discarded_bitmap(skiatest::Reporter* reporter, SkResourceCache* cache,
192 SkResourceCache::DiscardableFactory factory) {
252 SkResourceCache cache(byteLimit);
259 SkResourceCache::DiscardableFactory factory = pool_factory;
260 SkResourceCache cache(factory);