aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-31 00:51:18 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-10-31 00:51:18 +0000
commitcb505101a2bea28b99f770ed9d6f8de4cbcf0f20 (patch)
treebc366c938ee77ec2c44c10b2aa06c80ef6b13bfa /src
parent1986756c068f578fb213feccb5aae628110d29d1 (diff)
No longer use scratch textures on ARM devices
Diffstat (limited to 'src')
-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) {