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

Unified Diff: src/opts/SkOpts_sse_sse2.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_sse_sse2.cpp
diff --git a/src/opts/SkOpts_sse_sse2.cpp b/src/opts/SkOpts_sse_sse2.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..1fa58d265d220731afc13541b737c4ebab841ebb
--- /dev/null
+++ b/src/opts/SkOpts_sse_sse2.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_SSE.h"
+
+
+namespace SkOpts {
+ void Init_sse_sse2() {
+ matrix_convolution_image_filter_filter_pixels =
+ sk_sse::SkMatrixConvolutionImageFilter_filterPixels_SSE;
+ }
+}
« src/opts/SkMatrixConvolutionImageFilter_opts_SSE.cpp ('K') | « src/opts/SkOpts_avx2.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698