Disable explicit resource allocation in Ganesh
There seems to be some cases where a dest read case is being given the same backing texture.
Change-Id: I11dac7e26889476642c65ec2e8974171754a0630
Reviewed-on: https://skia-review.googlesource.com/95685
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/src/gpu/GrOpList.h b/src/gpu/GrOpList.h
index 9cd72be..bcc1a01 100644
--- a/src/gpu/GrOpList.h
+++ b/src/gpu/GrOpList.h
@@ -15,9 +15,9 @@
// Turn on/off the explicit distribution of GPU resources at flush time
-//#ifndef SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION
-// #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION
-//#endif
+#ifndef SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION
+ #define SK_DISABLE_EXPLICIT_GPU_RESOURCE_ALLOCATION
+#endif
// Turn on/off the sorting of opLists at flush time
#ifndef SK_DISABLE_RENDER_TARGET_SORTING