Searched refs:invalidGpuResource (Results 1 – 2 of 2) sorted by relevance
737 sk_sp<GrGpuResource> invalidGpuResource; in processInvalidUniqueKey() local740 invalidGpuResource = sk_ref_sp(proxy->peekSurface()); in processInvalidUniqueKey()742 if (!invalidGpuResource && fResourceProvider) { in processInvalidUniqueKey()743 invalidGpuResource = fResourceProvider->findByUniqueKey<GrGpuResource>(key); in processInvalidUniqueKey()745 SkASSERT(!invalidGpuResource || invalidGpuResource->getUniqueKey() == key); in processInvalidUniqueKey()755 if (invalidGpuResource) { in processInvalidUniqueKey()756 invalidGpuResource->resourcePriv().removeUniqueKey(); in processInvalidUniqueKey()
785 sk_sp<GrGpuResource> invalidGpuResource; in processInvalidUniqueKey() local788 invalidGpuResource = sk_ref_sp(proxy->peekSurface()); in processInvalidUniqueKey()790 if (!invalidGpuResource) { in processInvalidUniqueKey()794 invalidGpuResource = resourceProvider->findByUniqueKey<GrGpuResource>(key); in processInvalidUniqueKey()797 SkASSERT(!invalidGpuResource || invalidGpuResource->getUniqueKey() == key); in processInvalidUniqueKey()807 if (invalidGpuResource) { in processInvalidUniqueKey()808 invalidGpuResource->resourcePriv().removeUniqueKey(); in processInvalidUniqueKey()