DescriptionUse sk_srgb_to_linear_trunc in SkColorXform_opts
This gives us a little more control over instruction order, allowing
us to pipeline the muls and get better performance. Technically,
clang should be able to do this for us anyway...
Performance on HP z620 (201295.jpg):
toSRGB: 371us -> 356us
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2175413002
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/+/a18c3b8306c08619ad40fe26122462d4c7a9059d
Patch Set 1 #
Total comments: 2
Patch Set 2 : Remove unnecessary template param #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 10 (5 generated)
|