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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 | 190 |
191 // These flags are no longer defined in Skia, but we have them (temporarily) | 191 // These flags are no longer defined in Skia, but we have them (temporarily) |
192 // until we update our call-sites (typically these are for API changes). | 192 // until we update our call-sites (typically these are for API changes). |
193 // | 193 // |
194 // Remove these as we update our sites. | 194 // Remove these as we update our sites. |
195 // | 195 // |
196 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE | 196 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE |
197 # define SK_SUPPORT_LEGACY_GETTOPDEVICE | 197 # define SK_SUPPORT_LEGACY_GETTOPDEVICE |
198 #endif | 198 #endif |
199 | 199 |
200 #ifndef SK_SUPPORT_LEGACY_GETDEVICE | |
201 # define SK_SUPPORT_LEGACY_GETDEVICE | |
202 #endif | |
203 | |
204 // Workaround for poor anisotropic mipmap quality, | 200 // Workaround for poor anisotropic mipmap quality, |
205 // pending Skia ripmap support. | 201 // pending Skia ripmap support. |
206 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) | 202 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) |
207 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 203 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
208 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 204 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
209 #endif | 205 #endif |
210 | 206 |
211 #ifndef SK_IGNORE_ETC1_SUPPORT | 207 #ifndef SK_IGNORE_ETC1_SUPPORT |
212 # define SK_IGNORE_ETC1_SUPPORT | 208 # define SK_IGNORE_ETC1_SUPPORT |
213 #endif | 209 #endif |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 | 271 |
276 // Updating to a correct SkPMColor lerp will require layout test rebaselines. | 272 // Updating to a correct SkPMColor lerp will require layout test rebaselines. |
277 #define SK_SUPPORT_LEGACY_BROKEN_LERP | 273 #define SK_SUPPORT_LEGACY_BROKEN_LERP |
278 | 274 |
279 // Enabling the screenspace AA tessellating path renderer needs rebaselines. | 275 // Enabling the screenspace AA tessellating path renderer needs rebaselines. |
280 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER | 276 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER |
281 | 277 |
282 // ===== End Chrome-specific definitions ===== | 278 // ===== End Chrome-specific definitions ===== |
283 | 279 |
284 #endif | 280 #endif |
OLD | NEW |