| 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 // The default crash macro writes to badbeef which can cause some strange | 186 // The default crash macro writes to badbeef which can cause some strange |
| 187 // problems. Instead, pipe this through to the logging function as a fatal | 187 // problems. Instead, pipe this through to the logging function as a fatal |
| 188 // assertion. | 188 // assertion. |
| 189 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") | 189 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") |
| 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 | |
| 197 # define SK_SUPPORT_LEGACY_GETTOPDEVICE | |
| 198 #endif | |
| 199 | 196 |
| 200 // Workaround for poor anisotropic mipmap quality, | 197 // Workaround for poor anisotropic mipmap quality, |
| 201 // pending Skia ripmap support. | 198 // pending Skia ripmap support. |
| 202 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) | 199 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) |
| 203 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 200 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
| 204 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 201 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
| 205 #endif | 202 #endif |
| 206 | 203 |
| 207 #ifndef SK_IGNORE_ETC1_SUPPORT | 204 #ifndef SK_IGNORE_ETC1_SUPPORT |
| 208 # define SK_IGNORE_ETC1_SUPPORT | 205 # define SK_IGNORE_ETC1_SUPPORT |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 264 |
| 268 // Updating to a correct SkPMColor lerp will require layout test rebaselines. | 265 // Updating to a correct SkPMColor lerp will require layout test rebaselines. |
| 269 #define SK_SUPPORT_LEGACY_BROKEN_LERP | 266 #define SK_SUPPORT_LEGACY_BROKEN_LERP |
| 270 | 267 |
| 271 // Enabling the screenspace AA tessellating path renderer needs rebaselines. | 268 // Enabling the screenspace AA tessellating path renderer needs rebaselines. |
| 272 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER | 269 #define SK_DISABLE_SCREENSPACE_TESS_AA_PATH_RENDERER |
| 273 | 270 |
| 274 // ===== End Chrome-specific definitions ===== | 271 // ===== End Chrome-specific definitions ===== |
| 275 | 272 |
| 276 #endif | 273 #endif |
| OLD | NEW |