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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 # define SK_SUPPORT_LEGACY_ACCESSBITMAP | 209 # define SK_SUPPORT_LEGACY_ACCESSBITMAP |
210 #endif | 210 #endif |
211 | 211 |
212 // Workaround for poor anisotropic mipmap quality, | 212 // Workaround for poor anisotropic mipmap quality, |
213 // pending Skia ripmap support. | 213 // pending Skia ripmap support. |
214 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) | 214 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) |
215 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 215 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
216 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 216 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
217 #endif | 217 #endif |
218 | 218 |
| 219 #ifndef SK_SUPPORT_LEGACY_STREAM_DATA |
| 220 # define SK_SUPPORT_LEGACY_STREAM_DATA |
| 221 #endif |
| 222 |
219 #ifndef SK_IGNORE_ETC1_SUPPORT | 223 #ifndef SK_IGNORE_ETC1_SUPPORT |
220 # define SK_IGNORE_ETC1_SUPPORT | 224 # define SK_IGNORE_ETC1_SUPPORT |
221 #endif | 225 #endif |
222 | 226 |
223 #ifndef SK_IGNORE_GPU_DITHER | 227 #ifndef SK_IGNORE_GPU_DITHER |
224 # define SK_IGNORE_GPU_DITHER | 228 # define SK_IGNORE_GPU_DITHER |
225 #endif | 229 #endif |
226 | 230 |
227 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC | 231 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC |
228 # define SK_SUPPORT_LEGACY_EVAL_CUBIC | 232 # define SK_SUPPORT_LEGACY_EVAL_CUBIC |
(...skipping 28 matching lines...) Expand all Loading... |
257 | 261 |
258 // Updating to a correct SkPMColor lerp will require layout test rebaselines. | 262 // Updating to a correct SkPMColor lerp will require layout test rebaselines. |
259 #define SK_SUPPORT_LEGACY_BROKEN_LERP | 263 #define SK_SUPPORT_LEGACY_BROKEN_LERP |
260 | 264 |
261 // Enabling the screenspace AA tessellating path renderer needs rebaselines. | 265 // Enabling the screenspace AA tessellating path renderer needs rebaselines. |
262 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER | 266 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER |
263 | 267 |
264 // ===== End Chrome-specific definitions ===== | 268 // ===== End Chrome-specific definitions ===== |
265 | 269 |
266 #endif | 270 #endif |
OLD | NEW |