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 | |
219 #ifndef SK_IGNORE_ETC1_SUPPORT | 215 #ifndef SK_IGNORE_ETC1_SUPPORT |
220 # define SK_IGNORE_ETC1_SUPPORT | 216 # define SK_IGNORE_ETC1_SUPPORT |
221 #endif | 217 #endif |
222 | 218 |
223 #ifndef SK_IGNORE_GPU_DITHER | 219 #ifndef SK_IGNORE_GPU_DITHER |
224 # define SK_IGNORE_GPU_DITHER | 220 # define SK_IGNORE_GPU_DITHER |
225 #endif | 221 #endif |
226 | 222 |
227 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC | 223 #ifndef SK_SUPPORT_LEGACY_EVAL_CUBIC |
228 # define SK_SUPPORT_LEGACY_EVAL_CUBIC | 224 # define SK_SUPPORT_LEGACY_EVAL_CUBIC |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 // Enabling the screenspace AA tessellating path renderer needs rebaselines. | 257 // Enabling the screenspace AA tessellating path renderer needs rebaselines. |
262 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER | 258 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER |
263 | 259 |
264 // Disable analytic AA until we fix all the Chrome tests. | 260 // Disable analytic AA until we fix all the Chrome tests. |
265 // (we now set analytic AA as default in Skia.) | 261 // (we now set analytic AA as default in Skia.) |
266 #define SK_NO_ANALYTIC_AA | 262 #define SK_NO_ANALYTIC_AA |
267 | 263 |
268 // ===== End Chrome-specific definitions ===== | 264 // ===== End Chrome-specific definitions ===== |
269 | 265 |
270 #endif | 266 #endif |
OLD | NEW |