aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkClipStack.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-07 20:43:52 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-12-07 20:43:52 +0000
commitc6b3e48cb3a22d83ba3f4b9a614a5a35b05958a0 (patch)
treeb2b0aa8f38b1204e11f3d509ab8241db5d7ef96d /include/core/SkClipStack.h
parenta2a31928470dfb642880f6ab2e4d34b1c7f5d476 (diff)
Improve handling of inverse clip paths in GrClipMaskManager.
Will require rebaselining of complexclip_aa and complexclip_aa_layer on GPU. R=robertphillips@google.com Review URL: https://codereview.appspot.com/6907052 git-svn-id: http://skia.googlecode.com/svn/trunk@6712 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core/SkClipStack.h')
-rw-r--r--include/core/SkClipStack.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/core/SkClipStack.h b/include/core/SkClipStack.h
index 6af60a2422..52b1b225eb 100644
--- a/include/core/SkClipStack.h
+++ b/include/core/SkClipStack.h
@@ -98,6 +98,10 @@ public:
when it is rasterized. */
bool isAA() const { return fDoAA; }
+ //!< Inverts the fill of the clip shape. Note that a kEmpty element remains kEmpty.
+ void invertShapeFillType();
+
+ //!< Sets the set operation represented by the element.
void setOp(SkRegion::Op op) { fOp = op; }
/** The GenID can be used by clip stack clients to cache representations of the clip. The