aboutsummaryrefslogtreecommitdiffhomepage
path: root/gpu/include/GrStencil.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-04 20:29:08 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-03-04 20:29:08 +0000
commit5aaa69e4339e229adfb05e96084a8ec0a590238b (patch)
tree0a4c274694b62f8e908d73adaa0d28215fd9fe7b /gpu/include/GrStencil.h
parentf7c2c4544f866ae65cd9a4eee4da563f6d653d20 (diff)
Fixups for clipstack, convexity test for paths.
Review URL http://codereview.appspot.com/4250056/ git-svn-id: http://skia.googlecode.com/svn/trunk@891 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include/GrStencil.h')
-rw-r--r--gpu/include/GrStencil.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gpu/include/GrStencil.h b/gpu/include/GrStencil.h
index be3e0f66fb..b014ee5586 100644
--- a/gpu/include/GrStencil.h
+++ b/gpu/include/GrStencil.h
@@ -190,8 +190,7 @@ private:
* existing clip
* @param stencilClipMask mask with just the stencil bit used for clipping
* enabled.
- * @param fill in: the fill rule of the element to draw.
- * out: the fill rule that should be used to draw
+ * @param invertedFill is this path inverted
* @param numPasses out: the number of passes needed to add the
* element to the clip.
* @param settings out: the stencil settings to use for each pass
@@ -203,7 +202,7 @@ private:
static bool GetClipPasses(GrSetOp op,
bool canBeDirect,
unsigned int stencilClipMask,
- GrPathFill* fill,
+ bool invertedFill,
int* numPasses,
GrStencilSettings settings[kMaxStencilClipPasses]);
};