Searched refs:cachedCopy (Results 1 – 2 of 2) sorted by relevance
44 sk_sp<GrTextureProxy> cachedCopy; in refTextureProxyCopy() local46 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()
45 sk_sp<GrTextureProxy> cachedCopy; in refTextureProxyCopy() local47 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()