aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Adrienne Walker <enne@chromium.org>2018-05-15 11:47:07 -0700
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-16 18:31:22 +0000
commit94f585ed091e252cd3cc741b19c8a226fe4a5eec (patch)
tree0dd0e0aa45ccb91f82dc9a4fe3949020ad417319 /include
parent3c6087ccf450e947309fcecb08744a7e8dbbd300 (diff)
Driver bug workaround: gl_clear_broken
Skia does not appear to use depth buffers and this appears to be identical to ClearFramebufferResourceManager::ClearFramebuffer in Chromium code. Therefore, just hook up this workaround to turn on these internal Skia workarounds. Bug: chromium: 829614 Change-Id: Icc5f2eb981e39ffef487efa16940d2e50cdbc399 Reviewed-on: https://skia-review.googlesource.com/127220 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Adrienne Walker <enne@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrDriverBugWorkaroundsAutogen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/GrDriverBugWorkaroundsAutogen.h b/include/gpu/GrDriverBugWorkaroundsAutogen.h
index 3b5576d30c..a3e2dc80cf 100644
--- a/include/gpu/GrDriverBugWorkaroundsAutogen.h
+++ b/include/gpu/GrDriverBugWorkaroundsAutogen.h
@@ -12,6 +12,8 @@
disable_discard_framebuffer) \
GPU_OP(DISALLOW_LARGE_INSTANCED_DRAW, \
disallow_large_instanced_draw) \
+ GPU_OP(GL_CLEAR_BROKEN, \
+ gl_clear_broken) \
GPU_OP(MAX_MSAA_SAMPLE_COUNT_4, \
max_msaa_sample_count_4) \
GPU_OP(MAX_TEXTURE_SIZE_LIMIT_4096, \