Searched refs:findAndRefUniqueResource (Results 1 – 5 of 5) sorted by relevance
434 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 …]
147 SkAutoTUnref<GrGpuResource> resource(cache->findAndRefUniqueResource(key)); in onDraw()
156 return this->isAbandoned() ? nullptr : fCache->findAndRefUniqueResource(key); in findAndRefResourceByUniqueKey()
145 GrGpuResource* findAndRefUniqueResource(const GrUniqueKey& key) { in findAndRefUniqueResource() function
511 GrGpuResource* resource = this->findAndRefUniqueResource(msgs[i].key()); in processInvalidUniqueKeys()