aboutsummaryrefslogtreecommitdiff
path: root/src/gpu/gl/GrGLCaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index f4648a7c2d..a3da939791 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -2499,16 +2499,12 @@ void GrGLCaps::applyDriverCorrectnessWorkarounds(const GrGLContextInfo& ctxInfo,
}
#endif
+ // See crbug.com/755871. This could probably be narrowed to just partial clears as the driver
+ // bugs seems to involve clearing too much and not skipping the clear.
+ // See crbug.com/768134. This is also needed for full clears and was seen on an nVidia K620
+ // but only for D3D11 ANGLE.
if (GrGLANGLEBackend::kD3D11 == ctxInfo.angleBackend()) {
- if (GrGLANGLEVendor::kIntel == ctxInfo.angleVendor()) {
- // See crbug.com/755871. This driver bug involves clearing too much and ignoring the
- // scissor bounds, so disable native partial clears but allow native fullscreen clears.
- fPerformPartialClearsAsDraws = true;
- } else if (GrGLANGLEVendor::kNVIDIA == ctxInfo.angleVendor()) {
- // See crbug.com/768134. This is needed for full clears and was seen on an nVidia K620
- // but only for D3D11 ANGLE.
- fPerformColorClearsAsDraws = true;
- }
+ fPerformColorClearsAsDraws = true;
}
if (kAdreno430_GrGLRenderer == ctxInfo.renderer() ||