| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 /* Skia has certain debug-only code that is extremely intensive even for debug | 52 /* Skia has certain debug-only code that is extremely intensive even for debug |
| 53 builds. This code is useful for diagnosing specific issues, but is not | 53 builds. This code is useful for diagnosing specific issues, but is not |
| 54 generally applicable, therefore it must be explicitly enabled to avoid | 54 generally applicable, therefore it must be explicitly enabled to avoid |
| 55 the performance impact. By default these flags are undefined, but can be | 55 the performance impact. By default these flags are undefined, but can be |
| 56 enabled by uncommenting them below. | 56 enabled by uncommenting them below. |
| 57 */ | 57 */ |
| 58 //#define SK_DEBUG_GLYPH_CACHE | 58 //#define SK_DEBUG_GLYPH_CACHE |
| 59 //#define SK_DEBUG_PATH | 59 //#define SK_DEBUG_PATH |
| 60 | 60 |
| 61 /* To assist debugging, Skia provides an instance counting utility in | |
| 62 include/core/SkInstCount.h. This flag turns on and off that utility to | |
| 63 allow instance count tracking in either debug or release builds. By | |
| 64 default it is enabled in debug but disabled in release. | |
| 65 */ | |
| 66 //#define SK_ENABLE_INST_COUNT 1 | |
| 67 | |
| 68 /* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger) | 61 /* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger) |
| 69 it will call SK_CRASH(). If this is not defined it, it is defined in | 62 it will call SK_CRASH(). If this is not defined it, it is defined in |
| 70 SkPostConfig.h to write to an illegal address | 63 SkPostConfig.h to write to an illegal address |
| 71 */ | 64 */ |
| 72 //#define SK_CRASH() *(int *)(uintptr_t)0 = 0 | 65 //#define SK_CRASH() *(int *)(uintptr_t)0 = 0 |
| 73 | 66 |
| 74 | 67 |
| 75 /* preconfig will have attempted to determine the endianness of the system, | 68 /* preconfig will have attempted to determine the endianness of the system, |
| 76 but you can change these mutually exclusive flags here. | 69 but you can change these mutually exclusive flags here. |
| 77 */ | 70 */ |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 /* The PDF generation code uses Path Ops to handle complex clipping paths, | 147 /* The PDF generation code uses Path Ops to handle complex clipping paths, |
| 155 * but at this time, Path Ops is not release ready yet. So, the code is | 148 * but at this time, Path Ops is not release ready yet. So, the code is |
| 156 * hidden behind this #define guard. If you are feeling adventurous and | 149 * hidden behind this #define guard. If you are feeling adventurous and |
| 157 * want the latest and greatest PDF generation code, uncomment the #define. | 150 * want the latest and greatest PDF generation code, uncomment the #define. |
| 158 * When Path Ops is release ready, the define guards and this user config | 151 * When Path Ops is release ready, the define guards and this user config |
| 159 * define should be removed entirely. | 152 * define should be removed entirely. |
| 160 */ | 153 */ |
| 161 //#define SK_PDF_USE_PATHOPS_CLIPPING | 154 //#define SK_PDF_USE_PATHOPS_CLIPPING |
| 162 | 155 |
| 163 #endif | 156 #endif |
| OLD | NEW |