| 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 // The default crash macro writes to badbeef which can cause some strange | 199 // The default crash macro writes to badbeef which can cause some strange |
| 200 // problems. Instead, pipe this through to the logging function as a fatal | 200 // problems. Instead, pipe this through to the logging function as a fatal |
| 201 // assertion. | 201 // assertion. |
| 202 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") | 202 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") |
| 203 | 203 |
| 204 // These flags are no longer defined in Skia, but we have them (temporarily) | 204 // These flags are no longer defined in Skia, but we have them (temporarily) |
| 205 // until we update our call-sites (typically these are for API changes). | 205 // until we update our call-sites (typically these are for API changes). |
| 206 // | 206 // |
| 207 // Remove these as we update our sites. | 207 // Remove these as we update our sites. |
| 208 // | 208 // |
| 209 #ifndef SK_SUPPORT_LEGACY_CONIC_MEASURE | |
| 210 # define SK_SUPPORT_LEGACY_CONIC_MEASURE | |
| 211 #endif | |
| 212 | |
| 213 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAPS | 209 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAPS |
| 214 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAPS | 210 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAPS |
| 215 #endif | 211 #endif |
| 216 | 212 |
| 217 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE | 213 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE |
| 218 # define SK_SUPPORT_LEGACY_GETTOPDEVICE | 214 # define SK_SUPPORT_LEGACY_GETTOPDEVICE |
| 219 #endif | 215 #endif |
| 220 | 216 |
| 221 #ifndef SK_SUPPORT_LEGACY_GETDEVICE | 217 #ifndef SK_SUPPORT_LEGACY_GETDEVICE |
| 222 # define SK_SUPPORT_LEGACY_GETDEVICE | 218 # define SK_SUPPORT_LEGACY_GETDEVICE |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 #define SK_SUPPORT_LEGACY_DIVBITS_UB | 276 #define SK_SUPPORT_LEGACY_DIVBITS_UB |
| 281 | 277 |
| 282 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 278 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
| 283 #define SK_SUPPORT_LEGACY_X86_BLITS | 279 #define SK_SUPPORT_LEGACY_X86_BLITS |
| 284 | 280 |
| 285 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 281 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
| 286 | 282 |
| 287 // ===== End Chrome-specific definitions ===== | 283 // ===== End Chrome-specific definitions ===== |
| 288 | 284 |
| 289 #endif | 285 #endif |
| OLD | NEW |