Index: src/opts/SkOpts_sse2.cpp |
diff --git a/src/opts/SkOpts_sse2.cpp b/src/opts/SkOpts_sse2.cpp |
index d80c6ff3523fcf600b37df485a25a2a8c8ea4643..5b4d6d686f2466f1a974cddde3731bcff79a801c 100644 |
--- a/src/opts/SkOpts_sse2.cpp |
+++ b/src/opts/SkOpts_sse2.cpp |
@@ -6,6 +6,9 @@ |
*/ |
#include "SkOpts.h" |
+ |
+#define SK_OPTS_NS sse2 |
+#include "SkBlurImageFilter_opts.h" |
#include "SkXfermode_opts.h" |
namespace sse2 { // This helps identify methods from this file when debugging / profiling. |
@@ -53,5 +56,10 @@ namespace SkOpts { |
memset16 = sse2::memset16; |
memset32 = sse2::memset32; |
create_xfermode = SkCreate4pxXfermode; |
+ |
+ static const auto x = sse2::kX, y = sse2::kY; |
+ box_blur_xx = sse2::box_blur<x,x>; |
+ box_blur_xy = sse2::box_blur<x,y>; |
+ box_blur_yx = sse2::box_blur<y,x>; |
} |
} |