diff options
author | mtklein <mtklein@chromium.org> | 2015-07-14 10:54:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-14 10:54:19 -0700 |
commit | 4be181e304d2b280c6801bd13369cfba236d1a66 (patch) | |
tree | ae0510f8a6504c3333582fa004e961a8771a2d99 /src/gpu/gl | |
parent | a5517e2b190a8083b38964972b031c13e99f1012 (diff) |
3-15% speedup to HardLight / Overlay xfermodes.
While investigating my bug (skia:4052) I saw this TODO and figured
it'd make me feel better about an otherwise unsuccessful investigation.
This speeds up HardLight and Overlay (same code) by about 15% with SSE, mostly
by rewriting the logic from 1 cheap comparison and 2 expensive div255() calls
to 2 cheap comparisons and 1 expensive div255().
NEON speeds up by a more modest ~3%.
BUG=skia:
Review URL: https://codereview.chromium.org/1230663005
Diffstat (limited to 'src/gpu/gl')
0 files changed, 0 insertions, 0 deletions