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/skia/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/src/gpu/
DGrResourceCache.cpp457 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()
DGrResourceCache.h161 bool hasUniqueKey(const GrUniqueKey& key) const { in hasUniqueKey() function