aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLCaps.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-06-18 14:18:02 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-18 14:18:03 -0700
commit83bc22970364f1ff94751b99c4b4048b3c66e1a2 (patch)
treed20e70f1ff856b36208486f8cc8481ee1b86649e /src/gpu/gl/GrGLCaps.cpp
parent35a5261085ca96f97deb59ec5515db250b53e82c (diff)
Work around for nexus 6 TexSubImage issue
Diffstat (limited to 'src/gpu/gl/GrGLCaps.cpp')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp4
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) ||