Turn on don't-reuse-scratch-textures for all Android devices

https://codereview.chromium.org/54493005/



git-svn-id: http://skia.googlecode.com/svn/trunk@12069 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2013-11-01 00:40:47 +00:00
parent 7124abdf86
commit f7ee05fa9d

View File

@ -312,7 +312,11 @@ void GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) {
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) {