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