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

Unified Diff: src/opts/SkBlend_opts.h

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/core/SkOpts.cpp ('k') | src/opts/SkOpts_avx.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkBlend_opts.h
diff --git a/src/opts/SkBlend_opts.h b/src/opts/SkBlend_opts.h
index 2e6eff62773150439649d488dcab8b0469196867..2dcdcc7aaf1cd65f84b67f7742c1a5d1830347b1 100644
--- a/src/opts/SkBlend_opts.h
+++ b/src/opts/SkBlend_opts.h
@@ -15,6 +15,10 @@ ninja -C out/Release dm nanobench ; and ./out/Release/dm --match Blend_opts ; an
#include "SkNx.h"
#include "SkPM4fPriv.h"
+#if SK_CPU_SSE_LEVEL >= SK_CPU_SSE_LEVEL_SSE2
+ #include <immintrin.h>
+#endif
+
namespace SK_OPTS_NS {
// An implementation of SrcOver from bytes to bytes in linear space that takes advantage of the
« no previous file with comments | « src/core/SkOpts.cpp ('k') | src/opts/SkOpts_avx.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698