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()
841 sk_sp<GrGpuResource> invalidGpuResource; in processInvalidUniqueKeyImpl() local846 invalidGpuResource = resourceProvider->findByUniqueKey<GrGpuResource>(key); in processInvalidUniqueKeyImpl()848 SkASSERT(!invalidGpuResource || invalidGpuResource->getUniqueKey() == key); in processInvalidUniqueKeyImpl()860 if (invalidGpuResource) { in processInvalidUniqueKeyImpl()861 invalidGpuResource->resourcePriv().removeUniqueKey(); in processInvalidUniqueKeyImpl()