aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrFixedClip.h
diff options
context:
space:
mode:
authorGravatar Brian Salomon <bsalomon@google.com>2017-03-13 17:57:28 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-13 22:01:06 +0000
commit9a7677273a3f270e6137d396e972c83c036a47a7 (patch)
treeadbb840ffebb12282ac4a59bba7105ded9838afb /src/gpu/GrFixedClip.h
parent301c69c9167c9b7f4dd147e27d720f05522fe263 (diff)
Remove origin from GrClipStackClip and GrWindowRectsState.
Change-Id: I993f426fee0f21cf1f529f58d242de3017253678 Reviewed-on: https://skia-review.googlesource.com/9623 Commit-Queue: Brian Salomon <bsalomon@google.com> Reviewed-by: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'src/gpu/GrFixedClip.h')
-rw-r--r--src/gpu/GrFixedClip.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gpu/GrFixedClip.h b/src/gpu/GrFixedClip.h
index 7f18c2667f..0f517525a0 100644
--- a/src/gpu/GrFixedClip.h
+++ b/src/gpu/GrFixedClip.h
@@ -35,9 +35,8 @@ public:
void disableWindowRectangles() { fWindowRectsState.setDisabled(); }
- void setWindowRectangles(const GrWindowRectangles& windows, const SkIPoint& origin,
- GrWindowRectsState::Mode mode) {
- fWindowRectsState.set(windows, origin, mode);
+ void setWindowRectangles(const GrWindowRectangles& windows, GrWindowRectsState::Mode mode) {
+ fWindowRectsState.set(windows, mode);
}
bool quickContains(const SkRect&) const override;