OLD | NEW |
1 #ifndef __gl2ext_h_ | 1 #ifndef __gl2ext_h_ |
2 #define __gl2ext_h_ | 2 #define __gl2ext_h_ |
3 | 3 |
4 /* $Revision: 10969 $ on $Date:: 2010-04-09 02:27:15 -0700 #$ */ | 4 /* $Revision: 10969 $ on $Date:: 2010-04-09 02:27:15 -0700 #$ */ |
5 | 5 |
6 #ifdef __cplusplus | 6 #ifdef __cplusplus |
7 extern "C" { | 7 extern "C" { |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 | 139 |
140 /* GL_OES_vertex_half_float */ | 140 /* GL_OES_vertex_half_float */ |
141 /* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ | 141 /* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ |
142 | 142 |
143 /* GL_OES_vertex_type_10_10_10_2 */ | 143 /* GL_OES_vertex_type_10_10_10_2 */ |
144 #ifndef GL_OES_vertex_type_10_10_10_2 | 144 #ifndef GL_OES_vertex_type_10_10_10_2 |
145 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 | 145 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 |
146 #define GL_INT_10_10_10_2_OES 0x8DF7 | 146 #define GL_INT_10_10_10_2_OES 0x8DF7 |
147 #endif | 147 #endif |
148 | 148 |
| 149 /* GL_OES_EGL_image_external */ |
| 150 #ifndef GL_OES_EGL_image_external |
| 151 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 |
| 152 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 |
| 153 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 |
| 154 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 |
| 155 #endif |
| 156 |
149 /*------------------------------------------------------------------------* | 157 /*------------------------------------------------------------------------* |
150 * AMD extension tokens | 158 * AMD extension tokens |
151 *------------------------------------------------------------------------*/ | 159 *------------------------------------------------------------------------*/ |
152 | 160 |
153 /* GL_AMD_compressed_3DC_texture */ | 161 /* GL_AMD_compressed_3DC_texture */ |
154 #ifndef GL_AMD_compressed_3DC_texture | 162 #ifndef GL_AMD_compressed_3DC_texture |
155 #define GL_3DC_X_AMD 0x87F9 | 163 #define GL_3DC_X_AMD 0x87F9 |
156 #define GL_3DC_XY_AMD 0x87FA | 164 #define GL_3DC_XY_AMD 0x87FA |
157 #endif | 165 #endif |
158 | 166 |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 /* GL_OES_vertex_half_float */ | 544 /* GL_OES_vertex_half_float */ |
537 #ifndef GL_OES_vertex_half_float | 545 #ifndef GL_OES_vertex_half_float |
538 #define GL_OES_vertex_half_float 1 | 546 #define GL_OES_vertex_half_float 1 |
539 #endif | 547 #endif |
540 | 548 |
541 /* GL_OES_vertex_type_10_10_10_2 */ | 549 /* GL_OES_vertex_type_10_10_10_2 */ |
542 #ifndef GL_OES_vertex_type_10_10_10_2 | 550 #ifndef GL_OES_vertex_type_10_10_10_2 |
543 #define GL_OES_vertex_type_10_10_10_2 1 | 551 #define GL_OES_vertex_type_10_10_10_2 1 |
544 #endif | 552 #endif |
545 | 553 |
| 554 /* GL_OES_EGL_image_external */ |
| 555 #ifndef GL_OES_EGL_image_external |
| 556 #define GL_OES_EGL_image_external 1 |
| 557 #endif |
| 558 |
546 /*------------------------------------------------------------------------* | 559 /*------------------------------------------------------------------------* |
547 * AMD extension functions | 560 * AMD extension functions |
548 *------------------------------------------------------------------------*/ | 561 *------------------------------------------------------------------------*/ |
549 | 562 |
550 /* GL_AMD_compressed_3DC_texture */ | 563 /* GL_AMD_compressed_3DC_texture */ |
551 #ifndef GL_AMD_compressed_3DC_texture | 564 #ifndef GL_AMD_compressed_3DC_texture |
552 #define GL_AMD_compressed_3DC_texture 1 | 565 #define GL_AMD_compressed_3DC_texture 1 |
553 #endif | 566 #endif |
554 | 567 |
555 /* GL_AMD_compressed_ATC_texture */ | 568 /* GL_AMD_compressed_ATC_texture */ |
(...skipping 483 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1039 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB | 1052 #ifndef GL_UNKNOWN_CONTEXT_RESET_ARB |
1040 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 | 1053 #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255 |
1041 #endif | 1054 #endif |
1042 #endif | 1055 #endif |
1043 | 1056 |
1044 #ifdef __cplusplus | 1057 #ifdef __cplusplus |
1045 } | 1058 } |
1046 #endif | 1059 #endif |
1047 | 1060 |
1048 #endif /* __gl2ext_h_ */ | 1061 #endif /* __gl2ext_h_ */ |
OLD | NEW |