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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 | 234 |
235 /* Forcing the unoptimized path for the offset image filter in skia until | 235 /* Forcing the unoptimized path for the offset image filter in skia until |
236 * all filters used in Blink support the optimized path properly | 236 * all filters used in Blink support the optimized path properly |
237 */ | 237 */ |
238 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION | 238 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION |
239 | 239 |
240 /* This flag forces Skia not to use typographic metrics with GDI. | 240 /* This flag forces Skia not to use typographic metrics with GDI. |
241 */ | 241 */ |
242 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 242 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
243 | 243 |
| 244 #ifndef SK_IGNORE_GL_TEXTURE_TARGET |
| 245 # define SK_IGNORE_GL_TEXTURE_TARGET |
| 246 #endif |
244 #define SK_IGNORE_BLURRED_RRECT_OPT | 247 #define SK_IGNORE_BLURRED_RRECT_OPT |
245 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE | 248 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE |
246 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT | 249 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT |
247 | 250 |
248 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 251 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
249 #define SK_ENABLE_INST_COUNT 0 | 252 #define SK_ENABLE_INST_COUNT 0 |
250 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 253 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
251 | 254 |
252 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB
its. | 255 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB
its. |
253 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 256 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
254 | 257 |
255 // ===== End Chrome-specific definitions ===== | 258 // ===== End Chrome-specific definitions ===== |
256 | 259 |
257 #endif | 260 #endif |
OLD | NEW |