| 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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 204 // Remove these as we update our sites. | 204 // Remove these as we update our sites. |
| 205 // | 205 // |
| 206 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE | 206 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE |
| 207 # define SK_SUPPORT_LEGACY_GETTOPDEVICE | 207 # define SK_SUPPORT_LEGACY_GETTOPDEVICE |
| 208 #endif | 208 #endif |
| 209 | 209 |
| 210 #ifndef SK_SUPPORT_LEGACY_GETDEVICE | 210 #ifndef SK_SUPPORT_LEGACY_GETDEVICE |
| 211 # define SK_SUPPORT_LEGACY_GETDEVICE | 211 # define SK_SUPPORT_LEGACY_GETDEVICE |
| 212 #endif | 212 #endif |
| 213 | 213 |
| 214 #ifndef SK_SUPPORT_LEGACY_ACCESSBITMAP |
| 215 # define SK_SUPPORT_LEGACY_ACCESSBITMAP |
| 216 #endif |
| 217 |
| 214 // Workaround for poor anisotropic mipmap quality, | 218 // Workaround for poor anisotropic mipmap quality, |
| 215 // pending Skia ripmap support. | 219 // pending Skia ripmap support. |
| 216 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) | 220 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) |
| 217 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 221 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
| 218 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 222 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
| 219 #endif | 223 #endif |
| 220 | 224 |
| 221 #ifndef SK_IGNORE_ETC1_SUPPORT | 225 #ifndef SK_IGNORE_ETC1_SUPPORT |
| 222 # define SK_IGNORE_ETC1_SUPPORT | 226 # define SK_IGNORE_ETC1_SUPPORT |
| 223 #endif | 227 #endif |
| (...skipping 26 matching lines...) Expand all Loading... |
| 250 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 254 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
| 251 | 255 |
| 252 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 256 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
| 253 #define SK_SUPPORT_LEGACY_X86_BLITS | 257 #define SK_SUPPORT_LEGACY_X86_BLITS |
| 254 | 258 |
| 255 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION | 259 #define SK_DISABLE_TILE_IMAGE_FILTER_OPTIMIZATION |
| 256 | 260 |
| 257 // ===== End Chrome-specific definitions ===== | 261 // ===== End Chrome-specific definitions ===== |
| 258 | 262 |
| 259 #endif | 263 #endif |
| OLD | NEW |