Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(312)

Side by Side Diff: skia/config/SkUserConfig.h

Issue 2581563004: Turn on SK_USE_LEGACY_DISTANCE_FIELDS (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698