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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 | 232 |
233 /* In some places Skia can use static initializers for global initialization, | 233 /* In some places Skia can use static initializers for global initialization, |
234 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 234 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
235 */ | 235 */ |
236 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 236 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
237 | 237 |
238 /* This flag forces Skia not to use typographic metrics with GDI. | 238 /* This flag forces Skia not to use typographic metrics with GDI. |
239 */ | 239 */ |
240 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 240 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
241 | 241 |
| 242 /* Restrict formats for Skia font matching to SFNT type fonts. */ |
| 243 #define SK_FONT_CONFIG_INTERFACE_ONLY_ALLOW_SFNT_FONTS |
| 244 |
242 #define SK_IGNORE_BLURRED_RRECT_OPT | 245 #define SK_IGNORE_BLURRED_RRECT_OPT |
243 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE | 246 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE |
244 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT | 247 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT |
245 | 248 |
246 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 249 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
247 #define SK_ENABLE_INST_COUNT 0 | 250 #define SK_ENABLE_INST_COUNT 0 |
248 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 251 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
249 | 252 |
250 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 253 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
251 #define SK_SUPPORT_LEGACY_X86_BLITS | 254 #define SK_SUPPORT_LEGACY_X86_BLITS |
252 | 255 |
253 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 256 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
254 | 257 |
255 // Updating to a correct SkPMColor lerp will require layout test rebaselines. | 258 // Updating to a correct SkPMColor lerp will require layout test rebaselines. |
256 #define SK_SUPPORT_LEGACY_BROKEN_LERP | 259 #define SK_SUPPORT_LEGACY_BROKEN_LERP |
257 | 260 |
258 // ===== End Chrome-specific definitions ===== | 261 // ===== End Chrome-specific definitions ===== |
259 | 262 |
260 #endif | 263 #endif |
OLD | NEW |