Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrTextureProxy.cpp98 if (fUniqueKey.isValid() && fProxyProvider) { in ~GrTextureProxy()
104 invalidGpuResource = resourceProvider->findByUniqueKey<GrGpuResource>(fUniqueKey); in ~GrTextureProxy()
110 fUniqueKey, this, GrProxyProvider::InvalidateGPUResource::kYes); in ~GrTextureProxy()
113 fUniqueKey, this, GrProxyProvider::InvalidateGPUResource::kNo); in ~GrTextureProxy()
125 fUniqueKey.isValid() ? &fUniqueKey : nullptr)) { in instantiate()
192 SkASSERT(!fUniqueKey.isValid()); // proxies can only ever get one uniqueKey in setUniqueKey()
201 fUniqueKey = key; in setUniqueKey()
206 fUniqueKey.reset(); in clearUniqueKey()
DGrGpuResource.cpp91 if (fUniqueKey.isValid()) { in dumpMemoryStatisticsPriv()
92 tag = (fUniqueKey.tag() != nullptr) ? fUniqueKey.tag() : "Other"; in dumpMemoryStatisticsPriv()
113 !(fBudgetedType == GrBudgetedType::kUnbudgetedCacheable && fUniqueKey.isValid()); in isPurgeable()
149 SkASSERT(fUniqueKey.isValid()); in removeUniqueKey()
208 !fUniqueKey.isValid()) { in makeUnbudgeted()
220 SkASSERT(!fUniqueKey.isValid()); in userRegisterResource()
DGrTextureProxy.h74 if (this->isInstantiated() && fUniqueKey.isValid() && fSyncTargetKey && in getUniqueKey()
84 SkASSERT(fUniqueKey == surface->getUniqueKey()); in getUniqueKey()
88 return fUniqueKey; in getUniqueKey()
192 GrUniqueKey fUniqueKey; variable
DGrGpuResourceCacheAccess.h60 void setUniqueKey(const GrUniqueKey& key) { fResource->fUniqueKey = key; } in setUniqueKey()
69 void removeUniqueKey() { fResource->fUniqueKey.reset(); } in removeUniqueKey()
DGrGpuResource.h261 const GrUniqueKey& getUniqueKey() const { return fUniqueKey; } in getUniqueKey()
403 GrUniqueKey fUniqueKey; variable
/third_party/skia/tests/
DResourceAllocatorTest.cpp39 GrUniqueKey fUniqueKey = GrUniqueKey(); member
148 if (proxy && p.fUniqueKey.isValid()) { in make_proxy()
150 proxyProvider->assignUniqueKeyToProxy(p.fUniqueKey, proxy->asTextureProxy()); in make_proxy()