DescriptionChange 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
Committed: https://skia.googlesource.com/skia/+/6bd5137e11071116fe279e2f26264f01baeff1aa
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Change to a Comparator struct; fix formatting. #Patch Set 4 : Fix formatting #Messages
Total messages: 12 (5 generated)
|