commit | 6bd5137e11071116fe279e2f26264f01baeff1aa | [log] [tgz] |
---|---|---|
author | senorblanco <senorblanco@chromium.org> | Wed Apr 15 07:32:27 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Apr 15 07:32:27 2015 -0700 |
tree | bf98409d92456583dd69689ea66c9f97b6d60733 | |
parent | e16b04aa6041efb6507546547737e9603fa1606e [diff] |
Change tessellator sweep direction to depend on path aspect ratio. The tessellating path renderer uses several sweep-line algorithms, whose sweep direction can be either in X or Y. It is currently set to in-X at compile time, but a better approach is to make it runtime-configurable, and use the path aspect ratio as a heuristic to determine the optimal sweep direction. BUG=skia:3725 Review URL: https://codereview.chromium.org/1089073002