SSE optimizations for GrayAlpha -> RGBA/BGRA Premul/Unpremul
authormsarett <msarett@google.com>
Wed, 3 Feb 2016 23:28:35 +0000 (15:28 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Feb 2016 23:28:35 +0000 (15:28 -0800)
commit095742419d0277a4fb0d499a05ff29b7506f1c5e
tree43ac3fb64a521e30ebd735dc5e1f60ca0d1de600
parentde3a726ad38b99e5393d5d9e6de3c844893d01b6
SSE optimizations for GrayAlpha -> RGBA/BGRA Premul/Unpremul

Swizzle Runtime (Dell Venue 8)
Unpremul 0.17x
Premul   0.20x

PNG Decode Runtime on GrayAlpha Encoded PNGs (Dell Venue 8)
Unpremul Regular  0.91x
Unpremul ZeroInit 0.92x
Premul   Regular  0.84x
Premul   ZeroInit 0.85x

BUG=skia:4767
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1666853002
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Review URL: https://codereview.chromium.org/1666853002
bench/SwizzleBench.cpp
src/opts/SkSwizzler_opts.h