aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-02-16 11:36:47 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-16 11:36:47 -0800
commitbabafcc681de86801b15b4fe0ab856ce32048ff6 (patch)
tree321c3f86acf2a301ea283aa6e365a49e5c52008c /include
parent8e84a1ed07ad5d529d381d43302e597f31723076 (diff)
Workaround for bug in Tegra 3 when uploading to a render target
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrCaps.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h
index fc682069ea..e2e44a5120 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;