965e444219
littleRound is used to round widths before a comparison with maxWidth. The rounding only matters on a very small interval around maxWidth. Take advantage of this fact to only do the expensive rounding when close to maxWidth. This is a 2-3% improvement. Change-Id: If5b18ed4be56c1c8fa80b97d49930145d0f09b20 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/386844 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Julia Lavrova <jlavrova@google.com> |
||
---|---|---|
.. | ||
bench | ||
gm | ||
include | ||
samples | ||
src | ||
tests | ||
utils | ||
BUILD.gn | ||
skparagraph.gni | ||
test.html |