Searched refs:uniqueKey (Results 1 – 10 of 10) sorted by relevance
/external/skia/src/gpu/ |
D | GrResourceAllocator.cpp | 122 SkASSERT(this->uniqueKey().isValid()); in Register() 123 fExistingSurface = provider->findByUniqueKey<GrSurface>(this->uniqueKey()); in Register() 137 if (this->uniqueKey().isValid()) { in isRecyclable() 171 if (const auto& uniqueKey = proxy->getUniqueKey(); uniqueKey.isValid()) { in instantiateSurface() local 173 resourceProvider->assignUniqueKeyToResource(uniqueKey, surface); in instantiateSurface() 175 SkASSERT(surface->getUniqueKey() == uniqueKey); in instantiateSurface() 275 if (const auto& uniqueKey = proxy->getUniqueKey(); uniqueKey.isValid()) { in findOrCreateRegisterFor() local 276 if (auto p = fUniqueKeyRegisters.find(uniqueKey)) { in findOrCreateRegisterFor() 281 fUniqueKeyRegisters.set(uniqueKey, r); in findOrCreateRegisterFor()
|
D | GrSurfaceProxy.cpp | 169 const GrUniqueKey* uniqueKey) { in instantiateImpl() argument 172 if (uniqueKey && uniqueKey->isValid()) { in instantiateImpl() 173 SkASSERT(fTarget->getUniqueKey().isValid() && fTarget->getUniqueKey() == *uniqueKey); in instantiateImpl() 186 if (uniqueKey && uniqueKey->isValid()) { in instantiateImpl() 187 resourceProvider->assignUniqueKeyToResource(*uniqueKey, surface.get()); in instantiateImpl() 412 if (const auto& uniqueKey = fProxy->getUniqueKey(); uniqueKey.isValid()) { in doLazyInstantiation() local 414 surface = resourceProvider->findByUniqueKey<GrSurface>(uniqueKey); in doLazyInstantiation()
|
D | GrResourceCache.cpp | 923 const GrUniqueKey& uniqueKey = resource->getUniqueKey(); in validate() local 926 SkASSERT(!uniqueKey.isValid()); in validate() 934 uniqueKey.isValid() || resource->cacheAccess().hasRef()); in validate() 938 if (uniqueKey.isValid()) { in validate() 940 SkASSERT(fUniqueHash->find(uniqueKey) == resource); in validate()
|
D | GrResourceAllocator.h | 154 const GrUniqueKey& uniqueKey() const { return fOriginatingProxy->getUniqueKey(); } in uniqueKey() function
|
/external/skqp/src/gpu/ |
D | GrSurfaceProxy.cpp | 229 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()
|
D | GrResourceCache.cpp | 754 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/skqp/tests/ |
D | ResourceCacheTest.cpp | 436 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/ |
D | ResourceCacheTest.cpp | 412 GrUniqueKey uniqueKey; in test_purge_unlocked() local 413 make_unique_key<0>(&uniqueKey, 0); in test_purge_unlocked() 417 b->resourcePriv().setUniqueKey(uniqueKey); in test_purge_unlocked() 539 GrUniqueKey uniqueKey; in test_budgeting() local 540 make_unique_key<0>(&uniqueKey, 0); in test_budgeting() 547 unique->resourcePriv().setUniqueKey(uniqueKey); in test_budgeting() 665 GrUniqueKey uniqueKey; in test_unbudgeted() local 666 make_unique_key<0>(&uniqueKey, 0); in test_unbudgeted() 685 unique->resourcePriv().setUniqueKey(uniqueKey); in test_unbudgeted()
|
/external/llvm-project/flang/lib/Optimizer/Dialect/ |
D | FIRType.cpp | 1155 detail::RecordTypeStorage const *fir::RecordType::uniqueKey() const { in uniqueKey() function in fir::RecordType 1254 if (!recordTypeVisited.count(type.uniqueKey())) { in printFirType() 1255 recordTypeVisited.insert(type.uniqueKey()); in printFirType() 1274 recordTypeVisited.erase(type.uniqueKey()); in printFirType()
|
/external/llvm-project/flang/include/flang/Optimizer/Dialect/ |
D | FIRType.h | 370 detail::RecordTypeStorage const *uniqueKey() const;
|