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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // Remove these as we update our sites. | 207 // Remove these as we update our sites. |
208 // | 208 // |
209 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE | 209 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE |
210 # define SK_SUPPORT_LEGACY_GETTOPDEVICE | 210 # define SK_SUPPORT_LEGACY_GETTOPDEVICE |
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_SUPPORT_LEGACY_LAYER_BITMAP_IMAGEFILTERS |
| 218 # define SK_SUPPORT_LEGACY_LAYER_BITMAP_IMAGEFILTERS |
| 219 #endif |
| 220 |
217 #ifndef SK_IGNORE_ETC1_SUPPORT | 221 #ifndef SK_IGNORE_ETC1_SUPPORT |
218 # define SK_IGNORE_ETC1_SUPPORT | 222 # define SK_IGNORE_ETC1_SUPPORT |
219 #endif | 223 #endif |
220 | 224 |
221 #ifndef SK_IGNORE_GPU_DITHER | 225 #ifndef SK_IGNORE_GPU_DITHER |
222 # define SK_IGNORE_GPU_DITHER | 226 # define SK_IGNORE_GPU_DITHER |
223 #endif | 227 #endif |
224 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 228 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
225 | 229 |
226 /* In some places Skia can use static initializers for global initialization, | 230 /* In some places Skia can use static initializers for global initialization, |
(...skipping 17 matching lines...) Expand all Loading... |
244 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 248 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
245 #define SK_ENABLE_INST_COUNT 0 | 249 #define SK_ENABLE_INST_COUNT 0 |
246 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 250 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
247 | 251 |
248 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB
its. | 252 // Blink layout tests are baselined to Clang optimizing through the UB in SkDivB
its. |
249 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 253 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
250 | 254 |
251 // ===== End Chrome-specific definitions ===== | 255 // ===== End Chrome-specific definitions ===== |
252 | 256 |
253 #endif | 257 #endif |
OLD | NEW |