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 19 matching lines...) Expand all Loading... |
30 Below are optional defines that add, subtract, or change default behavior | 30 Below are optional defines that add, subtract, or change default behavior |
31 in Skia. Your port can locally edit this file to enable/disable flags as | 31 in Skia. Your port can locally edit this file to enable/disable flags as |
32 you choose, or these can be delared on your command line (i.e. -Dfoo). | 32 you choose, or these can be delared on your command line (i.e. -Dfoo). |
33 | 33 |
34 By default, this include file will always default to having all of the flags | 34 By default, this include file will always default to having all of the flags |
35 commented out, so including it will have no effect. | 35 commented out, so including it will have no effect. |
36 */ | 36 */ |
37 | 37 |
38 /////////////////////////////////////////////////////////////////////////////// | 38 /////////////////////////////////////////////////////////////////////////////// |
39 | 39 |
40 /* Scalars (the fractional value type in skia) can be implemented either as | |
41 floats or 16.16 integers (fixed). Exactly one of these two symbols must be | |
42 defined. | |
43 */ | |
44 //#define SK_SCALAR_IS_FLOAT | |
45 //#define SK_SCALAR_IS_FIXED | |
46 | |
47 | |
48 /* Skia has lots of debug-only code. Often this is just null checks or other | 40 /* Skia has lots of debug-only code. Often this is just null checks or other |
49 parameter checking, but sometimes it can be quite intrusive (e.g. check that | 41 parameter checking, but sometimes it can be quite intrusive (e.g. check that |
50 each 32bit pixel is in premultiplied form). This code can be very useful | 42 each 32bit pixel is in premultiplied form). This code can be very useful |
51 during development, but will slow things down in a shipping product. | 43 during development, but will slow things down in a shipping product. |
52 | 44 |
53 By default, these mutually exclusive flags are defined in SkPreConfig.h, | 45 By default, these mutually exclusive flags are defined in SkPreConfig.h, |
54 based on the presence or absence of NDEBUG, but that decision can be changed | 46 based on the presence or absence of NDEBUG, but that decision can be changed |
55 here. | 47 here. |
56 */ | 48 */ |
57 //#define SK_DEBUG | 49 //#define SK_DEBUG |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 /* The PDF generation code uses Path Ops to generate inverse fills and complex | 180 /* The PDF generation code uses Path Ops to generate inverse fills and complex |
189 * clipping paths, but at this time, Path Ops is not release ready yet. So, | 181 * clipping paths, but at this time, Path Ops is not release ready yet. So, |
190 * the code is hidden behind this #define guard. If you are feeling adventurous | 182 * the code is hidden behind this #define guard. If you are feeling adventurous |
191 * and want the latest and greatest PDF generation code, uncomment the #define. | 183 * and want the latest and greatest PDF generation code, uncomment the #define. |
192 * When Path Ops is release ready, the define guards and this user config | 184 * When Path Ops is release ready, the define guards and this user config |
193 * define should be removed entirely. | 185 * define should be removed entirely. |
194 */ | 186 */ |
195 //#define SK_PDF_USE_PATHOPS | 187 //#define SK_PDF_USE_PATHOPS |
196 | 188 |
197 #endif | 189 #endif |
OLD | NEW |