Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrResourceAllocator.cpp122 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()
DGrSurfaceProxy.cpp169 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()
DGrResourceCache.cpp923 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()
DGrResourceAllocator.h154 const GrUniqueKey& uniqueKey() const { return fOriginatingProxy->getUniqueKey(); } in uniqueKey() function
/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/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.cpp412 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/
DFIRType.cpp1155 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/
DFIRType.h370 detail::RecordTypeStorage const *uniqueKey() const;