Index: include/gpu/GrCaps.h |
diff --git a/include/gpu/GrCaps.h b/include/gpu/GrCaps.h |
index 10e100f8aa853c695fc44028902dfec83306d4f9..9ad20e53e41f3d123b3249f4832c760201109b78 100644 |
--- a/include/gpu/GrCaps.h |
+++ b/include/gpu/GrCaps.h |
@@ -185,6 +185,7 @@ public: |
// recycled in the texture cache. This is to prevent ghosting by drivers |
// (in particular for deferred architectures). |
bool reuseScratchTextures() const { return fReuseScratchTextures; } |
+ bool reuseScratchBuffers() const { return fReuseScratchBuffers; } |
int maxRenderTargetSize() const { return fMaxRenderTargetSize; } |
int maxTextureSize() const { return fMaxTextureSize; } |
@@ -229,10 +230,12 @@ protected: |
bool fStencilWrapOpsSupport : 1; |
bool fDiscardRenderTargetSupport : 1; |
bool fReuseScratchTextures : 1; |
+ bool fReuseScratchBuffers : 1; |
bool fGpuTracingSupport : 1; |
bool fCompressedTexSubImageSupport : 1; |
bool fOversizedStencilSupport : 1; |
bool fTextureBarrierSupport : 1; |
+ |
// Driver workaround |
bool fUseDrawInsteadOfClear : 1; |
bool fUseDrawInsteadOfPartialRenderTargetWrite : 1; |