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:
parent
7124abdf86
commit
f7ee05fa9d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user