DescriptionSkPMFloat::trunc()
Add and test trunc(), which is what get() used to be before rounding.
Using trunc() is a ~40% speedup on our linear gradient bench.
#neon #floats
BUG=skia:3592
#n5
#n9
CQ_INCLUDE_TRYBOTS=client.skia.android:Test-Android-Nexus5-Adreno330-Arm7-Debug-Trybot;client.skia.android:Test-Android-Nexus9-TegraK1-Arm64-Release-Trybot
Committed: https://skia.googlesource.com/skia/+/3d4c4a5a9feff961c6ba70443fa40ea1ca0a503e
Patch Set 1 #
Total comments: 2
Patch Set 2 : negative #Patch Set 3 : document + test negative domain #Patch Set 4 : remove isValid assert in _none trunc() #
Messages
Total messages: 17 (7 generated)
|