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

Unified Diff: src/core/SkNx.h

Issue 1026723003: Guard SIMD code with !defined(SKNX_NO_SIMD). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: switch 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 | « src/core/Sk4x.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkNx.h
diff --git a/src/core/SkNx.h b/src/core/SkNx.h
new file mode 100644
index 0000000000000000000000000000000000000000..5926f36e858b9b40516f293eb9ef4b9343a5b162
--- /dev/null
+++ b/src/core/SkNx.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef SkNx_DEFINED
+#define SkNx_DEFINED
+
+#define SKNX_NO_SIMDx // Remove the x to disable SIMD in Sk2x and Sk4x.
+
+#endif//SkNx_DEFINED
« no previous file with comments | « src/core/Sk4x.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698