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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 // pending Skia ripmap support. | 195 // pending Skia ripmap support. |
196 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) | 196 // (https://bugs.chromium.org/p/skia/issues/detail?id=4863) |
197 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 197 #ifndef SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
198 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE | 198 # define SK_SUPPORT_LEGACY_ANISOTROPIC_MIPMAP_SCALE |
199 #endif | 199 #endif |
200 | 200 |
201 #ifndef SK_IGNORE_ETC1_SUPPORT | 201 #ifndef SK_IGNORE_ETC1_SUPPORT |
202 # define SK_IGNORE_ETC1_SUPPORT | 202 # define SK_IGNORE_ETC1_SUPPORT |
203 #endif | 203 #endif |
204 | 204 |
| 205 #ifndef SK_SUPPORT_GPU_REF_ENCODED_DATA |
| 206 # define SK_SUPPORT_GPU_REF_ENCODED_DATA |
| 207 #endif |
| 208 |
205 #ifndef SK_IGNORE_GPU_DITHER | 209 #ifndef SK_IGNORE_GPU_DITHER |
206 # define SK_IGNORE_GPU_DITHER | 210 # define SK_IGNORE_GPU_DITHER |
207 #endif | 211 #endif |
208 | 212 |
209 // Remove this after we fixed all the issues related to the new SDF algorithm | 213 // Remove this after we fixed all the issues related to the new SDF algorithm |
210 // (https://codereview.chromium.org/1643143002) | 214 // (https://codereview.chromium.org/1643143002) |
211 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS | 215 #ifndef SK_USE_LEGACY_DISTANCE_FIELDS |
212 # define SK_USE_LEGACY_DISTANCE_FIELDS | 216 # define SK_USE_LEGACY_DISTANCE_FIELDS |
213 #endif | 217 #endif |
214 | 218 |
(...skipping 24 matching lines...) Expand all Loading... |
239 | 243 |
240 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 244 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
241 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 245 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
242 | 246 |
243 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. | 247 // mtklein's fiddling with Src / SrcOver. Will rebaseline these only once when
done. |
244 #define SK_SUPPORT_LEGACY_X86_BLITS | 248 #define SK_SUPPORT_LEGACY_X86_BLITS |
245 | 249 |
246 // ===== End Chrome-specific definitions ===== | 250 // ===== End Chrome-specific definitions ===== |
247 | 251 |
248 #endif | 252 #endif |
OLD | NEW |