Descriptiontight bounds optimization
Add support for tight bounds to detect and return moveTo
followed by close or zero-length lineTo.
Also short circuit so that hard work is avoided when
the path bounds is also the tight bounds.
Avoid doing work if the bounds can be trivially computed.
Include naked moveTo coordinates in the tight bounds.
R=fmalita@chromium.org
BUG=skia:5555, skia:5553
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2394443004
Committed: https://skia.googlesource.com/skia/+/61c21cdcc31081a1bd4a3a7480b482d135f7df33
Patch Set 1 #Patch Set 2 : add tiny test #
Total comments: 2
Patch Set 3 : got the test wrong #Patch Set 4 : fix reversed boolean logic #Messages
Total messages: 21 (15 generated)
|