Lines Matching refs:findAndRefScratchResource
749 REPORTER_ASSERT(reporter, !cache->findAndRefScratchResource(key)); in test_unbudgeted_to_scratch()
763 resource = static_cast<TestResource*>(cache->findAndRefScratchResource(key)); in test_unbudgeted_to_scratch()
813 REPORTER_ASSERT(reporter, !cache->findAndRefScratchResource(scratchKey1)); in test_duplicate_scratch_key()
862 REPORTER_ASSERT(reporter, !cache->findAndRefScratchResource(scratchKey)); in test_remove_scratch_key()
871 GrGpuResource* find = cache->findAndRefScratchResource(scratchKey); in test_remove_scratch_key()
885 find = cache->findAndRefScratchResource(scratchKey); in test_remove_scratch_key()
941 REPORTER_ASSERT(reporter, !cache->findAndRefScratchResource(scratchKey)); in test_scratch_key_consistency()
945 GrGpuResource* find = cache->findAndRefScratchResource(scratchKey); in test_scratch_key_consistency()
950 find = cache->findAndRefScratchResource(scratchKey2); in test_scratch_key_consistency()
954 GrGpuResource* find2 = cache->findAndRefScratchResource(scratchKey2); in test_scratch_key_consistency()
1109 GrGpuResource* scratch = cache->findAndRefScratchResource(scratchKey); in test_purge_invalidated()
1115 scratch = cache->findAndRefScratchResource(scratchKey); in test_purge_invalidated()