summaryrefslogtreecommitdiffstats
path: root/external/skia/skia_sk_cpu_sse_level_0_by_default.patch.1
blob: f2259a318544a84a6ee2f3f561ba911fe747ce46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -ur skia.org/include/core/SkTypes.h skia/include/core/SkTypes.h
--- skia.org/include/core/SkTypes.h	2021-01-10 12:37:19.016176437 +0100
+++ skia/include/core/SkTypes.h	2021-01-10 12:43:29.155312067 +0100
@@ -153,6 +153,11 @@
     #endif
 #endif
 
+// So let's initialize SK_CPU_SSE_LEVEL to 0 by default
+#ifndef SK_CPU_SSE_LEVEL
+    #define SK_CPU_SSE_LEVEL 0
+#endif
+
 // ARM defines
 #if defined(__arm__) && (!defined(__APPLE__) || !TARGET_IPHONE_SIMULATOR)
     #define SK_CPU_ARM32