diff options
author | 2015-06-18 14:18:02 -0700 | |
---|---|---|
committer | 2015-06-18 14:18:03 -0700 | |
commit | 83bc22970364f1ff94751b99c4b4048b3c66e1a2 (patch) | |
tree | d20e70f1ff856b36208486f8cc8481ee1b86649e /src/gpu/gl/GrGLCaps.cpp | |
parent | 35a5261085ca96f97deb59ec5515db250b53e82c (diff) |
Work around for nexus 6 TexSubImage issue
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/c69fe20ef35df0776b179cbd5ce4d1bdc0ba4090
Review URL: https://codereview.chromium.org/1173203005
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r-- | src/gpu/gl/GrGLCaps.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp index dad21977b2..c7dc862864 100644 --- a/src/gpu/gl/GrGLCaps.cpp +++ b/src/gpu/gl/GrGLCaps.cpp @@ -421,6 +421,10 @@ void GrGLCaps::init(const GrContextOptions& contextOptions, 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) || |