| 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 #endif | 268 #endif |
| 269 | 269 |
| 270 #ifndef SK_SUPPORT_LEGACY_CREATESHADER_PTR | 270 #ifndef SK_SUPPORT_LEGACY_CREATESHADER_PTR |
| 271 # define SK_SUPPORT_LEGACY_CREATESHADER_PTR | 271 # define SK_SUPPORT_LEGACY_CREATESHADER_PTR |
| 272 #endif | 272 #endif |
| 273 | 273 |
| 274 #ifndef SK_SUPPORT_LEGACY_SETSHADER_PTR | 274 #ifndef SK_SUPPORT_LEGACY_SETSHADER_PTR |
| 275 # define SK_SUPPORT_LEGACY_SETSHADER_PTR | 275 # define SK_SUPPORT_LEGACY_SETSHADER_PTR |
| 276 #endif | 276 #endif |
| 277 | 277 |
| 278 #ifndef SK_SUPPORT_LEGACY_XFERMODE_PTR |
| 279 # define SK_SUPPORT_LEGACY_XFERMODE_PTR |
| 280 #endif |
| 281 |
| 278 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 282 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
| 279 | 283 |
| 280 /* In some places Skia can use static initializers for global initialization, | 284 /* In some places Skia can use static initializers for global initialization, |
| 281 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 285 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
| 282 */ | 286 */ |
| 283 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 287 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
| 284 | 288 |
| 285 /* This flag forces Skia not to use typographic metrics with GDI. | 289 /* This flag forces Skia not to use typographic metrics with GDI. |
| 286 */ | 290 */ |
| 287 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 291 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
| (...skipping 10 matching lines...) Expand all Loading... |
| 298 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 302 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
| 299 | 303 |
| 300 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 304 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
| 301 #define SK_SUPPORT_LEGACY_X86_BLITS | 305 #define SK_SUPPORT_LEGACY_X86_BLITS |
| 302 | 306 |
| 303 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 307 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
| 304 | 308 |
| 305 // ===== End Chrome-specific definitions ===== | 309 // ===== End Chrome-specific definitions ===== |
| 306 | 310 |
| 307 #endif | 311 #endif |
| OLD | NEW |