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

Unified Diff: src/core/SkPMFloat.h

Issue 976493002: Add SSSE3 implementation for SkPMFloat, with faster get() and set(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 10 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/SkPMFloat_SSSE3.h » ('j') | src/opts/SkPMFloat_SSSE3.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPMFloat.h
diff --git a/src/core/SkPMFloat.h b/src/core/SkPMFloat.h
index 783fc0d40e5cf017f2ae0d3683a2f5a77a56d7a8..585b6abb76cfd8b956fa24c3f14ce1dba4a33507 100644
--- a/src/core/SkPMFloat.h
+++ b/src/core/SkPMFloat.h
@@ -45,7 +45,9 @@ private:
float fColor[4];
};
-#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
+#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSSE3
+ #include "../opts/SkPMFloat_SSSE3.h"
+#elif SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
#include "../opts/SkPMFloat_SSE2.h"
#elif defined(__ARM_NEON__)
#include "../opts/SkPMFloat_neon.h"
« no previous file with comments | « no previous file | src/opts/SkPMFloat_SSSE3.h » ('j') | src/opts/SkPMFloat_SSSE3.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698