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