Home
last modified time | relevance | path

Searched refs:findAndRefUniqueResource (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DResourceCacheTest.cpp369 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()
/external/skia/bench/
DGrResourceCacheBench.cpp131 SkAutoTUnref<GrGpuResource> resource(cache->findAndRefUniqueResource(key)); in onDraw()
/external/skia/src/gpu/
DGrTextureProvider.cpp133 return this->isAbandoned() ? NULL : fCache->findAndRefUniqueResource(key); in findAndRefResourceByUniqueKey()
DGrResourceCache.h141 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() function
DGrGpu.cpp150 this->getContext()->getResourceCache()->findAndRefUniqueResource(sbKey))); in attachStencilAttachmentToRenderTarget()
DGrResourceCache.cpp503 GrGpuResource* resource = this->findAndRefUniqueResource(msgs[i].key()); in processInvalidUniqueKeys()