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

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

Issue 1644703002: Disable deprecated Skia xfermodes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 # define SK_SUPPORT_LEGACY_BITMAP_FILTER 238 # define SK_SUPPORT_LEGACY_BITMAP_FILTER
239 #endif 239 #endif
240 240
241 ///////////////////////// Imported from BUILD.gn and skia_common.gypi 241 ///////////////////////// Imported from BUILD.gn and skia_common.gypi
242 242
243 /* In some places Skia can use static initializers for global initialization, 243 /* In some places Skia can use static initializers for global initialization,
244 * or fall back to lazy runtime initialization. Chrome always wants the latter. 244 * or fall back to lazy runtime initialization. Chrome always wants the latter.
245 */ 245 */
246 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 246 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0
247 247
248 /* Don't include the xfermodes deprecated in Skia
249 */
250 #define SK_INCLUDE_DEPRECATED_XFERMODES 0
251
248 /* This flag forces Skia not to use typographic metrics with GDI. 252 /* This flag forces Skia not to use typographic metrics with GDI.
249 */ 253 */
250 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS 254 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS
251 255
252 #ifndef SK_IGNORE_GL_TEXTURE_TARGET 256 #ifndef SK_IGNORE_GL_TEXTURE_TARGET
253 # define SK_IGNORE_GL_TEXTURE_TARGET 257 # define SK_IGNORE_GL_TEXTURE_TARGET
254 #endif 258 #endif
255 #define SK_IGNORE_BLURRED_RRECT_OPT 259 #define SK_IGNORE_BLURRED_RRECT_OPT
256 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE 260 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE
257 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT 261 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT
258 262
259 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 263 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1
260 #define SK_ENABLE_INST_COUNT 0 264 #define SK_ENABLE_INST_COUNT 0
261 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" 265 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h"
262 266
263 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB its. 267 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB its.
264 #define SK_SUPPORT_LEGACY_DIVBITS_UB 268 #define SK_SUPPORT_LEGACY_DIVBITS_UB
265 269
266 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done. 270 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done.
267 #define SK_SUPPORT_LEGACY_X86_BLITS 271 #define SK_SUPPORT_LEGACY_X86_BLITS
268 272
269 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION 273 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION
270 274
271 // ===== End Chrome-specific definitions ===== 275 // ===== End Chrome-specific definitions =====
272 276
273 #endif 277 #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