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

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

Issue 544173002: move SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS into header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « 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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 # else 242 # else
243 # define SK_MUTEX_PLATFORM_H "third_party/skia/src/ports/SkMutex_pthread.h" 243 # define SK_MUTEX_PLATFORM_H "third_party/skia/src/ports/SkMutex_pthread.h"
244 # endif 244 # endif
245 #endif 245 #endif
246 246
247 // These flags are no longer defined in Skia, but we have them (temporarily) 247 // These flags are no longer defined in Skia, but we have them (temporarily)
248 // until we update our call-sites (typically these are for API changes). 248 // until we update our call-sites (typically these are for API changes).
249 // 249 //
250 // Remove these as we update our sites. 250 // Remove these as we update our sites.
251 // 251 //
252 #ifndef SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS
253 #define SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS
254 #endif
255
252 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE 256 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE
253 #define SK_SUPPORT_LEGACY_GETTOPDEVICE 257 #define SK_SUPPORT_LEGACY_GETTOPDEVICE
254 #endif 258 #endif
255 259
256 #ifndef SK_SUPPORT_LEGACY_GETDEVICE 260 #ifndef SK_SUPPORT_LEGACY_GETDEVICE
257 #define SK_SUPPORT_LEGACY_GETDEVICE 261 #define SK_SUPPORT_LEGACY_GETDEVICE
258 #endif 262 #endif
259 263
260 #ifndef SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL 264 #ifndef SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL
261 #define SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL 265 #define SK_SUPPORT_LEGACY_ALLOCPIXELS_BOOL
262 #endif 266 #endif
263 267
264 // Turns SkPicture::clone() into a simple "return SkRef(this);" as a way to 268 // Turns SkPicture::clone() into a simple "return SkRef(this);" as a way to
265 // test the threadsafety of SkPicture playback. 269 // test the threadsafety of SkPicture playback.
266 #define SK_PICTURE_CLONE_NOOP 1 270 #define SK_PICTURE_CLONE_NOOP 1
267 271
268 // Turns on new (nicer, hopefully faster) SkPicture backend. 272 // Turns on new (nicer, hopefully faster) SkPicture backend.
269 #define SK_PICTURE_USE_SK_RECORD 1 273 #define SK_PICTURE_USE_SK_RECORD 1
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