From ba5c439809fb2be3b1db159b29aeffaa39f786df Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Wed, 25 Jul 2018 12:37:14 -0400 Subject: Fix GPU explicit resource allocation bug The explicit resource allocator assumes that it has complete control over the resources it hands out thus, they can have no pre-existing pending IO. Change-Id: I59d8d079d8b8514688c458a54424329b86922cb6 Reviewed-on: https://skia-review.googlesource.com/143300 Reviewed-by: Greg Daniel Commit-Queue: Robert Phillips --- include/private/GrSurfaceProxy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/private/GrSurfaceProxy.h b/include/private/GrSurfaceProxy.h index d69a294194..327ceb13a9 100644 --- a/include/private/GrSurfaceProxy.h +++ b/include/private/GrSurfaceProxy.h @@ -430,7 +430,7 @@ protected: void assign(sk_sp surface); sk_sp createSurfaceImpl(GrResourceProvider*, int sampleCnt, bool needsStencil, - GrSurfaceDescFlags descFlags, GrMipMapped) const; + GrSurfaceDescFlags, GrMipMapped) const; bool instantiateImpl(GrResourceProvider* resourceProvider, int sampleCnt, bool needsStencil, GrSurfaceDescFlags descFlags, GrMipMapped, const GrUniqueKey*); -- cgit v1.2.3