| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 The Android Open Source Project |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef SkUserConfig_DEFINED | 10 #ifndef SkUserConfig_DEFINED |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 //#define SK_MAX_SIZE_FOR_LCDTEXT 48 | 132 //#define SK_MAX_SIZE_FOR_LCDTEXT 48 |
| 133 | 133 |
| 134 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST | 134 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST |
| 135 which will run additional self-tests at startup. These can take a long time, | 135 which will run additional self-tests at startup. These can take a long time, |
| 136 so this flag is optional. | 136 so this flag is optional. |
| 137 */ | 137 */ |
| 138 #ifdef SK_DEBUG | 138 #ifdef SK_DEBUG |
| 139 //#define SK_SUPPORT_UNITTEST | 139 //#define SK_SUPPORT_UNITTEST |
| 140 #endif | 140 #endif |
| 141 | 141 |
| 142 /* If your system embeds skia and has complex event logging, define this | |
| 143 symbol to name a file that maps the following macros to your system's | |
| 144 equivalents: | |
| 145 SK_TRACE_EVENT0(event) | |
| 146 SK_TRACE_EVENT1(event, name1, value1) | |
| 147 SK_TRACE_EVENT2(event, name1, value1, name2, value2) | |
| 148 src/utils/SkDebugTrace.h has a trivial implementation that writes to | |
| 149 the debug output stream. If SK_USER_TRACE_INCLUDE_FILE is not defined, | |
| 150 SkTrace.h will define the above three macros to do nothing. | |
| 151 */ | |
| 152 //#undef SK_USER_TRACE_INCLUDE_FILE | |
| 153 | |
| 154 /* Change the ordering to work in X windows. | 142 /* Change the ordering to work in X windows. |
| 155 */ | 143 */ |
| 156 #ifdef SK_SAMPLES_FOR_X | 144 #ifdef SK_SAMPLES_FOR_X |
| 157 #define SK_R32_SHIFT 16 | 145 #define SK_R32_SHIFT 16 |
| 158 #define SK_G32_SHIFT 8 | 146 #define SK_G32_SHIFT 8 |
| 159 #define SK_B32_SHIFT 0 | 147 #define SK_B32_SHIFT 0 |
| 160 #define SK_A32_SHIFT 24 | 148 #define SK_A32_SHIFT 24 |
| 161 #endif | 149 #endif |
| 162 | 150 |
| 163 | 151 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 183 /* Skia uses these defines as the target of include preprocessor directives. | 171 /* Skia uses these defines as the target of include preprocessor directives. |
| 184 * The header files pointed to by these defines provide declarations and | 172 * The header files pointed to by these defines provide declarations and |
| 185 * possibly inline implementations of threading primitives. | 173 * possibly inline implementations of threading primitives. |
| 186 * | 174 * |
| 187 * See SkThread.h for documentation on what these includes must contain. | 175 * See SkThread.h for documentation on what these includes must contain. |
| 188 */ | 176 */ |
| 189 //#define SK_ATOMICS_PLATFORM_H "SkAtomics_xxx.h" | 177 //#define SK_ATOMICS_PLATFORM_H "SkAtomics_xxx.h" |
| 190 //#define SK_MUTEX_PLATFORM_H "SkMutex_xxx.h" | 178 //#define SK_MUTEX_PLATFORM_H "SkMutex_xxx.h" |
| 191 | 179 |
| 192 #endif | 180 #endif |
| OLD | NEW |