diff options
author | Stephen White <senorblanco@chromium.org> | 2017-02-21 10:35:49 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-21 19:40:02 +0000 |
commit | 497890630b80a381a2ac4cbb9114b0320560bf8c (patch) | |
tree | 3b003ac2322d48b05cbe4b3588e2853feca42b6a /src/jumper | |
parent | afcd2e1398891546e0c25a5027a9efe01ff4fe71 (diff) |
GrTessellator (AA): implement fast path for removing non-boundary edges.
Instead of using a full tessellate() pass, which allocates Polys,
MonotonePolys, etc. It's faster to simply accumulate the winding number
in the left-adjacent edge, and use that to remove non-boundary edges
(edges for which apply_fill_type() returns the same value on either
side of the edge).
This gives ~4-5% boost on MotionMark Fill Shapes.
Change-Id: I66bd4248ace01a8c35abd99519f4c455f936e5e5
Reviewed-on: https://skia-review.googlesource.com/8782
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
Diffstat (limited to 'src/jumper')
0 files changed, 0 insertions, 0 deletions