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

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

Issue 2536643004: Remove obsolete flag and add guard flag for AAA (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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 #endif 221 #endif
222 222
223 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC 223 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC
224 # define SK_SUPPORT_LEGACY_EVAL_CUBIC 224 # define SK_SUPPORT_LEGACY_EVAL_CUBIC
225 #endif 225 #endif
226 226
227 #ifndef SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS 227 #ifndef SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS
228 # define SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS 228 # define SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS
229 #endif 229 #endif
230 230
231 #ifndef SK_ANALYTIC_AA 231 #ifndef SK_ANALYTIC_AA_GUARD
f(malita) 2016/11/29 14:44:09 naming nit: maybe something like SK_SUPPORT_LEGACY
232 # define SK_ANALYTIC_AA 232 # define SK_ANALYTIC_AA_GUARD
233 #endif 233 #endif
234 234
235 ///////////////////////// Imported from BUILD.gn and skia_common.gypi 235 ///////////////////////// Imported from BUILD.gn and skia_common.gypi
236 236
237 /* In some places Skia can use static initializers for global initialization, 237 /* In some places Skia can use static initializers for global initialization,
238 * or fall back to lazy runtime initialization. Chrome always wants the latter. 238 * or fall back to lazy runtime initialization. Chrome always wants the latter.
239 */ 239 */
240 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 240 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0
241 241
242 /* This flag forces Skia not to use typographic metrics with GDI. 242 /* This flag forces Skia not to use typographic metrics with GDI.
(...skipping 18 matching lines...) Expand all
261 261
262 // Updating to a correct SkPMColor lerp will require layout test rebaselines. 262 // Updating to a correct SkPMColor lerp will require layout test rebaselines.
263 #define SK_SUPPORT_LEGACY_BROKEN_LERP 263 #define SK_SUPPORT_LEGACY_BROKEN_LERP
264 264
265 // Enabling the screenspace AA tessellating path renderer needs rebaselines. 265 // Enabling the screenspace AA tessellating path renderer needs rebaselines.
266 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER 266 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER
267 267
268 // ===== End Chrome-specific definitions ===== 268 // ===== End Chrome-specific definitions =====
269 269
270 #endif 270 #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