aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-18 22:26:39 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-18 22:26:39 +0000
commitb835652599356556401b68ac26b57044160a7289 (patch)
tree267423cc7d1c89f576c33efb81eeebafadcf521e /src/gpu/gl
parentdc6c8babf04fe6c19087d441896a3d49f3322cc7 (diff)
Plumb in flag for reusing scratch textures
R=bsalomon@google.com, brian@thesalomons.net Author: robertphillips@google.com Review URL: https://chromiumcodereview.appspot.com/19636002 git-svn-id: http://skia.googlecode.com/svn/trunk@10170 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/gl')
-rw-r--r--src/gpu/gl/GrGLCaps.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.cpp b/src/gpu/gl/GrGLCaps.cpp
index 1770d05c3a..d7b9992cab 100644
--- a/src/gpu/gl/GrGLCaps.cpp
+++ b/src/gpu/gl/GrGLCaps.cpp
@@ -289,6 +289,8 @@ void GrGLCaps::init(const GrGLContextInfo& ctxInfo, const GrGLInterface* gli) {
fDstReadInShaderSupport = kNone_FBFetchType != fFBFetchType;
+ fReuseScratchTextures = kARM_GrGLVendor != ctxInfo.vendor();
+
// Enable supported shader-related caps
if (kDesktop_GrGLBinding == binding) {
fDualSourceBlendingSupport = ctxInfo.version() >= GR_GL_VER(3,3) ||