| Index: src/gpu/GrDrawTarget.h
|
| diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
|
| index 552314bca352f634879991bcfa3247c5340383b3..33d5efec4fc9edd3f7062f941f1b083b9291e8d6 100644
|
| --- a/src/gpu/GrDrawTarget.h
|
| +++ b/src/gpu/GrDrawTarget.h
|
| @@ -37,7 +37,6 @@ protected:
|
| public:
|
| SK_DECLARE_INST_COUNT(GrDrawTarget)
|
|
|
| -
|
| typedef GrPathRendering::PathTransformType PathTransformType ;
|
|
|
| ///////////////////////////////////////////////////////////////////////////
|
| @@ -693,6 +692,15 @@ public:
|
|
|
| virtual DrawToken getCurrentDrawToken() { return DrawToken(this, 0); }
|
|
|
| + // The state of the scissor is controlled by the clip manager, no one else should set
|
| + // Scissor state
|
| + struct ScissorState {
|
| + ScissorState() : fEnabled(false) {}
|
| + void set(const SkIRect& rect) { fRect = rect; fEnabled = true; }
|
| + bool fEnabled;
|
| + SkIRect fRect;
|
| + };
|
| +
|
| protected:
|
| // Extend access to GrDrawState::convertToPEndeingExec to subclasses.
|
| void convertDrawStateToPendingExec(GrDrawState* ds) {
|
|
|