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

Unified Diff: src/opts/SkOpts_avx.cpp

Issue 2087343002: Add stub for avx. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add inclusion of sse4 intrinsics if needed. Created 4 years, 6 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/opts/SkBlend_opts.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkOpts_avx.cpp
diff --git a/src/core/SkSwizzle.cpp b/src/opts/SkOpts_avx.cpp
similarity index 56%
copy from src/core/SkSwizzle.cpp
copy to src/opts/SkOpts_avx.cpp
index f080b83a87870e5f2a528345b9585c90c74c955f..835e0c0ded9e505951187d379f1cf50bd51eaea4 100644
--- a/src/core/SkSwizzle.cpp
+++ b/src/opts/SkOpts_avx.cpp
@@ -5,10 +5,11 @@
* found in the LICENSE file.
*/
-#include "SkSwizzle.h"
-
#include "SkOpts.h"
-void SkSwapRB(uint32_t* dest, const uint32_t* src, int count) {
- SkOpts::RGBA_to_BGRA(dest, src, count);
+#define SK_OPTS_NS sk_avx
+#include "SkBlend_opts.h"
+
+namespace SkOpts {
+ void Init_avx() { }
}
« no previous file with comments | « src/opts/SkBlend_opts.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698