aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/gpu/gl/GrGLCaps.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index e6bad38346..8e6c3e2d23 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -306,16 +306,7 @@ void GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) {
ctxInfo.hasExtension("GL_NV_path_rendering");
fDstReadInShaderSupport = kNone_FBFetchType != fFBFetchType;
-
-#if 0
- // This has to be temporarily disabled. On Android it causes the texture
- // usage to become front loaded and the OS kills the process. It can
- // be re-enabled once the more dynamic (ref-driven) cache clearing
- // system is in place.
fReuseScratchTextures = kARM_GrGLVendor != ctxInfo.vendor();
-#else
- fReuseScratchTextures = true;
-#endif
// Enable supported shader-related caps
if (kDesktop_GrGLBinding == binding) {