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 #ifndef SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF | 239 #ifndef SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF |
240 # define SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF | 240 # define SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF |
241 #endif | 241 #endif |
242 | 242 |
243 // Remove this after we fixed all the issues related to the new SDF algorithm | 243 // Remove this after we fixed all the issues related to the new SDF algorithm |
244 // (https://codereview.chromium.org/1643143002) | 244 // (https://codereview.chromium.org/1643143002) |
245 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS | 245 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS |
246 # define SK_USE_LEGACY_DISTANCE_FIELDS | 246 # define SK_USE_LEGACY_DISTANCE_FIELDS |
247 #endif | 247 #endif |
248 | 248 |
| 249 #ifndef SK_SUPPORT_LEGACY_CLIPOP_EXOTIC_NAMES |
| 250 # define SK_SUPPORT_LEGACY_CLIPOP_EXOTIC_NAMES |
| 251 #endif |
| 252 |
249 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 253 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
250 | 254 |
251 /* In some places Skia can use static initializers for global initialization, | 255 /* In some places Skia can use static initializers for global initialization, |
252 * 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. |
253 */ | 257 */ |
254 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 258 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
255 | 259 |
256 /* This flag forces Skia not to use typographic metrics with GDI. | 260 /* This flag forces Skia not to use typographic metrics with GDI. |
257 */ | 261 */ |
258 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 262 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
(...skipping 16 matching lines...) Expand all Loading... |
275 | 279 |
276 // Updating to a correct SkPMColor lerp will require layout test rebaselines. | 280 // Updating to a correct SkPMColor lerp will require layout test rebaselines. |
277 #define SK_SUPPORT_LEGACY_BROKEN_LERP | 281 #define SK_SUPPORT_LEGACY_BROKEN_LERP |
278 | 282 |
279 // Enabling the screenspace AA tessellating path renderer needs rebaselines. | 283 // Enabling the screenspace AA tessellating path renderer needs rebaselines. |
280 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER | 284 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER |
281 | 285 |
282 // ===== End Chrome-specific definitions ===== | 286 // ===== End Chrome-specific definitions ===== |
283 | 287 |
284 #endif | 288 #endif |
OLD | NEW |