DescriptionImprove naive SkColorXform to half floats
This should give us a good baseline to explore using SkRasterPipeline.
A particular colorxform to half float drops from 425us to 282us on my desktop.
Color Xform to Half Float (HP z620)
Original 425us
Trans16 (not 32) 355us
Vector Trans16 378us
Trans16 + Keep Halfs in Vector 335us
Vector Trans16 + Keep Halfs in Vector 282us
Final 282us
Color Xform to Half Float (Nexus 5X)
Original 556us
Final 472us
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2159993003
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Committed: https://skia.googlesource.com/skia/+/6bdbf4412bd1a6fe26be1042ccf080174b13021f
Patch Set 1 #
Total comments: 6
Patch Set 2 : Fix NO_SIMD bot #
Total comments: 13
Patch Set 3 : Response to comments #
Total comments: 6
Patch Set 4 : Prettier code #
Depends on Patchset: Messages
Total messages: 27 (20 generated)
|