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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 | 83 |
84 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow | 84 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow |
85 them, but modern PDF interpreters should handle them just fine. | 85 them, but modern PDF interpreters should handle them just fine. |
86 */ | 86 */ |
87 //#define SK_ALLOW_LARGE_PDF_SCALARS | 87 //#define SK_ALLOW_LARGE_PDF_SCALARS |
88 | 88 |
89 /* Define this to provide font subsetter for font subsetting when generating | 89 /* Define this to provide font subsetter for font subsetting when generating |
90 PDF documents. | 90 PDF documents. |
91 */ | 91 */ |
92 #define SK_SFNTLY_SUBSETTER \ | 92 #define SK_SFNTLY_SUBSETTER \ |
93 "third_party/sfntly/cpp/src/sample/chromium/font_subsetter.h" | 93 "third_party/sfntly/src/cpp/src/sample/chromium/font_subsetter.h" |
94 | 94 |
95 /* To write debug messages to a console, skia will call SkDebugf(...) following | 95 /* To write debug messages to a console, skia will call SkDebugf(...) following |
96 printf conventions (e.g. const char* format, ...). If you want to redirect | 96 printf conventions (e.g. const char* format, ...). If you want to redirect |
97 this to something other than printf, define yours here | 97 this to something other than printf, define yours here |
98 */ | 98 */ |
99 //#define SkDebugf(...) MyFunction(__VA_ARGS__) | 99 //#define SkDebugf(...) MyFunction(__VA_ARGS__) |
100 | 100 |
101 | 101 |
102 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST | 102 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST |
103 which will run additional self-tests at startup. These can take a long time, | 103 which will run additional self-tests at startup. These can take a long time, |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE | 246 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE |
247 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT | 247 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT |
248 | 248 |
249 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 249 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
250 #define SK_ENABLE_INST_COUNT 0 | 250 #define SK_ENABLE_INST_COUNT 0 |
251 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 251 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
252 | 252 |
253 // ===== End Chrome-specific definitions ===== | 253 // ===== End Chrome-specific definitions ===== |
254 | 254 |
255 #endif | 255 #endif |
OLD | NEW |