diff options
author | reed <reed@chromium.org> | 2015-02-06 19:29:15 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-06 19:29:15 -0800 |
commit | 2322115952c15c72a623837879cac1f85894b1b6 (patch) | |
tree | a76d35fe7903e1c065aeaa558cc8fe5667fa53c8 /src/core/SkLineClipper.h | |
parent | c319d075eab86cacfd7aba27859b72bbf8fc0a64 (diff) |
Faster edge re-sort, drop trailing edges
(patchset #4 id:60001 of https://codereview.chromium.org/891613003/)"
This reverts commit c319d075eab86cacfd7aba27859b72bbf8fc0a64.
BUG=skia:
TBR=
Review URL: https://codereview.chromium.org/907623002
Diffstat (limited to 'src/core/SkLineClipper.h')
-rw-r--r-- | src/core/SkLineClipper.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkLineClipper.h b/src/core/SkLineClipper.h index 8026890b8d..d966dbc74c 100644 --- a/src/core/SkLineClipper.h +++ b/src/core/SkLineClipper.h @@ -30,7 +30,7 @@ public: 3rd segment: lines[2]..lines[3] */ static int ClipLine(const SkPoint pts[2], const SkRect& clip, - SkPoint lines[kMaxPoints]); + SkPoint lines[kMaxPoints], bool canClipToTheRight); /* Intersect the line segment against the rect. If there is a non-empty resulting segment, return true and set dst[] to that segment. If not, |