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

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

Issue 1831883002: Use sk_sp-based shader creation APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sprinkle in some std::move and some sk_sp in the API Created 4 years, 9 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 #endif 256 #endif
257 257
258 #ifndef SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR 258 #ifndef SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR
259 # define SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR 259 # define SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR
260 #endif 260 #endif
261 261
262 #ifndef SK_SUPPORT_LEGACY_PEEKPIXELS_PARMS 262 #ifndef SK_SUPPORT_LEGACY_PEEKPIXELS_PARMS
263 # define SK_SUPPORT_LEGACY_PEEKPIXELS_PARMS 263 # define SK_SUPPORT_LEGACY_PEEKPIXELS_PARMS
264 #endif 264 #endif
265 265
266 #ifndef SK_SUPPORT_LEGACY_CREATESHADER_PTR
267 # define SK_SUPPORT_LEGACY_CREATESHADER_PTR
f(malita) 2016/03/25 18:31:03 Did we convert Blink already? I guess the bots wi
tomhudson 2016/03/25 19:27:31 Bots were happy with patchset #3; no Blink callers
268 #endif
269
270 #ifndef SK_SUPPORT_LEGACY_SETSHADER_PTR 266 #ifndef SK_SUPPORT_LEGACY_SETSHADER_PTR
271 # define SK_SUPPORT_LEGACY_SETSHADER_PTR 267 # define SK_SUPPORT_LEGACY_SETSHADER_PTR
272 #endif 268 #endif
273 269
274 ///////////////////////// Imported from BUILD.gn and skia_common.gypi 270 ///////////////////////// Imported from BUILD.gn and skia_common.gypi
275 271
276 /* In some places Skia can use static initializers for global initialization, 272 /* In some places Skia can use static initializers for global initialization,
277 * or fall back to lazy runtime initialization. Chrome always wants the latter. 273 * or fall back to lazy runtime initialization. Chrome always wants the latter.
278 */ 274 */
279 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 275 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0
(...skipping 14 matching lines...) Expand all
294 #define SK_SUPPORT_LEGACY_DIVBITS_UB 290 #define SK_SUPPORT_LEGACY_DIVBITS_UB
295 291
296 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done. 292 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when done.
297 #define SK_SUPPORT_LEGACY_X86_BLITS 293 #define SK_SUPPORT_LEGACY_X86_BLITS
298 294
299 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION 295 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION
300 296
301 // ===== End Chrome-specific definitions ===== 297 // ===== End Chrome-specific definitions =====
302 298
303 #endif 299 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698