Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| 10 #ifndef GrGLDefines_DEFINED | 10 #ifndef GrGLDefines_DEFINED |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 278 #define GR_GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2 0x8DBE | 278 #define GR_GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2 0x8DBE |
| 279 | 279 |
| 280 #define GR_GL_COMPRESSED_3DC_X 0x87F9 | 280 #define GR_GL_COMPRESSED_3DC_X 0x87F9 |
| 281 #define GR_GL_COMPRESSED_3DC_XY 0x87FA | 281 #define GR_GL_COMPRESSED_3DC_XY 0x87FA |
| 282 | 282 |
| 283 #define GR_GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C | 283 #define GR_GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C |
| 284 #define GR_GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D | 284 #define GR_GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D |
| 285 #define GR_GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E | 285 #define GR_GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E |
| 286 #define GR_GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F | 286 #define GR_GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F |
| 287 | 287 |
| 288 #define GR_GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 | 288 #define GR_GL_COMPRESSED_RGBA_ASTC_4x4 0x93B0 |
|
bsalomon
2015/12/16 19:10:45
We don't usually include vendor suffixes on extens
| |
| 289 #define GR_GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 | 289 #define GR_GL_COMPRESSED_RGBA_ASTC_5x4 0x93B1 |
| 290 #define GR_GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 | 290 #define GR_GL_COMPRESSED_RGBA_ASTC_5x5 0x93B2 |
| 291 #define GR_GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 | 291 #define GR_GL_COMPRESSED_RGBA_ASTC_6x5 0x93B3 |
| 292 #define GR_GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 | 292 #define GR_GL_COMPRESSED_RGBA_ASTC_6x6 0x93B4 |
| 293 #define GR_GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 | 293 #define GR_GL_COMPRESSED_RGBA_ASTC_8x5 0x93B5 |
| 294 #define GR_GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 | 294 #define GR_GL_COMPRESSED_RGBA_ASTC_8x6 0x93B6 |
| 295 #define GR_GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 | 295 #define GR_GL_COMPRESSED_RGBA_ASTC_8x8 0x93B7 |
| 296 #define GR_GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 | 296 #define GR_GL_COMPRESSED_RGBA_ASTC_10x5 0x93B8 |
| 297 #define GR_GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 | 297 #define GR_GL_COMPRESSED_RGBA_ASTC_10x6 0x93B9 |
| 298 #define GR_GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA | 298 #define GR_GL_COMPRESSED_RGBA_ASTC_10x8 0x93BA |
| 299 #define GR_GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB | 299 #define GR_GL_COMPRESSED_RGBA_ASTC_10x10 0x93BB |
| 300 #define GR_GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC | 300 #define GR_GL_COMPRESSED_RGBA_ASTC_12x10 0x93BC |
| 301 #define GR_GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD | 301 #define GR_GL_COMPRESSED_RGBA_ASTC_12x12 0x93BD |
| 302 | 302 |
| 303 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 | 303 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4 0x93D0 |
| 304 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 | 304 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4 0x93D1 |
| 305 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 | 305 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5 0x93D2 |
| 306 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 | 306 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5 0x93D3 |
| 307 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 | 307 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6 0x93D4 |
| 308 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 | 308 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5 0x93D5 |
| 309 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 | 309 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6 0x93D6 |
| 310 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 | 310 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8 0x93D7 |
| 311 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 | 311 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5 0x93D8 |
| 312 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 | 312 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6 0x93D9 |
| 313 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA | 313 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8 0x93DA |
| 314 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB | 314 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10 0x93DB |
| 315 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC | 315 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10 0x93DC |
| 316 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD | 316 #define GR_GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12 0x93DD |
| 317 | 317 |
| 318 /* HintMode */ | 318 /* HintMode */ |
| 319 #define GR_GL_DONT_CARE 0x1100 | 319 #define GR_GL_DONT_CARE 0x1100 |
| 320 #define GR_GL_FASTEST 0x1101 | 320 #define GR_GL_FASTEST 0x1101 |
| 321 #define GR_GL_NICEST 0x1102 | 321 #define GR_GL_NICEST 0x1102 |
| 322 | 322 |
| 323 /* HintTarget */ | 323 /* HintTarget */ |
| 324 #define GR_GL_GENERATE_MIPMAP_HINT 0x8192 | 324 #define GR_GL_GENERATE_MIPMAP_HINT 0x8192 |
| 325 | 325 |
| 326 /* DataType */ | 326 /* DataType */ |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 944 #define GR_EGL_EXTENSIONS 0x3055 | 944 #define GR_EGL_EXTENSIONS 0x3055 |
| 945 #define GR_EGL_GL_TEXTURE_2D 0x30B1 | 945 #define GR_EGL_GL_TEXTURE_2D 0x30B1 |
| 946 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC | 946 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC |
| 947 #define GR_EGL_IMAGE_PRESERVED 0x30D2 | 947 #define GR_EGL_IMAGE_PRESERVED 0x30D2 |
| 948 #define GR_EGL_FALSE 0x0 | 948 #define GR_EGL_FALSE 0x0 |
| 949 #define GR_EGL_TRUE 0x1 | 949 #define GR_EGL_TRUE 0x1 |
| 950 #define GR_EGL_NONE 0x3038 | 950 #define GR_EGL_NONE 0x3038 |
| 951 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) | 951 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) |
| 952 | 952 |
| 953 #endif | 953 #endif |
| OLD | NEW |