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 #ifndef SkPostConfig_DEFINED | 8 #ifndef SkPostConfig_DEFINED |
9 #define SkPostConfig_DEFINED | 9 #define SkPostConfig_DEFINED |
10 | 10 |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 #ifndef SK_ENABLE_INST_COUNT | 132 #ifndef SK_ENABLE_INST_COUNT |
133 # ifdef SK_DEBUG | 133 # ifdef SK_DEBUG |
134 # define SK_ENABLE_INST_COUNT 0 | 134 # define SK_ENABLE_INST_COUNT 0 |
135 # else | 135 # else |
136 # define SK_ENABLE_INST_COUNT 0 | 136 # define SK_ENABLE_INST_COUNT 0 |
137 # endif | 137 # endif |
138 #endif | 138 #endif |
139 | 139 |
140 /////////////////////////////////////////////////////////////////////////////// | 140 /////////////////////////////////////////////////////////////////////////////// |
141 | 141 |
142 #if defined(SK_SOFTWARE_FLOAT) && defined(SK_SCALAR_IS_FLOAT) | |
143 // if this is defined, we convert floats to 2s compliment ints for compares. | |
144 # ifndef SK_SCALAR_SLOW_COMPARES | |
145 # define SK_SCALAR_SLOW_COMPARES | |
146 # endif | |
147 # ifndef SK_USE_FLOATBITS | |
148 # define SK_USE_FLOATBITS | |
149 # endif | |
150 #endif | |
151 | |
152 #ifdef SK_BUILD_FOR_WIN | 142 #ifdef SK_BUILD_FOR_WIN |
153 # ifndef WIN32_LEAN_AND_MEAN | 143 # ifndef WIN32_LEAN_AND_MEAN |
154 # define WIN32_LEAN_AND_MEAN | 144 # define WIN32_LEAN_AND_MEAN |
155 # define WIN32_IS_MEAN_WAS_LOCALLY_DEFINED | 145 # define WIN32_IS_MEAN_WAS_LOCALLY_DEFINED |
156 # endif | 146 # endif |
157 # ifndef NOMINMAX | 147 # ifndef NOMINMAX |
158 # define NOMINMAX | 148 # define NOMINMAX |
159 # define NOMINMAX_WAS_LOCALLY_DEFINED | 149 # define NOMINMAX_WAS_LOCALLY_DEFINED |
160 # endif | 150 # endif |
161 # | 151 # |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 # endif | 371 # endif |
382 #endif | 372 #endif |
383 | 373 |
384 ////////////////////////////////////////////////////////////////////// | 374 ////////////////////////////////////////////////////////////////////// |
385 | 375 |
386 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS | 376 #ifndef SK_ALLOW_STATIC_GLOBAL_INITIALIZERS |
387 # define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 | 377 # define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 1 |
388 #endif | 378 #endif |
389 | 379 |
390 #endif // SkPostConfig_DEFINED | 380 #endif // SkPostConfig_DEFINED |
OLD | NEW |