Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrProxyProvider.cpp737 sk_sp<GrGpuResource> invalidGpuResource; in processInvalidUniqueKey() local
740 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()
/external/skia/src/gpu/
DGrProxyProvider.cpp841 sk_sp<GrGpuResource> invalidGpuResource; in processInvalidUniqueKeyImpl() local
846 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()