Use draws instead of clears as temporary workaround for Qualcomm stencil clear bug

Review URL: https://codereview.chromium.org/885863003
This commit is contained in:
bsalomon 2015-01-29 10:07:32 -08:00 committed by Commit bot
parent c7a84fa10a
commit e702d9743a

View File

@ -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;
}