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

Unified Diff: src/opts/SkOpts_ssse3.cpp

Issue 1601883002: Add SSSE3 Optimizations for premul and swap (Closed) Base URL: https://skia.googlesource.com/skia.git@f-and-x
Patch Set: Move constants into premul8 proc Created 4 years, 11 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 | « no previous file | src/opts/SkSwizzler_opts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkOpts_ssse3.cpp
diff --git a/src/opts/SkOpts_ssse3.cpp b/src/opts/SkOpts_ssse3.cpp
index 675cdaa23e44bb832f99a7ef967cefb5c6356640..5378377d1e99d8e1982dab472b075f189941fc45 100644
--- a/src/opts/SkOpts_ssse3.cpp
+++ b/src/opts/SkOpts_ssse3.cpp
@@ -9,6 +9,7 @@
#define SK_OPTS_NS sk_ssse3
#include "SkBlitMask_opts.h"
#include "SkColorCubeFilter_opts.h"
+#include "SkSwizzler_opts.h"
#include "SkXfermode_opts.h"
namespace SkOpts {
@@ -16,5 +17,9 @@ namespace SkOpts {
create_xfermode = sk_ssse3::create_xfermode;
blit_mask_d32_a8 = sk_ssse3::blit_mask_d32_a8;
color_cube_filter_span = sk_ssse3::color_cube_filter_span;
+
+ premul_xxxa = sk_ssse3::premul_xxxa;
+ premul_swaprb_xxxa = sk_ssse3::premul_swaprb_xxxa;
+ swaprb_xxxa = sk_ssse3::swaprb_xxxa;
}
}
« no previous file with comments | « no previous file | src/opts/SkSwizzler_opts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698