OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 // IWYU pragma: private, include "SkTypes.h" | |
9 | |
10 #ifndef SkPreConfig_DEFINED | 8 #ifndef SkPreConfig_DEFINED |
11 #define SkPreConfig_DEFINED | 9 #define SkPreConfig_DEFINED |
12 | 10 |
13 // Allows embedders that want to disable macros that take arguments to just | 11 // Allows embedders that want to disable macros that take arguments to just |
14 // define that symbol to be one of these | 12 // define that symbol to be one of these |
15 #define SK_NOTHING_ARG1(arg1) | 13 #define SK_NOTHING_ARG1(arg1) |
16 #define SK_NOTHING_ARG2(arg1, arg2) | 14 #define SK_NOTHING_ARG2(arg1, arg2) |
17 #define SK_NOTHING_ARG3(arg1, arg2, arg3) | 15 #define SK_NOTHING_ARG3(arg1, arg2, arg3) |
18 | 16 |
19 ////////////////////////////////////////////////////////////////////// | 17 ////////////////////////////////////////////////////////////////////// |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 * | 249 * |
252 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute. | 250 * NOTE: Clang/ARM (r161757) does not support the 'optimize' attribute. |
253 */ | 251 */ |
254 #if SK_HAS_ATTRIBUTE(optimize) | 252 #if SK_HAS_ATTRIBUTE(optimize) |
255 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1"))) | 253 # define SK_ATTRIBUTE_OPTIMIZE_O1 __attribute__((optimize("O1"))) |
256 #else | 254 #else |
257 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */ | 255 # define SK_ATTRIBUTE_OPTIMIZE_O1 /* nothing */ |
258 #endif | 256 #endif |
259 | 257 |
260 #endif | 258 #endif |
OLD | NEW |