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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 #endif | 223 #endif |
224 | 224 |
225 #ifndef SK_IGNORE_GPU_DITHER | 225 #ifndef SK_IGNORE_GPU_DITHER |
226 # define SK_IGNORE_GPU_DITHER | 226 # define SK_IGNORE_GPU_DITHER |
227 #endif | 227 #endif |
228 | 228 |
229 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC | 229 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC |
230 # define SK_SUPPORT_LEGACY_EVAL_CUBIC | 230 # define SK_SUPPORT_LEGACY_EVAL_CUBIC |
231 #endif | 231 #endif |
232 | 232 |
233 #ifndef SK_SUPPORT_LEGACY_COMPUTESAVELAYER_FLAG | |
234 # define SK_SUPPORT_LEGACY_COMPUTESAVELAYER_FLAG | |
235 #endif | |
236 | |
237 ///////////////////////// Imported from BUILD.gn and skia_common.gypi | 233 ///////////////////////// Imported from BUILD.gn and skia_common.gypi |
238 | 234 |
239 /* In some places Skia can use static initializers for global initialization, | 235 /* In some places Skia can use static initializers for global initialization, |
240 * or fall back to lazy runtime initialization. Chrome always wants the latter. | 236 * or fall back to lazy runtime initialization. Chrome always wants the latter. |
241 */ | 237 */ |
242 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 | 238 #define SK_ALLOW_STATIC_GLOBAL_INITIALIZERS 0 |
243 | 239 |
244 /* This flag forces Skia not to use typographic metrics with GDI. | 240 /* This flag forces Skia not to use typographic metrics with GDI. |
245 */ | 241 */ |
246 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS | 242 #define SK_GDI_ALWAYS_USE_TEXTMETRICS_FOR_FONT_METRICS |
247 | 243 |
248 #define SK_IGNORE_BLURRED_RRECT_OPT | 244 #define SK_IGNORE_BLURRED_RRECT_OPT |
249 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE | 245 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE |
250 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT | 246 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT |
251 | 247 |
252 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 248 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
253 #define SK_ENABLE_INST_COUNT 0 | 249 #define SK_ENABLE_INST_COUNT 0 |
254 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 250 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
255 | 251 |
256 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 252 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
257 #define SK_SUPPORT_LEGACY_X86_BLITS | 253 #define SK_SUPPORT_LEGACY_X86_BLITS |
258 | 254 |
259 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 255 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
260 | 256 |
261 // ===== End Chrome-specific definitions ===== | 257 // ===== End Chrome-specific definitions ===== |
262 | 258 |
263 #endif | 259 #endif |
OLD | NEW |