Index: include/gpu/GrCaps.h |
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h |
index fc682069eac794bc88e9e57747f0c716890ad645..e2e44a5120a9cc5ee1bab6a14ddba793fa8b4aee 100644 |
--- a/include/gpu/GrCaps.h |
+++ b/include/gpu/GrCaps.h |
@@ -151,6 +151,10 @@ public: |
return fUseDrawInsteadOfPartialRenderTargetWrite; |
} |
+ bool useDrawInsteadOfAllRenderTargetWrites() const { |
+ return fUseDrawInsteadOfAllRenderTargetWrites; |
+ } |
+ |
bool preferVRAMUseOverFlushes() const { return fPreferVRAMUseOverFlushes; } |
/** |
@@ -280,6 +284,7 @@ protected: |
// Driver workaround |
bool fUseDrawInsteadOfClear : 1; |
bool fUseDrawInsteadOfPartialRenderTargetWrite : 1; |
+ bool fUseDrawInsteadOfAllRenderTargetWrites : 1; |
// ANGLE workaround |
bool fPreferVRAMUseOverFlushes : 1; |