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

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

Issue 1316243002: Define SK_SAVE_LAYER_BOUNDS_ARE_FILTERED for an upcoming Skia change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a TODO Created 5 years, 3 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 | « cc/playback/filter_display_item.cc ('k') | 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 #endif 219 #endif
220 220
221 #ifndef SK_IGNORE_GPU_DITHER 221 #ifndef SK_IGNORE_GPU_DITHER
222 # define SK_IGNORE_GPU_DITHER 222 # define SK_IGNORE_GPU_DITHER
223 #endif 223 #endif
224 224
225 #ifndef SK_SUPPORT_LEGACY_SHADERBITMAPTYPE 225 #ifndef SK_SUPPORT_LEGACY_SHADERBITMAPTYPE
226 # define SK_SUPPORT_LEGACY_SHADERBITMAPTYPE 226 # define SK_SUPPORT_LEGACY_SHADERBITMAPTYPE
227 #endif 227 #endif
228 228
229 #ifndef SK_SAVE_LAYER_BOUNDS_ARE_FILTERED
230 # define SK_SAVE_LAYER_BOUNDS_ARE_FILTERED
231 #endif
232
229 ///////////////////////// Imported from BUILD.gn and skia_common.gypi 233 ///////////////////////// Imported from BUILD.gn and skia_common.gypi
230 234
231 /* In some places Skia can use static initializers for global initialization, 235 /* In some places Skia can use static initializers for global initialization,
232 * or fall back to lazy runtime initialization. Chrome always wants the latter. 236 * or fall back to lazy runtime initialization. Chrome always wants the latter.
233 */ 237 */
234 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 238 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0
235 239
236 /* Forcing the unoptimized path for the offset image filter in skia until 240 /* Forcing the unoptimized path for the offset image filter in skia until
237 * all filters used in Blink support the optimized path properly 241 * all filters used in Blink support the optimized path properly
238 */ 242 */
239 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION 243 #define SK_DISABLE_OFFSETIMAGEFILTER_OPTIMIZATION
240 244
241 /* This flag forces Skia not to use typographic metrics with GDI. 245 /* This flag forces Skia not to use typographic metrics with GDI.
242 */ 246 */
243 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS 247 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS
244 248
245 #define SK_IGNORE_BLURRED_RRECT_OPT 249 #define SK_IGNORE_BLURRED_RRECT_OPT
246 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE 250 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE
247 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT 251 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT
248 252
249 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 253 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1
250 #define SK_ENABLE_INST_COUNT 0 254 #define SK_ENABLE_INST_COUNT 0
251 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" 255 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h"
252 256
253 // ===== End Chrome-specific definitions ===== 257 // ===== End Chrome-specific definitions =====
254 258
255 #endif 259 #endif
OLDNEW
« no previous file with comments | « cc/playback/filter_display_item.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698