Searched refs:findAndRefScratchResource (Results 1 – 4 of 4) sorted by relevance
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 624 …REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(key, TestResource::kDefaultS… in test_unbudgeted_to_scratch() 638 …resource = static_cast<TestResource*>(cache->findAndRefScratchResource(key, TestResource::kDefault… in test_unbudgeted_to_scratch() 688 …REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(scratchKey1, TestResource::k… in test_duplicate_scratch_key() 735 …REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize,… in test_remove_scratch_key() 745 find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0); in test_remove_scratch_key() 759 find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0); in test_remove_scratch_key() 815 …REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize,… in test_scratch_key_consistency() 819 … GrGpuResource* find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0); in test_scratch_key_consistency() 824 find = cache->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, 0); in test_scratch_key_consistency() 828 …GrGpuResource* find2 = cache->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, 0… in test_scratch_key_consistency() [all …]
|
/external/skia/src/gpu/ |
D | GrResourceProvider.cpp | 224 GrGpuResource* resource = fCache->findAndRefScratchResource(key, in refScratchTexture() 412 this->cache()->findAndRefScratchResource(key, allocSize, scratchFlags)); in createBuffer()
|
D | GrResourceCache.h | 137 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey,
|
D | GrResourceCache.cpp | 236 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey, in findAndRefScratchResource() function in GrResourceCache
|