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

Unified Diff: src/core/Sk2x.h

Issue 1018423003: Sk2x for NEON (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: unused header Created 5 years, 9 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/Sk2x_neon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/Sk2x.h
diff --git a/src/core/Sk2x.h b/src/core/Sk2x.h
index 6b3fd86b27f6377f5e77cbb6097dd85f5af92a73..99cd45ebe80403177615e4cd4835305b690a0ae6 100644
--- a/src/core/Sk2x.h
+++ b/src/core/Sk2x.h
@@ -13,6 +13,8 @@
#define SK2X_PREAMBLE 1
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
#include "../opts/Sk2x_sse.h"
+ #elif defined(__ARM_NEON__)
+ #include "../opts/Sk2x_neon.h"
#else
#include "../opts/Sk2x_none.h"
#endif
@@ -57,6 +59,8 @@ private:
#define SK2X_PRIVATE 1
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
#include "../opts/Sk2x_sse.h"
+ #elif defined(__ARM_NEON__)
+ #include "../opts/Sk2x_neon.h"
#else
#include "../opts/Sk2x_none.h"
#endif
@@ -65,6 +69,8 @@ private:
#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
#include "../opts/Sk2x_sse.h"
+#elif defined(__ARM_NEON__)
+ #include "../opts/Sk2x_neon.h"
#else
#include "../opts/Sk2x_none.h"
#endif
« no previous file with comments | « no previous file | src/opts/Sk2x_neon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698