Searched refs:findAndRefScratchResource (Results 1 – 5 of 5) sorted by relevance
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 574 …REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(key, TestResource::kDefaultS… in test_unbudgeted_to_scratch() 586 …resource = static_cast<TestResource*>(cache->findAndRefScratchResource(key, TestResource::kDefault… in test_unbudgeted_to_scratch() 632 …REPORTER_ASSERT(reporter, nullptr == cache->findAndRefScratchResource(scratchKey1, TestResource::k… in test_duplicate_scratch_key() 679 …REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize,… in test_remove_scratch_key() 689 find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0); in test_remove_scratch_key() 703 find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0); in test_remove_scratch_key() 759 …REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize,… in test_scratch_key_consistency() 763 … GrGpuResource* find = cache->findAndRefScratchResource(scratchKey, TestResource::kDefaultSize, 0); in test_scratch_key_consistency() 768 find = cache->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, 0); in test_scratch_key_consistency() 772 …GrGpuResource* find2 = cache->findAndRefScratchResource(scratchKey2, TestResource::kDefaultSize, 0… in test_scratch_key_consistency() [all …]
|
/external/skia/src/gpu/ |
D | GrResourceProvider.cpp | 113 GrGpuResource* resource = this->cache()->findAndRefScratchResource(key, size, scratchFlags); in createIndexBuffer() 142 GrGpuResource* resource = this->cache()->findAndRefScratchResource(key, size, scratchFlags); in createVertexBuffer()
|
D | GrTextureProvider.cpp | 106 GrGpuResource* resource = fCache->findAndRefScratchResource(key, in refScratchTexture()
|
D | GrResourceCache.h | 131 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey,
|
D | GrResourceCache.cpp | 249 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey, in findAndRefScratchResource() function in GrResourceCache
|