commit | 83bc22970364f1ff94751b99c4b4048b3c66e1a2 | [log] [tgz] |
---|---|---|
author | joshualitt <joshualitt@chromium.org> | Thu Jun 18 14:18:02 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jun 18 14:18:03 2015 -0700 |
tree | d20e70f1ff856b36208486f8cc8481ee1b86649e | |
parent | 35a5261085ca96f97deb59ec5515db250b53e82c [diff] [blame] |
Work around for nexus 6 TexSubImage issue BUG=skia: Committed: https://skia.googlesource.com/skia/+/c69fe20ef35df0776b179cbd5ce4d1bdc0ba4090 Review URL: https://codereview.chromium.org/1173203005
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index dad2197..c7dc862 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp
@@ -421,6 +421,10 @@ fUseDrawInsteadOfClear = true; } + if (kAdreno4xx_GrGLRenderer == ctxInfo.renderer()) { + fUseDrawInsteadOfPartialRenderTargetWrite = true; + } + if (kGL_GrGLStandard == standard) { // ARB allows mixed size FBO attachments, EXT does not. if (ctxInfo.version() >= GR_GL_VER(3, 0) ||