Refactor SkBlurImageFilter_Opts.h.
authorsenorblanco <senorblanco@chromium.org>
Tue, 27 Oct 2015 21:39:31 +0000 (14:39 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 27 Oct 2015 21:39:31 +0000 (14:39 -0700)
commit963037c1214029dde691b89738be8212a5b22cdf
tree99548e8b4c156cd66aaba0aa230c8e5437e9b50c
parent6440f0b09ede274f93131eebb3ef49e73dfb2b9c
Refactor SkBlurImageFilter_Opts.h.

Refactor box_blur() into a single driver function which
SSE*, NEON and generic code paths can use. I've used macros
to do this in order to keep debug performance reasonable,
but it's fairly ugly. I'm open to other suggestions.

BUG=skia:
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Review URL: https://codereview.chromium.org/1408003007
src/opts/SkBlurImageFilter_opts.h