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

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

Issue 810933004: Provide a way of allowing cross process pictureimagefilters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 5 years, 11 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 132
133 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST 133 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST
134 which will run additional self-tests at startup. These can take a long time, 134 which will run additional self-tests at startup. These can take a long time,
135 so this flag is optional. 135 so this flag is optional.
136 */ 136 */
137 #ifdef SK_DEBUG 137 #ifdef SK_DEBUG
138 #define SK_SUPPORT_UNITTEST 138 #define SK_SUPPORT_UNITTEST
139 #endif 139 #endif
140 140
141 /* If cross process SkPictureImageFilters are not explicitly enabled then
142 they are always disabled.
143 */
144 #ifndef SK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS
145 #ifndef SK_DISALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS
146 #define SK_DISALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS
147 #endif
148 #endif
149
150
141 /* If your system embeds skia and has complex event logging, define this 151 /* If your system embeds skia and has complex event logging, define this
142 symbol to name a file that maps the following macros to your system's 152 symbol to name a file that maps the following macros to your system's
143 equivalents: 153 equivalents:
144 SK_TRACE_EVENT0(event) 154 SK_TRACE_EVENT0(event)
145 SK_TRACE_EVENT1(event, name1, value1) 155 SK_TRACE_EVENT1(event, name1, value1)
146 SK_TRACE_EVENT2(event, name1, value1, name2, value2) 156 SK_TRACE_EVENT2(event, name1, value1, name2, value2)
147 src/utils/SkDebugTrace.h has a trivial implementation that writes to 157 src/utils/SkDebugTrace.h has a trivial implementation that writes to
148 the debug output stream. If SK_USER_TRACE_INCLUDE_FILE is not defined, 158 the debug output stream. If SK_USER_TRACE_INCLUDE_FILE is not defined,
149 SkTrace.h will define the above three macros to do nothing. 159 SkTrace.h will define the above three macros to do nothing.
150 */ 160 */
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 #endif 280 #endif
271 281
272 // If this goes well, we can have Skia respect DYNAMIC_ANNOTATIONS_ENABLED direc tly. 282 // If this goes well, we can have Skia respect DYNAMIC_ANNOTATIONS_ENABLED direc tly.
273 #if DYNAMIC_ANNOTATIONS_ENABLED 283 #if DYNAMIC_ANNOTATIONS_ENABLED
274 # define SK_DYNAMIC_ANNOTATIONS_ENABLED 1 284 # define SK_DYNAMIC_ANNOTATIONS_ENABLED 1
275 #endif 285 #endif
276 286
277 // ===== End Chrome-specific definitions ===== 287 // ===== End Chrome-specific definitions =====
278 288
279 #endif 289 #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