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/skia/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/src/gpu/ |
D | GrResourceCache.cpp | 457 bool hasUniqueKey = resource->getUniqueKey().isValid(); in notifyCntReachedZero() local 464 bool hasKey = resource->resourcePriv().getScratchKey().isValid() || hasUniqueKey; in notifyCntReachedZero() 471 if (hasUniqueKey && budgetedType == GrBudgetedType::kUnbudgetedCacheable) { in notifyCntReachedZero()
|
D | GrResourceCache.h | 161 bool hasUniqueKey(const GrUniqueKey& key) const { in hasUniqueKey() function
|