diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-31 00:51:18 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-31 00:51:18 +0000 |
commit | cb505101a2bea28b99f770ed9d6f8de4cbcf0f20 (patch) | |
tree | bc366c938ee77ec2c44c10b2aa06c80ef6b13bfa /src | |
parent | 1986756c068f578fb213feccb5aae628110d29d1 (diff) |
No longer use scratch textures on ARM devices
https://codereview.chromium.org/50643003/
git-svn-id: http://skia.googlecode.com/svn/trunk@12042 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/gl/GrGLCaps.cpp | 9 |
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) { |