| Index: src/gpu/GrDrawTarget.h
|
| diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
|
| index cf3137fe7c68fc44c6a3fd9fe2b782ec098eb700..cb214c97a0fe99b2f7656e18c2535e654ffec7fa 100644
|
| --- a/src/gpu/GrDrawTarget.h
|
| +++ b/src/gpu/GrDrawTarget.h
|
| @@ -43,9 +43,13 @@ class GrPathRangeDraw;
|
|
|
| class GrDrawTarget final : public SkRefCnt {
|
| public:
|
| - // The context may not be fully constructed and should not be used during GrDrawTarget
|
| - // construction.
|
| - GrDrawTarget(GrRenderTarget* rt, GrGpu* gpu, GrResourceProvider*);
|
| + /** Options for GrDrawTarget behavior. */
|
| + struct Options {
|
| + Options () : fClipBatchToBounds(false) {}
|
| + bool fClipBatchToBounds;
|
| + };
|
| +
|
| + GrDrawTarget(GrRenderTarget*, GrGpu*, GrResourceProvider*, const Options&);
|
|
|
| ~GrDrawTarget() override;
|
|
|
|
|