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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 /* GL_NEAREST */ | 499 /* GL_NEAREST */ |
500 /* GL_LINEAR */ | 500 /* GL_LINEAR */ |
501 #define GR_GL_NEAREST_MIPMAP_NEAREST 0x2700 | 501 #define GR_GL_NEAREST_MIPMAP_NEAREST 0x2700 |
502 #define GR_GL_LINEAR_MIPMAP_NEAREST 0x2701 | 502 #define GR_GL_LINEAR_MIPMAP_NEAREST 0x2701 |
503 #define GR_GL_NEAREST_MIPMAP_LINEAR 0x2702 | 503 #define GR_GL_NEAREST_MIPMAP_LINEAR 0x2702 |
504 #define GR_GL_LINEAR_MIPMAP_LINEAR 0x2703 | 504 #define GR_GL_LINEAR_MIPMAP_LINEAR 0x2703 |
505 | 505 |
506 /* TextureUsage */ | 506 /* TextureUsage */ |
507 #define GR_GL_FRAMEBUFFER_ATTACHMENT 0x93A3 | 507 #define GR_GL_FRAMEBUFFER_ATTACHMENT 0x93A3 |
508 | 508 |
| 509 /* TextureSRGBDecode */ |
| 510 #define GR_GL_DECODE_EXT 0x8A49 |
| 511 #define GR_GL_SKIP_DECODE_EXT 0x8A4A |
| 512 |
509 /* TextureParameterName */ | 513 /* TextureParameterName */ |
510 #define GR_GL_TEXTURE_MAG_FILTER 0x2800 | 514 #define GR_GL_TEXTURE_MAG_FILTER 0x2800 |
511 #define GR_GL_TEXTURE_MIN_FILTER 0x2801 | 515 #define GR_GL_TEXTURE_MIN_FILTER 0x2801 |
512 #define GR_GL_TEXTURE_WRAP_S 0x2802 | 516 #define GR_GL_TEXTURE_WRAP_S 0x2802 |
513 #define GR_GL_TEXTURE_WRAP_T 0x2803 | 517 #define GR_GL_TEXTURE_WRAP_T 0x2803 |
514 #define GR_GL_TEXTURE_USAGE 0x93A2 | 518 #define GR_GL_TEXTURE_USAGE 0x93A2 |
| 519 #define GR_GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 |
515 | 520 |
516 /* TextureTarget */ | 521 /* TextureTarget */ |
517 /* GL_TEXTURE_2D */ | 522 /* GL_TEXTURE_2D */ |
518 #define GR_GL_TEXTURE 0x1702 | 523 #define GR_GL_TEXTURE 0x1702 |
519 #define GR_GL_TEXTURE_CUBE_MAP 0x8513 | 524 #define GR_GL_TEXTURE_CUBE_MAP 0x8513 |
520 #define GR_GL_TEXTURE_BINDING_CUBE_MAP 0x8514 | 525 #define GR_GL_TEXTURE_BINDING_CUBE_MAP 0x8514 |
521 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 | 526 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 |
522 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 | 527 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 |
523 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 | 528 #define GR_GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 |
524 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 | 529 #define GR_GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 |
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 #define GR_EGL_EXTENSIONS 0x3055 | 964 #define GR_EGL_EXTENSIONS 0x3055 |
960 #define GR_EGL_GL_TEXTURE_2D 0x30B1 | 965 #define GR_EGL_GL_TEXTURE_2D 0x30B1 |
961 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC | 966 #define GR_EGL_GL_TEXTURE_LEVEL 0x30BC |
962 #define GR_EGL_IMAGE_PRESERVED 0x30D2 | 967 #define GR_EGL_IMAGE_PRESERVED 0x30D2 |
963 #define GR_EGL_FALSE 0x0 | 968 #define GR_EGL_FALSE 0x0 |
964 #define GR_EGL_TRUE 0x1 | 969 #define GR_EGL_TRUE 0x1 |
965 #define GR_EGL_NONE 0x3038 | 970 #define GR_EGL_NONE 0x3038 |
966 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) | 971 #define GR_EGL_NO_IMAGE ((GrEGLImage)0) |
967 | 972 |
968 #endif | 973 #endif |
OLD | NEW |