Chromium Code Reviews| Index: include/core/SkPreConfig.h |
| diff --git a/include/core/SkPreConfig.h b/include/core/SkPreConfig.h |
| index 1c2e24fba6577461abb86244c22a30554d9e38f4..3709c2f9d535351f669b42f52df46f8e71f178a3 100644 |
| --- a/include/core/SkPreConfig.h |
| +++ b/include/core/SkPreConfig.h |
| @@ -146,8 +146,10 @@ |
| // Android x86 NDK ABI requires SSE3 support |
| #if defined(SK_BUILD_FOR_ANDROID) |
|
mtklein
2014/02/21 19:24:31
Same here. Won't we just get this for free becaus
djsollen
2014/02/21 19:38:22
Agreed that we should rely on this. I'll dump the
|
| - #undef SK_CPU_SSE_LEVEL |
| - #define SK_CPU_SSE_LEVEL SK_CPU_SSE_LEVEL_SSE3 |
| + #if !defined(SK_CPU_SSE_LEVEL) || (SK_CPU_SSE_LEVEL < SK_CPU_SSE_LEVEL_SSE3) |
| + #undef SK_CPU_SSE_LEVEL |
| + #define SK_CPU_SSE_LEVEL SK_CPU_SSE_LEVEL_SSE3 |
|
reed1
2014/02/21 19:24:29
1. is there no way we can push this off to android
|
| + #endif |
| #endif |
| ////////////////////////////////////////////////////////////////////// |