aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/GrCaps.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index 2c780dc51f..4dc776734e 100644
--- a/include/gpu/GrCaps.h
+++ b/include/gpu/GrCaps.h
@@ -53,6 +53,13 @@ public:
bool preferClientSideDynamicBuffers() const { return fPreferClientSideDynamicBuffers; }
bool useDrawInsteadOfClear() const { return fUseDrawInsteadOfClear; }
+ bool useDrawInsteadOfPartialRenderTargetWrite() const {
+ return fUseDrawInsteadOfPartialRenderTargetWrite;
+ }
+
+ bool useDrawInsteadOfAllRenderTargetWrites() const {
+ return fUseDrawInsteadOfAllRenderTargetWrites;
+ }
bool preferVRAMUseOverFlushes() const { return fPreferVRAMUseOverFlushes; }
@@ -215,6 +222,8 @@ protected:
// Driver workaround
bool fUseDrawInsteadOfClear : 1;
+ bool fUseDrawInsteadOfPartialRenderTargetWrite : 1;
+ bool fUseDrawInsteadOfAllRenderTargetWrites : 1;
bool fAvoidInstancedDrawsToFPTargets : 1;
bool fAvoidStencilBuffers : 1;