Home
last modified time | relevance | path

Searched refs:cachedCopy (Results 1 – 2 of 2) sorted by relevance

/external/skqp/src/gpu/
DGrTextureAdjuster.cpp44 sk_sp<GrTextureProxy> cachedCopy; in refTextureProxyCopy() local
46 cachedCopy = proxyProvider->findOrCreateProxyByUniqueKey(key, in refTextureProxyCopy()
48 if (cachedCopy && (!willBeMipped || GrMipMapped::kYes == cachedCopy->mipMapped())) { in refTextureProxyCopy()
49 return cachedCopy; in refTextureProxyCopy()
59 if (cachedCopy) { in refTextureProxyCopy()
61 GrMipMapped::kNo == cachedCopy->mipMapped()); in refTextureProxyCopy()
65 SkASSERT(cachedCopy->getUniqueKey() == key); in refTextureProxyCopy()
66 proxyProvider->removeUniqueKeyFromProxy(cachedCopy.get()); in refTextureProxyCopy()
/external/skia/src/gpu/
DGrTextureAdjuster.cpp45 sk_sp<GrTextureProxy> cachedCopy; in refTextureProxyCopy() local
47 cachedCopy = proxyProvider->findOrCreateProxyByUniqueKey(key, in refTextureProxyCopy()
49 if (cachedCopy && (!willBeMipped || GrMipMapped::kYes == cachedCopy->mipMapped())) { in refTextureProxyCopy()
50 return cachedCopy; in refTextureProxyCopy()
61 if (cachedCopy) { in refTextureProxyCopy()
63 GrMipMapped::kNo == cachedCopy->mipMapped()); in refTextureProxyCopy()
67 SkASSERT(cachedCopy->getUniqueKey() == key); in refTextureProxyCopy()
68 proxyProvider->removeUniqueKeyFromProxy(cachedCopy.get()); in refTextureProxyCopy()