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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 #endif | 239 #endif |
240 | 240 |
241 #ifndef SK_SUPPORT_LEGACY_VERTICAL_EDGE | 241 #ifndef SK_SUPPORT_LEGACY_VERTICAL_EDGE |
242 # define SK_SUPPORT_LEGACY_VERTICAL_EDGE | 242 # define SK_SUPPORT_LEGACY_VERTICAL_EDGE |
243 #endif | 243 #endif |
244 | 244 |
245 #ifndef SK_SUPPORT_LEGACY_INSERT_NEW_EDGES | 245 #ifndef SK_SUPPORT_LEGACY_INSERT_NEW_EDGES |
246 # define SK_SUPPORT_LEGACY_INSERT_NEW_EDGES | 246 # define SK_SUPPORT_LEGACY_INSERT_NEW_EDGES |
247 #endif | 247 #endif |
248 | 248 |
| 249 #ifndef SK_SUPPORT_LEGACY_NEG_SCALE_HQ |
| 250 # define SK_SUPPORT_LEGACY_NEG_SCALE_HQ |
| 251 #endif |
249 | 252 |
250 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 253 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
251 | 254 |
252 /* In some places Skia can use static initializers for global initialization, | 255 /* In some places Skia can use static initializers for global initialization, |
253 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 256 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
254 */ | 257 */ |
255 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 258 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
256 | 259 |
257 /* This flag forces Skia not to use typographic metrics with GDI. | 260 /* This flag forces Skia not to use typographic metrics with GDI. |
258 */ | 261 */ |
(...skipping 14 matching lines...) Expand all Loading... |
273 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 276 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
274 | 277 |
275 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 278 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
276 #define SK_SUPPORT_LEGACY_X86_BLITS | 279 #define SK_SUPPORT_LEGACY_X86_BLITS |
277 | 280 |
278 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 281 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
279 | 282 |
280 // ===== End Chrome-specific definitions ===== | 283 // ===== End Chrome-specific definitions ===== |
281 | 284 |
282 #endif | 285 #endif |
OLD | NEW |