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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 #endif | 211 #endif |
212 | 212 |
213 #ifndef SK_SUPPORT_LEGACY_GETDEVICE | 213 #ifndef SK_SUPPORT_LEGACY_GETDEVICE |
214 # define SK_SUPPORT_LEGACY_GETDEVICE | 214 # define SK_SUPPORT_LEGACY_GETDEVICE |
215 #endif | 215 #endif |
216 | 216 |
217 #ifndef SK_IGNORE_ETC1_SUPPORT | 217 #ifndef SK_IGNORE_ETC1_SUPPORT |
218 # define SK_IGNORE_ETC1_SUPPORT | 218 # define SK_IGNORE_ETC1_SUPPORT |
219 #endif | 219 #endif |
220 | 220 |
221 #ifndef SK_SUPPORT_LEGACY_LINEAR_GRADIENT_TABLE | |
222 # define SK_SUPPORT_LEGACY_LINEAR_GRADIENT_TABLE | |
223 #endif | |
224 | |
225 #ifndef SK_IGNORE_GPU_DITHER | 221 #ifndef SK_IGNORE_GPU_DITHER |
226 # define SK_IGNORE_GPU_DITHER | 222 # define SK_IGNORE_GPU_DITHER |
227 #endif | 223 #endif |
228 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 224 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
229 | 225 |
230 /* In some places Skia can use static initializers for global initialization, | 226 /* In some places Skia can use static initializers for global initialization, |
231 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 227 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
232 */ | 228 */ |
233 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 229 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
234 | 230 |
(...skipping 13 matching lines...) Expand all Loading... |
248 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 244 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
249 #define SK_ENABLE_INST_COUNT 0 | 245 #define SK_ENABLE_INST_COUNT 0 |
250 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 246 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
251 | 247 |
252 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB
its. | 248 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB
its. |
253 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 249 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
254 | 250 |
255 // ===== End Chrome-specific definitions ===== | 251 // ===== End Chrome-specific definitions ===== |
256 | 252 |
257 #endif | 253 #endif |
OLD | NEW |