Searched refs:findAndRefUniqueResource (Results 1 – 6 of 6) sorted by relevance
369 REPORTER_ASSERT(reporter, NULL == cache->findAndRefUniqueResource(uniqueKey2)); in test_budgeting()731 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()736 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()746 REPORTER_ASSERT(reporter, b == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()790 REPORTER_ASSERT(reporter, c == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()926 static_cast<TestResource*>(cache->findAndRefUniqueResource(key2))); in test_resource_size_changed()929 static_cast<TestResource*>(cache->findAndRefUniqueResource(key1))); in test_resource_size_changed()958 cache->findAndRefUniqueResource(key2))); in test_resource_size_changed()1016 GrGpuResource* res = cache->findAndRefUniqueResource(key); in test_timestamp_wrap()1061 GrGpuResource* r = cache->findAndRefUniqueResource(k); in test_flush()
131 SkAutoTUnref<GrGpuResource> resource(cache->findAndRefUniqueResource(key)); in onDraw()
133 return this->isAbandoned() ? NULL : fCache->findAndRefUniqueResource(key); in findAndRefResourceByUniqueKey()
141 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() function
150 this->getContext()->getResourceCache()->findAndRefUniqueResource(sbKey))); in attachStencilAttachmentToRenderTarget()
503 GrGpuResource* resource = this->findAndRefUniqueResource(msgs[i].key()); in processInvalidUniqueKeys()