Home
last modified time | relevance | path

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

/external/skia/tests/
DResourceCacheTest.cpp511 REPORTER_ASSERT(reporter, NULL == cache->findAndRefScratchResource(key)); in test_unbudgeted_to_scratch()
523 resource = static_cast<TestResource*>(cache->findAndRefScratchResource(key)); in test_unbudgeted_to_scratch()
569 REPORTER_ASSERT(reporter, NULL == cache->findAndRefScratchResource(scratchKey1)); in test_duplicate_scratch_key()
616 REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey) == NULL); in test_remove_scratch_key()
626 find = cache->findAndRefScratchResource(scratchKey); in test_remove_scratch_key()
640 find = cache->findAndRefScratchResource(scratchKey); in test_remove_scratch_key()
696 REPORTER_ASSERT(reporter, cache->findAndRefScratchResource(scratchKey) == NULL); in test_scratch_key_consistency()
700 GrGpuResource* find = cache->findAndRefScratchResource(scratchKey); in test_scratch_key_consistency()
705 find = cache->findAndRefScratchResource(scratchKey2); in test_scratch_key_consistency()
709 GrGpuResource* find2 = cache->findAndRefScratchResource(scratchKey2); in test_scratch_key_consistency()
[all …]
/external/skia/src/gpu/
DGrTextureProvider.cpp92 GrGpuResource* resource = fCache->findAndRefScratchResource(key, scratchFlags); in internalRefScratchTexture()
DGrResourceCache.h129 GrGpuResource* findAndRefScratchResource(const GrScratchKey& scratchKey, uint32_t flags = 0);
DGrResourceCache.cpp248 GrGpuResource* GrResourceCache::findAndRefScratchResource(const GrScratchKey& scratchKey, in findAndRefScratchResource() function in GrResourceCache