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

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

Issue 2875043004: remove unneeded SK_SUPPORT_DEPRECATED_CLIPOPS flag (Closed)
Patch Set: Created 3 years, 7 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 | « 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 #endif 209 #endif
210 210
211 #ifndef SK_DISABLE_DEFERRED_PROXIES 211 #ifndef SK_DISABLE_DEFERRED_PROXIES
212 #define SK_DISABLE_DEFERRED_PROXIES 212 #define SK_DISABLE_DEFERRED_PROXIES
213 #endif 213 #endif
214 214
215 #ifndef SK_LEGACY_SWEEP_GRADIENT 215 #ifndef SK_LEGACY_SWEEP_GRADIENT
216 #define SK_LEGACY_SWEEP_GRADIENT 216 #define SK_LEGACY_SWEEP_GRADIENT
217 #endif 217 #endif
218 218
219 #ifndef SK_SUPPORT_DEPRECATED_CLIPOPS
220 #define SK_SUPPORT_DEPRECATED_CLIPOPS
221 #endif
222
223 ///////////////////////// Imported from BUILD.gn and skia_common.gypi 219 ///////////////////////// Imported from BUILD.gn and skia_common.gypi
224 220
225 /* In some places Skia can use static initializers for global initialization, 221 /* In some places Skia can use static initializers for global initialization,
226 * or fall back to lazy runtime initialization. Chrome always wants the latter. 222 * or fall back to lazy runtime initialization. Chrome always wants the latter.
227 */ 223 */
228 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 224 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0
229 225
230 /* This flag forces Skia not to use typographic metrics with GDI. 226 /* This flag forces Skia not to use typographic metrics with GDI.
231 */ 227 */
232 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS 228 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS
233 229
234 /* Restrict formats for Skia font matching to SFNT type fonts. */ 230 /* Restrict formats for Skia font matching to SFNT type fonts. */
235 #define SK_FONT_CONFIG_INTERFACE_ONLY_ALLOW_SFNT_FONTS 231 #define SK_FONT_CONFIG_INTERFACE_ONLY_ALLOW_SFNT_FONTS
236 232
237 #define SK_IGNORE_BLURRED_RRECT_OPT 233 #define SK_IGNORE_BLURRED_RRECT_OPT
238 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE 234 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE
239 235
240 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 236 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1
241 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" 237 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h"
242 238
243 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done. 239 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done.
244 #define SK_SUPPORT_LEGACY_X86_BLITS 240 #define SK_SUPPORT_LEGACY_X86_BLITS
245 241
246 // ===== End Chrome-specific definitions ===== 242 // ===== End Chrome-specific definitions =====
247 243
248 #endif 244 #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