| 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 | 238 |
| 239 // These flags are no longer defined in Skia, but we have them (temporarily) | 239 // These flags are no longer defined in Skia, but we have them (temporarily) |
| 240 // until we update our call-sites (typically these are for API changes). | 240 // until we update our call-sites (typically these are for API changes). |
| 241 // | 241 // |
| 242 // Remove these as we update our sites. | 242 // Remove these as we update our sites. |
| 243 // | 243 // |
| 244 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE | 244 #ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE |
| 245 # define SK_SUPPORT_LEGACY_GETTOPDEVICE | 245 # define SK_SUPPORT_LEGACY_GETTOPDEVICE |
| 246 #endif | 246 #endif |
| 247 | 247 |
| 248 #ifndef SK_SUPPORT_LEGACY_IMAGEFILTER_CTM |
| 249 # define SK_SUPPORT_LEGACY_IMAGEFILTER_CTM |
| 250 #endif |
| 251 |
| 248 #ifndef SK_LEGACY_DRAWPICTURECALLBACK | 252 #ifndef SK_LEGACY_DRAWPICTURECALLBACK |
| 249 # define SK_LEGACY_DRAWPICTURECALLBACK | 253 # define SK_LEGACY_DRAWPICTURECALLBACK |
| 250 #endif | 254 #endif |
| 251 | 255 |
| 252 #ifndef SK_SUPPORT_LEGACY_GETDEVICE | 256 #ifndef SK_SUPPORT_LEGACY_GETDEVICE |
| 253 # define SK_SUPPORT_LEGACY_GETDEVICE | 257 # define SK_SUPPORT_LEGACY_GETDEVICE |
| 254 #endif | 258 #endif |
| 255 | 259 |
| 256 #ifndef SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS | 260 #ifndef SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS |
| 257 # define SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS | 261 # define SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE | 302 #define SK_USE_DISCARDABLE_SCALEDIMAGECACHE |
| 299 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT | 303 #define SK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT |
| 300 | 304 |
| 301 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 | 305 #define SK_ATTR_DEPRECATED SK_NOTHING_ARG1 |
| 302 #define SK_ENABLE_INST_COUNT 0 | 306 #define SK_ENABLE_INST_COUNT 0 |
| 303 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" | 307 #define GR_GL_CUSTOM_SETUP_HEADER "GrGLConfig_chrome.h" |
| 304 | 308 |
| 305 // ===== End Chrome-specific definitions ===== | 309 // ===== End Chrome-specific definitions ===== |
| 306 | 310 |
| 307 #endif | 311 #endif |
| OLD | NEW |