| Index: src/gpu/GrClipMaskManager.h
|
| diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
|
| index 096dafd2e575ab743c40d3b7adc50eeb7b227a6f..2b70f02e38689504749ab7096169c146262035d6 100644
|
| --- a/src/gpu/GrClipMaskManager.h
|
| +++ b/src/gpu/GrClipMaskManager.h
|
| @@ -17,6 +17,7 @@
|
| #include "SkTLList.h"
|
| #include "SkTypes.h"
|
|
|
| +class GrClip;
|
| class GrDrawTarget;
|
| class GrPathRenderer;
|
| class GrPathRendererChain;
|
| @@ -56,7 +57,7 @@ private:
|
| */
|
| class GrClipMaskManager : SkNoncopyable {
|
| public:
|
| - GrClipMaskManager(GrDrawTarget* owner, bool debugClipBatchToBounds);
|
| + GrClipMaskManager(GrDrawTarget* owner);
|
|
|
| /**
|
| * Creates a clip mask if necessary as a stencil buffer or alpha texture
|
| @@ -64,12 +65,8 @@ public:
|
| * then the draw can be skipped. devBounds is optional but can help optimize
|
| * clipping.
|
| */
|
| - bool setupClipping(const GrPipelineBuilder&, const SkRect* devBounds, GrAppliedClip*);
|
| -
|
| - bool setupScissorClip(const GrPipelineBuilder& pipelineBuilder,
|
| - const SkIRect& scissor,
|
| - const SkRect* devBounds,
|
| - GrAppliedClip* out);
|
| + bool setupClipping(const GrPipelineBuilder&, const GrClip&, const SkRect* devBounds,
|
| + GrAppliedClip*);
|
|
|
| private:
|
| inline GrContext* getContext();
|
| @@ -150,7 +147,6 @@ private:
|
|
|
| GrDrawTarget* fDrawTarget; // This is our owning draw target.
|
| StencilClipMode fClipMode;
|
| - bool fDebugClipBatchToBounds;
|
|
|
| typedef SkNoncopyable INHERITED;
|
| };
|
|
|