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

Unified Diff: include/core/SkPostConfig.h

Issue 1242743004: De-templatize Sk4pxXfermode code a bit. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: really fix Created 5 years, 5 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/core/Sk4pxXfermode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPostConfig.h
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index 73c8fa1ea792298bbd7b8e03fa073efc9834658e..2074230ba620130da8af3e9bb22e32f5968a7d61 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -297,6 +297,14 @@
# endif
#endif
+#if defined(SK_BUILD_FOR_WIN)
+ #define SK_VECTORCALL __vectorcall
+#elif defined(SK_CPU_ARM32)
+ #define SK_VECTORCALL __attribute__((pcs("aapcs-vfp")))
+#else
+ #define SK_VECTORCALL
+#endif
+
//////////////////////////////////////////////////////////////////////
#if defined(__clang__) || defined(__GNUC__)
« no previous file with comments | « no previous file | src/core/Sk4pxXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698