SoftLight with SkPMFloat
authormtklein <mtklein@chromium.org>
Mon, 29 Jun 2015 19:16:26 +0000 (12:16 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 29 Jun 2015 19:16:26 +0000 (12:16 -0700)
commit823b2a76e24bcac23e984dff025a7d53fc4aa584
tree2f56a73373409dca67535e710ac0eba8d7f7a5d8
parentb743c6679abeeeab998a1147fd6aefd3b4d1fcd9
SoftLight with SkPMFloat

SSE speeds up about 4.5x over existing integer SSE,
NEON speeds up about 3x over serial integer code.

We expect 1-2 bit component diffs in the usual GMs.

Still guarded by SK_SUPPORT_LEGACY_XFERMODES,
which I'll now try to lift in Chrome.

BUG=skia:

Committed: https://skia.googlesource.com/skia/+/3e47d49b46b3ab62071218ef3dd44642c9713e04

CQ_EXTRA_TRYBOTS=client.skia:Test-ChromeOS-GCC-Daisy-CPU-NEON-Arm7-Debug-Trybot

Review URL: https://codereview.chromium.org/1221493002
src/core/Sk4pxXfermode.h
src/opts/SkXfermode_opts_SSE2.cpp