Index: src/gpu/gl/GrGLCaps.cpp |
=================================================================== |
--- src/gpu/gl/GrGLCaps.cpp (revision 12067) |
+++ src/gpu/gl/GrGLCaps.cpp (working copy) |
@@ -312,7 +312,11 @@ |
ctxInfo.hasExtension("GL_NV_path_rendering"); |
fDstReadInShaderSupport = kNone_FBFetchType != fFBFetchType; |
+#ifdef SK_BUILD_FOR_ANDROID |
+ fReuseScratchTextures = true; |
+#else |
fReuseScratchTextures = kARM_GrGLVendor != ctxInfo.vendor(); |
+#endif |
// Enable supported shader-related caps |
if (kDesktop_GrGLBinding == binding) { |