From 9bee2e5894bb8dd374392f238bc429e16f239583 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Mon, 29 May 2017 12:37:20 -0400 Subject: Revise system for checking for uninstantiated proxies The new pattern is: we will "instantiate" pipelines at flush time at flush time we will only access the backing GrSurface by peeking If instantiation fails we should never try to access the GrSurfaces Change-Id: I87f7ff41bd0e84d9ca3dbdd61d3361d3d4ceefd6 Reviewed-on: https://skia-review.googlesource.com/17932 Commit-Queue: Robert Phillips Reviewed-by: Brian Salomon --- src/gpu/GrPipeline.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gpu/GrPipeline.h') diff --git a/src/gpu/GrPipeline.h b/src/gpu/GrPipeline.h index 67e137c82a..41f6d59a8e 100644 --- a/src/gpu/GrPipeline.h +++ b/src/gpu/GrPipeline.h @@ -75,6 +75,7 @@ public: const GrAppliedClip* fAppliedClip = nullptr; GrRenderTarget* fRenderTarget = nullptr; const GrCaps* fCaps = nullptr; + GrResourceProvider* fResourceProvider = nullptr; GrXferProcessor::DstTexture fDstTexture; }; -- cgit v1.2.3