| Index: src/gpu/GrClipMaskManager.h
|
| diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
|
| index fa54f3ce0e6f44cd6709247c08451dd20c21f9ad..9ac7431e3fc3483624dca72a9b31fb4bf0278b3e 100644
|
| --- a/src/gpu/GrClipMaskManager.h
|
| +++ b/src/gpu/GrClipMaskManager.h
|
| @@ -47,9 +47,12 @@ public:
|
| /**
|
| * Creates a clip mask if necessary as a stencil buffer or alpha texture
|
| * and sets the GrGpu's scissor and stencil state. If the return is false
|
| - * then the draw can be skipped.
|
| + * then the draw can be skipped. The AutoRestoreEffects is initialized by
|
| + * the manager when it must install additional effects to implement the
|
| + * clip. devBounds is optional but can help optimize clipping.
|
| */
|
| - bool setupClipping(const GrClipData* clipDataIn, GrDrawState::AutoRestoreEffects*);
|
| + bool setupClipping(const GrClipData* clipDataIn, GrDrawState::AutoRestoreEffects*,
|
| + const SkRect* devBounds);
|
|
|
| void releaseResources();
|
|
|
|
|