aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-01-29 10:07:32 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-29 10:07:32 -0800
commite702d9743af700211b3fd49687e0476aabd34012 (patch)
tree223c17f65029f1be08d741f7512f3076cffa7071 /src
parentc7a84fa10a2125d288a72aef5c895835aad9e1fc (diff)
Use draws instead of clears as temporary workaround for Qualcomm stencil clear bug
Diffstat (limited to 'src')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 73df30b5f3..8d2cb52aad 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -402,7 +402,8 @@ bool GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) {
}
if (kPowerVR54x_GrGLRenderer == ctxInfo.renderer() ||
- kPowerVRRogue_GrGLRenderer == ctxInfo.renderer()) {
+ kPowerVRRogue_GrGLRenderer == ctxInfo.renderer() ||
+ kQualcomm_GrGLVendor == ctxInfo.vendor()) {
fUseDrawInsteadOfClear = true;
}