Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: include/config/SkUserConfig.h

Issue 1648343003: Consolidate SK_CRASH and sk_throw into SK_ABORT (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gm/textblob.cpp ('k') | include/core/SkPostConfig.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
68 /* preconfig will have attempted to determine the endianness of the system, 61 /* preconfig will have attempted to determine the endianness of the system,
69 but you can change these mutually exclusive flags here. 62 but you can change these mutually exclusive flags here.
70 */ 63 */
71 //#define SK_CPU_BENDIAN 64 //#define SK_CPU_BENDIAN
72 //#define SK_CPU_LENDIAN 65 //#define SK_CPU_LENDIAN
73 66
74 /* Most compilers use the same bit endianness for bit flags in a byte as the 67 /* Most compilers use the same bit endianness for bit flags in a byte as the
75 system byte endianness, and this is the default. If for some reason this 68 system byte endianness, and this is the default. If for some reason this
76 needs to be overridden, specify which of the mutually exclusive flags to 69 needs to be overridden, specify which of the mutually exclusive flags to
77 use. For example, some atom processors in certain configurations have big 70 use. For example, some atom processors in certain configurations have big
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 /* The PDF generation code uses Path Ops to handle complex clipping paths, 140 /* The PDF generation code uses Path Ops to handle complex clipping paths,
148 * but at this time, Path Ops is not release ready yet. So, the code is 141 * but at this time, Path Ops is not release ready yet. So, the code is
149 * hidden behind this #define guard. If you are feeling adventurous and 142 * hidden behind this #define guard. If you are feeling adventurous and
150 * want the latest and greatest PDF generation code, uncomment the #define. 143 * want the latest and greatest PDF generation code, uncomment the #define.
151 * When Path Ops is release ready, the define guards and this user config 144 * When Path Ops is release ready, the define guards and this user config
152 * define should be removed entirely. 145 * define should be removed entirely.
153 */ 146 */
154 //#define SK_PDF_USE_PATHOPS_CLIPPING 147 //#define SK_PDF_USE_PATHOPS_CLIPPING
155 148
156 #endif 149 #endif
OLDNEW
« no previous file with comments | « gm/textblob.cpp ('k') | include/core/SkPostConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698