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

Unified Diff: src/opts/SkOpts_sse41.cpp

Issue 1264103004: Port SkBlurImage opts to SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rename to match src/effects Created 5 years, 4 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
« no previous file with comments | « src/opts/SkOpts_sse2.cpp ('k') | src/opts/SkXfermode_opts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkOpts_sse41.cpp
diff --git a/src/opts/SkOpts_sse41.cpp b/src/opts/SkOpts_sse41.cpp
index 72e56824637a58b13571cdf371bc31827cdf3bff..8e0500bcb5870ebf8488df7260322bd6c6ae30bb 100644
--- a/src/opts/SkOpts_sse41.cpp
+++ b/src/opts/SkOpts_sse41.cpp
@@ -6,9 +6,14 @@
*/
#include "SkOpts.h"
+#define SK_OPTS_NS sse41
+#include "SkBlurImageFilter_opts.h"
namespace SkOpts {
void Init_sse41() {
-
+ static const auto x = sse41::kX, y = sse41::kY;
+ box_blur_xx = sse41::box_blur<x,x>;
+ box_blur_xy = sse41::box_blur<x,y>;
+ box_blur_yx = sse41::box_blur<y,x>;
}
}
« no previous file with comments | « src/opts/SkOpts_sse2.cpp ('k') | src/opts/SkXfermode_opts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698