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
This commit is contained in:
parent
1986756c06
commit
cb505101a2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user