Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrTextureProxy.cpp71 if (fUniqueKey.isValid() && fProxyProvider) { in ~GrTextureProxy()
72 fProxyProvider->processInvalidUniqueKey(fUniqueKey, this, in ~GrTextureProxy()
85 fUniqueKey.isValid() ? &fUniqueKey : nullptr)) { in instantiate()
151 SkASSERT(!fUniqueKey.isValid()); // proxies can only ever get one uniqueKey in setUniqueKey()
160 fUniqueKey = key; in setUniqueKey()
165 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()
134 SkASSERT(fUniqueKey.isValid()); in removeUniqueKey()
215 !fUniqueKey.isValid()) { in makeUnbudgeted()
DGrGpuResourceCacheAccess.h53 void setUniqueKey(const GrUniqueKey& key) { fResource->fUniqueKey = key; } in setUniqueKey()
56 void removeUniqueKey() { fResource->fUniqueKey.reset(); } in removeUniqueKey()
/external/skia/src/gpu/
DGrTextureProxy.cpp96 if (fUniqueKey.isValid() && fProxyProvider) { in ~GrTextureProxy()
97 fProxyProvider->processInvalidUniqueKey(fUniqueKey, this, in ~GrTextureProxy()
109 fUniqueKey.isValid() ? &fUniqueKey : nullptr)) { in instantiate()
170 SkASSERT(!fUniqueKey.isValid()); // proxies can only ever get one uniqueKey in setUniqueKey()
179 fUniqueKey = key; in setUniqueKey()
184 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.h73 if (this->isInstantiated() && fUniqueKey.isValid() && fSyncTargetKey && in getUniqueKey()
83 SkASSERT(fUniqueKey == surface->getUniqueKey()); in getUniqueKey()
87 return fUniqueKey; in getUniqueKey()
187 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
/external/skqp/include/private/
DGrTextureProxy.h60 if (fTarget && fUniqueKey.isValid()) { in getUniqueKey()
66 SkASSERT(fUniqueKey == fTarget->getUniqueKey()); in getUniqueKey()
70 return fUniqueKey; in getUniqueKey()
130 GrUniqueKey fUniqueKey; variable
/external/skqp/include/gpu/
DGrGpuResource.h215 const GrUniqueKey& getUniqueKey() const { return fUniqueKey; } in getUniqueKey()
343 GrUniqueKey fUniqueKey; variable
/external/skia/tests/
DResourceAllocatorTest.cpp39 GrUniqueKey fUniqueKey = GrUniqueKey(); member
146 if (proxy && p.fUniqueKey.isValid()) { in make_proxy()
148 proxyProvider->assignUniqueKeyToProxy(p.fUniqueKey, proxy->asTextureProxy()); in make_proxy()