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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 #endif | 198 #endif |
199 | 199 |
200 #ifndef SK_SUPPORT_LEGACY_GETDEVICE | 200 #ifndef SK_SUPPORT_LEGACY_GETDEVICE |
201 # define SK_SUPPORT_LEGACY_GETDEVICE | 201 # define SK_SUPPORT_LEGACY_GETDEVICE |
202 #endif | 202 #endif |
203 | 203 |
204 #ifndef SK_SUPPORT_LEGACY_PICTUREINSTALLPIXELREF | 204 #ifndef SK_SUPPORT_LEGACY_PICTUREINSTALLPIXELREF |
205 # define SK_SUPPORT_LEGACY_PICTUREINSTALLPIXELREF | 205 # define SK_SUPPORT_LEGACY_PICTUREINSTALLPIXELREF |
206 #endif | 206 #endif |
207 | 207 |
| 208 #ifndef SK_SUPPORT_LEGACY_CLIP_REGIONOPS |
| 209 #define SK_SUPPORT_LEGACY_CLIP_REGIONOPS |
| 210 #endif |
| 211 |
208 // Workaround for poor anisotropic mipmap quality, | 212 // Workaround for poor anisotropic mipmap quality, |
209 // pending Skia ripmap support. | 213 // pending Skia ripmap support. |
210 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) | 214 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) |
211 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 215 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
212 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 216 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
213 #endif | 217 #endif |
214 | 218 |
215 #ifndef SK_SUPPORT_LEGACY_STREAM_DATA | 219 #ifndef SK_SUPPORT_LEGACY_STREAM_DATA |
216 # define SK_SUPPORT_LEGACY_STREAM_DATA | 220 # define SK_SUPPORT_LEGACY_STREAM_DATA |
217 #endif | 221 #endif |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 |