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

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

Issue 2716013002: don't use deprecated helper methods on SkCanvas (Closed)
Patch Set: rebase Created 3 years, 9 months 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 | « content/renderer/sad_plugin.cc ('k') | ui/views/painter.cc » ('j') | 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 // Remove this after we fixed all the issues related to the new SDF algorithm 217 // Remove this after we fixed all the issues related to the new SDF algorithm
218 // (https://codereview.chromium.org/1643143002) 218 // (https://codereview.chromium.org/1643143002)
219 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS 219 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS
220 # define SK_USE_LEGACY_DISTANCE_FIELDS 220 # define SK_USE_LEGACY_DISTANCE_FIELDS
221 #endif 221 #endif
222 222
223 #ifndef SK_SUPPORT_LEGACY_CLIPOP_EXOTIC_NAMES 223 #ifndef SK_SUPPORT_LEGACY_CLIPOP_EXOTIC_NAMES
224 # define SK_SUPPORT_LEGACY_CLIPOP_EXOTIC_NAMES 224 # define SK_SUPPORT_LEGACY_CLIPOP_EXOTIC_NAMES
225 #endif 225 #endif
226 226
227 #ifndef SK_SUPPORT_LEGACY_CANVAS_HELPERS
228 #define SK_SUPPORT_LEGACY_CANVAS_HELPERS
229 #endif
230
231 ///////////////////////// Imported from BUILD.gn and skia_common.gypi 227 ///////////////////////// Imported from BUILD.gn and skia_common.gypi
232 228
233 /* In some places Skia can use static initializers for global initialization, 229 /* In some places Skia can use static initializers for global initialization,
234 * or fall back to lazy runtime initialization. Chrome always wants the latter. 230 * or fall back to lazy runtime initialization. Chrome always wants the latter.
235 */ 231 */
236 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 232 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0
237 233
238 /* This flag forces Skia not to use typographic metrics with GDI. 234 /* This flag forces Skia not to use typographic metrics with GDI.
239 */ 235 */
240 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS 236 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS
(...skipping 17 matching lines...) Expand all
258 // Updating to a correct SkPMColor lerp will require layout test rebaselines. 254 // Updating to a correct SkPMColor lerp will require layout test rebaselines.
259 #define SK_SUPPORT_LEGACY_BROKEN_LERP 255 #define SK_SUPPORT_LEGACY_BROKEN_LERP
260 256
261 #ifndef SK_SUPPORT_LEGACY_AAA 257 #ifndef SK_SUPPORT_LEGACY_AAA
262 # define SK_SUPPORT_LEGACY_AAA 258 # define SK_SUPPORT_LEGACY_AAA
263 #endif 259 #endif
264 260
265 // ===== End Chrome-specific definitions ===== 261 // ===== End Chrome-specific definitions =====
266 262
267 #endif 263 #endif
OLDNEW
« no previous file with comments | « content/renderer/sad_plugin.cc ('k') | ui/views/painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698