aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_skia_src_core_SkCpu.cpp
blob: 4d7db67f85562704f39364e23a0b1087816a85d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- third_party/skia/src/core/SkCpu.cpp.orig	2019-07-24 19:03:35 UTC
+++ third_party/skia/src/core/SkCpu.cpp
@@ -76,6 +76,8 @@
     #include <sys/auxv.h>
 
     static uint32_t read_cpu_features() {
+return 0;
+#if 0
         const uint32_t kHWCAP_CRC32   = (1<< 7),
                        kHWCAP_ASIMDHP = (1<<10);
 
@@ -112,6 +114,7 @@
             }
         }
         return features;
+#endif
     }
 
 #elif defined(SK_CPU_ARM32) && __has_include(<sys/auxv.h>) && \