Index: src/gpu/gl/GrGLCaps.cpp |
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp |
index 6dc5ee8c4f76ee0f114b4800fc2e5bfb7abfa5f4..fd888d6c36e482a7f75730861e4e6d5715e7d692 100644 |
--- a/src/gpu/gl/GrGLCaps.cpp |
+++ b/src/gpu/gl/GrGLCaps.cpp |
@@ -456,6 +456,12 @@ void GrGLCaps::init(const GrContextOptions& contextOptions, |
fUseDrawInsteadOfPartialRenderTargetWrite = true; |
} |
+ // Texture uploads sometimes seem to be ignored to textures bound to FBOS on Tegra3. |
+ if (kTegra3_GrGLRenderer == ctxInfo.renderer()) { |
+ fUseDrawInsteadOfPartialRenderTargetWrite = true; |
+ fUseDrawInsteadOfAllRenderTargetWrites = true; |
+ } |
+ |
#ifdef SK_BUILD_FOR_WIN |
// On ANGLE deferring flushes can lead to GPU starvation |
fPreferVRAMUseOverFlushes = !isANGLE; |