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 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 #endif | 247 #endif |
248 | 248 |
249 #ifndef SK_SUPPORT_LEGACY_PEEKPIXELS_PARMS | 249 #ifndef SK_SUPPORT_LEGACY_PEEKPIXELS_PARMS |
250 # define SK_SUPPORT_LEGACY_PEEKPIXELS_PARMS | 250 # define SK_SUPPORT_LEGACY_PEEKPIXELS_PARMS |
251 #endif | 251 #endif |
252 | 252 |
253 #ifndef SK_SUPPORT_LEGACY_SETSHADER_PTR | 253 #ifndef SK_SUPPORT_LEGACY_SETSHADER_PTR |
254 # define SK_SUPPORT_LEGACY_SETSHADER_PTR | 254 # define SK_SUPPORT_LEGACY_SETSHADER_PTR |
255 #endif | 255 #endif |
256 | 256 |
257 #ifndef SK_SUPPORT_LEGACY_XFERMODE_PTR | |
258 # define SK_SUPPORT_LEGACY_XFERMODE_PTR | |
259 #endif | |
260 | |
261 #ifndef SK_SUPPORT_LEGACY_TYPEFACE_PTR | 257 #ifndef SK_SUPPORT_LEGACY_TYPEFACE_PTR |
262 # define SK_SUPPORT_LEGACY_TYPEFACE_PTR | 258 # define SK_SUPPORT_LEGACY_TYPEFACE_PTR |
263 #endif | 259 #endif |
264 | 260 |
265 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 261 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
266 | 262 |
267 /* In some places Skia can use static initializers for global initialization, | 263 /* In some places Skia can use static initializers for global initialization, |
268 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 264 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
269 */ | 265 */ |
270 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 266 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
(...skipping 14 matching lines...) Expand all Loading... |
285 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 281 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
286 | 282 |
287 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 283 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
288 #define SK_SUPPORT_LEGACY_X86_BLITS | 284 #define SK_SUPPORT_LEGACY_X86_BLITS |
289 | 285 |
290 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 286 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
291 | 287 |
292 // ===== End Chrome-specific definitions ===== | 288 // ===== End Chrome-specific definitions ===== |
293 | 289 |
294 #endif | 290 #endif |
OLD | NEW |