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

Unified Diff: src/opts/SkOpts_neon.cpp

Issue 1577703006: Optimized premultiplying swizzles for NEON (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove unnecessary if statement 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 | « src/core/SkOpts.cpp ('k') | 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_neon.cpp
diff --git a/src/opts/SkOpts_neon.cpp b/src/opts/SkOpts_neon.cpp
index a0388b06544fec1054bd5ae5aa6dd2324e3cd36a..3a07ebb765e70a73886141e58417d81924b435c9 100644
--- a/src/opts/SkOpts_neon.cpp
+++ b/src/opts/SkOpts_neon.cpp
@@ -15,6 +15,7 @@
#include "SkFloatingPoint_opts.h"
#include "SkMatrix_opts.h"
#include "SkMorphologyImageFilter_opts.h"
+#include "SkSwizzler_opts.h"
#include "SkTextureCompressor_opts.h"
#include "SkUtils_opts.h"
#include "SkXfermode_opts.h"
@@ -47,5 +48,9 @@ namespace SkOpts {
matrix_translate = sk_neon::matrix_translate;
matrix_scale_translate = sk_neon::matrix_scale_translate;
matrix_affine = sk_neon::matrix_affine;
+
+ premul_xxxa = sk_neon::premul_xxxa;
+ premul_swaprb_xxxa = sk_neon::premul_swaprb_xxxa;
+ swaprb_xxxa = sk_neon::swaprb_xxxa;
}
}
« no previous file with comments | « src/core/SkOpts.cpp ('k') | src/opts/SkSwizzler_opts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698