Home
last modified time | relevance | path

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

/third_party/flutter/skia/tests/
DResourceCacheTest.cpp514 GrGpuResource* wrappedCacheableViaKey = cache->findAndRefUniqueResource(uniqueKey2); in test_budgeting()
516 GrGpuResource* wrappedUncacheableViaKey = cache->findAndRefUniqueResource(uniqueKey3); in test_budgeting()
568 wrappedCacheableViaKey = cache->findAndRefUniqueResource(uniqueKey2); in test_budgeting()
935 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
940 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
949 REPORTER_ASSERT(reporter, b == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
992 REPORTER_ASSERT(reporter, c == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
1010 sk_sp<GrGpuResource> d2(cache->findAndRefUniqueResource(key3)); in test_duplicate_unique_key()
1170 GrGpuResource* res = cache->findAndRefUniqueResource(key); in test_timestamp_wrap()
1226 GrGpuResource* r = cache->findAndRefUniqueResource(k); in test_time_purge()
/third_party/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()
/third_party/flutter/skia/bench/
DGrResourceCacheBench.cpp146 sk_sp<GrGpuResource> resource(cache->findAndRefUniqueResource(key)); in onDraw()
/third_party/skia/bench/
DGrResourceCacheBench.cpp146 sk_sp<GrGpuResource> resource(cache->findAndRefUniqueResource(key)); in onDraw()
/third_party/flutter/skia/src/gpu/
DGrResourceCache.h150 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() function
DGrProxyProvider.cpp63 SkASSERT(!resourceCache->findAndRefUniqueResource(key)); in assignUniqueKeyToProxy()
231 GrGpuResource* resource = resourceCache->findAndRefUniqueResource(key); in findOrCreateProxyByUniqueKey()
DGrResourceProvider.cpp431 : sk_sp<GrGpuResource>(fCache->findAndRefUniqueResource(key)); in findResourceByUniqueKey()
DGrResourceCache.cpp553 SkASSERT(!this->findAndRefUniqueResource(invalidKeyMsgs[i].key())); in purgeAsNeeded()
/third_party/skia/src/gpu/
DGrResourceCache.h138 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() function
DGrProxyProvider.cpp71 SkASSERT(!resourceCache->findAndRefUniqueResource(key)); in assignUniqueKeyToProxy()
236 GrGpuResource* resource = resourceCache->findAndRefUniqueResource(key); in findOrCreateProxyByUniqueKey()
DGrResourceProvider.cpp405 : sk_sp<GrGpuResource>(fCache->findAndRefUniqueResource(key)); in findResourceByUniqueKey()
DGrResourceCache.cpp538 SkASSERT(!this->findAndRefUniqueResource(invalidKeyMsgs[i].key())); in purgeAsNeeded()