Index: src/gpu/GrDrawTarget.h |
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h |
index c80ac34b942c99f0266d93a236dc55deb137e130..42a6e798a0a7795002071568e8d786ea527adacd 100644 |
--- a/src/gpu/GrDrawTarget.h |
+++ b/src/gpu/GrDrawTarget.h |
@@ -44,9 +44,10 @@ class GrDrawTarget final : public SkRefCnt { |
public: |
/** Options for GrDrawTarget behavior. */ |
struct Options { |
- Options () : fClipBatchToBounds(false), fDrawBatchBounds(false) {} |
+ Options () : fClipBatchToBounds(false), fDrawBatchBounds(false), fMaxBatchLookback(-1) {} |
bool fClipBatchToBounds; |
bool fDrawBatchBounds; |
+ int fMaxBatchLookback; |
}; |
GrDrawTarget(GrRenderTarget*, GrGpu*, GrResourceProvider*, const Options&); |
@@ -297,6 +298,7 @@ private: |
GrRenderTarget* fRenderTarget; |
bool fDrawBatchBounds; |
+ int fMaxBatchLookback; |
typedef SkRefCnt INHERITED; |
}; |