OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 The Android Open Source Project | 2 * Copyright (C) 2006 The Android Open Source Project |
3 * | 3 * |
4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
7 * | 7 * |
8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
9 * | 9 * |
10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 them, but modern PDF interpreters should handle them just fine. | 116 them, but modern PDF interpreters should handle them just fine. |
117 */ | 117 */ |
118 //#define SK_ALLOW_LARGE_PDF_SCALARS | 118 //#define SK_ALLOW_LARGE_PDF_SCALARS |
119 | 119 |
120 /* Define this to provide font subsetter for font subsetting when generating | 120 /* Define this to provide font subsetter for font subsetting when generating |
121 PDF documents. | 121 PDF documents. |
122 */ | 122 */ |
123 #define SK_SFNTLY_SUBSETTER \ | 123 #define SK_SFNTLY_SUBSETTER \ |
124 "third_party/sfntly/cpp/src/sample/chromium/font_subsetter.h" | 124 "third_party/sfntly/cpp/src/sample/chromium/font_subsetter.h" |
125 | 125 |
126 /* Define this to remove dimension checks on bitmaps. Not all blits will be | |
127 correct yet, so this is mostly for debugging the implementation. | |
128 */ | |
129 //#define SK_ALLOW_OVER_32K_BITMAPS | |
130 | |
131 | |
132 /* To write debug messages to a console, skia will call SkDebugf(...) following | 126 /* To write debug messages to a console, skia will call SkDebugf(...) following |
133 printf conventions (e.g. const char* format, ...). If you want to redirect | 127 printf conventions (e.g. const char* format, ...). If you want to redirect |
134 this to something other than printf, define yours here | 128 this to something other than printf, define yours here |
135 */ | 129 */ |
136 //#define SkDebugf(...) MyFunction(__VA_ARGS__) | 130 //#define SkDebugf(...) MyFunction(__VA_ARGS__) |
137 | 131 |
138 | 132 |
139 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST | 133 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST |
140 which will run additional self-tests at startup. These can take a long time, | 134 which will run additional self-tests at startup. These can take a long time, |
141 so this flag is optional. | 135 so this flag is optional. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 // assertion. | 229 // assertion. |
236 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") | 230 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") |
237 | 231 |
238 // Uncomment the following line to forward skia trace events to Chrome | 232 // Uncomment the following line to forward skia trace events to Chrome |
239 // tracing. | 233 // tracing. |
240 // #define SK_USER_TRACE_INCLUDE_FILE "skia/ext/skia_trace_shim.h" | 234 // #define SK_USER_TRACE_INCLUDE_FILE "skia/ext/skia_trace_shim.h" |
241 | 235 |
242 // ===== End Chrome-specific definitions ===== | 236 // ===== End Chrome-specific definitions ===== |
243 | 237 |
244 #endif | 238 #endif |
OLD | NEW |