| Index: src/gpu/GrClipMaskManager.h
|
| diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
|
| index c3a21fd8a2b1e9d6771ebde48bbdaa2731b28b85..49208dd5842b5a65c2e2b2c999cb9fabdac10eba 100644
|
| --- a/src/gpu/GrClipMaskManager.h
|
| +++ b/src/gpu/GrClipMaskManager.h
|
| @@ -106,11 +106,14 @@ private:
|
| GrClipMaskCache fAACache; // cache for the AA path
|
|
|
| // Attempts to install a series of coverage effects to implement the clip. Return indicates
|
| - // whether the element list was successfully converted to effects.
|
| + // whether the element list was successfully converted to effects. One of the elements may
|
| + // be selected to use the scissor. If so scissorRect will be updated to a valid rectangle
|
| + // that the caller should set as the scissor rect. If not, scissorRect won't be modified.
|
| bool installClipEffects(const GrReducedClip::ElementList&,
|
| GrDrawState::AutoRestoreEffects*,
|
| const SkVector& clipOffset,
|
| - const SkRect* devBounds);
|
| + const SkRect* devBound,
|
| + SkIRect* scissorRect);
|
|
|
| // Draws the clip into the stencil buffer
|
| bool createStencilClipMask(int32_t elementsGenID,
|
|
|