diff options
author | Brian Salomon <bsalomon@google.com> | 2017-03-24 18:49:09 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-25 01:12:53 +0000 |
commit | 1b52df33927c00d9c5aee63f7239dd77bce15e03 (patch) | |
tree | bc43f08a1dad830efbf516fa48d7305fa978db45 /src | |
parent | dd1b4e94c4298213f1f238a8634471086d6749fb (diff) |
Remove draw-as-clear workaround for Adreno 3xx in Chrome.
This caused a performance regression after Skia started seeing the real GL strings.
BUG=chromium:703774
Change-Id: Ib0878062670b5ea51a005718a64a58d89fbaa42c
Reviewed-on: https://skia-review.googlesource.com/10165
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
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 cb0d7899e7..2ec95347f8 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -499,7 +499,8 @@ void GrGLCaps::init(const GrContextOptions& contextOptions, if (kPowerVR54x_GrGLRenderer == ctxInfo.renderer() || kPowerVRRogue_GrGLRenderer == ctxInfo.renderer() || - kAdreno3xx_GrGLRenderer == ctxInfo.renderer()) { + (kAdreno3xx_GrGLRenderer == ctxInfo.renderer() && + ctxInfo.driver() != kChromium_GrGLDriver)) { fUseDrawInsteadOfClear = true; } |