Index: src/opts/SkOpts_avx2.cpp |
diff --git a/src/opts/SkOpts_avx2.cpp b/src/opts/SkOpts_avx2.cpp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c70260e1ecb2b2405c313462e3336c8d85f80c2c |
--- /dev/null |
+++ b/src/opts/SkOpts_avx2.cpp |
@@ -0,0 +1,17 @@ |
+/* |
+ * Copyright 2016 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+#include "SkOpts.h" |
+#include "SkMatrixConvolutionImageFilter_opts_AVX2.h" |
+ |
+ |
+namespace SkOpts { |
+ void Init_avx2() { |
+ matrix_convolution_image_filter_filter_pixels = |
+ sk_avx2::SkMatrixConvolutionImageFilter_filterPixels_AVX2; |
+ } |
+} |