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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 #endif | 254 #endif |
255 | 255 |
256 #ifndef SK_IGNORE_ETC1_SUPPORT | 256 #ifndef SK_IGNORE_ETC1_SUPPORT |
257 # define SK_IGNORE_ETC1_SUPPORT | 257 # define SK_IGNORE_ETC1_SUPPORT |
258 #endif | 258 #endif |
259 | 259 |
260 #ifndef SK_IGNORE_GPU_DITHER | 260 #ifndef SK_IGNORE_GPU_DITHER |
261 # define SK_IGNORE_GPU_DITHER | 261 # define SK_IGNORE_GPU_DITHER |
262 #endif | 262 #endif |
263 | 263 |
264 #ifndef SK_SUPPORT_LEGACY_ADDOVAL | |
265 # define SK_SUPPORT_LEGACY_ADDOVAL | |
266 #endif | |
267 | |
268 #ifndef SK_LEGACY_STROKE_CURVES | 264 #ifndef SK_LEGACY_STROKE_CURVES |
269 # define SK_LEGACY_STROKE_CURVES | 265 # define SK_LEGACY_STROKE_CURVES |
270 #endif | 266 #endif |
271 | 267 |
272 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 268 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
273 | 269 |
274 /* In some places Skia can use static initializers for global initialization, | 270 /* In some places Skia can use static initializers for global initialization, |
275 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 271 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
276 */ | 272 */ |
277 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 273 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
(...skipping 12 matching lines...) Expand all Loading... |
290 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE | 286 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE |
291 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT | 287 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT |
292 | 288 |
293 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 289 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
294 #define SK_ENABLE_INST_COUNT 0 | 290 #define SK_ENABLE_INST_COUNT 0 |
295 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 291 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
296 | 292 |
297 // ===== End Chrome-specific definitions ===== | 293 // ===== End Chrome-specific definitions ===== |
298 | 294 |
299 #endif | 295 #endif |
OLD | NEW |