Lines Matching refs:findAndRefScratchResource
511 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()
852 GrGpuResource* scratch = cache->findAndRefScratchResource(scratchKey); in test_purge_invalidated()
858 scratch = cache->findAndRefScratchResource(scratchKey); in test_purge_invalidated()