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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 #define SK_SUPPORT_LEGACY_CLIP_REGIONOPS | 205 #define SK_SUPPORT_LEGACY_CLIP_REGIONOPS |
206 #endif | 206 #endif |
207 | 207 |
208 // Workaround for poor anisotropic mipmap quality, | 208 // Workaround for poor anisotropic mipmap quality, |
209 // pending Skia ripmap support. | 209 // pending Skia ripmap support. |
210 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) | 210 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) |
211 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 211 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
212 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 212 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
213 #endif | 213 #endif |
214 | 214 |
| 215 #ifndef SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT |
| 216 # define SK_SUPPORT_LEGACY_CANVAS_IS_REFCNT |
| 217 #endif |
| 218 |
215 #ifndef SK_IGNORE_ETC1_SUPPORT | 219 #ifndef SK_IGNORE_ETC1_SUPPORT |
216 # define SK_IGNORE_ETC1_SUPPORT | 220 # define SK_IGNORE_ETC1_SUPPORT |
217 #endif | 221 #endif |
218 | 222 |
219 #ifndef SK_SUPPORT_LEGACY_XFERMODE_IS_PUBLIC | 223 #ifndef SK_SUPPORT_LEGACY_XFERMODE_IS_PUBLIC |
220 # define SK_SUPPORT_LEGACY_XFERMODE_IS_PUBLIC | 224 # define SK_SUPPORT_LEGACY_XFERMODE_IS_PUBLIC |
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 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 // Enabling the screenspace AA tessellating path renderer needs rebaselines. | 269 // Enabling the screenspace AA tessellating path renderer needs rebaselines. |
266 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER | 270 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER |
267 | 271 |
268 // Disable analytic AA until we fix all the Chrome tests. | 272 // Disable analytic AA until we fix all the Chrome tests. |
269 // (we now set analytic AA as default in Skia.) | 273 // (we now set analytic AA as default in Skia.) |
270 #define SK_NO_ANALYTIC_AA | 274 #define SK_NO_ANALYTIC_AA |
271 | 275 |
272 // ===== End Chrome-specific definitions ===== | 276 // ===== End Chrome-specific definitions ===== |
273 | 277 |
274 #endif | 278 #endif |
OLD | NEW |