-
Mike Reed authored
The change is conditional at the moment inside SkScan_Path.cpp, USE_NEW_BUILDER. This chopping is meant to only pass in reasonable floats to the edgelist, so that we never overflow when converting to fixed-point. It also has the side-effect of speeding up edges to the left/right of the clip, since those become vertical lines, which are faster to walk over than the original curve segment. Future optimizations: throw away segments to the right of the clip, and tweak the edgelist walker to not require an explicit matching right-edge for the current run.
8e048c19