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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 #endif | 229 #endif |
230 | 230 |
231 #ifndef SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS | 231 #ifndef SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS |
232 # define SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS | 232 # define SK_SUPPORT_LEGACY_IMAGE_ENCODER_CLASS |
233 #endif | 233 #endif |
234 | 234 |
235 #ifndef SK_SUPPORT_LEGACY_CLIPOPS_PLAIN_ENUM | 235 #ifndef SK_SUPPORT_LEGACY_CLIPOPS_PLAIN_ENUM |
236 # define SK_SUPPORT_LEGACY_CLIPOPS_PLAIN_ENUM | 236 # define SK_SUPPORT_LEGACY_CLIPOPS_PLAIN_ENUM |
237 #endif | 237 #endif |
238 | 238 |
| 239 #ifndef SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF |
| 240 # define SK_SUPPORT_LEGACY_BITMAP_SETPIXELREF |
| 241 #endif |
| 242 |
239 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 243 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
240 | 244 |
241 /* In some places Skia can use static initializers for global initialization, | 245 /* In some places Skia can use static initializers for global initialization, |
242 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 246 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
243 */ | 247 */ |
244 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 248 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
245 | 249 |
246 /* This flag forces Skia not to use typographic metrics with GDI. | 250 /* This flag forces Skia not to use typographic metrics with GDI. |
247 */ | 251 */ |
248 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 252 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
(...skipping 16 matching lines...) Expand all Loading... |
265 | 269 |
266 // Updating to a correct SkPMColor lerp will require layout test rebaselines. | 270 // Updating to a correct SkPMColor lerp will require layout test rebaselines. |
267 #define SK_SUPPORT_LEGACY_BROKEN_LERP | 271 #define SK_SUPPORT_LEGACY_BROKEN_LERP |
268 | 272 |
269 // Enabling the screenspace AA tessellating path renderer needs rebaselines. | 273 // Enabling the screenspace AA tessellating path renderer needs rebaselines. |
270 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER | 274 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER |
271 | 275 |
272 // ===== End Chrome-specific definitions ===== | 276 // ===== End Chrome-specific definitions ===== |
273 | 277 |
274 #endif | 278 #endif |
OLD | NEW |