| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 #endif | 223 #endif |
| 224 | 224 |
| 225 #ifndef SK_IGNORE_ETC1_SUPPORT | 225 #ifndef SK_IGNORE_ETC1_SUPPORT |
| 226 #define SK_IGNORE_ETC1_SUPPORT | 226 #define SK_IGNORE_ETC1_SUPPORT |
| 227 #endif | 227 #endif |
| 228 | 228 |
| 229 #ifndef SK_IGNORE_GPU_DITHER | 229 #ifndef SK_IGNORE_GPU_DITHER |
| 230 #define SK_IGNORE_GPU_DITHER | 230 #define SK_IGNORE_GPU_DITHER |
| 231 #endif | 231 #endif |
| 232 | 232 |
| 233 #ifndef SK_SUPPORT_LEGACY_CLIPOPS_PLAIN_ENUM |
| 234 # define SK_SUPPORT_LEGACY_CLIPOPS_PLAIN_ENUM |
| 235 #endif |
| 236 |
| 233 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC | 237 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC |
| 234 #define SK_SUPPORT_LEGACY_EVAL_CUBIC | 238 #define SK_SUPPORT_LEGACY_EVAL_CUBIC |
| 235 #endif | 239 #endif |
| 236 | 240 |
| 237 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 241 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
| 238 | 242 |
| 239 /* In some places Skia can use static initializers for global initialization, | 243 /* In some places Skia can use static initializers for global initialization, |
| 240 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 244 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
| 241 */ | 245 */ |
| 242 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 246 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 259 | 263 |
| 260 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when | 264 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when |
| 261 // done. | 265 // done. |
| 262 #define SK_SUPPORT_LEGACY_X86_BLITS | 266 #define SK_SUPPORT_LEGACY_X86_BLITS |
| 263 | 267 |
| 264 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 268 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
| 265 | 269 |
| 266 // ===== End Chrome-specific definitions ===== | 270 // ===== End Chrome-specific definitions ===== |
| 267 | 271 |
| 268 #endif // SKIA_CONFIG_SKUSERCONFIG_H_ | 272 #endif // SKIA_CONFIG_SKUSERCONFIG_H_ |
| OLD | NEW |