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
diff --git a/src/gpu/GrDrawTargetCaps.h b/src/gpu/GrDrawTargetCaps.h
index 236f939..ffacc9e 100644
--- a/src/gpu/GrDrawTargetCaps.h
+++ b/src/gpu/GrDrawTargetCaps.h
@@ -36,6 +36,7 @@
bool bufferLockSupport() const { return fBufferLockSupport; }
bool pathStencilingSupport() const { return fPathStencilingSupport; }
bool dstReadInShaderSupport() const { return fDstReadInShaderSupport; }
+ bool reuseScratchTextures() const { return fReuseScratchTextures; }
int maxRenderTargetSize() const { return fMaxRenderTargetSize; }
int maxTextureSize() const { return fMaxTextureSize; }
@@ -54,6 +55,7 @@
bool fBufferLockSupport : 1;
bool fPathStencilingSupport : 1;
bool fDstReadInShaderSupport : 1;
+ bool fReuseScratchTextures : 1;
int fMaxRenderTargetSize;
int fMaxTextureSize;