Home
last modified time | relevance | path

Searched refs:uniqueKey (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp747 const GrUniqueKey& uniqueKey = resource->getUniqueKey(); in validate() local
750 SkASSERT(!uniqueKey.isValid()); in validate()
756 uniqueKey.isValid()); in validate()
757 if (!uniqueKey.isValid()) { in validate()
763 if (uniqueKey.isValid()) { in validate()
765 SkASSERT(fUniqueHash->find(uniqueKey) == resource); in validate()
/external/skia/tests/
DResourceCacheTest.cpp441 GrUniqueKey uniqueKey; in test_budgeting() local
442 make_unique_key<0>(&uniqueKey, 0); in test_budgeting()
450 unique->resourcePriv().setUniqueKey(uniqueKey); in test_budgeting()
538 GrUniqueKey uniqueKey; in test_unbudgeted() local
539 make_unique_key<0>(&uniqueKey, 0); in test_unbudgeted()
560 unique->resourcePriv().setUniqueKey(uniqueKey); in test_unbudgeted()