diff options
author | xiangze.zhang <xiangze.zhang@intel.com> | 2016-11-17 18:39:38 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-17 18:39:38 -0800 |
commit | d2265e537c8015f8115d7b5b7f6de970aa688172 (patch) | |
tree | b58af83005d4b3754eefe5dfe33f3c321f807848 /src/core/SkOpts.cpp | |
parent | f8afab96776f15c59ae0d854997216e5f1a3b332 (diff) |
Port convolve functions to SkOpts
This patch moves the C++/SSE2/NEON implementations of convolve functions
into the same place and uses SkOpts framework.
Also some indentation fix.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2500113004
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Review-Url: https://codereview.chromium.org/2500113004
Diffstat (limited to 'src/core/SkOpts.cpp')
-rw-r--r-- | src/core/SkOpts.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/SkOpts.cpp b/src/core/SkOpts.cpp index 6648909d1a..6c13dd05e1 100644 --- a/src/core/SkOpts.cpp +++ b/src/core/SkOpts.cpp @@ -36,6 +36,7 @@ #define SK_OPTS_NS portable #endif +#include "SkBitmapFilter_opts.h" #include "SkBlend_opts.h" #include "SkBlitMask_opts.h" #include "SkBlitRow_opts.h" @@ -90,6 +91,11 @@ namespace SkOpts { DEFINE_DEFAULT(hash_fn); DEFINE_DEFAULT(compile_pipeline); + + DEFINE_DEFAULT(convolve_vertically); + DEFINE_DEFAULT(convolve_horizontally); + DEFINE_DEFAULT(convolve_4_rows_horizontally); + #undef DEFINE_DEFAULT // Each Init_foo() is defined in src/opts/SkOpts_foo.cpp. |