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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 #endif | 221 #endif |
222 | 222 |
223 #ifndef SK_SUPPORT_LEGACY_PATHEFFECT_SUBCLASSES | 223 #ifndef SK_SUPPORT_LEGACY_PATHEFFECT_SUBCLASSES |
224 #define SK_SUPPORT_LEGACY_PATHEFFECT_SUBCLASSES | 224 #define SK_SUPPORT_LEGACY_PATHEFFECT_SUBCLASSES |
225 #endif | 225 #endif |
226 | 226 |
227 #ifndef SK_DISABLE_DEFERRED_PROXIES | 227 #ifndef SK_DISABLE_DEFERRED_PROXIES |
228 #define SK_DISABLE_DEFERRED_PROXIES | 228 #define SK_DISABLE_DEFERRED_PROXIES |
229 #endif | 229 #endif |
230 | 230 |
| 231 #ifndef SK_SUPPORT_LEGACY_DRAWVERTICES_VIRTUAL |
| 232 #define SK_SUPPORT_LEGACY_DRAWVERTICES_VIRTUAL |
| 233 #endif |
| 234 |
231 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 235 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
232 | 236 |
233 /* In some places Skia can use static initializers for global initialization, | 237 /* In some places Skia can use static initializers for global initialization, |
234 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 238 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
235 */ | 239 */ |
236 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 240 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
237 | 241 |
238 /* This flag forces Skia not to use typographic metrics with GDI. | 242 /* This flag forces Skia not to use typographic metrics with GDI. |
239 */ | 243 */ |
240 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 244 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
(...skipping 10 matching lines...) Expand all Loading... |
251 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 255 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
252 | 256 |
253 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 257 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
254 #define SK_SUPPORT_LEGACY_X86_BLITS | 258 #define SK_SUPPORT_LEGACY_X86_BLITS |
255 | 259 |
256 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 260 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
257 | 261 |
258 // ===== End Chrome-specific definitions ===== | 262 // ===== End Chrome-specific definitions ===== |
259 | 263 |
260 #endif | 264 #endif |
OLD | NEW |