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

Unified Diff: src/opts/SkXfermode_opts.h

Issue 23644006: ARM Skia NEON patches - 28 - Xfermode: SIMD modeprocs (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 3 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
« src/core/SkXfermode.cpp ('K') | « src/core/SkXfermode.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkXfermode_opts.h
diff --git a/src/opts/SkXfermode_opts.h b/src/opts/SkXfermode_opts.h
new file mode 100644
index 0000000000000000000000000000000000000000..c65e4f72eb32d4f653930dc35e531c542b08df4f
--- /dev/null
+++ b/src/opts/SkXfermode_opts.h
@@ -0,0 +1,46 @@
+#ifndef SkXfermode_opts_DEFINED
+#define SkXfermode_opts_DEFINED
+
+#include "SkUtilsArm.h"
+
+#if SK_ARM_NEON_IS_ALWAYS
+
+#include <arm_neon.h>
+
+typedef uint8x8x4_t (*SkXfermodeProcSIMD)(uint8x8x4_t src, uint8x8x4_t dst);
+
+#else /* #if SK_ARM_NEON_IS_ALWAYS */
+
+typedef void (*SkXfermodeProcSIMD)(void);
+
+#endif /* #if SK_ARM_NEON_IS_ALWAYS */
+
+
+#define SK_XMPSIMD_CLEAR NULL
+#define SK_XMPSIMD_SRC NULL
+#define SK_XMPSIMD_DST NULL
+#define SK_XMPSIMD_SRCOVER NULL
+#define SK_XMPSIMD_DSTOVER NULL
+#define SK_XMPSIMD_SRCIN NULL
+#define SK_XMPSIMD_DSTIN NULL
+#define SK_XMPSIMD_SRCOUT NULL
+#define SK_XMPSIMD_DSTOUT NULL
+#define SK_XMPSIMD_SRCATOP NULL
+#define SK_XMPSIMD_DSTATOP NULL
+#define SK_XMPSIMD_XOR NULL
+#define SK_XMPSIMD_PLUS NULL
+#define SK_XMPSIMD_MODULATE NULL
+#define SK_XMPSIMD_SCREEN NULL
+#define SK_XMPSIMD_OVERLAY NULL
+#define SK_XMPSIMD_DARKEN NULL
+#define SK_XMPSIMD_LIGHTEN NULL
+#define SK_XMPSIMD_COLORDODGE NULL
+#define SK_XMPSIMD_COLORBURN NULL
+#define SK_XMPSIMD_HARDLIGHT NULL
+#define SK_XMPSIMD_SOFTLIGHT NULL
+#define SK_XMPSIMD_DIFFERENCE NULL
+#define SK_XMPSIMD_EXCLUSION NULL
+#define SK_XMPSIMD_MULTIPLY NULL
+
+#endif /* #ifndef SkXfermode_opts_DEFINED */
+
« src/core/SkXfermode.cpp ('K') | « src/core/SkXfermode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698