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 27 matching lines...) Expand all Loading... |
38 /////////////////////////////////////////////////////////////////////////////// | 38 /////////////////////////////////////////////////////////////////////////////// |
39 | 39 |
40 /* Scalars (the fractional value type in skia) can be implemented either as | 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 | 41 floats or 16.16 integers (fixed). Exactly one of these two symbols must be |
42 defined. | 42 defined. |
43 */ | 43 */ |
44 //#define SK_SCALAR_IS_FLOAT | 44 //#define SK_SCALAR_IS_FLOAT |
45 //#define SK_SCALAR_IS_FIXED | 45 //#define SK_SCALAR_IS_FIXED |
46 | 46 |
47 | 47 |
48 /* For some performance-critical scalar operations, skia will optionally work | |
49 around the standard float operators if it knows that the CPU does not have | |
50 native support for floats. If your environment uses software floating point, | |
51 define this flag. | |
52 */ | |
53 //#define SK_SOFTWARE_FLOAT | |
54 | |
55 | |
56 /* Skia has lots of debug-only code. Often this is just null checks or other | 48 /* Skia has lots of debug-only code. Often this is just null checks or other |
57 parameter checking, but sometimes it can be quite intrusive (e.g. check that | 49 parameter checking, but sometimes it can be quite intrusive (e.g. check that |
58 each 32bit pixel is in premultiplied form). This code can be very useful | 50 each 32bit pixel is in premultiplied form). This code can be very useful |
59 during development, but will slow things down in a shipping product. | 51 during development, but will slow things down in a shipping product. |
60 | 52 |
61 By default, these mutually exclusive flags are defined in SkPreConfig.h, | 53 By default, these mutually exclusive flags are defined in SkPreConfig.h, |
62 based on the presence or absence of NDEBUG, but that decision can be changed | 54 based on the presence or absence of NDEBUG, but that decision can be changed |
63 here. | 55 here. |
64 */ | 56 */ |
65 //#define SK_DEBUG | 57 //#define SK_DEBUG |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 /* The PDF generation code uses Path Ops to generate inverse fills and complex | 188 /* The PDF generation code uses Path Ops to generate inverse fills and complex |
197 * clipping paths, but at this time, Path Ops is not release ready yet. So, | 189 * clipping paths, but at this time, Path Ops is not release ready yet. So, |
198 * the code is hidden behind this #define guard. If you are feeling adventurous | 190 * the code is hidden behind this #define guard. If you are feeling adventurous |
199 * and want the latest and greatest PDF generation code, uncomment the #define. | 191 * and want the latest and greatest PDF generation code, uncomment the #define. |
200 * When Path Ops is release ready, the define guards and this user config | 192 * When Path Ops is release ready, the define guards and this user config |
201 * define should be removed entirely. | 193 * define should be removed entirely. |
202 */ | 194 */ |
203 //#define SK_PDF_USE_PATHOPS | 195 //#define SK_PDF_USE_PATHOPS |
204 | 196 |
205 #endif | 197 #endif |
OLD | NEW |