CCPR: Blacklist Intel driver except on Mac

TBR=bsalomon@google.com

Bug: skia:
Change-Id: I93306a285c5bd1d71a69c4c8a12b7fc583a52e12
Reviewed-on: https://skia-review.googlesource.com/57160
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
This commit is contained in:
Chris Dalton 2017-10-08 11:40:03 -06:00 committed by Skia Commit-Bot
parent c9cb9e8147
commit 4cad310adb

View File

@ -410,11 +410,14 @@ void GrGLCaps::init(const GrContextOptions& contextOptions,
}
if (kIntel_GrGLVendor == ctxInfo.vendor()) {
#ifndef SK_BUILD_FOR_MAC
if (kIntel_GrGLDriver == ctxInfo.driver()) {
// Intel HD4400, HD4600, and Iris6100 crash on the bots.
fBlacklistCoverageCounting = kIntel4xxx_GrGLRenderer == ctxInfo.renderer() ||
kIntel6xxx_GrGLRenderer == ctxInfo.renderer();
} else if (kMesa_GrGLDriver == ctxInfo.driver()) {
// Every Windows Intel bot either crashes with CCPR or does not draw properly. Hopefully
// this issue resolves itself when we move away from geometry shaders.
fBlacklistCoverageCounting = true;
}
#endif
if (kMesa_GrGLDriver == ctxInfo.driver()) {
// Blocking old Intel/Mesa setups while we investigate
// https://bugs.chromium.org/p/skia/issues/detail?id=7134.
fBlacklistCoverageCounting = version < GR_GL_VER(4,0);