Lines Matching refs:SkResourceCache
9 #include "SkResourceCache.h"
14 struct TestingKey : public SkResourceCache::Key {
21 struct TestingRec : public SkResourceCache::Rec {
32 static bool Visitor(const SkResourceCache::Rec& baseRec, void* context) {
45 static void test_cache(skiatest::Reporter* reporter, SkResourceCache& cache, bool testPurge) {
76 static void test_cache_purge_shared_id(skiatest::Reporter* reporter, SkResourceCache& cache) {
120 SkResourceCache cache(defLimit);
127 SkResourceCache cache(pool_factory);
131 SkResourceCache cache(SkDiscardableMemory::Create);
135 SkResourceCache cache(defLimit);
142 SkResourceCache cache(4096);