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