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

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

Issue 2821883002: add flag to stop using deprecated variants of SkCanvas::readPixels (Closed)
Patch Set: Created 3 years, 8 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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 // Remove this after we fixed all the issues related to the new SDF algorithm 213 // Remove this after we fixed all the issues related to the new SDF algorithm
214 // (https://codereview.chromium.org/1643143002) 214 // (https://codereview.chromium.org/1643143002)
215 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS 215 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS
216 # define SK_USE_LEGACY_DISTANCE_FIELDS 216 # define SK_USE_LEGACY_DISTANCE_FIELDS
217 #endif 217 #endif
218 218
219 #ifndef SK_DISABLE_DEFERRED_PROXIES 219 #ifndef SK_DISABLE_DEFERRED_PROXIES
220 #define SK_DISABLE_DEFERRED_PROXIES 220 #define SK_DISABLE_DEFERRED_PROXIES
221 #endif 221 #endif
222 222
223 #ifndef SK_SUPPORT_LEGACY_CANVAS_READPIXELS
224 #define SK_SUPPORT_LEGACY_CANVAS_READPIXELS
225 #endif
226
223 #ifndef SK_LEGACY_SWEEP_GRADIENT 227 #ifndef SK_LEGACY_SWEEP_GRADIENT
224 #define SK_LEGACY_SWEEP_GRADIENT 228 #define SK_LEGACY_SWEEP_GRADIENT
225 #endif 229 #endif
226 230
227 #ifndef SK_SUPPORT_OBSOLETE_LOCKPIXELS 231 #ifndef SK_SUPPORT_OBSOLETE_LOCKPIXELS
228 #define SK_SUPPORT_OBSOLETE_LOCKPIXELS 232 #define SK_SUPPORT_OBSOLETE_LOCKPIXELS
229 #endif 233 #endif
230 234
231 ///////////////////////// Imported from BUILD.gn and skia_common.gypi 235 ///////////////////////// Imported from BUILD.gn and skia_common.gypi
232 236
(...skipping 18 matching lines...) Expand all
251 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" 255 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h"
252 256
253 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done. 257 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done.
254 #define SK_SUPPORT_LEGACY_X86_BLITS 258 #define SK_SUPPORT_LEGACY_X86_BLITS
255 259
256 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION 260 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION
257 261
258 // ===== End Chrome-specific definitions ===== 262 // ===== End Chrome-specific definitions =====
259 263
260 #endif 264 #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