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

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

Issue 2888603002: Replace uses of legacy SkImageGenerator API (Closed)
Patch Set: Use ternary 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
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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 #ifndef SK_IGNORE_GPU_DITHER 201 #ifndef SK_IGNORE_GPU_DITHER
202 # define SK_IGNORE_GPU_DITHER 202 # define SK_IGNORE_GPU_DITHER
203 #endif 203 #endif
204 204
205 // Remove this after we fixed all the issues related to the new SDF algorithm 205 // Remove this after we fixed all the issues related to the new SDF algorithm
206 // (https://codereview.chromium.org/1643143002) 206 // (https://codereview.chromium.org/1643143002)
207 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS 207 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS
208 # define SK_USE_LEGACY_DISTANCE_FIELDS 208 # define SK_USE_LEGACY_DISTANCE_FIELDS
209 #endif 209 #endif
210 210
211 #ifndef SK_SUPPORT_LEGACY_IMGEN_API
212 #define SK_SUPPORT_LEGACY_IMGEN_API
213 #endif
214
215 #ifndef SK_DISABLE_DEFERRED_PROXIES 211 #ifndef SK_DISABLE_DEFERRED_PROXIES
216 #define SK_DISABLE_DEFERRED_PROXIES 212 #define SK_DISABLE_DEFERRED_PROXIES
217 #endif 213 #endif
218 214
219 #ifndef SK_LEGACY_SWEEP_GRADIENT 215 #ifndef SK_LEGACY_SWEEP_GRADIENT
220 #define SK_LEGACY_SWEEP_GRADIENT 216 #define SK_LEGACY_SWEEP_GRADIENT
221 #endif 217 #endif
222 218
223 ///////////////////////// Imported from BUILD.gn and skia_common.gypi 219 ///////////////////////// Imported from BUILD.gn and skia_common.gypi
224 220
(...skipping 14 matching lines...) Expand all
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 | « media/renderers/skcanvas_video_renderer.cc ('k') | third_party/WebKit/Source/platform/graphics/DecodingImageGenerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698