| 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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 #endif | 229 #endif |
| 230 | 230 |
| 231 #ifndef SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS | 231 #ifndef SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS |
| 232 # define SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS | 232 # define SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS |
| 233 #endif | 233 #endif |
| 234 | 234 |
| 235 #ifndef SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF | 235 #ifndef SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF |
| 236 # define SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF | 236 # define SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF |
| 237 #endif | 237 #endif |
| 238 | 238 |
| 239 // Remove this after we fixed all the issues related to the new SDF algorithm |
| 240 // (https://codereview.chromium.org/1643143002) |
| 241 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS |
| 242 # define SK_USE_LEGACY_DISTANCE_FIELDS |
| 243 #endif |
| 244 |
| 239 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 245 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
| 240 | 246 |
| 241 /* In some places Skia can use static initializers for global initialization, | 247 /* In some places Skia can use static initializers for global initialization, |
| 242 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 248 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
| 243 */ | 249 */ |
| 244 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 250 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
| 245 | 251 |
| 246 /* This flag forces Skia not to use typographic metrics with GDI. | 252 /* This flag forces Skia not to use typographic metrics with GDI. |
| 247 */ | 253 */ |
| 248 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 254 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
| (...skipping 16 matching lines...) Expand all Loading... |
| 265 | 271 |
| 266 // Updating to a correct SkPMColor lerp will require layout test rebaselines. | 272 // Updating to a correct SkPMColor lerp will require layout test rebaselines. |
| 267 #define SK_SUPPORT_LEGACY_BROKEN_LERP | 273 #define SK_SUPPORT_LEGACY_BROKEN_LERP |
| 268 | 274 |
| 269 // Enabling the screenspace AA tessellating path renderer needs rebaselines. | 275 // Enabling the screenspace AA tessellating path renderer needs rebaselines. |
| 270 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER | 276 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER |
| 271 | 277 |
| 272 // ===== End Chrome-specific definitions ===== | 278 // ===== End Chrome-specific definitions ===== |
| 273 | 279 |
| 274 #endif | 280 #endif |
| OLD | NEW |