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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 #endif | 262 #endif |
263 | 263 |
264 #ifndef SK_SUPPORT_LEGACY_ADDOVAL | 264 #ifndef SK_SUPPORT_LEGACY_ADDOVAL |
265 # define SK_SUPPORT_LEGACY_ADDOVAL | 265 # define SK_SUPPORT_LEGACY_ADDOVAL |
266 #endif | 266 #endif |
267 | 267 |
268 #ifndef SK_SUPPORT_LEGACY_ADDRRECT | 268 #ifndef SK_SUPPORT_LEGACY_ADDRRECT |
269 # define SK_SUPPORT_LEGACY_ADDRRECT | 269 # define SK_SUPPORT_LEGACY_ADDRRECT |
270 #endif | 270 #endif |
271 | 271 |
| 272 #ifndef SK_SUPPORT_LEGACY_CONIC_COMPUTE_QUAD_POW2 |
| 273 # define SK_SUPPORT_LEGACY_CONIC_COMPUTE_QUAD_POW2 |
| 274 #endif |
| 275 |
272 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 276 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
273 | 277 |
274 /* In some places Skia can use static initializers for global initialization, | 278 /* In some places Skia can use static initializers for global initialization, |
275 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 279 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
276 */ | 280 */ |
277 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 281 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
278 | 282 |
279 /* Forcing the unoptimized path for the offset image filter in skia until | 283 /* Forcing the unoptimized path for the offset image filter in skia until |
280 * all filters used in Blink support the optimized path properly | 284 * all filters used in Blink support the optimized path properly |
281 */ | 285 */ |
282 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION | 286 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION |
283 | 287 |
284 /* This flag forces Skia not to use typographic metrics with GDI. | 288 /* This flag forces Skia not to use typographic metrics with GDI. |
285 */ | 289 */ |
286 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 290 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
287 | 291 |
288 #define IGNORE_ROT_AA_RECT_OPT | 292 #define IGNORE_ROT_AA_RECT_OPT |
289 #define SK_IGNORE_BLURRED_RRECT_OPT | 293 #define SK_IGNORE_BLURRED_RRECT_OPT |
290 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE | 294 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE |
291 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT | 295 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT |
292 | 296 |
293 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 297 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
294 #define SK_ENABLE_INST_COUNT 0 | 298 #define SK_ENABLE_INST_COUNT 0 |
295 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 299 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
296 | 300 |
297 // ===== End Chrome-specific definitions ===== | 301 // ===== End Chrome-specific definitions ===== |
298 | 302 |
299 #endif | 303 #endif |
OLD | NEW |