Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrTextureProxy.cpp70 if (fUniqueKey.isValid() && fProxyProvider) { in ~GrTextureProxy()
71 fProxyProvider->processInvalidUniqueKey(fUniqueKey, this, in ~GrTextureProxy()
83 fMipMapped, fUniqueKey.isValid() ? &fUniqueKey : nullptr)) { in instantiate()
148 SkASSERT(!fUniqueKey.isValid()); // proxies can only ever get one uniqueKey in setUniqueKey()
157 fUniqueKey = key; in setUniqueKey()
162 fUniqueKey.reset(); in clearUniqueKey()
DGrGpuResource.cpp82 if (fUniqueKey.isValid()) { in dumpMemoryStatisticsPriv()
83 tag = (fUniqueKey.tag() != nullptr) ? fUniqueKey.tag() : "Other"; in dumpMemoryStatisticsPriv()
100 !(fBudgetedType == GrBudgetedType::kUnbudgetedCacheable && fUniqueKey.isValid()); in isPurgeable()
136 SkASSERT(fUniqueKey.isValid()); in removeUniqueKey()
220 !fUniqueKey.isValid()) { in makeUnbudgeted()
DGrTextureProxy.h74 if (this->isInstantiated() && fUniqueKey.isValid() && fSyncTargetKey) { in getUniqueKey()
83 SkASSERT(fUniqueKey == surface->getUniqueKey()); in getUniqueKey()
87 return fUniqueKey; in getUniqueKey()
161 GrUniqueKey fUniqueKey; variable
DGrGpuResourceCacheAccess.h56 void setUniqueKey(const GrUniqueKey& key) { fResource->fUniqueKey = key; } in setUniqueKey()
62 void removeUniqueKey() { fResource->fUniqueKey.reset(); } in removeUniqueKey()
/third_party/skia/src/gpu/
DGrTextureProxy.cpp97 if (fUniqueKey.isValid() && fProxyProvider) { in ~GrTextureProxy()
98 fProxyProvider->processInvalidUniqueKey(fUniqueKey, this, in ~GrTextureProxy()
110 fUniqueKey.isValid() ? &fUniqueKey : nullptr)) { in instantiate()
171 SkASSERT(!fUniqueKey.isValid()); // proxies can only ever get one uniqueKey in setUniqueKey()
180 fUniqueKey = key; in setUniqueKey()
185 fUniqueKey.reset(); in clearUniqueKey()
DGrGpuResource.cpp82 if (fUniqueKey.isValid()) { in dumpMemoryStatisticsPriv()
83 tag = (fUniqueKey.tag() != nullptr) ? fUniqueKey.tag() : "Other"; in dumpMemoryStatisticsPriv()
104 !(fBudgetedType == GrBudgetedType::kUnbudgetedCacheable && fUniqueKey.isValid()); in isPurgeable()
140 SkASSERT(fUniqueKey.isValid()); in removeUniqueKey()
199 !fUniqueKey.isValid()) { in makeUnbudgeted()
DGrTextureProxy.h74 if (this->isInstantiated() && fUniqueKey.isValid() && fSyncTargetKey && in getUniqueKey()
84 SkASSERT(fUniqueKey == surface->getUniqueKey()); in getUniqueKey()
88 return fUniqueKey; in getUniqueKey()
188 GrUniqueKey fUniqueKey; variable
DGrGpuResourceCacheAccess.h60 void setUniqueKey(const GrUniqueKey& key) { fResource->fUniqueKey = key; } in setUniqueKey()
69 void removeUniqueKey() { fResource->fUniqueKey.reset(); } in removeUniqueKey()
DGrGpuResource.h175 const GrUniqueKey& getUniqueKey() const { return fUniqueKey; } in getUniqueKey()
304 GrUniqueKey fUniqueKey; variable
/third_party/flutter/skia/include/gpu/
DGrGpuResource.h229 const GrUniqueKey& getUniqueKey() const { return fUniqueKey; } in getUniqueKey()
365 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()