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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 /* In some places Skia can use static initializers for global initialization, | 238 /* In some places Skia can use static initializers for global initialization, |
239 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 239 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
240 */ | 240 */ |
241 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 241 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
242 | 242 |
243 /* Forcing the unoptimized path for the offset image filter in skia until | 243 /* Forcing the unoptimized path for the offset image filter in skia until |
244 * all filters used in Blink support the optimized path properly | 244 * all filters used in Blink support the optimized path properly |
245 */ | 245 */ |
246 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION | 246 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION |
247 | 247 |
248 /* Disable tight bounds for saveLayer offscreens in Skia until rebaselining is d
one. | |
249 */ | |
250 #define SK_SUPPORT_SRC_BOUNDS_BLOAT_FOR_IMAGEFILTERS | |
251 | |
252 /* This flag forces Skia not to use typographic metrics with GDI. | 248 /* This flag forces Skia not to use typographic metrics with GDI. |
253 */ | 249 */ |
254 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 250 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
255 | 251 |
256 #ifndef SK_IGNORE_GL_TEXTURE_TARGET | 252 #ifndef SK_IGNORE_GL_TEXTURE_TARGET |
257 # define SK_IGNORE_GL_TEXTURE_TARGET | 253 # define SK_IGNORE_GL_TEXTURE_TARGET |
258 #endif | 254 #endif |
259 #define SK_IGNORE_BLURRED_RRECT_OPT | 255 #define SK_IGNORE_BLURRED_RRECT_OPT |
260 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE | 256 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE |
261 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT | 257 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT |
262 | 258 |
263 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 259 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
264 #define SK_ENABLE_INST_COUNT 0 | 260 #define SK_ENABLE_INST_COUNT 0 |
265 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 261 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
266 | 262 |
267 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB
its. | 263 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB
its. |
268 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 264 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
269 | 265 |
270 // ===== End Chrome-specific definitions ===== | 266 // ===== End Chrome-specific definitions ===== |
271 | 267 |
272 #endif | 268 #endif |
OLD | NEW |