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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 | 88 |
89 /* | 89 /* |
90 * To specify the default size of the image cache, undefine this and set it to | 90 * To specify the default size of the image cache, undefine this and set it to |
91 * the desired value (in bytes). SkGraphics.h as a runtime API to set this | 91 * the desired value (in bytes). SkGraphics.h as a runtime API to set this |
92 * value as well. If this is undefined, a built-in value will be used. | 92 * value as well. If this is undefined, a built-in value will be used. |
93 */ | 93 */ |
94 //#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024) | 94 //#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024) |
95 | 95 |
96 /* Define this to provide font subsetter in PDF generation. | 96 /* Define this to provide font subsetter in PDF generation. |
97 */ | 97 */ |
98 //#define SK_SFNTLY_SUBSETTER "sfntly/subsetter/font_subsetter.h" | 98 //#define SK_SFNTLY_SUBSETTER "sample/chromium/font_subsetter.h" |
99 | 99 |
100 /* Define this to set the upper limit for text to support LCD. Values that | 100 /* Define this to set the upper limit for text to support LCD. Values that |
101 are very large increase the cost in the font cache and draw slower, without | 101 are very large increase the cost in the font cache and draw slower, without |
102 improving readability. If this is undefined, Skia will use its default | 102 improving readability. If this is undefined, Skia will use its default |
103 value (e.g. 48) | 103 value (e.g. 48) |
104 */ | 104 */ |
105 //#define SK_MAX_SIZE_FOR_LCDTEXT 48 | 105 //#define SK_MAX_SIZE_FOR_LCDTEXT 48 |
106 | 106 |
107 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST | 107 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST |
108 which will run additional self-tests at startup. These can take a long time, | 108 which will run additional self-tests at startup. These can take a long time, |
(...skipping 24 matching lines...) Expand all Loading... |
133 | 133 |
134 /* Skia makes use of histogram logging macros to trace the frequency of | 134 /* Skia makes use of histogram logging macros to trace the frequency of |
135 * events. By default, Skia provides no-op versions of these macros. | 135 * events. By default, Skia provides no-op versions of these macros. |
136 * Skia consumers can provide their own definitions of these macros to | 136 * Skia consumers can provide their own definitions of these macros to |
137 * integrate with their histogram collection backend. | 137 * integrate with their histogram collection backend. |
138 */ | 138 */ |
139 //#define SK_HISTOGRAM_BOOLEAN(name, value) | 139 //#define SK_HISTOGRAM_BOOLEAN(name, value) |
140 //#define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value) | 140 //#define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value) |
141 | 141 |
142 #endif | 142 #endif |
OLD | NEW |