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 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 #endif | 274 #endif |
275 | 275 |
276 #ifndef SK_IGNORE_GPU_DITHER | 276 #ifndef SK_IGNORE_GPU_DITHER |
277 # define SK_IGNORE_GPU_DITHER | 277 # define SK_IGNORE_GPU_DITHER |
278 #endif | 278 #endif |
279 | 279 |
280 #ifndef SK_SUPPORT_LEGACY_INT_COLORMATRIX | 280 #ifndef SK_SUPPORT_LEGACY_INT_COLORMATRIX |
281 # define SK_SUPPORT_LEGACY_INT_COLORMATRIX | 281 # define SK_SUPPORT_LEGACY_INT_COLORMATRIX |
282 #endif | 282 #endif |
283 | 283 |
284 #ifndef SK_SUPPORT_LEGACY_PATHOP_ENUMS | |
285 # define SK_SUPPORT_LEGACY_PATHOP_ENUMS | |
286 #endif | |
287 | |
288 #ifndef SK_LEGACY_STROKE_CURVES | 284 #ifndef SK_LEGACY_STROKE_CURVES |
289 # define SK_LEGACY_STROKE_CURVES | 285 # define SK_LEGACY_STROKE_CURVES |
290 #endif | 286 #endif |
291 | 287 |
292 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 288 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
293 | 289 |
294 /* In some places Skia can use static initializers for global initialization, | 290 /* In some places Skia can use static initializers for global initialization, |
295 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 291 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
296 */ | 292 */ |
297 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 293 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
(...skipping 12 matching lines...) Expand all Loading... |
310 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE | 306 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE |
311 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT | 307 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT |
312 | 308 |
313 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 309 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
314 #define SK_ENABLE_INST_COUNT 0 | 310 #define SK_ENABLE_INST_COUNT 0 |
315 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 311 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
316 | 312 |
317 // ===== End Chrome-specific definitions ===== | 313 // ===== End Chrome-specific definitions ===== |
318 | 314 |
319 #endif | 315 #endif |
OLD | NEW |