| Index: src/gpu/GrDrawTarget.h
|
| diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
|
| index ec94da1f0e72f2351566979fac9d17c9f4211fe2..a487785a8b0c9650dd63eadd2e76d25b80ef98bb 100644
|
| --- a/src/gpu/GrDrawTarget.h
|
| +++ b/src/gpu/GrDrawTarget.h
|
| @@ -43,9 +43,13 @@ class GrPathRangeDraw;
|
|
|
| class GrDrawTarget final : public SkRefCnt {
|
| public:
|
| + struct Options {
|
| + bool fImmediateMode;
|
| + };
|
| +
|
| // The context may not be fully constructed and should not be used during GrDrawTarget
|
| // construction.
|
| - GrDrawTarget(GrGpu* gpu, GrResourceProvider*);
|
| + GrDrawTarget(GrGpu* gpu, GrResourceProvider*, const Options& options);
|
|
|
| ~GrDrawTarget() override;
|
|
|
| @@ -221,7 +225,6 @@ public:
|
|
|
| const CMMAccess cmmAccess() { return CMMAccess(this); }
|
|
|
| -
|
| private:
|
| friend class GrDrawingManager; // for resetFlag & TopoSortTraits
|
|
|
| @@ -311,6 +314,7 @@ private:
|
|
|
| SkDEBUGCODE(int fDebugID;)
|
| uint32_t fFlags;
|
| + Options fOptions;
|
|
|
| // 'this' drawTarget relies on the output of the drawTargets in 'fDependencies'
|
| SkTDArray<GrDrawTarget*> fDependencies;
|
|
|