| OLD | NEW |
| 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 Loading... |
| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 #endif | 272 #endif |
| 263 | 273 |
| 264 #ifndef SK_IGNORE_ETC1_SUPPORT | 274 #ifndef SK_IGNORE_ETC1_SUPPORT |
| 265 # define SK_IGNORE_ETC1_SUPPORT | 275 # define SK_IGNORE_ETC1_SUPPORT |
| 266 #endif | 276 #endif |
| 267 | 277 |
| 268 #ifndef SK_IGNORE_GPU_DITHER | 278 #ifndef SK_IGNORE_GPU_DITHER |
| 269 # define SK_IGNORE_GPU_DITHER | 279 # define SK_IGNORE_GPU_DITHER |
| 270 #endif | 280 #endif |
| 271 | 281 |
| 282 #ifndef SK_SUPPORT_LEGACY_ADDOVAL |
| 283 # define SK_SUPPORT_LEGACY_ADDOVAL |
| 284 #endif |
| 285 |
| 286 #ifndef SK_SUPPORT_LEGACY_ADDRRECT |
| 287 # define SK_SUPPORT_LEGACY_ADDRRECT |
| 288 #endif |
| 289 |
| 290 #ifndef SK_IGNORE_GPU_LAYER_HOISTING |
| 291 # define SK_IGNORE_GPU_LAYER_HOISTING |
| 292 #endif |
| 293 |
| 294 #ifndef SK_SUPPORT_LEGACY_DRAWDATA |
| 295 # define SK_SUPPORT_LEGACY_DRAWDATA |
| 296 #endif |
| 297 |
| 298 #ifndef SK_SUPPORT_LEGACY_CANVAS_VIRTUAL |
| 299 # define SK_SUPPORT_LEGACY_CANVAS_VIRTUAL |
| 300 #endif |
| 301 |
| 272 // If this goes well, we can have Skia respect DYNAMIC_ANNOTATIONS_ENABLED direc
tly. | 302 // If this goes well, we can have Skia respect DYNAMIC_ANNOTATIONS_ENABLED direc
tly. |
| 273 #if DYNAMIC_ANNOTATIONS_ENABLED | 303 #if DYNAMIC_ANNOTATIONS_ENABLED |
| 274 # define SK_DYNAMIC_ANNOTATIONS_ENABLED 1 | 304 # define SK_DYNAMIC_ANNOTATIONS_ENABLED 1 |
| 275 #endif | 305 #endif |
| 276 | 306 |
| 277 // ===== End Chrome-specific definitions ===== | 307 // ===== End Chrome-specific definitions ===== |
| 278 | 308 |
| 279 #endif | 309 #endif |
| OLD | NEW |