Home
last modified time | relevance | path

Searched refs:hasUniqueKey (Results 1 – 6 of 6) sorted by relevance

/external/skqp/tests/
DResourceCacheTest.cpp1039 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/
DGrResourceCache.cpp423 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()
DGrResourceCache.h160 bool hasUniqueKey(const GrUniqueKey& key) const { in hasUniqueKey() function
/external/skia/tests/
DResourceCacheTest.cpp1077 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/
DGrResourceCache.cpp443 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()
DGrResourceCache.h149 bool hasUniqueKey(const GrUniqueKey& key) const { in hasUniqueKey() function