Lines Matching refs:GrResourceCache

355         GrResourceCache* cache = fContext->priv().getResourceCache();  in Mock()
360 GrResourceCache* cache() { return fContext->priv().getResourceCache(); } in cache()
375 GrResourceCache* cache = mock.cache(); in test_no_key()
429 GrResourceCache* cache = mock.cache(); in test_purge_unlocked()
493 GrResourceCache* cache = mock.cache(); in test_budgeting()
620 GrResourceCache* cache = mock.cache(); in test_unbudgeted()
693 GrResourceCache* cache = mock.cache(); in test_unbudgeted_to_scratch()
708 …== cache->findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_unbudgeted_to_scratch()
722 …*>(cache->findAndRefScratchResource(key, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_unbudgeted_to_scratch()
760 GrResourceCache* cache = mock.cache(); in test_duplicate_scratch_key()
773 …->findAndRefScratchResource(scratchKey1, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_duplicate_scratch_key()
806 GrResourceCache* cache = mock.cache(); in test_remove_scratch_key()
821 …e->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_remove_scratch_key()
831 …find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::S… in test_remove_scratch_key()
845 …find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::S… in test_remove_scratch_key()
866 GrResourceCache* cache = mock.cache(); in test_scratch_key_consistency()
902 …e->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_scratch_key_consistency()
906 …e->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_scratch_key_consistency()
911 …->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_scratch_key_consistency()
915 …->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_scratch_key_consistency()
926 GrResourceCache* cache = mock.cache(); in test_duplicate_unique_key()
1019 GrResourceCache* cache = mock.cache(); in test_purge_invalidated()
1071 …e->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_purge_invalidated()
1077 …e->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, GrResourceCache::ScratchFlags… in test_purge_invalidated()
1088 GrResourceCache* cache = mock.cache(); in test_cache_chained_purge()
1135 GrResourceCache* cache = mock.cache(); in test_timestamp_wrap()
1192 GrResourceCache* cache = mock.cache(); in test_time_purge()
1295 GrResourceCache* cache = mock.cache(); in test_partial_purge()
1404 GrResourceCache* cache = mock.cache(); in test_large_resource_count()
1507 GrResourceCache* cache = mock.cache(); in test_tags()
1544 GrResourceCache* cache = mock.cache(); in test_free_resource_messages()