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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 #endif | 239 #endif |
240 | 240 |
241 #ifndef SK_SUPPORT_LEGACY_PATH_MEASURE_TVALUE | 241 #ifndef SK_SUPPORT_LEGACY_PATH_MEASURE_TVALUE |
242 # define SK_SUPPORT_LEGACY_PATH_MEASURE_TVALUE | 242 # define SK_SUPPORT_LEGACY_PATH_MEASURE_TVALUE |
243 #endif | 243 #endif |
244 | 244 |
245 #ifndef SK_SUPPORT_LEGACY_BITMAP_FILTER | 245 #ifndef SK_SUPPORT_LEGACY_BITMAP_FILTER |
246 # define SK_SUPPORT_LEGACY_BITMAP_FILTER | 246 # define SK_SUPPORT_LEGACY_BITMAP_FILTER |
247 #endif | 247 #endif |
248 | 248 |
249 #ifndef SK_SUPPORT_LEGACY_ARCTO | |
250 # define SK_SUPPORT_LEGACY_ARCTO | |
251 #endif | |
252 | |
253 #ifndef SK_SUPPORT_LEGACY_DASH_MEASURE | 249 #ifndef SK_SUPPORT_LEGACY_DASH_MEASURE |
254 # define SK_SUPPORT_LEGACY_DASH_MEASURE | 250 # define SK_SUPPORT_LEGACY_DASH_MEASURE |
255 #endif | 251 #endif |
256 | 252 |
257 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 253 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
258 | 254 |
259 /* In some places Skia can use static initializers for global initialization, | 255 /* In some places Skia can use static initializers for global initialization, |
260 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 256 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
261 */ | 257 */ |
262 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 258 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
(...skipping 17 matching lines...) Expand all Loading... |
280 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 276 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
281 | 277 |
282 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 278 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
283 #define SK_SUPPORT_LEGACY_X86_BLITS | 279 #define SK_SUPPORT_LEGACY_X86_BLITS |
284 | 280 |
285 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 281 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
286 | 282 |
287 // ===== End Chrome-specific definitions ===== | 283 // ===== End Chrome-specific definitions ===== |
288 | 284 |
289 #endif | 285 #endif |
OLD | NEW |