| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 #endif | 235 #endif |
| 236 | 236 |
| 237 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC | 237 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC |
| 238 # define SK_SUPPORT_LEGACY_EVAL_CUBIC | 238 # define SK_SUPPORT_LEGACY_EVAL_CUBIC |
| 239 #endif | 239 #endif |
| 240 | 240 |
| 241 #ifndef SK_SUPPORT_LEGACY_TYPEFACE_PTR | 241 #ifndef SK_SUPPORT_LEGACY_TYPEFACE_PTR |
| 242 # define SK_SUPPORT_LEGACY_TYPEFACE_PTR | 242 # define SK_SUPPORT_LEGACY_TYPEFACE_PTR |
| 243 #endif | 243 #endif |
| 244 | 244 |
| 245 #ifndef SK_SUPPORT_LEGACY_IMAGEFILTER_CTM | |
| 246 # define SK_SUPPORT_LEGACY_IMAGEFILTER_CTM | |
| 247 #endif | |
| 248 | |
| 249 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 245 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
| 250 | 246 |
| 251 /* In some places Skia can use static initializers for global initialization, | 247 /* In some places Skia can use static initializers for global initialization, |
| 252 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 248 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
| 253 */ | 249 */ |
| 254 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 250 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
| 255 | 251 |
| 256 /* This flag forces Skia not to use typographic metrics with GDI. | 252 /* This flag forces Skia not to use typographic metrics with GDI. |
| 257 */ | 253 */ |
| 258 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 254 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
| (...skipping 10 matching lines...) Expand all Loading... |
| 269 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 265 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
| 270 | 266 |
| 271 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 267 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
| 272 #define SK_SUPPORT_LEGACY_X86_BLITS | 268 #define SK_SUPPORT_LEGACY_X86_BLITS |
| 273 | 269 |
| 274 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 270 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
| 275 | 271 |
| 276 // ===== End Chrome-specific definitions ===== | 272 // ===== End Chrome-specific definitions ===== |
| 277 | 273 |
| 278 #endif | 274 #endif |
| OLD | NEW |