diff options
author | bsalomon <bsalomon@google.com> | 2015-01-29 10:07:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-29 10:07:32 -0800 |
commit | e702d9743af700211b3fd49687e0476aabd34012 (patch) | |
tree | 223c17f65029f1be08d741f7512f3076cffa7071 /src | |
parent | c7a84fa10a2125d288a72aef5c895835aad9e1fc (diff) |
Use draws instead of clears as temporary workaround for Qualcomm stencil clear bug
Review URL: https://codereview.chromium.org/885863003
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/gl/GrGLCaps.cpp | 3 |
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; } |