Home
last modified time | relevance | path

Searched refs:findAndRefScratchResource (Results 1 – 5 of 5) sorted by relevance

/external/skia/tests/
DResourceCacheTest.cpp574 …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/
DGrResourceProvider.cpp113 GrGpuResource* resource = this->cache()->findAndRefScratchResource(key, size, scratchFlags); in createIndexBuffer()
142 GrGpuResource* resource = this->cache()->findAndRefScratchResource(key, size, scratchFlags); in createVertexBuffer()
DGrTextureProvider.cpp106 GrGpuResource* resource = fCache->findAndRefScratchResource(key, in refScratchTexture()
DGrResourceCache.h131 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey,
DGrResourceCache.cpp249 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey, in findAndRefScratchResource() function in GrResourceCache