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 /* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger) |
| 62 it will call SK_CRASH(). If this is not defined it, it is defined in |
| 63 SkPostConfig.h to write to an illegal address |
| 64 */ |
| 65 //#define SK_CRASH() *(int *)(uintptr_t)0 = 0 |
| 66 |
| 67 |
61 /* preconfig will have attempted to determine the endianness of the system, | 68 /* preconfig will have attempted to determine the endianness of the system, |
62 but you can change these mutually exclusive flags here. | 69 but you can change these mutually exclusive flags here. |
63 */ | 70 */ |
64 //#define SK_CPU_BENDIAN | 71 //#define SK_CPU_BENDIAN |
65 //#define SK_CPU_LENDIAN | 72 //#define SK_CPU_LENDIAN |
66 | 73 |
67 /* Most compilers use the same bit endianness for bit flags in a byte as the | 74 /* Most compilers use the same bit endianness for bit flags in a byte as the |
68 system byte endianness, and this is the default. If for some reason this | 75 system byte endianness, and this is the default. If for some reason this |
69 needs to be overridden, specify which of the mutually exclusive flags to | 76 needs to be overridden, specify which of the mutually exclusive flags to |
70 use. For example, some atom processors in certain configurations have big | 77 use. For example, some atom processors in certain configurations have big |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 /* 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, |
141 * 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 |
142 * hidden behind this #define guard. If you are feeling adventurous and | 149 * hidden behind this #define guard. If you are feeling adventurous and |
143 * want the latest and greatest PDF generation code, uncomment the #define. | 150 * want the latest and greatest PDF generation code, uncomment the #define. |
144 * 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 |
145 * define should be removed entirely. | 152 * define should be removed entirely. |
146 */ | 153 */ |
147 //#define SK_PDF_USE_PATHOPS_CLIPPING | 154 //#define SK_PDF_USE_PATHOPS_CLIPPING |
148 | 155 |
149 #endif | 156 #endif |
OLD | NEW |