Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(419)

Unified Diff: src/opts/SkOpts_avx2.cpp

Issue 1881903004: Rewriting MatrixConvolution image filter with SSE and AVX2 Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698