Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrSurfaceProxy.cpp229 GrMipMapped mipMapped, const GrUniqueKey* uniqueKey) { in instantiateImpl() argument
232 if (uniqueKey && uniqueKey->isValid()) { in instantiateImpl()
233 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl()
246 if (uniqueKey && uniqueKey->isValid()) { in instantiateImpl()
247 resourceProvider->assignUniqueKeyToResource(*uniqueKey, surface.get()); in instantiateImpl()
DGrResourceCache.cpp754 const GrUniqueKey& uniqueKey = resource->getUniqueKey(); in validate() local
757 SkASSERT(!uniqueKey.isValid()); in validate()
763 uniqueKey.isValid()); in validate()
764 if (!uniqueKey.isValid()) { in validate()
770 if (uniqueKey.isValid()) { in validate()
772 SkASSERT(fUniqueHash->find(uniqueKey) == resource); in validate()
/external/skia/src/gpu/
DGrSurfaceProxy.cpp226 GrMipMapped mipMapped, const GrUniqueKey* uniqueKey) { in instantiateImpl() argument
229 if (uniqueKey && uniqueKey->isValid()) { in instantiateImpl()
230 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl()
243 if (uniqueKey && uniqueKey->isValid()) { in instantiateImpl()
244 resourceProvider->assignUniqueKeyToResource(*uniqueKey, surface.get()); in instantiateImpl()
DGrResourceCache.cpp845 const GrUniqueKey& uniqueKey = resource->getUniqueKey(); in validate() local
848 SkASSERT(!uniqueKey.isValid()); in validate()
854 uniqueKey.isValid()); in validate()
855 if (!uniqueKey.isValid()) { in validate()
861 if (uniqueKey.isValid()) { in validate()
863 SkASSERT(fUniqueHash->find(uniqueKey) == resource); in validate()
/external/skqp/tests/
DResourceCacheTest.cpp436 GrUniqueKey uniqueKey; in test_purge_unlocked() local
437 make_unique_key<0>(&uniqueKey, 0); in test_purge_unlocked()
441 b->resourcePriv().setUniqueKey(uniqueKey); in test_purge_unlocked()
496 GrUniqueKey uniqueKey; in test_budgeting() local
497 make_unique_key<0>(&uniqueKey, 0); in test_budgeting()
504 unique->resourcePriv().setUniqueKey(uniqueKey); in test_budgeting()
623 GrUniqueKey uniqueKey; in test_unbudgeted() local
624 make_unique_key<0>(&uniqueKey, 0); in test_unbudgeted()
643 unique->resourcePriv().setUniqueKey(uniqueKey); in test_unbudgeted()
/external/skia/tests/
DResourceCacheTest.cpp436 GrUniqueKey uniqueKey; in test_purge_unlocked() local
437 make_unique_key<0>(&uniqueKey, 0); in test_purge_unlocked()
441 b->resourcePriv().setUniqueKey(uniqueKey); in test_purge_unlocked()
496 GrUniqueKey uniqueKey; in test_budgeting() local
497 make_unique_key<0>(&uniqueKey, 0); in test_budgeting()
504 unique->resourcePriv().setUniqueKey(uniqueKey); in test_budgeting()
623 GrUniqueKey uniqueKey; in test_unbudgeted() local
624 make_unique_key<0>(&uniqueKey, 0); in test_unbudgeted()
643 unique->resourcePriv().setUniqueKey(uniqueKey); in test_unbudgeted()