Home
last modified time | relevance | path

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

/external/skia/tests/
DResourceCacheTest.cpp434 REPORTER_ASSERT(reporter, nullptr == cache->findAndRefUniqueResource(uniqueKey2)); in test_budgeting()
794 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
799 REPORTER_ASSERT(reporter, a == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
809 REPORTER_ASSERT(reporter, b == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
853 REPORTER_ASSERT(reporter, c == cache->findAndRefUniqueResource(key)); in test_duplicate_unique_key()
872 SkAutoTUnref<GrGpuResource> d2(cache->findAndRefUniqueResource(key3)); in test_duplicate_unique_key()
1003 static_cast<TestResource*>(cache->findAndRefUniqueResource(key2))); in test_resource_size_changed()
1006 static_cast<TestResource*>(cache->findAndRefUniqueResource(key1))); in test_resource_size_changed()
1035 cache->findAndRefUniqueResource(key2))); in test_resource_size_changed()
1093 GrGpuResource* res = cache->findAndRefUniqueResource(key); in test_timestamp_wrap()
[all …]
/external/skia/bench/
DGrResourceCacheBench.cpp147 SkAutoTUnref<GrGpuResource> resource(cache->findAndRefUniqueResource(key)); in onDraw()
/external/skia/src/gpu/
DGrTextureProvider.cpp156 return this->isAbandoned() ? nullptr : fCache->findAndRefUniqueResource(key); in findAndRefResourceByUniqueKey()
DGrResourceCache.h145 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() function
DGrResourceCache.cpp511 GrGpuResource* resource = this->findAndRefUniqueResource(msgs[i].key()); in processInvalidUniqueKeys()