Searched refs:hasUniqueKey (Results 1 – 6 of 6) sorted by relevance
/external/skqp/tests/ |
D | ResourceCacheTest.cpp | 1039 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key1)); in test_purge_invalidated() 1040 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key2)); in test_purge_invalidated() 1041 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key3)); in test_purge_invalidated() 1052 REPORTER_ASSERT(reporter, !cache->hasUniqueKey(key1)); in test_purge_invalidated() 1053 REPORTER_ASSERT(reporter, !cache->hasUniqueKey(key2)); in test_purge_invalidated() 1055 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key3)); in test_purge_invalidated() 1062 REPORTER_ASSERT(reporter, !cache->hasUniqueKey(key3)); in test_purge_invalidated() 1434 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key1)); in test_large_resource_count() 1435 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key2)); in test_large_resource_count() 1451 REPORTER_ASSERT(reporter, !cache->hasUniqueKey(key1)); in test_large_resource_count() [all …]
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 423 bool hasUniqueKey = resource->getUniqueKey().isValid(); in notifyCntReachedZero() local 430 bool hasKey = resource->resourcePriv().getScratchKey().isValid() || hasUniqueKey; in notifyCntReachedZero() 437 if (hasUniqueKey && budgetedType == GrBudgetedType::kUnbudgetedCacheable) { in notifyCntReachedZero()
|
D | GrResourceCache.h | 160 bool hasUniqueKey(const GrUniqueKey& key) const { in hasUniqueKey() function
|
/external/skia/tests/ |
D | ResourceCacheTest.cpp | 1077 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key1)); in test_purge_invalidated() 1078 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key2)); in test_purge_invalidated() 1079 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key3)); in test_purge_invalidated() 1090 REPORTER_ASSERT(reporter, !cache->hasUniqueKey(key1)); in test_purge_invalidated() 1091 REPORTER_ASSERT(reporter, !cache->hasUniqueKey(key2)); in test_purge_invalidated() 1093 REPORTER_ASSERT(reporter, cache->hasUniqueKey(key3)); in test_purge_invalidated() 1100 REPORTER_ASSERT(reporter, !cache->hasUniqueKey(key3)); in test_purge_invalidated()
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 443 bool hasUniqueKey = resource->getUniqueKey().isValid(); in notifyARefCntReachedZero() local 450 bool hasKey = resource->resourcePriv().getScratchKey().isValid() || hasUniqueKey; in notifyARefCntReachedZero() 457 if (hasUniqueKey && budgetedType == GrBudgetedType::kUnbudgetedCacheable) { in notifyARefCntReachedZero()
|
D | GrResourceCache.h | 149 bool hasUniqueKey(const GrUniqueKey& key) const { in hasUniqueKey() function
|