Home
last modified time | relevance | path

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

/external/skqp/tests/
DResourceCacheTest.cpp516 GrGpuResource* wrappedCacheableViaKey = cache->findAndRefUniqueResource(uniqueKey2); in test_budgeting()
518 GrGpuResource* wrappedUncacheableViaKey = cache->findAndRefUniqueResource(uniqueKey3); in test_budgeting()
570 wrappedCacheableViaKey = cache->findAndRefUniqueResource(uniqueKey2); in test_budgeting()
937 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
942 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
951 REPORTER_ASSERT(reporter, b == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
994 REPORTER_ASSERT(reporter, c == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
1012 sk_sp<GrGpuResource> d2(cache->findAndRefUniqueResource(key3)); in test_duplicate_unique_key()
1172 GrGpuResource* res = cache->findAndRefUniqueResource(key); in test_timestamp_wrap()
1228 GrGpuResource* r = cache->findAndRefUniqueResource(k); in test_time_purge()
/external/skia/tests/
DResourceCacheTest.cpp559 GrGpuResource* wrappedCacheableViaKey = cache->findAndRefUniqueResource(uniqueKey2); in test_budgeting()
561 GrGpuResource* wrappedUncacheableViaKey = cache->findAndRefUniqueResource(uniqueKey3); in test_budgeting()
613 wrappedCacheableViaKey = cache->findAndRefUniqueResource(uniqueKey2); in test_budgeting()
975 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
980 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
989 REPORTER_ASSERT(reporter, b == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
1032 REPORTER_ASSERT(reporter, c == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
1050 sk_sp<GrGpuResource> d2(cache->findAndRefUniqueResource(key3)); in test_duplicate_unique_key()
1207 GrGpuResource* res = cache->findAndRefUniqueResource(key); in test_timestamp_wrap()
1263 GrGpuResource* r = cache->findAndRefUniqueResource(k); in test_time_purge()
/external/skqp/bench/
DGrResourceCacheBench.cpp146 sk_sp<GrGpuResource> resource(cache->findAndRefUniqueResource(key)); in onDraw()
/external/skia/bench/
DGrResourceCacheBench.cpp146 sk_sp<GrGpuResource> resource(cache->findAndRefUniqueResource(key)); in onDraw()
/external/skqp/src/gpu/
DGrResourceCache.h149 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() function
DGrProxyProvider.cpp88 SkASSERT(!fResourceCache || !fResourceCache->findAndRefUniqueResource(key)); in assignUniqueKeyToProxy()
165 GrGpuResource* resource = fResourceCache->findAndRefUniqueResource(key); in findOrCreateProxyByUniqueKey()
DGrResourceProvider.cpp285 : sk_sp<GrGpuResource>(fCache->findAndRefUniqueResource(key)); in findResourceByUniqueKey()
DGrResourceCache.cpp499 SkASSERT(!this->findAndRefUniqueResource(invalidKeyMsgs[i].key())); in purgeAsNeeded()
/external/skia/src/gpu/
DGrResourceCache.h138 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() function
DGrProxyProvider.cpp68 SkASSERT(!resourceCache->findAndRefUniqueResource(key)); in assignUniqueKeyToProxy()
223 GrGpuResource* resource = resourceCache->findAndRefUniqueResource(key); in findOrCreateProxyByUniqueKey()
DGrResourceProvider.cpp350 : sk_sp<GrGpuResource>(fCache->findAndRefUniqueResource(key)); in findResourceByUniqueKey()
DGrResourceCache.cpp538 SkASSERT(!this->findAndRefUniqueResource(invalidKeyMsgs[i].key())); in purgeAsNeeded()