| OLD | NEW |
| 1 #ifndef __gl2ext_h_ | 1 #ifndef __gl2ext_h_ |
| 2 #define __gl2ext_h_ 1 | 2 #define __gl2ext_h_ |
| 3 |
| 4 /* $Revision: 19436 $ on $Date:: 2012-10-10 10:37:04 -0700 #$ */ |
| 3 | 5 |
| 4 #ifdef __cplusplus | 6 #ifdef __cplusplus |
| 5 extern "C" { | 7 extern "C" { |
| 6 #endif | 8 #endif |
| 7 | 9 |
| 8 /* | 10 /* |
| 9 ** Copyright (c) 2013 The Khronos Group Inc. | 11 * This document is licensed under the SGI Free Software B License Version |
| 10 ** | 12 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . |
| 11 ** Permission is hereby granted, free of charge, to any person obtaining a | 13 */ |
| 12 ** copy of this software and/or associated documentation files (the | |
| 13 ** "Materials"), to deal in the Materials without restriction, including | |
| 14 ** without limitation the rights to use, copy, modify, merge, publish, | |
| 15 ** distribute, sublicense, and/or sell copies of the Materials, and to | |
| 16 ** permit persons to whom the Materials are furnished to do so, subject to | |
| 17 ** the following conditions: | |
| 18 ** | |
| 19 ** The above copyright notice and this permission notice shall be included | |
| 20 ** in all copies or substantial portions of the Materials. | |
| 21 ** | |
| 22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | |
| 23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | |
| 24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | |
| 25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | |
| 26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | |
| 27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | |
| 28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. | |
| 29 */ | |
| 30 /* | |
| 31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML | |
| 32 ** API Registry. The current version of the Registry, generator scripts | |
| 33 ** used to make the header, and the header can be found at | |
| 34 ** http://www.opengl.org/registry/ | |
| 35 ** | |
| 36 ** Khronos $Revision: 24263 $ on $Date: 2013-12-02 03:42:02 -0800 (Mon, 02 Dec 2
013) $ | |
| 37 */ | |
| 38 | 14 |
| 39 #ifndef GL_APIENTRYP | 15 #ifndef GL_APIENTRYP |
| 40 #define GL_APIENTRYP GL_APIENTRY* | 16 # define GL_APIENTRYP GL_APIENTRY* |
| 41 #endif | 17 #endif |
| 42 | 18 |
| 43 /* Generated on date 20131202 */ | 19 /*------------------------------------------------------------------------* |
| 44 | 20 * OES extension tokens |
| 45 /* Generated C header for: | 21 *------------------------------------------------------------------------*/ |
| 46 * API: gles2 | 22 |
| 47 * Profile: common | 23 /* GL_OES_compressed_ETC1_RGB8_texture */ |
| 48 * Versions considered: 2\.[0-9] | 24 #ifndef GL_OES_compressed_ETC1_RGB8_texture |
| 49 * Versions emitted: _nomatch_^ | 25 #define GL_ETC1_RGB8_OES 0x8D64 |
| 50 * Default extensions included: gles2 | 26 #endif |
| 51 * Additional extensions included: _nomatch_^ | 27 |
| 52 * Extensions removed: _nomatch_^ | 28 /* GL_OES_compressed_paletted_texture */ |
| 29 #ifndef GL_OES_compressed_paletted_texture |
| 30 #define GL_PALETTE4_RGB8_OES 0x8B90 |
| 31 #define GL_PALETTE4_RGBA8_OES 0x8B91 |
| 32 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92 |
| 33 #define GL_PALETTE4_RGBA4_OES 0x8B93 |
| 34 #define GL_PALETTE4_RGB5_A1_OES 0x8B94 |
| 35 #define GL_PALETTE8_RGB8_OES 0x8B95 |
| 36 #define GL_PALETTE8_RGBA8_OES 0x8B96 |
| 37 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97 |
| 38 #define GL_PALETTE8_RGBA4_OES 0x8B98 |
| 39 #define GL_PALETTE8_RGB5_A1_OES 0x8B99 |
| 40 #endif |
| 41 |
| 42 /* GL_OES_depth24 */ |
| 43 #ifndef GL_OES_depth24 |
| 44 #define GL_DEPTH_COMPONENT24_OES 0x81A6 |
| 45 #endif |
| 46 |
| 47 /* GL_OES_depth32 */ |
| 48 #ifndef GL_OES_depth32 |
| 49 #define GL_DEPTH_COMPONENT32_OES 0x81A7 |
| 50 #endif |
| 51 |
| 52 /* GL_OES_depth_texture */ |
| 53 /* No new tokens introduced by this extension. */ |
| 54 |
| 55 /* GL_OES_EGL_image */ |
| 56 #ifndef GL_OES_EGL_image |
| 57 typedef void* GLeglImageOES; |
| 58 #endif |
| 59 |
| 60 /* GL_OES_EGL_image_external */ |
| 61 #ifndef GL_OES_EGL_image_external |
| 62 /* GLeglImageOES defined in GL_OES_EGL_image already. */ |
| 63 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 |
| 64 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 |
| 65 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 |
| 66 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 |
| 67 #endif |
| 68 |
| 69 /* GL_OES_element_index_uint */ |
| 70 #ifndef GL_OES_element_index_uint |
| 71 #define GL_UNSIGNED_INT 0x1405 |
| 72 #endif |
| 73 |
| 74 /* GL_OES_get_program_binary */ |
| 75 #ifndef GL_OES_get_program_binary |
| 76 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 |
| 77 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE |
| 78 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF |
| 79 #endif |
| 80 |
| 81 /* GL_OES_mapbuffer */ |
| 82 #ifndef GL_OES_mapbuffer |
| 83 #define GL_WRITE_ONLY_OES 0x88B9 |
| 84 #define GL_BUFFER_ACCESS_OES 0x88BB |
| 85 #define GL_BUFFER_MAPPED_OES 0x88BC |
| 86 #define GL_BUFFER_MAP_POINTER_OES 0x88BD |
| 87 #endif |
| 88 |
| 89 /* GL_OES_packed_depth_stencil */ |
| 90 #ifndef GL_OES_packed_depth_stencil |
| 91 #define GL_DEPTH_STENCIL_OES 0x84F9 |
| 92 #define GL_UNSIGNED_INT_24_8_OES 0x84FA |
| 93 #define GL_DEPTH24_STENCIL8_OES 0x88F0 |
| 94 #endif |
| 95 |
| 96 /* GL_OES_required_internalformat */ |
| 97 #ifndef GL_OES_required_internalformat |
| 98 #define GL_ALPHA8_OES 0x803C |
| 99 #define GL_DEPTH_COMPONENT16_OES 0x81A5 |
| 100 /* reuse GL_DEPTH_COMPONENT24_OES */ |
| 101 /* reuse GL_DEPTH24_STENCIL8_OES */ |
| 102 /* reuse GL_DEPTH_COMPONENT32_OES */ |
| 103 #define GL_LUMINANCE4_ALPHA4_OES 0x8043 |
| 104 #define GL_LUMINANCE8_ALPHA8_OES 0x8045 |
| 105 #define GL_LUMINANCE8_OES 0x8040 |
| 106 #define GL_RGBA4_OES 0x8056 |
| 107 #define GL_RGB5_A1_OES 0x8057 |
| 108 #define GL_RGB565_OES 0x8D62 |
| 109 /* reuse GL_RGB8_OES */ |
| 110 /* reuse GL_RGBA8_OES */ |
| 111 /* reuse GL_RGB10_EXT */ |
| 112 /* reuse GL_RGB10_A2_EXT */ |
| 113 #endif |
| 114 |
| 115 /* GL_OES_rgb8_rgba8 */ |
| 116 #ifndef GL_OES_rgb8_rgba8 |
| 117 #define GL_RGB8_OES 0x8051 |
| 118 #define GL_RGBA8_OES 0x8058 |
| 119 #endif |
| 120 |
| 121 /* GL_OES_standard_derivatives */ |
| 122 #ifndef GL_OES_standard_derivatives |
| 123 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B |
| 124 #endif |
| 125 |
| 126 /* GL_OES_stencil1 */ |
| 127 #ifndef GL_OES_stencil1 |
| 128 #define GL_STENCIL_INDEX1_OES 0x8D46 |
| 129 #endif |
| 130 |
| 131 /* GL_OES_stencil4 */ |
| 132 #ifndef GL_OES_stencil4 |
| 133 #define GL_STENCIL_INDEX4_OES 0x8D47 |
| 134 #endif |
| 135 |
| 136 #ifndef GL_OES_surfaceless_context |
| 137 #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 |
| 138 #endif |
| 139 |
| 140 /* GL_OES_texture_3D */ |
| 141 #ifndef GL_OES_texture_3D |
| 142 #define GL_TEXTURE_WRAP_R_OES 0x8072 |
| 143 #define GL_TEXTURE_3D_OES 0x806F |
| 144 #define GL_TEXTURE_BINDING_3D_OES 0x806A |
| 145 #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 |
| 146 #define GL_SAMPLER_3D_OES 0x8B5F |
| 147 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 |
| 148 #endif |
| 149 |
| 150 /* GL_OES_texture_float */ |
| 151 /* No new tokens introduced by this extension. */ |
| 152 |
| 153 /* GL_OES_texture_float_linear */ |
| 154 /* No new tokens introduced by this extension. */ |
| 155 |
| 156 /* GL_OES_texture_half_float */ |
| 157 #ifndef GL_OES_texture_half_float |
| 158 #define GL_HALF_FLOAT_OES 0x8D61 |
| 159 #endif |
| 160 |
| 161 /* GL_OES_texture_half_float_linear */ |
| 162 /* No new tokens introduced by this extension. */ |
| 163 |
| 164 /* GL_OES_texture_npot */ |
| 165 /* No new tokens introduced by this extension. */ |
| 166 |
| 167 /* GL_OES_vertex_array_object */ |
| 168 #ifndef GL_OES_vertex_array_object |
| 169 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 |
| 170 #endif |
| 171 |
| 172 /* GL_OES_vertex_half_float */ |
| 173 /* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ |
| 174 |
| 175 /* GL_OES_vertex_type_10_10_10_2 */ |
| 176 #ifndef GL_OES_vertex_type_10_10_10_2 |
| 177 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 |
| 178 #define GL_INT_10_10_10_2_OES 0x8DF7 |
| 179 #endif |
| 180 |
| 181 /*------------------------------------------------------------------------* |
| 182 * KHR extension tokens |
| 183 *------------------------------------------------------------------------*/ |
| 184 |
| 185 #ifndef GL_KHR_debug |
| 186 typedef void (GL_APIENTRYP GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLen
um severity,GLsizei length,const GLchar *message,GLvoid *userParam); |
| 187 #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242 |
| 188 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243 |
| 189 #define GL_DEBUG_CALLBACK_FUNCTION 0x8244 |
| 190 #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245 |
| 191 #define GL_DEBUG_SOURCE_API 0x8246 |
| 192 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247 |
| 193 #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248 |
| 194 #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249 |
| 195 #define GL_DEBUG_SOURCE_APPLICATION 0x824A |
| 196 #define GL_DEBUG_SOURCE_OTHER 0x824B |
| 197 #define GL_DEBUG_TYPE_ERROR 0x824C |
| 198 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D |
| 199 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E |
| 200 #define GL_DEBUG_TYPE_PORTABILITY 0x824F |
| 201 #define GL_DEBUG_TYPE_PERFORMANCE 0x8250 |
| 202 #define GL_DEBUG_TYPE_OTHER 0x8251 |
| 203 #define GL_DEBUG_TYPE_MARKER 0x8268 |
| 204 #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269 |
| 205 #define GL_DEBUG_TYPE_POP_GROUP 0x826A |
| 206 #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B |
| 207 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C |
| 208 #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D |
| 209 #define GL_BUFFER 0x82E0 |
| 210 #define GL_SHADER 0x82E1 |
| 211 #define GL_PROGRAM 0x82E2 |
| 212 #define GL_QUERY 0x82E3 |
| 213 /* PROGRAM_PIPELINE only in GL */ |
| 214 #define GL_SAMPLER 0x82E6 |
| 215 /* DISPLAY_LIST only in GL */ |
| 216 #define GL_MAX_LABEL_LENGTH 0x82E8 |
| 217 #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143 |
| 218 #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144 |
| 219 #define GL_DEBUG_LOGGED_MESSAGES 0x9145 |
| 220 #define GL_DEBUG_SEVERITY_HIGH 0x9146 |
| 221 #define GL_DEBUG_SEVERITY_MEDIUM 0x9147 |
| 222 #define GL_DEBUG_SEVERITY_LOW 0x9148 |
| 223 #define GL_DEBUG_OUTPUT 0x92E0 |
| 224 #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002 |
| 225 #define GL_STACK_OVERFLOW 0x0503 |
| 226 #define GL_STACK_UNDERFLOW 0x0504 |
| 227 #endif |
| 228 |
| 229 #ifndef GL_KHR_texture_compression_astc_ldr |
| 230 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 |
| 231 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 |
| 232 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 |
| 233 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 |
| 234 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 |
| 235 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 |
| 236 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 |
| 237 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 |
| 238 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 |
| 239 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 |
| 240 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA |
| 241 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB |
| 242 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC |
| 243 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD |
| 244 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 |
| 245 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 |
| 246 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 |
| 247 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 |
| 248 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 |
| 249 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 |
| 250 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 |
| 251 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 |
| 252 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 |
| 253 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 |
| 254 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA |
| 255 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB |
| 256 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC |
| 257 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD |
| 258 #endif |
| 259 |
| 260 /*------------------------------------------------------------------------* |
| 261 * AMD extension tokens |
| 262 *------------------------------------------------------------------------*/ |
| 263 |
| 264 /* GL_AMD_compressed_3DC_texture */ |
| 265 #ifndef GL_AMD_compressed_3DC_texture |
| 266 #define GL_3DC_X_AMD 0x87F9 |
| 267 #define GL_3DC_XY_AMD 0x87FA |
| 268 #endif |
| 269 |
| 270 /* GL_AMD_compressed_ATC_texture */ |
| 271 #ifndef GL_AMD_compressed_ATC_texture |
| 272 #define GL_ATC_RGB_AMD 0x8C92 |
| 273 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 |
| 274 #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE |
| 275 #endif |
| 276 |
| 277 /* GL_AMD_performance_monitor */ |
| 278 #ifndef GL_AMD_performance_monitor |
| 279 #define GL_COUNTER_TYPE_AMD 0x8BC0 |
| 280 #define GL_COUNTER_RANGE_AMD 0x8BC1 |
| 281 #define GL_UNSIGNED_INT64_AMD 0x8BC2 |
| 282 #define GL_PERCENTAGE_AMD 0x8BC3 |
| 283 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 |
| 284 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 |
| 285 #define GL_PERFMON_RESULT_AMD 0x8BC6 |
| 286 #endif |
| 287 |
| 288 /* GL_AMD_program_binary_Z400 */ |
| 289 #ifndef GL_AMD_program_binary_Z400 |
| 290 #define GL_Z400_BINARY_AMD 0x8740 |
| 291 #endif |
| 292 |
| 293 /*------------------------------------------------------------------------* |
| 294 * ANGLE extension tokens |
| 295 *------------------------------------------------------------------------*/ |
| 296 |
| 297 /* GL_ANGLE_framebuffer_blit */ |
| 298 #ifndef GL_ANGLE_framebuffer_blit |
| 299 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 |
| 300 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 |
| 301 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 |
| 302 #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA |
| 303 #endif |
| 304 |
| 305 /* GL_ANGLE_framebuffer_multisample */ |
| 306 #ifndef GL_ANGLE_framebuffer_multisample |
| 307 #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB |
| 308 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 |
| 309 #define GL_MAX_SAMPLES_ANGLE 0x8D57 |
| 310 #endif |
| 311 |
| 312 /* GL_ANGLE_instanced_arrays */ |
| 313 #ifndef GL_ANGLE_instanced_arrays |
| 314 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE |
| 315 #endif |
| 316 |
| 317 /* GL_ANGLE_pack_reverse_row_order */ |
| 318 #ifndef GL_ANGLE_pack_reverse_row_order |
| 319 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 |
| 320 #endif |
| 321 |
| 322 /* GL_ANGLE_texture_compression_dxt3 */ |
| 323 #ifndef GL_ANGLE_texture_compression_dxt3 |
| 324 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 |
| 325 #endif |
| 326 |
| 327 /* GL_ANGLE_texture_compression_dxt5 */ |
| 328 #ifndef GL_ANGLE_texture_compression_dxt5 |
| 329 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 |
| 330 #endif |
| 331 |
| 332 /* GL_ANGLE_texture_usage */ |
| 333 #ifndef GL_ANGLE_texture_usage |
| 334 #define GL_TEXTURE_USAGE_ANGLE 0x93A2 |
| 335 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 |
| 336 #endif |
| 337 |
| 338 /* GL_ANGLE_translated_shader_source */ |
| 339 #ifndef GL_ANGLE_translated_shader_source |
| 340 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 |
| 341 #endif |
| 342 |
| 343 /*------------------------------------------------------------------------* |
| 344 * APPLE extension tokens |
| 345 *------------------------------------------------------------------------*/ |
| 346 |
| 347 /* GL_APPLE_copy_texture_levels */ |
| 348 /* No new tokens introduced by this extension. */ |
| 349 |
| 350 /* GL_APPLE_framebuffer_multisample */ |
| 351 #ifndef GL_APPLE_framebuffer_multisample |
| 352 #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB |
| 353 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 |
| 354 #define GL_MAX_SAMPLES_APPLE 0x8D57 |
| 355 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 |
| 356 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 |
| 357 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 |
| 358 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA |
| 359 #endif |
| 360 |
| 361 /* GL_APPLE_rgb_422 */ |
| 362 #ifndef GL_APPLE_rgb_422 |
| 363 #define GL_RGB_422_APPLE 0x8A1F |
| 364 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA |
| 365 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB |
| 366 #endif |
| 367 |
| 368 /* GL_APPLE_sync */ |
| 369 #ifndef GL_APPLE_sync |
| 370 |
| 371 #ifndef __gl3_h_ |
| 372 /* These types are defined with reference to <inttypes.h> |
| 373 * in the Apple extension spec, but here we use the Khronos |
| 374 * portable types in khrplatform.h, and assume those types |
| 375 * are always defined. |
| 376 * If any other extensions using these types are defined, |
| 377 * the typedefs must move out of this block and be shared. |
| 53 */ | 378 */ |
| 54 | 379 typedef khronos_int64_t GLint64; |
| 55 #ifndef GL_KHR_debug | 380 typedef khronos_uint64_t GLuint64; |
| 56 #define GL_KHR_debug 1 | 381 typedef struct __GLsync *GLsync; |
| 57 typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,
GLenum severity,GLsizei length,const GLchar *message,const void *userParam); | 382 #endif |
| 58 #define GL_SAMPLER 0x82E6 | 383 |
| 59 #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 | 384 #define GL_SYNC_OBJECT_APPLE 0x8A53 |
| 60 #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 | 385 #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 |
| 61 #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 | 386 #define GL_OBJECT_TYPE_APPLE 0x9112 |
| 62 #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 | 387 #define GL_SYNC_CONDITION_APPLE 0x9113 |
| 63 #define GL_DEBUG_SOURCE_API_KHR 0x8246 | 388 #define GL_SYNC_STATUS_APPLE 0x9114 |
| 64 #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 | 389 #define GL_SYNC_FLAGS_APPLE 0x9115 |
| 65 #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 | 390 #define GL_SYNC_FENCE_APPLE 0x9116 |
| 66 #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 | 391 #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 |
| 67 #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A | 392 #define GL_UNSIGNALED_APPLE 0x9118 |
| 68 #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B | 393 #define GL_SIGNALED_APPLE 0x9119 |
| 69 #define GL_DEBUG_TYPE_ERROR_KHR 0x824C | 394 #define GL_ALREADY_SIGNALED_APPLE 0x911A |
| 70 #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D | 395 #define GL_TIMEOUT_EXPIRED_APPLE 0x911B |
| 71 #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E | 396 #define GL_CONDITION_SATISFIED_APPLE 0x911C |
| 72 #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F | 397 #define GL_WAIT_FAILED_APPLE 0x911D |
| 73 #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 | 398 #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 |
| 74 #define GL_DEBUG_TYPE_OTHER_KHR 0x8251 | 399 #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFF
FFull |
| 75 #define GL_DEBUG_TYPE_MARKER_KHR 0x8268 | 400 #endif |
| 76 #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 | 401 |
| 77 #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A | 402 /* GL_APPLE_texture_format_BGRA8888 */ |
| 78 #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B | 403 #ifndef GL_APPLE_texture_format_BGRA8888 |
| 79 #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C | 404 #define GL_BGRA_EXT 0x80E1 |
| 80 #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D | 405 #endif |
| 81 #define GL_BUFFER_KHR 0x82E0 | 406 |
| 82 #define GL_SHADER_KHR 0x82E1 | 407 /* GL_APPLE_texture_max_level */ |
| 83 #define GL_PROGRAM_KHR 0x82E2 | 408 #ifndef GL_APPLE_texture_max_level |
| 84 #define GL_VERTEX_ARRAY_KHR 0x8074 | 409 #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D |
| 85 #define GL_QUERY_KHR 0x82E3 | 410 #endif |
| 86 #define GL_SAMPLER_KHR 0x82E6 | 411 |
| 87 #define GL_MAX_LABEL_LENGTH_KHR 0x82E8 | 412 /*------------------------------------------------------------------------* |
| 88 #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 | 413 * ARM extension tokens |
| 89 #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 | 414 *------------------------------------------------------------------------*/ |
| 90 #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 | 415 |
| 91 #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 | 416 /* GL_ARM_mali_program_binary */ |
| 92 #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 | 417 #ifndef GL_ARM_mali_program_binary |
| 93 #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 | 418 #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 |
| 94 #define GL_DEBUG_OUTPUT_KHR 0x92E0 | 419 #endif |
| 95 #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 | 420 |
| 96 #define GL_STACK_OVERFLOW_KHR 0x0503 | 421 /* GL_ARM_mali_shader_binary */ |
| 97 #define GL_STACK_UNDERFLOW_KHR 0x0504 | 422 #ifndef GL_ARM_mali_shader_binary |
| 98 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLen
um type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); | 423 #define GL_MALI_SHADER_BINARY_ARM 0x8F60 |
| 99 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenu
m type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); | 424 #endif |
| 100 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR cal
lback, const void *userParam); | 425 |
| 101 typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsi
zei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GL
sizei *lengths, GLchar *messageLog); | 426 /* GL_ARM_rgba8 */ |
| 102 typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id
, GLsizei length, const GLchar *message); | 427 /* No new tokens introduced by this extension. */ |
| 103 typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); | 428 |
| 104 typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint n
ame, GLsizei length, const GLchar *label); | 429 /*------------------------------------------------------------------------* |
| 105 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuin
t name, GLsizei bufSize, GLsizei *length, GLchar *label); | 430 * EXT extension tokens |
| 106 typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei
length, const GLchar *label); | 431 *------------------------------------------------------------------------*/ |
| 107 typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsi
zei bufSize, GLsizei *length, GLchar *label); | 432 |
| 108 typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params
); | 433 /* GL_EXT_blend_minmax */ |
| 109 #ifdef GL_GLEXT_PROTOTYPES | 434 #ifndef GL_EXT_blend_minmax |
| 110 GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type
, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); | 435 #define GL_MIN_EXT 0x8007 |
| 111 GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type,
GLuint id, GLenum severity, GLsizei length, const GLchar *buf); | 436 #define GL_MAX_EXT 0x8008 |
| 112 GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback,
const void *userParam); | 437 #endif |
| 113 GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei buf
Size, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *
lengths, GLchar *messageLog); | 438 |
| 114 GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsiz
ei length, const GLchar *message); | 439 /* GL_EXT_color_buffer_half_float */ |
| 115 GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); | 440 #ifndef GL_EXT_color_buffer_half_float |
| 116 GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GL
sizei length, const GLchar *label); | 441 #define GL_RGBA16F_EXT 0x881A |
| 117 GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name,
GLsizei bufSize, GLsizei *length, GLchar *label); | 442 #define GL_RGB16F_EXT 0x881B |
| 118 GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length
, const GLchar *label); | 443 #define GL_RG16F_EXT 0x822F |
| 119 GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei buf
Size, GLsizei *length, GLchar *label); | 444 #define GL_R16F_EXT 0x822D |
| 120 GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); | 445 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 |
| 121 #endif | 446 #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 |
| 122 #endif /* GL_KHR_debug */ | 447 #endif |
| 123 | 448 |
| 124 #ifndef GL_KHR_texture_compression_astc_hdr | 449 /* GL_EXT_debug_label */ |
| 125 #define GL_KHR_texture_compression_astc_hdr 1 | 450 #ifndef GL_EXT_debug_label |
| 126 #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 | 451 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F |
| 127 #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 | 452 #define GL_PROGRAM_OBJECT_EXT 0x8B40 |
| 128 #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 | 453 #define GL_SHADER_OBJECT_EXT 0x8B48 |
| 129 #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 | 454 #define GL_BUFFER_OBJECT_EXT 0x9151 |
| 130 #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 | 455 #define GL_QUERY_OBJECT_EXT 0x9153 |
| 131 #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 | 456 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 |
| 132 #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 | 457 #endif |
| 133 #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 | 458 |
| 134 #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 | 459 /* GL_EXT_debug_marker */ |
| 135 #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 | 460 /* No new tokens introduced by this extension. */ |
| 136 #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA | 461 |
| 137 #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB | 462 /* GL_EXT_discard_framebuffer */ |
| 138 #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC | 463 #ifndef GL_EXT_discard_framebuffer |
| 139 #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD | 464 #define GL_COLOR_EXT 0x1800 |
| 140 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 | 465 #define GL_DEPTH_EXT 0x1801 |
| 141 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 | 466 #define GL_STENCIL_EXT 0x1802 |
| 142 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 | 467 #endif |
| 143 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 | 468 |
| 144 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 | 469 /* GL_EXT_map_buffer_range */ |
| 145 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 | 470 #ifndef GL_EXT_map_buffer_range |
| 146 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 | 471 #define GL_MAP_READ_BIT_EXT 0x0001 |
| 147 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 | 472 #define GL_MAP_WRITE_BIT_EXT 0x0002 |
| 148 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 | 473 #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 |
| 149 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 | 474 #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 |
| 150 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA | 475 #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 |
| 151 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB | 476 #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 |
| 152 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC | 477 #endif |
| 153 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD | 478 |
| 154 #endif /* GL_KHR_texture_compression_astc_hdr */ | 479 /* GL_EXT_multisampled_render_to_texture */ |
| 155 | 480 #ifndef GL_EXT_multisampled_render_to_texture |
| 156 #ifndef GL_KHR_texture_compression_astc_ldr | 481 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C |
| 157 #define GL_KHR_texture_compression_astc_ldr 1 | 482 /* reuse values from GL_EXT_framebuffer_multisample (desktop extension) */ |
| 158 #endif /* GL_KHR_texture_compression_astc_ldr */ | 483 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB |
| 159 | 484 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 |
| 485 #define GL_MAX_SAMPLES_EXT 0x8D57 |
| 486 #endif |
| 487 |
| 488 /* GL_EXT_multiview_draw_buffers */ |
| 489 #ifndef GL_EXT_multiview_draw_buffers |
| 490 #define GL_COLOR_ATTACHMENT_EXT 0x90F0 |
| 491 #define GL_MULTIVIEW_EXT 0x90F1 |
| 492 #define GL_DRAW_BUFFER_EXT 0x0C01 |
| 493 #define GL_READ_BUFFER_EXT 0x0C02 |
| 494 #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 |
| 495 #endif |
| 496 |
| 497 /* GL_EXT_multi_draw_arrays */ |
| 498 /* No new tokens introduced by this extension. */ |
| 499 |
| 500 /* GL_EXT_occlusion_query_boolean */ |
| 501 #ifndef GL_EXT_occlusion_query_boolean |
| 502 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F |
| 503 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A |
| 504 #define GL_CURRENT_QUERY_EXT 0x8865 |
| 505 #define GL_QUERY_RESULT_EXT 0x8866 |
| 506 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 |
| 507 #endif |
| 508 |
| 509 /* GL_EXT_read_format_bgra */ |
| 510 #ifndef GL_EXT_read_format_bgra |
| 511 #define GL_BGRA_EXT 0x80E1 |
| 512 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 |
| 513 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 |
| 514 #endif |
| 515 |
| 516 /* GL_EXT_robustness */ |
| 517 #ifndef GL_EXT_robustness |
| 518 /* reuse GL_NO_ERROR */ |
| 519 #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 |
| 520 #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 |
| 521 #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 |
| 522 #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 |
| 523 #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 |
| 524 #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 |
| 525 #define GL_NO_RESET_NOTIFICATION_EXT 0x8261 |
| 526 #endif |
| 527 |
| 528 /* GL_EXT_separate_shader_objects */ |
| 529 #ifndef GL_EXT_separate_shader_objects |
| 530 #define GL_VERTEX_SHADER_BIT_EXT 0x00000001 |
| 531 #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 |
| 532 #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF |
| 533 #define GL_PROGRAM_SEPARABLE_EXT 0x8258 |
| 534 #define GL_ACTIVE_PROGRAM_EXT 0x8259 |
| 535 #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A |
| 536 #endif |
| 537 |
| 538 /* GL_EXT_shader_framebuffer_fetch */ |
| 539 #ifndef GL_EXT_shader_framebuffer_fetch |
| 540 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 |
| 541 #endif |
| 542 |
| 543 /* GL_EXT_shader_texture_lod */ |
| 544 /* No new tokens introduced by this extension. */ |
| 545 |
| 546 /* GL_EXT_shadow_samplers */ |
| 547 #ifndef GL_EXT_shadow_samplers |
| 548 #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C |
| 549 #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D |
| 550 #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E |
| 551 #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 |
| 552 #endif |
| 553 |
| 554 /* GL_EXT_sRGB */ |
| 555 #ifndef GL_EXT_sRGB |
| 556 #define GL_SRGB_EXT 0x8C40 |
| 557 #define GL_SRGB_ALPHA_EXT 0x8C42 |
| 558 #define GL_SRGB8_ALPHA8_EXT 0x8C43 |
| 559 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 |
| 560 #endif |
| 561 |
| 562 /* GL_EXT_texture_compression_dxt1 */ |
| 563 #ifndef GL_EXT_texture_compression_dxt1 |
| 564 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 |
| 565 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 |
| 566 #endif |
| 567 |
| 568 /* GL_EXT_texture_filter_anisotropic */ |
| 569 #ifndef GL_EXT_texture_filter_anisotropic |
| 570 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE |
| 571 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF |
| 572 #endif |
| 573 |
| 574 /* GL_EXT_texture_format_BGRA8888 */ |
| 575 #ifndef GL_EXT_texture_format_BGRA8888 |
| 576 #define GL_BGRA_EXT 0x80E1 |
| 577 #endif |
| 578 |
| 579 /* GL_EXT_texture_rg */ |
| 580 #ifndef GL_EXT_texture_rg |
| 581 #define GL_RED_EXT 0x1903 |
| 582 #define GL_RG_EXT 0x8227 |
| 583 #define GL_R8_EXT 0x8229 |
| 584 #define GL_RG8_EXT 0x822B |
| 585 #endif |
| 586 |
| 587 /* GL_EXT_texture_storage */ |
| 588 #ifndef GL_EXT_texture_storage |
| 589 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F |
| 590 #define GL_ALPHA8_EXT 0x803C |
| 591 #define GL_LUMINANCE8_EXT 0x8040 |
| 592 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 |
| 593 #define GL_RGBA32F_EXT 0x8814 |
| 594 #define GL_RGB32F_EXT 0x8815 |
| 595 #define GL_ALPHA32F_EXT 0x8816 |
| 596 #define GL_LUMINANCE32F_EXT 0x8818 |
| 597 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 |
| 598 /* reuse GL_RGBA16F_EXT */ |
| 599 /* reuse GL_RGB16F_EXT */ |
| 600 #define GL_ALPHA16F_EXT 0x881C |
| 601 #define GL_LUMINANCE16F_EXT 0x881E |
| 602 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F |
| 603 #define GL_RGB10_A2_EXT 0x8059 |
| 604 #define GL_RGB10_EXT 0x8052 |
| 605 #define GL_BGRA8_EXT 0x93A1 |
| 606 #define GL_R8_EXT 0x8229 |
| 607 #define GL_RG8_EXT 0x822B |
| 608 #define GL_R32F_EXT 0x822E |
| 609 #define GL_RG32F_EXT 0x8230 |
| 610 #define GL_R16F_EXT 0x822D |
| 611 #define GL_RG16F_EXT 0x822F |
| 612 #endif |
| 613 |
| 614 /* GL_EXT_texture_type_2_10_10_10_REV */ |
| 615 #ifndef GL_EXT_texture_type_2_10_10_10_REV |
| 616 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 |
| 617 #endif |
| 618 |
| 619 /* GL_EXT_unpack_subimage */ |
| 620 #ifndef GL_EXT_unpack_subimage |
| 621 #define GL_UNPACK_ROW_LENGTH 0x0CF2 |
| 622 #define GL_UNPACK_SKIP_ROWS 0x0CF3 |
| 623 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 |
| 624 #endif |
| 625 |
| 626 /*------------------------------------------------------------------------* |
| 627 * DMP extension tokens |
| 628 *------------------------------------------------------------------------*/ |
| 629 |
| 630 /* GL_DMP_shader_binary */ |
| 631 #ifndef GL_DMP_shader_binary |
| 632 #define GL_SHADER_BINARY_DMP 0x9250 |
| 633 #endif |
| 634 |
| 635 /*------------------------------------------------------------------------* |
| 636 * FJ extension tokens |
| 637 *------------------------------------------------------------------------*/ |
| 638 |
| 639 /* GL_FJ_shader_binary_GCCSO */ |
| 640 #ifndef GL_FJ_shader_binary_GCCSO |
| 641 #define GCCSO_SHADER_BINARY_FJ 0x9260 |
| 642 #endif |
| 643 |
| 644 /*------------------------------------------------------------------------* |
| 645 * IMG extension tokens |
| 646 *------------------------------------------------------------------------*/ |
| 647 |
| 648 /* GL_IMG_program_binary */ |
| 649 #ifndef GL_IMG_program_binary |
| 650 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 |
| 651 #endif |
| 652 |
| 653 /* GL_IMG_read_format */ |
| 654 #ifndef GL_IMG_read_format |
| 655 #define GL_BGRA_IMG 0x80E1 |
| 656 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 |
| 657 #endif |
| 658 |
| 659 /* GL_IMG_shader_binary */ |
| 660 #ifndef GL_IMG_shader_binary |
| 661 #define GL_SGX_BINARY_IMG 0x8C0A |
| 662 #endif |
| 663 |
| 664 /* GL_IMG_texture_compression_pvrtc */ |
| 665 #ifndef GL_IMG_texture_compression_pvrtc |
| 666 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 |
| 667 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 |
| 668 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 |
| 669 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 |
| 670 #endif |
| 671 |
| 672 /* GL_IMG_multisampled_render_to_texture */ |
| 673 #ifndef GL_IMG_multisampled_render_to_texture |
| 674 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 |
| 675 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 |
| 676 #define GL_MAX_SAMPLES_IMG 0x9135 |
| 677 #define GL_TEXTURE_SAMPLES_IMG 0x9136 |
| 678 #endif |
| 679 |
| 680 /*------------------------------------------------------------------------* |
| 681 * NV extension tokens |
| 682 *------------------------------------------------------------------------*/ |
| 683 |
| 684 /* GL_NV_coverage_sample */ |
| 685 #ifndef GL_NV_coverage_sample |
| 686 #define GL_COVERAGE_COMPONENT_NV 0x8ED0 |
| 687 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 |
| 688 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 |
| 689 #define GL_COVERAGE_BUFFERS_NV 0x8ED3 |
| 690 #define GL_COVERAGE_SAMPLES_NV 0x8ED4 |
| 691 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 |
| 692 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 |
| 693 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 |
| 694 #define GL_COVERAGE_BUFFER_BIT_NV 0x8000 |
| 695 #endif |
| 696 |
| 697 /* GL_NV_depth_nonlinear */ |
| 698 #ifndef GL_NV_depth_nonlinear |
| 699 #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C |
| 700 #endif |
| 701 |
| 702 /* GL_NV_draw_buffers */ |
| 703 #ifndef GL_NV_draw_buffers |
| 704 #define GL_MAX_DRAW_BUFFERS_NV 0x8824 |
| 705 #define GL_DRAW_BUFFER0_NV 0x8825 |
| 706 #define GL_DRAW_BUFFER1_NV 0x8826 |
| 707 #define GL_DRAW_BUFFER2_NV 0x8827 |
| 708 #define GL_DRAW_BUFFER3_NV 0x8828 |
| 709 #define GL_DRAW_BUFFER4_NV 0x8829 |
| 710 #define GL_DRAW_BUFFER5_NV 0x882A |
| 711 #define GL_DRAW_BUFFER6_NV 0x882B |
| 712 #define GL_DRAW_BUFFER7_NV 0x882C |
| 713 #define GL_DRAW_BUFFER8_NV 0x882D |
| 714 #define GL_DRAW_BUFFER9_NV 0x882E |
| 715 #define GL_DRAW_BUFFER10_NV 0x882F |
| 716 #define GL_DRAW_BUFFER11_NV 0x8830 |
| 717 #define GL_DRAW_BUFFER12_NV 0x8831 |
| 718 #define GL_DRAW_BUFFER13_NV 0x8832 |
| 719 #define GL_DRAW_BUFFER14_NV 0x8833 |
| 720 #define GL_DRAW_BUFFER15_NV 0x8834 |
| 721 #define GL_COLOR_ATTACHMENT0_NV 0x8CE0 |
| 722 #define GL_COLOR_ATTACHMENT1_NV 0x8CE1 |
| 723 #define GL_COLOR_ATTACHMENT2_NV 0x8CE2 |
| 724 #define GL_COLOR_ATTACHMENT3_NV 0x8CE3 |
| 725 #define GL_COLOR_ATTACHMENT4_NV 0x8CE4 |
| 726 #define GL_COLOR_ATTACHMENT5_NV 0x8CE5 |
| 727 #define GL_COLOR_ATTACHMENT6_NV 0x8CE6 |
| 728 #define GL_COLOR_ATTACHMENT7_NV 0x8CE7 |
| 729 #define GL_COLOR_ATTACHMENT8_NV 0x8CE8 |
| 730 #define GL_COLOR_ATTACHMENT9_NV 0x8CE9 |
| 731 #define GL_COLOR_ATTACHMENT10_NV 0x8CEA |
| 732 #define GL_COLOR_ATTACHMENT11_NV 0x8CEB |
| 733 #define GL_COLOR_ATTACHMENT12_NV 0x8CEC |
| 734 #define GL_COLOR_ATTACHMENT13_NV 0x8CED |
| 735 #define GL_COLOR_ATTACHMENT14_NV 0x8CEE |
| 736 #define GL_COLOR_ATTACHMENT15_NV 0x8CEF |
| 737 #endif |
| 738 |
| 739 /* GL_NV_fbo_color_attachments */ |
| 740 #ifndef GL_NV_fbo_color_attachments |
| 741 #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF |
| 742 /* GL_COLOR_ATTACHMENT{0-15}_NV defined in GL_NV_draw_buffers already. */ |
| 743 #endif |
| 744 |
| 745 /* GL_NV_fence */ |
| 746 #ifndef GL_NV_fence |
| 747 #define GL_ALL_COMPLETED_NV 0x84F2 |
| 748 #define GL_FENCE_STATUS_NV 0x84F3 |
| 749 #define GL_FENCE_CONDITION_NV 0x84F4 |
| 750 #endif |
| 751 |
| 752 /* GL_NV_read_buffer */ |
| 753 #ifndef GL_NV_read_buffer |
| 754 #define GL_READ_BUFFER_NV 0x0C02 |
| 755 #endif |
| 756 |
| 757 /* GL_NV_read_buffer_front */ |
| 758 /* No new tokens introduced by this extension. */ |
| 759 |
| 760 /* GL_NV_read_depth */ |
| 761 /* No new tokens introduced by this extension. */ |
| 762 |
| 763 /* GL_NV_read_depth_stencil */ |
| 764 /* No new tokens introduced by this extension. */ |
| 765 |
| 766 /* GL_NV_read_stencil */ |
| 767 /* No new tokens introduced by this extension. */ |
| 768 |
| 769 /* GL_NV_texture_compression_s3tc_update */ |
| 770 /* No new tokens introduced by this extension. */ |
| 771 |
| 772 /* GL_NV_texture_npot_2D_mipmap */ |
| 773 /* No new tokens introduced by this extension. */ |
| 774 |
| 775 /*------------------------------------------------------------------------* |
| 776 * QCOM extension tokens |
| 777 *------------------------------------------------------------------------*/ |
| 778 |
| 779 /* GL_QCOM_alpha_test */ |
| 780 #ifndef GL_QCOM_alpha_test |
| 781 #define GL_ALPHA_TEST_QCOM 0x0BC0 |
| 782 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 |
| 783 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 |
| 784 #endif |
| 785 |
| 786 /* GL_QCOM_binning_control */ |
| 787 #ifndef GL_QCOM_binning_control |
| 788 #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 |
| 789 #define GL_CPU_OPTIMIZED_QCOM 0x8FB1 |
| 790 #define GL_GPU_OPTIMIZED_QCOM 0x8FB2 |
| 791 #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 |
| 792 #endif |
| 793 |
| 794 /* GL_QCOM_driver_control */ |
| 795 /* No new tokens introduced by this extension. */ |
| 796 |
| 797 /* GL_QCOM_extended_get */ |
| 798 #ifndef GL_QCOM_extended_get |
| 799 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 |
| 800 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 |
| 801 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 |
| 802 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 |
| 803 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 |
| 804 #define GL_TEXTURE_TYPE_QCOM 0x8BD7 |
| 805 #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 |
| 806 #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 |
| 807 #define GL_TEXTURE_TARGET_QCOM 0x8BDA |
| 808 #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB |
| 809 #define GL_STATE_RESTORE 0x8BDC |
| 810 #endif |
| 811 |
| 812 /* GL_QCOM_extended_get2 */ |
| 813 /* No new tokens introduced by this extension. */ |
| 814 |
| 815 /* GL_QCOM_perfmon_global_mode */ |
| 816 #ifndef GL_QCOM_perfmon_global_mode |
| 817 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 |
| 818 #endif |
| 819 |
| 820 /* GL_QCOM_writeonly_rendering */ |
| 821 #ifndef GL_QCOM_writeonly_rendering |
| 822 #define GL_WRITEONLY_RENDERING_QCOM 0x8823 |
| 823 #endif |
| 824 |
| 825 /* GL_QCOM_tiled_rendering */ |
| 826 #ifndef GL_QCOM_tiled_rendering |
| 827 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 |
| 828 #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 |
| 829 #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 |
| 830 #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 |
| 831 #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 |
| 832 #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 |
| 833 #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 |
| 834 #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 |
| 835 #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 |
| 836 #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 |
| 837 #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 |
| 838 #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 |
| 839 #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 |
| 840 #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 |
| 841 #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 |
| 842 #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 |
| 843 #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 |
| 844 #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 |
| 845 #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 |
| 846 #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 |
| 847 #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 |
| 848 #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 |
| 849 #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 |
| 850 #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 |
| 851 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 |
| 852 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 |
| 853 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 |
| 854 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 |
| 855 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 |
| 856 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 |
| 857 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 |
| 858 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 |
| 859 #endif |
| 860 |
| 861 /*------------------------------------------------------------------------* |
| 862 * VIV extension tokens |
| 863 *------------------------------------------------------------------------*/ |
| 864 |
| 865 /* GL_VIV_shader_binary */ |
| 866 #ifndef GL_VIV_shader_binary |
| 867 #define GL_SHADER_BINARY_VIV 0x8FC4 |
| 868 #endif |
| 869 |
| 870 /*------------------------------------------------------------------------* |
| 871 * End of extension tokens, start of corresponding extension functions |
| 872 *------------------------------------------------------------------------*/ |
| 873 |
| 874 /*------------------------------------------------------------------------* |
| 875 * OES extension functions |
| 876 *------------------------------------------------------------------------*/ |
| 877 |
| 878 /* GL_OES_compressed_ETC1_RGB8_texture */ |
| 879 #ifndef GL_OES_compressed_ETC1_RGB8_texture |
| 880 #define GL_OES_compressed_ETC1_RGB8_texture 1 |
| 881 #endif |
| 882 |
| 883 /* GL_OES_compressed_paletted_texture */ |
| 884 #ifndef GL_OES_compressed_paletted_texture |
| 885 #define GL_OES_compressed_paletted_texture 1 |
| 886 #endif |
| 887 |
| 888 /* GL_OES_depth24 */ |
| 889 #ifndef GL_OES_depth24 |
| 890 #define GL_OES_depth24 1 |
| 891 #endif |
| 892 |
| 893 /* GL_OES_depth32 */ |
| 894 #ifndef GL_OES_depth32 |
| 895 #define GL_OES_depth32 1 |
| 896 #endif |
| 897 |
| 898 /* GL_OES_depth_texture */ |
| 899 #ifndef GL_OES_depth_texture |
| 900 #define GL_OES_depth_texture 1 |
| 901 #endif |
| 902 |
| 903 /* GL_OES_EGL_image */ |
| 160 #ifndef GL_OES_EGL_image | 904 #ifndef GL_OES_EGL_image |
| 161 #define GL_OES_EGL_image 1 | 905 #define GL_OES_EGL_image 1 |
| 162 typedef void *GLeglImageOES; | 906 #ifdef GL_GLEXT_PROTOTYPES |
| 907 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglIm
ageOES image); |
| 908 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum targe
t, GLeglImageOES image); |
| 909 #endif |
| 163 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target,
GLeglImageOES image); | 910 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target,
GLeglImageOES image); |
| 164 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenu
m target, GLeglImageOES image); | 911 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenu
m target, GLeglImageOES image); |
| 165 #ifdef GL_GLEXT_PROTOTYPES | 912 #endif |
| 166 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglIm
ageOES image); | 913 |
| 167 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum targe
t, GLeglImageOES image); | 914 /* GL_OES_EGL_image_external */ |
| 168 #endif | |
| 169 #endif /* GL_OES_EGL_image */ | |
| 170 | |
| 171 #ifndef GL_OES_EGL_image_external | 915 #ifndef GL_OES_EGL_image_external |
| 172 #define GL_OES_EGL_image_external 1 | 916 #define GL_OES_EGL_image_external 1 |
| 173 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 | 917 /* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */ |
| 174 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 | 918 #endif |
| 175 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 | 919 |
| 176 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 | 920 /* GL_OES_element_index_uint */ |
| 177 #endif /* GL_OES_EGL_image_external */ | |
| 178 | |
| 179 #ifndef GL_OES_compressed_ETC1_RGB8_texture | |
| 180 #define GL_OES_compressed_ETC1_RGB8_texture 1 | |
| 181 #define GL_ETC1_RGB8_OES 0x8D64 | |
| 182 #endif /* GL_OES_compressed_ETC1_RGB8_texture */ | |
| 183 | |
| 184 #ifndef GL_OES_compressed_paletted_texture | |
| 185 #define GL_OES_compressed_paletted_texture 1 | |
| 186 #define GL_PALETTE4_RGB8_OES 0x8B90 | |
| 187 #define GL_PALETTE4_RGBA8_OES 0x8B91 | |
| 188 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92 | |
| 189 #define GL_PALETTE4_RGBA4_OES 0x8B93 | |
| 190 #define GL_PALETTE4_RGB5_A1_OES 0x8B94 | |
| 191 #define GL_PALETTE8_RGB8_OES 0x8B95 | |
| 192 #define GL_PALETTE8_RGBA8_OES 0x8B96 | |
| 193 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97 | |
| 194 #define GL_PALETTE8_RGBA4_OES 0x8B98 | |
| 195 #define GL_PALETTE8_RGB5_A1_OES 0x8B99 | |
| 196 #endif /* GL_OES_compressed_paletted_texture */ | |
| 197 | |
| 198 #ifndef GL_OES_depth24 | |
| 199 #define GL_OES_depth24 1 | |
| 200 #define GL_DEPTH_COMPONENT24_OES 0x81A6 | |
| 201 #endif /* GL_OES_depth24 */ | |
| 202 | |
| 203 #ifndef GL_OES_depth32 | |
| 204 #define GL_OES_depth32 1 | |
| 205 #define GL_DEPTH_COMPONENT32_OES 0x81A7 | |
| 206 #endif /* GL_OES_depth32 */ | |
| 207 | |
| 208 #ifndef GL_OES_depth_texture | |
| 209 #define GL_OES_depth_texture 1 | |
| 210 #endif /* GL_OES_depth_texture */ | |
| 211 | |
| 212 #ifndef GL_OES_element_index_uint | 921 #ifndef GL_OES_element_index_uint |
| 213 #define GL_OES_element_index_uint 1 | 922 #define GL_OES_element_index_uint 1 |
| 214 #endif /* GL_OES_element_index_uint */ | 923 #endif |
| 215 | 924 |
| 925 /* GL_OES_fbo_render_mipmap */ |
| 216 #ifndef GL_OES_fbo_render_mipmap | 926 #ifndef GL_OES_fbo_render_mipmap |
| 217 #define GL_OES_fbo_render_mipmap 1 | 927 #define GL_OES_fbo_render_mipmap 1 |
| 218 #endif /* GL_OES_fbo_render_mipmap */ | 928 #endif |
| 219 | 929 |
| 930 /* GL_OES_fragment_precision_high */ |
| 220 #ifndef GL_OES_fragment_precision_high | 931 #ifndef GL_OES_fragment_precision_high |
| 221 #define GL_OES_fragment_precision_high 1 | 932 #define GL_OES_fragment_precision_high 1 |
| 222 #endif /* GL_OES_fragment_precision_high */ | 933 #endif |
| 223 | 934 |
| 935 /* GL_OES_get_program_binary */ |
| 224 #ifndef GL_OES_get_program_binary | 936 #ifndef GL_OES_get_program_binary |
| 225 #define GL_OES_get_program_binary 1 | 937 #define GL_OES_get_program_binary 1 |
| 226 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 | 938 #ifdef GL_GLEXT_PROTOTYPES |
| 227 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE | 939 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSi
ze, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); |
| 228 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF | 940 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFor
mat, const GLvoid *binary, GLint length); |
| 229 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsize
i bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | 941 #endif |
| 230 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum bi
naryFormat, const void *binary, GLint length); | 942 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsize
i bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); |
| 231 #ifdef GL_GLEXT_PROTOTYPES | 943 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum bi
naryFormat, const GLvoid *binary, GLint length); |
| 232 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSi
ze, GLsizei *length, GLenum *binaryFormat, void *binary); | 944 #endif |
| 233 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFor
mat, const void *binary, GLint length); | 945 |
| 234 #endif | 946 /* GL_OES_mapbuffer */ |
| 235 #endif /* GL_OES_get_program_binary */ | |
| 236 | |
| 237 #ifndef GL_OES_mapbuffer | 947 #ifndef GL_OES_mapbuffer |
| 238 #define GL_OES_mapbuffer 1 | 948 #define GL_OES_mapbuffer 1 |
| 239 #define GL_WRITE_ONLY_OES 0x88B9 | 949 #ifdef GL_GLEXT_PROTOTYPES |
| 240 #define GL_BUFFER_ACCESS_OES 0x88BB | 950 GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); |
| 241 #define GL_BUFFER_MAPPED_OES 0x88BC | 951 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); |
| 242 #define GL_BUFFER_MAP_POINTER_OES 0x88BD | 952 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname,
GLvoid** params); |
| 243 typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access
); | 953 #endif |
| 954 typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access
); |
| 244 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); | 955 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); |
| 245 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum
pname, void **params); | 956 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum
pname, GLvoid** params); |
| 246 #ifdef GL_GLEXT_PROTOTYPES | 957 #endif |
| 247 GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); | 958 |
| 248 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); | 959 /* GL_OES_packed_depth_stencil */ |
| 249 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname,
void **params); | |
| 250 #endif | |
| 251 #endif /* GL_OES_mapbuffer */ | |
| 252 | |
| 253 #ifndef GL_OES_packed_depth_stencil | 960 #ifndef GL_OES_packed_depth_stencil |
| 254 #define GL_OES_packed_depth_stencil 1 | 961 #define GL_OES_packed_depth_stencil 1 |
| 255 #define GL_DEPTH_STENCIL_OES 0x84F9 | 962 #endif |
| 256 #define GL_UNSIGNED_INT_24_8_OES 0x84FA | 963 |
| 257 #define GL_DEPTH24_STENCIL8_OES 0x88F0 | 964 /* GL_OES_required_internalformat */ |
| 258 #endif /* GL_OES_packed_depth_stencil */ | |
| 259 | |
| 260 #ifndef GL_OES_required_internalformat | 965 #ifndef GL_OES_required_internalformat |
| 261 #define GL_OES_required_internalformat 1 | 966 #define GL_OES_required_internalformat 1 |
| 262 #define GL_ALPHA8_OES 0x803C | 967 #endif |
| 263 #define GL_DEPTH_COMPONENT16_OES 0x81A5 | 968 |
| 264 #define GL_LUMINANCE4_ALPHA4_OES 0x8043 | 969 /* GL_OES_rgb8_rgba8 */ |
| 265 #define GL_LUMINANCE8_ALPHA8_OES 0x8045 | |
| 266 #define GL_LUMINANCE8_OES 0x8040 | |
| 267 #define GL_RGBA4_OES 0x8056 | |
| 268 #define GL_RGB5_A1_OES 0x8057 | |
| 269 #define GL_RGB565_OES 0x8D62 | |
| 270 #define GL_RGB8_OES 0x8051 | |
| 271 #define GL_RGBA8_OES 0x8058 | |
| 272 #define GL_RGB10_EXT 0x8052 | |
| 273 #define GL_RGB10_A2_EXT 0x8059 | |
| 274 #endif /* GL_OES_required_internalformat */ | |
| 275 | |
| 276 #ifndef GL_OES_rgb8_rgba8 | 970 #ifndef GL_OES_rgb8_rgba8 |
| 277 #define GL_OES_rgb8_rgba8 1 | 971 #define GL_OES_rgb8_rgba8 1 |
| 278 #endif /* GL_OES_rgb8_rgba8 */ | 972 #endif |
| 279 | 973 |
| 974 /* GL_OES_standard_derivatives */ |
| 280 #ifndef GL_OES_standard_derivatives | 975 #ifndef GL_OES_standard_derivatives |
| 281 #define GL_OES_standard_derivatives 1 | 976 #define GL_OES_standard_derivatives 1 |
| 282 #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B | 977 #endif |
| 283 #endif /* GL_OES_standard_derivatives */ | 978 |
| 284 | 979 /* GL_OES_stencil1 */ |
| 285 #ifndef GL_OES_stencil1 | 980 #ifndef GL_OES_stencil1 |
| 286 #define GL_OES_stencil1 1 | 981 #define GL_OES_stencil1 1 |
| 287 #define GL_STENCIL_INDEX1_OES 0x8D46 | 982 #endif |
| 288 #endif /* GL_OES_stencil1 */ | 983 |
| 289 | 984 /* GL_OES_stencil4 */ |
| 290 #ifndef GL_OES_stencil4 | 985 #ifndef GL_OES_stencil4 |
| 291 #define GL_OES_stencil4 1 | 986 #define GL_OES_stencil4 1 |
| 292 #define GL_STENCIL_INDEX4_OES 0x8D47 | 987 #endif |
| 293 #endif /* GL_OES_stencil4 */ | |
| 294 | 988 |
| 295 #ifndef GL_OES_surfaceless_context | 989 #ifndef GL_OES_surfaceless_context |
| 296 #define GL_OES_surfaceless_context 1 | 990 #define GL_OES_surfaceless_context 1 |
| 297 #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 | 991 #endif |
| 298 #endif /* GL_OES_surfaceless_context */ | 992 |
| 299 | 993 /* GL_OES_texture_3D */ |
| 300 #ifndef GL_OES_texture_3D | 994 #ifndef GL_OES_texture_3D |
| 301 #define GL_OES_texture_3D 1 | 995 #define GL_OES_texture_3D 1 |
| 302 #define GL_TEXTURE_WRAP_R_OES 0x8072 | 996 #ifdef GL_GLEXT_PROTOTYPES |
| 303 #define GL_TEXTURE_3D_OES 0x806F | 997 GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum
internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLen
um format, GLenum type, const GLvoid* pixels); |
| 304 #define GL_TEXTURE_BINDING_3D_OES 0x806A | 998 GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLin
t xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei
depth, GLenum format, GLenum type, const GLvoid* pixels); |
| 305 #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 | 999 GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level,
GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GL
sizei height); |
| 306 #define GL_SAMPLER_3D_OES 0x8B5F | 1000 GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint leve
l, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint bo
rder, GLsizei imageSize, const GLvoid* data); |
| 307 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 | 1001 GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint l
evel, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height
, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); |
| 308 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level,
GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint borde
r, GLenum format, GLenum type, const void *pixels); | 1002 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum att
achment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); |
| 309 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint leve
l, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, G
Lsizei depth, GLenum format, GLenum type, const void *pixels); | 1003 #endif |
| 1004 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level,
GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint borde
r, GLenum format, GLenum type, const GLvoid* pixels); |
| 1005 typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint leve
l, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, G
Lsizei depth, GLenum format, GLenum type, const GLvoid* pixels); |
| 310 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint
level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei wi
dth, GLsizei height); | 1006 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint
level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei wi
dth, GLsizei height); |
| 311 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLi
nt level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, G
Lint border, GLsizei imageSize, const void *data); | 1007 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLi
nt level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, G
Lint border, GLsizei imageSize, const GLvoid* data); |
| 312 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target,
GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei
height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | 1008 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target,
GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei
height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid* data); |
| 313 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLe
num attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | 1009 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum
attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); |
| 314 #ifdef GL_GLEXT_PROTOTYPES | 1010 #endif |
| 315 GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum
internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLen
um format, GLenum type, const void *pixels); | 1011 |
| 316 GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLin
t xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei
depth, GLenum format, GLenum type, const void *pixels); | 1012 /* GL_OES_texture_float */ |
| 317 GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level,
GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GL
sizei height); | |
| 318 GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint leve
l, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint bo
rder, GLsizei imageSize, const void *data); | |
| 319 GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint l
evel, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height
, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | |
| 320 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum att
achment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | |
| 321 #endif | |
| 322 #endif /* GL_OES_texture_3D */ | |
| 323 | |
| 324 #ifndef GL_OES_texture_compression_astc | |
| 325 #define GL_OES_texture_compression_astc 1 | |
| 326 #define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0 | |
| 327 #define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1 | |
| 328 #define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2 | |
| 329 #define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3 | |
| 330 #define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4 | |
| 331 #define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5 | |
| 332 #define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6 | |
| 333 #define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7 | |
| 334 #define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8 | |
| 335 #define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9 | |
| 336 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0 | |
| 337 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1 | |
| 338 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2 | |
| 339 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3 | |
| 340 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4 | |
| 341 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5 | |
| 342 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6 | |
| 343 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7 | |
| 344 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8 | |
| 345 #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9 | |
| 346 #endif /* GL_OES_texture_compression_astc */ | |
| 347 | |
| 348 #ifndef GL_OES_texture_float | 1013 #ifndef GL_OES_texture_float |
| 349 #define GL_OES_texture_float 1 | 1014 #define GL_OES_texture_float 1 |
| 350 #endif /* GL_OES_texture_float */ | 1015 #endif |
| 351 | 1016 |
| 1017 /* GL_OES_texture_float_linear */ |
| 352 #ifndef GL_OES_texture_float_linear | 1018 #ifndef GL_OES_texture_float_linear |
| 353 #define GL_OES_texture_float_linear 1 | 1019 #define GL_OES_texture_float_linear 1 |
| 354 #endif /* GL_OES_texture_float_linear */ | 1020 #endif |
| 355 | 1021 |
| 1022 /* GL_OES_texture_half_float */ |
| 356 #ifndef GL_OES_texture_half_float | 1023 #ifndef GL_OES_texture_half_float |
| 357 #define GL_OES_texture_half_float 1 | 1024 #define GL_OES_texture_half_float 1 |
| 358 #define GL_HALF_FLOAT_OES 0x8D61 | 1025 #endif |
| 359 #endif /* GL_OES_texture_half_float */ | 1026 |
| 360 | 1027 /* GL_OES_texture_half_float_linear */ |
| 361 #ifndef GL_OES_texture_half_float_linear | 1028 #ifndef GL_OES_texture_half_float_linear |
| 362 #define GL_OES_texture_half_float_linear 1 | 1029 #define GL_OES_texture_half_float_linear 1 |
| 363 #endif /* GL_OES_texture_half_float_linear */ | 1030 #endif |
| 364 | 1031 |
| 1032 /* GL_OES_texture_npot */ |
| 365 #ifndef GL_OES_texture_npot | 1033 #ifndef GL_OES_texture_npot |
| 366 #define GL_OES_texture_npot 1 | 1034 #define GL_OES_texture_npot 1 |
| 367 #endif /* GL_OES_texture_npot */ | 1035 #endif |
| 368 | 1036 |
| 1037 /* GL_OES_vertex_array_object */ |
| 369 #ifndef GL_OES_vertex_array_object | 1038 #ifndef GL_OES_vertex_array_object |
| 370 #define GL_OES_vertex_array_object 1 | 1039 #define GL_OES_vertex_array_object 1 |
| 371 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 | 1040 #ifdef GL_GLEXT_PROTOTYPES |
| 1041 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); |
| 1042 GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *ar
rays); |
| 1043 GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); |
| 1044 GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); |
| 1045 #endif |
| 372 typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); | 1046 typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); |
| 373 typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLu
int *arrays); | 1047 typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLu
int *arrays); |
| 374 typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arra
ys); | 1048 typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arra
ys); |
| 375 typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); | 1049 typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); |
| 376 #ifdef GL_GLEXT_PROTOTYPES | 1050 #endif |
| 377 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); | 1051 |
| 378 GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *ar
rays); | 1052 /* GL_OES_vertex_half_float */ |
| 379 GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); | |
| 380 GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); | |
| 381 #endif | |
| 382 #endif /* GL_OES_vertex_array_object */ | |
| 383 | |
| 384 #ifndef GL_OES_vertex_half_float | 1053 #ifndef GL_OES_vertex_half_float |
| 385 #define GL_OES_vertex_half_float 1 | 1054 #define GL_OES_vertex_half_float 1 |
| 386 #endif /* GL_OES_vertex_half_float */ | 1055 #endif |
| 387 | 1056 |
| 1057 /* GL_OES_vertex_type_10_10_10_2 */ |
| 388 #ifndef GL_OES_vertex_type_10_10_10_2 | 1058 #ifndef GL_OES_vertex_type_10_10_10_2 |
| 389 #define GL_OES_vertex_type_10_10_10_2 1 | 1059 #define GL_OES_vertex_type_10_10_10_2 1 |
| 390 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 | 1060 #endif |
| 391 #define GL_INT_10_10_10_2_OES 0x8DF7 | 1061 |
| 392 #endif /* GL_OES_vertex_type_10_10_10_2 */ | 1062 /*------------------------------------------------------------------------* |
| 393 | 1063 * KHR extension functions |
| 1064 *------------------------------------------------------------------------*/ |
| 1065 |
| 1066 #ifndef GL_KHR_debug |
| 1067 #define GL_KHR_debug 1 |
| 1068 #ifdef GL_GLEXT_PROTOTYPES |
| 1069 GL_APICALL void GL_APIENTRY glDebugMessageControl (GLenum source, GLenum type, G
Lenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); |
| 1070 GL_APICALL void GL_APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GL
uint id, GLenum severity, GLsizei length, const GLchar *buf); |
| 1071 GL_APICALL void GL_APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const
void *userParam); |
| 1072 GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufsiz
e, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *len
gths, GLchar *messageLog); |
| 1073 GL_APICALL void GL_APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei
length, const GLchar *message); |
| 1074 GL_APICALL void GL_APIENTRY glPopDebugGroup (void); |
| 1075 GL_APICALL void GL_APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsiz
ei length, const GLchar *label); |
| 1076 GL_APICALL void GL_APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GL
sizei bufSize, GLsizei *length, GLchar *label); |
| 1077 GL_APICALL void GL_APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, c
onst GLchar *label); |
| 1078 GL_APICALL void GL_APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSiz
e, GLsizei *length, GLchar *label); |
| 1079 GL_APICALL void GL_APIENTRY glGetPointerv (GLenum pname, void **params); |
| 1080 #endif |
| 1081 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum
type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); |
| 1082 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum t
ype, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); |
| 1083 typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback,
const void *userParam); |
| 1084 typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei
bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsiz
ei *lengths, GLchar *messageLog); |
| 1085 typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, G
Lsizei length, const GLchar *message); |
| 1086 typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void); |
| 1087 typedef void (GL_APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name
, GLsizei length, const GLchar *label); |
| 1088 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint n
ame, GLsizei bufSize, GLsizei *length, GLchar *label); |
| 1089 typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei le
ngth, const GLchar *label); |
| 1090 typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei
bufSize, GLsizei *length, GLchar *label); |
| 1091 typedef void (GL_APIENTRYP PFNGLGETPOINTERVPROC) (GLenum pname, void **params); |
| 1092 #endif |
| 1093 |
| 1094 #ifndef GL_KHR_texture_compression_astc_ldr |
| 1095 #define GL_KHR_texture_compression_astc_ldr 1 |
| 1096 #endif |
| 1097 |
| 1098 |
| 1099 /*------------------------------------------------------------------------* |
| 1100 * AMD extension functions |
| 1101 *------------------------------------------------------------------------*/ |
| 1102 |
| 1103 /* GL_AMD_compressed_3DC_texture */ |
| 394 #ifndef GL_AMD_compressed_3DC_texture | 1104 #ifndef GL_AMD_compressed_3DC_texture |
| 395 #define GL_AMD_compressed_3DC_texture 1 | 1105 #define GL_AMD_compressed_3DC_texture 1 |
| 396 #define GL_3DC_X_AMD 0x87F9 | 1106 #endif |
| 397 #define GL_3DC_XY_AMD 0x87FA | 1107 |
| 398 #endif /* GL_AMD_compressed_3DC_texture */ | 1108 /* GL_AMD_compressed_ATC_texture */ |
| 399 | |
| 400 #ifndef GL_AMD_compressed_ATC_texture | 1109 #ifndef GL_AMD_compressed_ATC_texture |
| 401 #define GL_AMD_compressed_ATC_texture 1 | 1110 #define GL_AMD_compressed_ATC_texture 1 |
| 402 #define GL_ATC_RGB_AMD 0x8C92 | 1111 #endif |
| 403 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 | 1112 |
| 404 #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE | 1113 /* AMD_performance_monitor */ |
| 405 #endif /* GL_AMD_compressed_ATC_texture */ | |
| 406 | |
| 407 #ifndef GL_AMD_performance_monitor | 1114 #ifndef GL_AMD_performance_monitor |
| 408 #define GL_AMD_performance_monitor 1 | 1115 #define GL_AMD_performance_monitor 1 |
| 409 #define GL_COUNTER_TYPE_AMD 0x8BC0 | 1116 #ifdef GL_GLEXT_PROTOTYPES |
| 410 #define GL_COUNTER_RANGE_AMD 0x8BC1 | 1117 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei
groupsSize, GLuint *groups); |
| 411 #define GL_UNSIGNED_INT64_AMD 0x8BC2 | 1118 GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *nu
mCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); |
| 412 #define GL_PERCENTAGE_AMD 0x8BC3 | 1119 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsize
i bufSize, GLsizei *length, GLchar *groupString); |
| 413 #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 | 1120 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLui
nt counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); |
| 414 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 | 1121 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint
counter, GLenum pname, GLvoid *data); |
| 415 #define GL_PERFMON_RESULT_AMD 0x8BC6 | 1122 GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); |
| 1123 GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors
); |
| 1124 GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLbo
olean enable, GLuint group, GLint numCounters, GLuint *countersList); |
| 1125 GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); |
| 1126 GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); |
| 1127 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLen
um pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); |
| 1128 #endif |
| 416 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups,
GLsizei groupsSize, GLuint *groups); | 1129 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups,
GLsizei groupsSize, GLuint *groups); |
| 417 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GL
int *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counter
s); | 1130 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GL
int *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counter
s); |
| 418 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group,
GLsizei bufSize, GLsizei *length, GLchar *groupString); | 1131 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group,
GLsizei bufSize, GLsizei *length, GLchar *groupString); |
| 419 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint grou
p, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); | 1132 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint grou
p, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); |
| 420 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group,
GLuint counter, GLenum pname, void *data); | 1133 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group,
GLuint counter, GLenum pname, GLvoid *data); |
| 421 typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *moni
tors); | 1134 typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *moni
tors); |
| 422 typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *m
onitors); | 1135 typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *m
onitors); |
| 423 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monito
r, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); | 1136 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monito
r, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); |
| 424 typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); | 1137 typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); |
| 425 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); | 1138 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); |
| 426 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monito
r, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | 1139 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monito
r, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); |
| 427 #ifdef GL_GLEXT_PROTOTYPES | 1140 #endif |
| 428 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei
groupsSize, GLuint *groups); | 1141 |
| 429 GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *nu
mCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); | 1142 /* GL_AMD_program_binary_Z400 */ |
| 430 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsize
i bufSize, GLsizei *length, GLchar *groupString); | |
| 431 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLui
nt counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); | |
| 432 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint
counter, GLenum pname, void *data); | |
| 433 GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); | |
| 434 GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors
); | |
| 435 GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLbo
olean enable, GLuint group, GLint numCounters, GLuint *counterList); | |
| 436 GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); | |
| 437 GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); | |
| 438 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLen
um pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | |
| 439 #endif | |
| 440 #endif /* GL_AMD_performance_monitor */ | |
| 441 | |
| 442 #ifndef GL_AMD_program_binary_Z400 | 1143 #ifndef GL_AMD_program_binary_Z400 |
| 443 #define GL_AMD_program_binary_Z400 1 | 1144 #define GL_AMD_program_binary_Z400 1 |
| 444 #define GL_Z400_BINARY_AMD 0x8740 | 1145 #endif |
| 445 #endif /* GL_AMD_program_binary_Z400 */ | 1146 |
| 446 | 1147 /*------------------------------------------------------------------------* |
| 447 #ifndef GL_ANGLE_depth_texture | 1148 * ANGLE extension functions |
| 448 #define GL_ANGLE_depth_texture 1 | 1149 *------------------------------------------------------------------------*/ |
| 449 #endif /* GL_ANGLE_depth_texture */ | 1150 |
| 450 | 1151 /* GL_ANGLE_framebuffer_blit */ |
| 451 #ifndef GL_ANGLE_framebuffer_blit | 1152 #ifndef GL_ANGLE_framebuffer_blit |
| 452 #define GL_ANGLE_framebuffer_blit 1 | 1153 #define GL_ANGLE_framebuffer_blit 1 |
| 453 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 | 1154 #ifdef GL_GLEXT_PROTOTYPES |
| 454 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 | 1155 GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GL
int srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbi
tfield mask, GLenum filter); |
| 455 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 | 1156 #endif |
| 456 #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA | |
| 457 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint sr
cY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY
1, GLbitfield mask, GLenum filter); | 1157 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint sr
cY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY
1, GLbitfield mask, GLenum filter); |
| 458 #ifdef GL_GLEXT_PROTOTYPES | 1158 #endif |
| 459 GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GL
int srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbi
tfield mask, GLenum filter); | 1159 |
| 460 #endif | 1160 /* GL_ANGLE_framebuffer_multisample */ |
| 461 #endif /* GL_ANGLE_framebuffer_blit */ | |
| 462 | |
| 463 #ifndef GL_ANGLE_framebuffer_multisample | 1161 #ifndef GL_ANGLE_framebuffer_multisample |
| 464 #define GL_ANGLE_framebuffer_multisample 1 | 1162 #define GL_ANGLE_framebuffer_multisample 1 |
| 465 #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB | 1163 #ifdef GL_GLEXT_PROTOTYPES |
| 466 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 | 1164 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target
, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 467 #define GL_MAX_SAMPLES_ANGLE 0x8D57 | 1165 #endif |
| 468 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum
target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | 1166 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum
target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 469 #ifdef GL_GLEXT_PROTOTYPES | 1167 #endif |
| 470 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target
, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | 1168 |
| 471 #endif | 1169 /* GL_ANGLE_instances_arrays */ |
| 472 #endif /* GL_ANGLE_framebuffer_multisample */ | 1170 #ifndef GL_ANGLE_instanced_arrays |
| 473 | |
| 474 #ifndef GL_ANGLE_instanced_arrays | |
| 475 #define GL_ANGLE_instanced_arrays 1 | 1171 #define GL_ANGLE_instanced_arrays 1 |
| 476 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE | |
| 477 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLin
t first, GLsizei count, GLsizei primcount); | |
| 478 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GL
sizei count, GLenum type, const void *indices, GLsizei primcount); | |
| 479 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLu
int divisor); | |
| 480 #ifdef GL_GLEXT_PROTOTYPES | 1172 #ifdef GL_GLEXT_PROTOTYPES |
| 481 GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first
, GLsizei count, GLsizei primcount); | 1173 GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first
, GLsizei count, GLsizei primcount); |
| 482 GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei c
ount, GLenum type, const void *indices, GLsizei primcount); | 1174 GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei c
ount, GLenum type, const void *indices, GLsizei primcount); |
| 483 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint div
isor); | 1175 GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint div
isor); |
| 484 #endif | 1176 #endif |
| 485 #endif /* GL_ANGLE_instanced_arrays */ | 1177 typedef void (GL_APIENTRYP PFLGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLin
t first, GLsizei count, GLsizei primcount); |
| 486 | 1178 typedef void (GL_APIENTRYP PFLGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GL
sizei count, GLenum type, const void *indices, GLsizei primcount); |
| 487 #ifndef GL_ANGLE_pack_reverse_row_order | 1179 typedef void (GL_APIENTRYP PFLGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLu
int divisor); |
| 1180 #endif |
| 1181 |
| 1182 /* GL_ANGLE_pack_reverse_row_order */ |
| 1183 #ifndef GL_ANGLE_pack_reverse_row_order |
| 488 #define GL_ANGLE_pack_reverse_row_order 1 | 1184 #define GL_ANGLE_pack_reverse_row_order 1 |
| 489 #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 | 1185 #endif |
| 490 #endif /* GL_ANGLE_pack_reverse_row_order */ | 1186 |
| 491 | 1187 /* GL_ANGLE_texture_compression_dxt3 */ |
| 492 #ifndef GL_ANGLE_program_binary | 1188 #ifndef GL_ANGLE_texture_compression_dxt3 |
| 493 #define GL_ANGLE_program_binary 1 | |
| 494 #define GL_PROGRAM_BINARY_ANGLE 0x93A6 | |
| 495 #endif /* GL_ANGLE_program_binary */ | |
| 496 | |
| 497 #ifndef GL_ANGLE_texture_compression_dxt3 | |
| 498 #define GL_ANGLE_texture_compression_dxt3 1 | 1189 #define GL_ANGLE_texture_compression_dxt3 1 |
| 499 #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 | 1190 #endif |
| 500 #endif /* GL_ANGLE_texture_compression_dxt3 */ | 1191 |
| 501 | 1192 /* GL_ANGLE_texture_compression_dxt5 */ |
| 502 #ifndef GL_ANGLE_texture_compression_dxt5 | 1193 #ifndef GL_ANGLE_texture_compression_dxt5 |
| 503 #define GL_ANGLE_texture_compression_dxt5 1 | 1194 #define GL_ANGLE_texture_compression_dxt5 1 |
| 504 #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 | 1195 #endif |
| 505 #endif /* GL_ANGLE_texture_compression_dxt5 */ | 1196 |
| 506 | 1197 /* GL_ANGLE_texture_usage */ |
| 507 #ifndef GL_ANGLE_texture_usage | 1198 #ifndef GL_ANGLE_texture_usage |
| 508 #define GL_ANGLE_texture_usage 1 | 1199 #define GL_ANGLE_texture_usage 1 |
| 509 #define GL_TEXTURE_USAGE_ANGLE 0x93A2 | 1200 #endif |
| 510 #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 | 1201 |
| 511 #endif /* GL_ANGLE_texture_usage */ | 1202 #ifndef GL_ANGLE_translated_shader_source |
| 512 | |
| 513 #ifndef GL_ANGLE_translated_shader_source | |
| 514 #define GL_ANGLE_translated_shader_source 1 | 1203 #define GL_ANGLE_translated_shader_source 1 |
| 515 #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 | |
| 516 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shad
er, GLsizei bufsize, GLsizei *length, GLchar *source); | |
| 517 #ifdef GL_GLEXT_PROTOTYPES | 1204 #ifdef GL_GLEXT_PROTOTYPES |
| 518 GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLs
izei bufsize, GLsizei *length, GLchar *source); | 1205 GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLs
izei bufsize, GLsizei *length, GLchar *source); |
| 519 #endif | 1206 #endif |
| 520 #endif /* GL_ANGLE_translated_shader_source */ | 1207 typedef void (GL_APIENTRYP PFLGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shad
er, GLsizei bufsize, GLsizei *length, GLchar *source); |
| 521 | 1208 #endif |
| 1209 |
| 1210 /*------------------------------------------------------------------------* |
| 1211 * APPLE extension functions |
| 1212 *------------------------------------------------------------------------*/ |
| 1213 |
| 1214 /* GL_APPLE_copy_texture_levels */ |
| 522 #ifndef GL_APPLE_copy_texture_levels | 1215 #ifndef GL_APPLE_copy_texture_levels |
| 523 #define GL_APPLE_copy_texture_levels 1 | 1216 #define GL_APPLE_copy_texture_levels 1 |
| 1217 #ifdef GL_GLEXT_PROTOTYPES |
| 1218 GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture,
GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); |
| 1219 #endif |
| 524 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationT
exture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); | 1220 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationT
exture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); |
| 525 #ifdef GL_GLEXT_PROTOTYPES | 1221 #endif |
| 526 GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture,
GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); | 1222 |
| 527 #endif | 1223 /* GL_APPLE_framebuffer_multisample */ |
| 528 #endif /* GL_APPLE_copy_texture_levels */ | |
| 529 | |
| 530 #ifndef GL_APPLE_framebuffer_multisample | 1224 #ifndef GL_APPLE_framebuffer_multisample |
| 531 #define GL_APPLE_framebuffer_multisample 1 | 1225 #define GL_APPLE_framebuffer_multisample 1 |
| 532 #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB | 1226 #ifdef GL_GLEXT_PROTOTYPES |
| 533 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 | 1227 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum, GLsiz
ei, GLenum, GLsizei, GLsizei); |
| 534 #define GL_MAX_SAMPLES_APPLE 0x8D57 | 1228 GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); |
| 535 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 | 1229 #endif /* GL_GLEXT_PROTOTYPES */ |
| 536 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 | |
| 537 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 | |
| 538 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA | |
| 539 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum
target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | 1230 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum
target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 540 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); | 1231 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); |
| 541 #ifdef GL_GLEXT_PROTOTYPES | 1232 #endif |
| 542 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target
, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | 1233 |
| 543 GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); | 1234 /* GL_APPLE_rgb_422 */ |
| 544 #endif | |
| 545 #endif /* GL_APPLE_framebuffer_multisample */ | |
| 546 | |
| 547 #ifndef GL_APPLE_rgb_422 | 1235 #ifndef GL_APPLE_rgb_422 |
| 548 #define GL_APPLE_rgb_422 1 | 1236 #define GL_APPLE_rgb_422 1 |
| 549 #define GL_RGB_422_APPLE 0x8A1F | 1237 #endif |
| 550 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA | 1238 |
| 551 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB | 1239 /* GL_APPLE_sync */ |
| 552 #define GL_RGB_RAW_422_APPLE 0x8A51 | |
| 553 #endif /* GL_APPLE_rgb_422 */ | |
| 554 | |
| 555 #ifndef GL_APPLE_sync | 1240 #ifndef GL_APPLE_sync |
| 556 #define GL_APPLE_sync 1 | 1241 #define GL_APPLE_sync 1 |
| 557 #define GL_SYNC_OBJECT_APPLE 0x8A53 | 1242 #ifdef GL_GLEXT_PROTOTYPES |
| 558 #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 | 1243 GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield fla
gs); |
| 559 #define GL_OBJECT_TYPE_APPLE 0x9112 | 1244 GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); |
| 560 #define GL_SYNC_CONDITION_APPLE 0x9113 | 1245 GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); |
| 561 #define GL_SYNC_STATUS_APPLE 0x9114 | 1246 GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield fla
gs, GLuint64 timeout); |
| 562 #define GL_SYNC_FLAGS_APPLE 0x9115 | 1247 GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLui
nt64 timeout); |
| 563 #define GL_SYNC_FENCE_APPLE 0x9116 | 1248 GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params)
; |
| 564 #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 | 1249 GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei
bufSize, GLsizei *length, GLint *values); |
| 565 #define GL_UNSIGNALED_APPLE 0x9118 | 1250 #endif |
| 566 #define GL_SIGNALED_APPLE 0x9119 | |
| 567 #define GL_ALREADY_SIGNALED_APPLE 0x911A | |
| 568 #define GL_TIMEOUT_EXPIRED_APPLE 0x911B | |
| 569 #define GL_CONDITION_SATISFIED_APPLE 0x911C | |
| 570 #define GL_WAIT_FAILED_APPLE 0x911D | |
| 571 #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 | |
| 572 #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull | |
| 573 typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfi
eld flags); | 1251 typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfi
eld flags); |
| 574 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); | 1252 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); |
| 575 typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); | 1253 typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); |
| 576 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfi
eld flags, GLuint64 timeout); | 1254 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfi
eld flags, GLuint64 timeout); |
| 577 typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flag
s, GLuint64 timeout); | 1255 typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flag
s, GLuint64 timeout); |
| 578 typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *
params); | 1256 typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *
params); |
| 579 typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname,
GLsizei bufSize, GLsizei *length, GLint *values); | 1257 typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname,
GLsizei bufSize, GLsizei *length, GLint *values); |
| 580 #ifdef GL_GLEXT_PROTOTYPES | 1258 #endif |
| 581 GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield fla
gs); | 1259 |
| 582 GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); | 1260 /* GL_APPLE_texture_format_BGRA8888 */ |
| 583 GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); | |
| 584 GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield fla
gs, GLuint64 timeout); | |
| 585 GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLui
nt64 timeout); | |
| 586 GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params)
; | |
| 587 GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei
bufSize, GLsizei *length, GLint *values); | |
| 588 #endif | |
| 589 #endif /* GL_APPLE_sync */ | |
| 590 | |
| 591 #ifndef GL_APPLE_texture_format_BGRA8888 | 1261 #ifndef GL_APPLE_texture_format_BGRA8888 |
| 592 #define GL_APPLE_texture_format_BGRA8888 1 | 1262 #define GL_APPLE_texture_format_BGRA8888 1 |
| 593 #define GL_BGRA_EXT 0x80E1 | 1263 #endif |
| 594 #define GL_BGRA8_EXT 0x93A1 | 1264 |
| 595 #endif /* GL_APPLE_texture_format_BGRA8888 */ | 1265 /* GL_APPLE_texture_max_level */ |
| 596 | |
| 597 #ifndef GL_APPLE_texture_max_level | 1266 #ifndef GL_APPLE_texture_max_level |
| 598 #define GL_APPLE_texture_max_level 1 | 1267 #define GL_APPLE_texture_max_level 1 |
| 599 #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D | 1268 #endif |
| 600 #endif /* GL_APPLE_texture_max_level */ | 1269 |
| 601 | 1270 /*------------------------------------------------------------------------* |
| 1271 * ARM extension functions |
| 1272 *------------------------------------------------------------------------*/ |
| 1273 |
| 1274 /* GL_ARM_mali_program_binary */ |
| 602 #ifndef GL_ARM_mali_program_binary | 1275 #ifndef GL_ARM_mali_program_binary |
| 603 #define GL_ARM_mali_program_binary 1 | 1276 #define GL_ARM_mali_program_binary 1 |
| 604 #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 | 1277 #endif |
| 605 #endif /* GL_ARM_mali_program_binary */ | 1278 |
| 606 | 1279 /* GL_ARM_mali_shader_binary */ |
| 607 #ifndef GL_ARM_mali_shader_binary | 1280 #ifndef GL_ARM_mali_shader_binary |
| 608 #define GL_ARM_mali_shader_binary 1 | 1281 #define GL_ARM_mali_shader_binary 1 |
| 609 #define GL_MALI_SHADER_BINARY_ARM 0x8F60 | 1282 #endif |
| 610 #endif /* GL_ARM_mali_shader_binary */ | 1283 |
| 611 | 1284 /* GL_ARM_rgba8 */ |
| 612 #ifndef GL_ARM_rgba8 | 1285 #ifndef GL_ARM_rgba8 |
| 613 #define GL_ARM_rgba8 1 | 1286 #define GL_ARM_rgba8 1 |
| 614 #endif /* GL_ARM_rgba8 */ | 1287 #endif |
| 615 | 1288 |
| 616 #ifndef GL_DMP_shader_binary | 1289 /*------------------------------------------------------------------------* |
| 617 #define GL_DMP_shader_binary 1 | 1290 * EXT extension functions |
| 618 #define GL_SHADER_BINARY_DMP 0x9250 | 1291 *------------------------------------------------------------------------*/ |
| 619 #endif /* GL_DMP_shader_binary */ | 1292 |
| 620 | 1293 /* GL_EXT_blend_minmax */ |
| 621 #ifndef GL_EXT_blend_minmax | 1294 #ifndef GL_EXT_blend_minmax |
| 622 #define GL_EXT_blend_minmax 1 | 1295 #define GL_EXT_blend_minmax 1 |
| 623 #define GL_MIN_EXT 0x8007 | 1296 #endif |
| 624 #define GL_MAX_EXT 0x8008 | 1297 |
| 625 #endif /* GL_EXT_blend_minmax */ | 1298 /* GL_EXT_color_buffer_half_float */ |
| 626 | |
| 627 #ifndef GL_EXT_color_buffer_half_float | 1299 #ifndef GL_EXT_color_buffer_half_float |
| 628 #define GL_EXT_color_buffer_half_float 1 | 1300 #define GL_EXT_color_buffer_half_float 1 |
| 629 #define GL_RGBA16F_EXT 0x881A | 1301 #endif |
| 630 #define GL_RGB16F_EXT 0x881B | 1302 |
| 631 #define GL_RG16F_EXT 0x822F | 1303 /* GL_EXT_debug_label */ |
| 632 #define GL_R16F_EXT 0x822D | |
| 633 #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 | |
| 634 #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 | |
| 635 #endif /* GL_EXT_color_buffer_half_float */ | |
| 636 | |
| 637 #ifndef GL_EXT_debug_label | 1304 #ifndef GL_EXT_debug_label |
| 638 #define GL_EXT_debug_label 1 | 1305 #define GL_EXT_debug_label 1 |
| 639 #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F | 1306 #ifdef GL_GLEXT_PROTOTYPES |
| 640 #define GL_PROGRAM_OBJECT_EXT 0x8B40 | 1307 GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsize
i length, const GLchar *label); |
| 641 #define GL_SHADER_OBJECT_EXT 0x8B48 | 1308 GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLs
izei bufSize, GLsizei *length, GLchar *label); |
| 642 #define GL_BUFFER_OBJECT_EXT 0x9151 | 1309 #endif |
| 643 #define GL_QUERY_OBJECT_EXT 0x9153 | |
| 644 #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 | |
| 645 #define GL_TRANSFORM_FEEDBACK 0x8E22 | |
| 646 typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object,
GLsizei length, const GLchar *label); | 1310 typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object,
GLsizei length, const GLchar *label); |
| 647 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint obje
ct, GLsizei bufSize, GLsizei *length, GLchar *label); | 1311 typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint obje
ct, GLsizei bufSize, GLsizei *length, GLchar *label); |
| 648 #ifdef GL_GLEXT_PROTOTYPES | 1312 #endif |
| 649 GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsize
i length, const GLchar *label); | 1313 |
| 650 GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLs
izei bufSize, GLsizei *length, GLchar *label); | 1314 /* GL_EXT_debug_marker */ |
| 651 #endif | |
| 652 #endif /* GL_EXT_debug_label */ | |
| 653 | |
| 654 #ifndef GL_EXT_debug_marker | 1315 #ifndef GL_EXT_debug_marker |
| 655 #define GL_EXT_debug_marker 1 | 1316 #define GL_EXT_debug_marker 1 |
| 1317 #ifdef GL_GLEXT_PROTOTYPES |
| 1318 GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar
*marker); |
| 1319 GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *
marker); |
| 1320 GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); |
| 1321 #endif |
| 656 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const
GLchar *marker); | 1322 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const
GLchar *marker); |
| 657 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const G
Lchar *marker); | 1323 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const G
Lchar *marker); |
| 658 typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); | 1324 typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); |
| 659 #ifdef GL_GLEXT_PROTOTYPES | 1325 #endif |
| 660 GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar
*marker); | 1326 |
| 661 GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *
marker); | 1327 /* GL_EXT_discard_framebuffer */ |
| 662 GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); | |
| 663 #endif | |
| 664 #endif /* GL_EXT_debug_marker */ | |
| 665 | |
| 666 #ifndef GL_EXT_discard_framebuffer | 1328 #ifndef GL_EXT_discard_framebuffer |
| 667 #define GL_EXT_discard_framebuffer 1 | 1329 #define GL_EXT_discard_framebuffer 1 |
| 668 #define GL_COLOR_EXT 0x1800 | 1330 #ifdef GL_GLEXT_PROTOTYPES |
| 669 #define GL_DEPTH_EXT 0x1801 | 1331 GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numA
ttachments, const GLenum *attachments); |
| 670 #define GL_STENCIL_EXT 0x1802 | 1332 #endif |
| 671 typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsiz
ei numAttachments, const GLenum *attachments); | 1333 typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsiz
ei numAttachments, const GLenum *attachments); |
| 672 #ifdef GL_GLEXT_PROTOTYPES | 1334 #endif |
| 673 GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numA
ttachments, const GLenum *attachments); | 1335 |
| 674 #endif | 1336 /* GL_EXT_map_buffer_range */ |
| 675 #endif /* GL_EXT_discard_framebuffer */ | 1337 #ifndef GL_EXT_map_buffer_range |
| 676 | 1338 #define GL_EXT_map_buffer_range 1 |
| 677 #ifndef GL_EXT_disjoint_timer_query | 1339 #ifdef GL_GLEXT_PROTOTYPES |
| 678 #define GL_EXT_disjoint_timer_query 1 | 1340 GL_APICALL void* GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset
, GLsizeiptr length, GLbitfield access); |
| 679 #define GL_QUERY_COUNTER_BITS_EXT 0x8864 | 1341 GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr
offset, GLsizeiptr length); |
| 680 #define GL_CURRENT_QUERY_EXT 0x8865 | 1342 #endif |
| 681 #define GL_QUERY_RESULT_EXT 0x8866 | 1343 typedef void* (GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr
offset, GLsizeiptr length, GLbitfield access); |
| 682 #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 | 1344 typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, G
Lintptr offset, GLsizeiptr length); |
| 683 #define GL_TIME_ELAPSED_EXT 0x88BF | 1345 #endif |
| 684 #define GL_TIMESTAMP_EXT 0x8E28 | 1346 |
| 685 #define GL_GPU_DISJOINT_EXT 0x8FBB | 1347 /* GL_EXT_multisampled_render_to_texture */ |
| 1348 #ifndef GL_EXT_multisampled_render_to_texture |
| 1349 #define GL_EXT_multisampled_render_to_texture 1 |
| 1350 #ifdef GL_GLEXT_PROTOTYPES |
| 1351 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum, GLsizei
, GLenum, GLsizei, GLsizei); |
| 1352 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum, GLenum
, GLenum, GLuint, GLint, GLsizei); |
| 1353 #endif |
| 1354 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum t
arget, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 1355 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum
target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsize
i samples); |
| 1356 #endif |
| 1357 |
| 1358 /* GL_EXT_multiview_draw_buffers */ |
| 1359 #ifndef GL_EXT_multiview_draw_buffers |
| 1360 #define GL_EXT_multiview_draw_buffers 1 |
| 1361 #ifdef GL_GLEXT_PROTOTYPES |
| 1362 GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); |
| 1363 GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *loca
tion, const GLint *indices); |
| 1364 GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLi
nt *data); |
| 1365 #endif |
| 1366 typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint ind
ex); |
| 1367 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenu
m *location, const GLint *indices); |
| 1368 typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint ind
ex, GLint *data); |
| 1369 #endif |
| 1370 |
| 1371 #ifndef GL_EXT_multi_draw_arrays |
| 1372 #define GL_EXT_multi_draw_arrays 1 |
| 1373 #ifdef GL_GLEXT_PROTOTYPES |
| 1374 GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GL
sizei); |
| 1375 GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLe
num, const GLvoid* *, GLsizei); |
| 1376 #endif /* GL_GLEXT_PROTOTYPES */ |
| 1377 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *fir
st, GLsizei *count, GLsizei primcount); |
| 1378 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GL
sizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); |
| 1379 #endif |
| 1380 |
| 1381 /* GL_EXT_occlusion_query_boolean */ |
| 1382 #ifndef GL_EXT_occlusion_query_boolean |
| 1383 #define GL_EXT_occlusion_query_boolean 1 |
| 1384 #ifdef GL_GLEXT_PROTOTYPES |
| 1385 GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); |
| 1386 GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); |
| 1387 GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); |
| 1388 GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); |
| 1389 GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); |
| 1390 GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint
*params); |
| 1391 GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLu
int *params); |
| 1392 #endif |
| 686 typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); | 1393 typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); |
| 687 typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *
ids); | 1394 typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *
ids); |
| 688 typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); | 1395 typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); |
| 689 typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); | 1396 typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); |
| 690 typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); | 1397 typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); |
| 691 typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); | |
| 692 typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname,
GLint *params); | 1398 typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname,
GLint *params); |
| 693 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pnam
e, GLint *params); | |
| 694 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pna
me, GLuint *params); | 1399 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pna
me, GLuint *params); |
| 695 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pn
ame, GLint64 *params); | 1400 #endif |
| 696 typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum p
name, GLuint64 *params); | 1401 |
| 697 #ifdef GL_GLEXT_PROTOTYPES | 1402 /* GL_EXT_read_format_bgra */ |
| 698 GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); | |
| 699 GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); | |
| 700 GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); | |
| 701 GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); | |
| 702 GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); | |
| 703 GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); | |
| 704 GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint
*params); | |
| 705 GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLin
t *params); | |
| 706 GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLu
int *params); | |
| 707 GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GL
int64 *params); | |
| 708 GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, G
Luint64 *params); | |
| 709 #endif | |
| 710 #endif /* GL_EXT_disjoint_timer_query */ | |
| 711 | |
| 712 #ifndef GL_EXT_draw_buffers | |
| 713 #define GL_EXT_draw_buffers 1 | |
| 714 #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF | |
| 715 #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 | |
| 716 #define GL_DRAW_BUFFER0_EXT 0x8825 | |
| 717 #define GL_DRAW_BUFFER1_EXT 0x8826 | |
| 718 #define GL_DRAW_BUFFER2_EXT 0x8827 | |
| 719 #define GL_DRAW_BUFFER3_EXT 0x8828 | |
| 720 #define GL_DRAW_BUFFER4_EXT 0x8829 | |
| 721 #define GL_DRAW_BUFFER5_EXT 0x882A | |
| 722 #define GL_DRAW_BUFFER6_EXT 0x882B | |
| 723 #define GL_DRAW_BUFFER7_EXT 0x882C | |
| 724 #define GL_DRAW_BUFFER8_EXT 0x882D | |
| 725 #define GL_DRAW_BUFFER9_EXT 0x882E | |
| 726 #define GL_DRAW_BUFFER10_EXT 0x882F | |
| 727 #define GL_DRAW_BUFFER11_EXT 0x8830 | |
| 728 #define GL_DRAW_BUFFER12_EXT 0x8831 | |
| 729 #define GL_DRAW_BUFFER13_EXT 0x8832 | |
| 730 #define GL_DRAW_BUFFER14_EXT 0x8833 | |
| 731 #define GL_DRAW_BUFFER15_EXT 0x8834 | |
| 732 #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 | |
| 733 #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 | |
| 734 #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 | |
| 735 #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 | |
| 736 #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 | |
| 737 #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 | |
| 738 #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 | |
| 739 #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 | |
| 740 #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 | |
| 741 #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 | |
| 742 #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA | |
| 743 #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB | |
| 744 #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC | |
| 745 #define GL_COLOR_ATTACHMENT13_EXT 0x8CED | |
| 746 #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE | |
| 747 #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF | |
| 748 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bu
fs); | |
| 749 #ifdef GL_GLEXT_PROTOTYPES | |
| 750 GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); | |
| 751 #endif | |
| 752 #endif /* GL_EXT_draw_buffers */ | |
| 753 | |
| 754 #ifndef GL_EXT_draw_instanced | |
| 755 #define GL_EXT_draw_instanced 1 | |
| 756 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint
start, GLsizei count, GLsizei primcount); | |
| 757 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsi
zei count, GLenum type, const void *indices, GLsizei primcount); | |
| 758 #ifdef GL_GLEXT_PROTOTYPES | |
| 759 GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start,
GLsizei count, GLsizei primcount); | |
| 760 GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei cou
nt, GLenum type, const void *indices, GLsizei primcount); | |
| 761 #endif | |
| 762 #endif /* GL_EXT_draw_instanced */ | |
| 763 | |
| 764 #ifndef GL_EXT_instanced_arrays | |
| 765 #define GL_EXT_instanced_arrays 1 | |
| 766 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE | |
| 767 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuin
t divisor); | |
| 768 #ifdef GL_GLEXT_PROTOTYPES | |
| 769 GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divis
or); | |
| 770 #endif | |
| 771 #endif /* GL_EXT_instanced_arrays */ | |
| 772 | |
| 773 #ifndef GL_EXT_map_buffer_range | |
| 774 #define GL_EXT_map_buffer_range 1 | |
| 775 #define GL_MAP_READ_BIT_EXT 0x0001 | |
| 776 #define GL_MAP_WRITE_BIT_EXT 0x0002 | |
| 777 #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 | |
| 778 #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 | |
| 779 #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 | |
| 780 #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 | |
| 781 typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr
offset, GLsizeiptr length, GLbitfield access); | |
| 782 typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, G
Lintptr offset, GLsizeiptr length); | |
| 783 #ifdef GL_GLEXT_PROTOTYPES | |
| 784 GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset
, GLsizeiptr length, GLbitfield access); | |
| 785 GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr
offset, GLsizeiptr length); | |
| 786 #endif | |
| 787 #endif /* GL_EXT_map_buffer_range */ | |
| 788 | |
| 789 #ifndef GL_EXT_multi_draw_arrays | |
| 790 #define GL_EXT_multi_draw_arrays 1 | |
| 791 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLin
t *first, const GLsizei *count, GLsizei primcount); | |
| 792 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GL
sizei *count, GLenum type, const void *const*indices, GLsizei primcount); | |
| 793 #ifdef GL_GLEXT_PROTOTYPES | |
| 794 GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *firs
t, const GLsizei *count, GLsizei primcount); | |
| 795 GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *
count, GLenum type, const void *const*indices, GLsizei primcount); | |
| 796 #endif | |
| 797 #endif /* GL_EXT_multi_draw_arrays */ | |
| 798 | |
| 799 #ifndef GL_EXT_multisampled_render_to_texture | |
| 800 #define GL_EXT_multisampled_render_to_texture 1 | |
| 801 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C | |
| 802 #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB | |
| 803 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 | |
| 804 #define GL_MAX_SAMPLES_EXT 0x8D57 | |
| 805 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum t
arget, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | |
| 806 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum
target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsize
i samples); | |
| 807 #ifdef GL_GLEXT_PROTOTYPES | |
| 808 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target,
GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | |
| 809 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target,
GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei sampl
es); | |
| 810 #endif | |
| 811 #endif /* GL_EXT_multisampled_render_to_texture */ | |
| 812 | |
| 813 #ifndef GL_EXT_multiview_draw_buffers | |
| 814 #define GL_EXT_multiview_draw_buffers 1 | |
| 815 #define GL_COLOR_ATTACHMENT_EXT 0x90F0 | |
| 816 #define GL_MULTIVIEW_EXT 0x90F1 | |
| 817 #define GL_DRAW_BUFFER_EXT 0x0C01 | |
| 818 #define GL_READ_BUFFER_EXT 0x0C02 | |
| 819 #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 | |
| 820 typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint ind
ex); | |
| 821 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenu
m *location, const GLint *indices); | |
| 822 typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint ind
ex, GLint *data); | |
| 823 #ifdef GL_GLEXT_PROTOTYPES | |
| 824 GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); | |
| 825 GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *loca
tion, const GLint *indices); | |
| 826 GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLi
nt *data); | |
| 827 #endif | |
| 828 #endif /* GL_EXT_multiview_draw_buffers */ | |
| 829 | |
| 830 #ifndef GL_EXT_occlusion_query_boolean | |
| 831 #define GL_EXT_occlusion_query_boolean 1 | |
| 832 #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F | |
| 833 #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A | |
| 834 #endif /* GL_EXT_occlusion_query_boolean */ | |
| 835 | |
| 836 #ifndef GL_EXT_pvrtc_sRGB | |
| 837 #define GL_EXT_pvrtc_sRGB 1 | |
| 838 #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 | |
| 839 #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 | |
| 840 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 | |
| 841 #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 | |
| 842 #endif /* GL_EXT_pvrtc_sRGB */ | |
| 843 | |
| 844 #ifndef GL_EXT_read_format_bgra | 1403 #ifndef GL_EXT_read_format_bgra |
| 845 #define GL_EXT_read_format_bgra 1 | 1404 #define GL_EXT_read_format_bgra 1 |
| 846 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 | 1405 #endif |
| 847 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 | 1406 |
| 848 #endif /* GL_EXT_read_format_bgra */ | 1407 /* GL_EXT_robustness */ |
| 849 | |
| 850 #ifndef GL_EXT_robustness | 1408 #ifndef GL_EXT_robustness |
| 851 #define GL_EXT_robustness 1 | 1409 #define GL_EXT_robustness 1 |
| 852 #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 | 1410 #ifdef GL_GLEXT_PROTOTYPES |
| 853 #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 | 1411 GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); |
| 854 #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 | 1412 GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, G
Lsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); |
| 855 #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 | 1413 GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location,
GLsizei bufSize, float *params); |
| 856 #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 | 1414 GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location,
GLsizei bufSize, GLint *params); |
| 857 #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 | 1415 #endif |
| 858 #define GL_NO_RESET_NOTIFICATION_EXT 0x8261 | |
| 859 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); | 1416 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); |
| 860 typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei w
idth, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); | 1417 typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei w
idth, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); |
| 861 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint loc
ation, GLsizei bufSize, GLfloat *params); | 1418 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint loc
ation, GLsizei bufSize, float *params); |
| 862 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint loc
ation, GLsizei bufSize, GLint *params); | 1419 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint loc
ation, GLsizei bufSize, GLint *params); |
| 863 #ifdef GL_GLEXT_PROTOTYPES | 1420 #endif |
| 864 GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); | 1421 |
| 865 GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, G
Lsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); | 1422 /* GL_EXT_separate_shader_objects */ |
| 866 GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location,
GLsizei bufSize, GLfloat *params); | |
| 867 GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location,
GLsizei bufSize, GLint *params); | |
| 868 #endif | |
| 869 #endif /* GL_EXT_robustness */ | |
| 870 | |
| 871 #ifndef GL_EXT_sRGB | |
| 872 #define GL_EXT_sRGB 1 | |
| 873 #define GL_SRGB_EXT 0x8C40 | |
| 874 #define GL_SRGB_ALPHA_EXT 0x8C42 | |
| 875 #define GL_SRGB8_ALPHA8_EXT 0x8C43 | |
| 876 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 | |
| 877 #endif /* GL_EXT_sRGB */ | |
| 878 | |
| 879 #ifndef GL_EXT_sRGB_write_control | |
| 880 #define GL_EXT_sRGB_write_control 1 | |
| 881 #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 | |
| 882 #endif /* GL_EXT_sRGB_write_control */ | |
| 883 | |
| 884 #ifndef GL_EXT_separate_shader_objects | 1423 #ifndef GL_EXT_separate_shader_objects |
| 885 #define GL_EXT_separate_shader_objects 1 | 1424 #define GL_EXT_separate_shader_objects 1 |
| 886 #define GL_ACTIVE_PROGRAM_EXT 0x8259 | 1425 #ifdef GL_GLEXT_PROTOTYPES |
| 887 #define GL_VERTEX_SHADER_BIT_EXT 0x00000001 | 1426 GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield s
tages, GLuint program); |
| 888 #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 | 1427 GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint pr
ogram); |
| 889 #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF | 1428 GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei co
unt, const GLchar **strings); |
| 890 #define GL_PROGRAM_SEPARABLE_EXT 0x8258 | 1429 GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); |
| 891 #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A | 1430 GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint
*pipelines); |
| 1431 GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelin
es); |
| 1432 GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); |
| 1433 GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname
, GLint value); |
| 1434 GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum p
name, GLint *params); |
| 1435 GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint locatio
n, GLint x); |
| 1436 GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint locatio
n, GLint x, GLint y); |
| 1437 GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint locatio
n, GLint x, GLint y, GLint z); |
| 1438 GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint locatio
n, GLint x, GLint y, GLint z, GLint w); |
| 1439 GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint locatio
n, GLfloat x); |
| 1440 GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint locatio
n, GLfloat x, GLfloat y); |
| 1441 GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint locatio
n, GLfloat x, GLfloat y, GLfloat z); |
| 1442 GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint locatio
n, GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 1443 GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint locati
on, GLsizei count, const GLint *value); |
| 1444 GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint locati
on, GLsizei count, const GLint *value); |
| 1445 GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint locati
on, GLsizei count, const GLint *value); |
| 1446 GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint locati
on, GLsizei count, const GLint *value); |
| 1447 GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint locati
on, GLsizei count, const GLfloat *value); |
| 1448 GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint locati
on, GLsizei count, const GLfloat *value); |
| 1449 GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint locati
on, GLsizei count, const GLfloat *value); |
| 1450 GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint locati
on, GLsizei count, const GLfloat *value); |
| 1451 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint
location, GLsizei count, GLboolean transpose, const GLfloat *value); |
| 1452 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint
location, GLsizei count, GLboolean transpose, const GLfloat *value); |
| 1453 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint
location, GLsizei count, GLboolean transpose, const GLfloat *value); |
| 1454 GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); |
| 1455 GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLs
izei bufSize, GLsizei *length, GLchar *infoLog); |
| 1456 #endif |
| 1457 typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbit
field stages, GLuint program); |
| 892 typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GL
uint program); | 1458 typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GL
uint program); |
| 1459 typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLs
izei count, const GLchar **strings); |
| 893 typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | 1460 typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); |
| 894 typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLs
izei count, const GLchar **strings); | |
| 895 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const
GLuint *pipelines); | 1461 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const
GLuint *pipelines); |
| 896 typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *
pipelines); | 1462 typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *
pipelines); |
| 897 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeli
ne, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | |
| 898 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, G
Lenum pname, GLint *params); | |
| 899 typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline)
; | 1463 typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline)
; |
| 900 typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenu
m pname, GLint value); | 1464 typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenu
m pname, GLint value); |
| 901 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint
location, GLfloat v0); | 1465 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, G
Lenum pname, GLint *params); |
| 1466 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint
location, GLint x); |
| 1467 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint
location, GLint x, GLint y); |
| 1468 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint
location, GLint x, GLint y, GLint z); |
| 1469 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint
location, GLint x, GLint y, GLint z, GLint w); |
| 1470 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint
location, GLfloat x); |
| 1471 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint
location, GLfloat x, GLfloat y); |
| 1472 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint
location, GLfloat x, GLfloat y, GLfloat z); |
| 1473 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint
location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 1474 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLint *value); |
| 1475 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLint *value); |
| 1476 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLint *value); |
| 1477 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLint *value); |
| 902 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLfloat *value); | 1478 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLfloat *value); |
| 903 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint
location, GLint v0); | |
| 904 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLint *value); | |
| 905 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint
location, GLfloat v0, GLfloat v1); | |
| 906 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLfloat *value); | 1479 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLfloat *value); |
| 907 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint
location, GLint v0, GLint v1); | |
| 908 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLint *value); | |
| 909 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint
location, GLfloat v0, GLfloat v1, GLfloat v2); | |
| 910 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLfloat *value); | 1480 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLfloat *value); |
| 911 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint
location, GLint v0, GLint v1, GLint v2); | |
| 912 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLint *value); | |
| 913 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint
location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | |
| 914 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLfloat *value); | 1481 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLfloat *value); |
| 915 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint
location, GLint v0, GLint v1, GLint v2, GLint v3); | |
| 916 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint
location, GLsizei count, const GLint *value); | |
| 917 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program,
GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | 1482 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program,
GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
| 918 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program,
GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | 1483 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program,
GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
| 919 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program,
GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | 1484 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program,
GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
| 920 typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbit
field stages, GLuint program); | |
| 921 typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline
); | 1485 typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline
); |
| 922 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint
location, GLuint v0); | 1486 typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeli
ne, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
| 923 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint
location, GLuint v0, GLuint v1); | 1487 #endif |
| 924 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint
location, GLuint v0, GLuint v1, GLuint v2); | 1488 |
| 925 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint
location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | 1489 /* GL_EXT_shader_framebuffer_fetch */ |
| 926 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLin
t location, GLsizei count, const GLuint *value); | |
| 927 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLin
t location, GLsizei count, const GLuint *value); | |
| 928 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLin
t location, GLsizei count, const GLuint *value); | |
| 929 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLin
t location, GLsizei count, const GLuint *value); | |
| 930 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint progra
m, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 931 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint progra
m, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 932 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint progra
m, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 933 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint progra
m, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 934 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint progra
m, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 935 typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint progra
m, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 936 #ifdef GL_GLEXT_PROTOTYPES | |
| 937 GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint pr
ogram); | |
| 938 GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); | |
| 939 GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei co
unt, const GLchar **strings); | |
| 940 GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint
*pipelines); | |
| 941 GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelin
es); | |
| 942 GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLs
izei bufSize, GLsizei *length, GLchar *infoLog); | |
| 943 GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum p
name, GLint *params); | |
| 944 GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); | |
| 945 GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname
, GLint value); | |
| 946 GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint locatio
n, GLfloat v0); | |
| 947 GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint locati
on, GLsizei count, const GLfloat *value); | |
| 948 GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint locatio
n, GLint v0); | |
| 949 GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint locati
on, GLsizei count, const GLint *value); | |
| 950 GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint locatio
n, GLfloat v0, GLfloat v1); | |
| 951 GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint locati
on, GLsizei count, const GLfloat *value); | |
| 952 GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint locatio
n, GLint v0, GLint v1); | |
| 953 GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint locati
on, GLsizei count, const GLint *value); | |
| 954 GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint locatio
n, GLfloat v0, GLfloat v1, GLfloat v2); | |
| 955 GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint locati
on, GLsizei count, const GLfloat *value); | |
| 956 GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint locatio
n, GLint v0, GLint v1, GLint v2); | |
| 957 GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint locati
on, GLsizei count, const GLint *value); | |
| 958 GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint locatio
n, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | |
| 959 GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint locati
on, GLsizei count, const GLfloat *value); | |
| 960 GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint locatio
n, GLint v0, GLint v1, GLint v2, GLint v3); | |
| 961 GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint locati
on, GLsizei count, const GLint *value); | |
| 962 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint
location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 963 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint
location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 964 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint
location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 965 GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield s
tages, GLuint program); | |
| 966 GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); | |
| 967 GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint locati
on, GLuint v0); | |
| 968 GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint locati
on, GLuint v0, GLuint v1); | |
| 969 GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint locati
on, GLuint v0, GLuint v1, GLuint v2); | |
| 970 GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint locati
on, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | |
| 971 GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint locat
ion, GLsizei count, const GLuint *value); | |
| 972 GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint locat
ion, GLsizei count, const GLuint *value); | |
| 973 GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint locat
ion, GLsizei count, const GLuint *value); | |
| 974 GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint locat
ion, GLsizei count, const GLuint *value); | |
| 975 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLin
t location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 976 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLin
t location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 977 GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLin
t location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 978 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLin
t location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 979 GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLin
t location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 980 GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLin
t location, GLsizei count, GLboolean transpose, const GLfloat *value); | |
| 981 #endif | |
| 982 #endif /* GL_EXT_separate_shader_objects */ | |
| 983 | |
| 984 #ifndef GL_EXT_shader_framebuffer_fetch | 1490 #ifndef GL_EXT_shader_framebuffer_fetch |
| 985 #define GL_EXT_shader_framebuffer_fetch 1 | 1491 #define GL_EXT_shader_framebuffer_fetch 1 |
| 986 #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 | 1492 #endif |
| 987 #endif /* GL_EXT_shader_framebuffer_fetch */ | 1493 |
| 988 | 1494 /* GL_EXT_shader_texture_lod */ |
| 989 #ifndef GL_EXT_shader_integer_mix | |
| 990 #define GL_EXT_shader_integer_mix 1 | |
| 991 #endif /* GL_EXT_shader_integer_mix */ | |
| 992 | |
| 993 #ifndef GL_EXT_shader_texture_lod | 1495 #ifndef GL_EXT_shader_texture_lod |
| 994 #define GL_EXT_shader_texture_lod 1 | 1496 #define GL_EXT_shader_texture_lod 1 |
| 995 #endif /* GL_EXT_shader_texture_lod */ | 1497 #endif |
| 996 | 1498 |
| 1499 /* GL_EXT_shadow_samplers */ |
| 997 #ifndef GL_EXT_shadow_samplers | 1500 #ifndef GL_EXT_shadow_samplers |
| 998 #define GL_EXT_shadow_samplers 1 | 1501 #define GL_EXT_shadow_samplers 1 |
| 999 #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C | 1502 #endif |
| 1000 #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D | 1503 |
| 1001 #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E | 1504 /* GL_EXT_sRGB */ |
| 1002 #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 | 1505 #ifndef GL_EXT_sRGB |
| 1003 #endif /* GL_EXT_shadow_samplers */ | 1506 #define GL_EXT_sRGB 1 |
| 1004 | 1507 #endif |
| 1508 |
| 1509 /* GL_EXT_texture_compression_dxt1 */ |
| 1005 #ifndef GL_EXT_texture_compression_dxt1 | 1510 #ifndef GL_EXT_texture_compression_dxt1 |
| 1006 #define GL_EXT_texture_compression_dxt1 1 | 1511 #define GL_EXT_texture_compression_dxt1 1 |
| 1007 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 | 1512 #endif |
| 1008 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 | 1513 |
| 1009 #endif /* GL_EXT_texture_compression_dxt1 */ | 1514 /* GL_EXT_texture_filter_anisotropic */ |
| 1010 | |
| 1011 #ifndef GL_EXT_texture_compression_s3tc | |
| 1012 #define GL_EXT_texture_compression_s3tc 1 | |
| 1013 #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 | |
| 1014 #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 | |
| 1015 #endif /* GL_EXT_texture_compression_s3tc */ | |
| 1016 | |
| 1017 #ifndef GL_EXT_texture_filter_anisotropic | 1515 #ifndef GL_EXT_texture_filter_anisotropic |
| 1018 #define GL_EXT_texture_filter_anisotropic 1 | 1516 #define GL_EXT_texture_filter_anisotropic 1 |
| 1019 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE | 1517 #endif |
| 1020 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF | 1518 |
| 1021 #endif /* GL_EXT_texture_filter_anisotropic */ | 1519 /* GL_EXT_texture_format_BGRA8888 */ |
| 1022 | |
| 1023 #ifndef GL_EXT_texture_format_BGRA8888 | 1520 #ifndef GL_EXT_texture_format_BGRA8888 |
| 1024 #define GL_EXT_texture_format_BGRA8888 1 | 1521 #define GL_EXT_texture_format_BGRA8888 1 |
| 1025 #endif /* GL_EXT_texture_format_BGRA8888 */ | 1522 #endif |
| 1026 | 1523 |
| 1524 /* GL_EXT_texture_rg */ |
| 1027 #ifndef GL_EXT_texture_rg | 1525 #ifndef GL_EXT_texture_rg |
| 1028 #define GL_EXT_texture_rg 1 | 1526 #define GL_EXT_texture_rg 1 |
| 1029 #define GL_RED_EXT 0x1903 | 1527 #endif |
| 1030 #define GL_RG_EXT 0x8227 | 1528 |
| 1031 #define GL_R8_EXT 0x8229 | 1529 /* GL_EXT_texture_storage */ |
| 1032 #define GL_RG8_EXT 0x822B | |
| 1033 #endif /* GL_EXT_texture_rg */ | |
| 1034 | |
| 1035 #ifndef GL_EXT_texture_sRGB_decode | |
| 1036 #define GL_EXT_texture_sRGB_decode 1 | |
| 1037 #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 | |
| 1038 #define GL_DECODE_EXT 0x8A49 | |
| 1039 #define GL_SKIP_DECODE_EXT 0x8A4A | |
| 1040 #endif /* GL_EXT_texture_sRGB_decode */ | |
| 1041 | |
| 1042 #ifndef GL_EXT_texture_storage | 1530 #ifndef GL_EXT_texture_storage |
| 1043 #define GL_EXT_texture_storage 1 | 1531 #define GL_EXT_texture_storage 1 |
| 1044 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F | 1532 #ifdef GL_GLEXT_PROTOTYPES |
| 1045 #define GL_ALPHA8_EXT 0x803C | 1533 GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GL
enum internalformat, GLsizei width); |
| 1046 #define GL_LUMINANCE8_EXT 0x8040 | 1534 GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GL
enum internalformat, GLsizei width, GLsizei height); |
| 1047 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 | 1535 GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GL
enum internalformat, GLsizei width, GLsizei height, GLsizei depth); |
| 1048 #define GL_RGBA32F_EXT 0x8814 | 1536 GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target
, GLsizei levels, GLenum internalformat, GLsizei width); |
| 1049 #define GL_RGB32F_EXT 0x8815 | 1537 GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target
, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); |
| 1050 #define GL_ALPHA32F_EXT 0x8816 | 1538 GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target
, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei
depth); |
| 1051 #define GL_LUMINANCE32F_EXT 0x8818 | 1539 #endif |
| 1052 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 | |
| 1053 #define GL_ALPHA16F_EXT 0x881C | |
| 1054 #define GL_LUMINANCE16F_EXT 0x881E | |
| 1055 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F | |
| 1056 #define GL_R32F_EXT 0x822E | |
| 1057 #define GL_RG32F_EXT 0x8230 | |
| 1058 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei lev
els, GLenum internalformat, GLsizei width); | 1540 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei lev
els, GLenum internalformat, GLsizei width); |
| 1059 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei lev
els, GLenum internalformat, GLsizei width, GLsizei height); | 1541 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei lev
els, GLenum internalformat, GLsizei width, GLsizei height); |
| 1060 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei lev
els, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | 1542 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei lev
els, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); |
| 1061 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum
target, GLsizei levels, GLenum internalformat, GLsizei width); | 1543 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum
target, GLsizei levels, GLenum internalformat, GLsizei width); |
| 1062 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum
target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | 1544 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum
target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); |
| 1063 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum
target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, G
Lsizei depth); | 1545 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum
target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, G
Lsizei depth); |
| 1064 #ifdef GL_GLEXT_PROTOTYPES | 1546 #endif |
| 1065 GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GL
enum internalformat, GLsizei width); | 1547 |
| 1066 GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GL
enum internalformat, GLsizei width, GLsizei height); | 1548 /* GL_EXT_texture_type_2_10_10_10_REV */ |
| 1067 GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GL
enum internalformat, GLsizei width, GLsizei height, GLsizei depth); | |
| 1068 GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target
, GLsizei levels, GLenum internalformat, GLsizei width); | |
| 1069 GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target
, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | |
| 1070 GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target
, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei
depth); | |
| 1071 #endif | |
| 1072 #endif /* GL_EXT_texture_storage */ | |
| 1073 | |
| 1074 #ifndef GL_EXT_texture_type_2_10_10_10_REV | 1549 #ifndef GL_EXT_texture_type_2_10_10_10_REV |
| 1075 #define GL_EXT_texture_type_2_10_10_10_REV 1 | 1550 #define GL_EXT_texture_type_2_10_10_10_REV 1 |
| 1076 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 | 1551 #endif |
| 1077 #endif /* GL_EXT_texture_type_2_10_10_10_REV */ | 1552 |
| 1078 | 1553 /* GL_EXT_unpack_subimage */ |
| 1079 #ifndef GL_EXT_unpack_subimage | 1554 #ifndef GL_EXT_unpack_subimage |
| 1080 #define GL_EXT_unpack_subimage 1 | 1555 #define GL_EXT_unpack_subimage 1 |
| 1081 #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 | 1556 #endif |
| 1082 #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 | 1557 |
| 1083 #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 | 1558 /*------------------------------------------------------------------------* |
| 1084 #endif /* GL_EXT_unpack_subimage */ | 1559 * DMP extension functions |
| 1085 | 1560 *------------------------------------------------------------------------*/ |
| 1561 |
| 1562 /* GL_DMP_shader_binary */ |
| 1563 #ifndef GL_DMP_shader_binary |
| 1564 #define GL_DMP_shader_binary 1 |
| 1565 #endif |
| 1566 |
| 1567 /*------------------------------------------------------------------------* |
| 1568 * FJ extension functions |
| 1569 *------------------------------------------------------------------------*/ |
| 1570 |
| 1571 /* GL_FJ_shader_binary_GCCSO */ |
| 1086 #ifndef GL_FJ_shader_binary_GCCSO | 1572 #ifndef GL_FJ_shader_binary_GCCSO |
| 1087 #define GL_FJ_shader_binary_GCCSO 1 | 1573 #define GL_FJ_shader_binary_GCCSO 1 |
| 1088 #define GL_GCCSO_SHADER_BINARY_FJ 0x9260 | 1574 #endif |
| 1089 #endif /* GL_FJ_shader_binary_GCCSO */ | 1575 |
| 1090 | 1576 /*------------------------------------------------------------------------* |
| 1577 * IMG extension functions |
| 1578 *------------------------------------------------------------------------*/ |
| 1579 |
| 1580 /* GL_IMG_program_binary */ |
| 1581 #ifndef GL_IMG_program_binary |
| 1582 #define GL_IMG_program_binary 1 |
| 1583 #endif |
| 1584 |
| 1585 /* GL_IMG_read_format */ |
| 1586 #ifndef GL_IMG_read_format |
| 1587 #define GL_IMG_read_format 1 |
| 1588 #endif |
| 1589 |
| 1590 /* GL_IMG_shader_binary */ |
| 1591 #ifndef GL_IMG_shader_binary |
| 1592 #define GL_IMG_shader_binary 1 |
| 1593 #endif |
| 1594 |
| 1595 /* GL_IMG_texture_compression_pvrtc */ |
| 1596 #ifndef GL_IMG_texture_compression_pvrtc |
| 1597 #define GL_IMG_texture_compression_pvrtc 1 |
| 1598 #endif |
| 1599 |
| 1600 /* GL_IMG_multisampled_render_to_texture */ |
| 1091 #ifndef GL_IMG_multisampled_render_to_texture | 1601 #ifndef GL_IMG_multisampled_render_to_texture |
| 1092 #define GL_IMG_multisampled_render_to_texture 1 | 1602 #define GL_IMG_multisampled_render_to_texture 1 |
| 1093 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 | 1603 #ifdef GL_GLEXT_PROTOTYPES |
| 1094 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 | 1604 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum, GLsizei
, GLenum, GLsizei, GLsizei); |
| 1095 #define GL_MAX_SAMPLES_IMG 0x9135 | 1605 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum, GLenum
, GLenum, GLuint, GLint, GLsizei); |
| 1096 #define GL_TEXTURE_SAMPLES_IMG 0x9136 | 1606 #endif |
| 1097 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum t
arget, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | 1607 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum t
arget, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 1098 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum
target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsize
i samples); | 1608 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum
target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsize
i samples); |
| 1099 #ifdef GL_GLEXT_PROTOTYPES | 1609 #endif |
| 1100 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target,
GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | 1610 |
| 1101 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target,
GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei sampl
es); | 1611 /*------------------------------------------------------------------------* |
| 1102 #endif | 1612 * NV extension functions |
| 1103 #endif /* GL_IMG_multisampled_render_to_texture */ | 1613 *------------------------------------------------------------------------*/ |
| 1104 | 1614 |
| 1105 #ifndef GL_IMG_program_binary | 1615 /* GL_NV_coverage_sample */ |
| 1106 #define GL_IMG_program_binary 1 | |
| 1107 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 | |
| 1108 #endif /* GL_IMG_program_binary */ | |
| 1109 | |
| 1110 #ifndef GL_IMG_read_format | |
| 1111 #define GL_IMG_read_format 1 | |
| 1112 #define GL_BGRA_IMG 0x80E1 | |
| 1113 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 | |
| 1114 #endif /* GL_IMG_read_format */ | |
| 1115 | |
| 1116 #ifndef GL_IMG_shader_binary | |
| 1117 #define GL_IMG_shader_binary 1 | |
| 1118 #define GL_SGX_BINARY_IMG 0x8C0A | |
| 1119 #endif /* GL_IMG_shader_binary */ | |
| 1120 | |
| 1121 #ifndef GL_IMG_texture_compression_pvrtc | |
| 1122 #define GL_IMG_texture_compression_pvrtc 1 | |
| 1123 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 | |
| 1124 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 | |
| 1125 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 | |
| 1126 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 | |
| 1127 #endif /* GL_IMG_texture_compression_pvrtc */ | |
| 1128 | |
| 1129 #ifndef GL_IMG_texture_compression_pvrtc2 | |
| 1130 #define GL_IMG_texture_compression_pvrtc2 1 | |
| 1131 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 | |
| 1132 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 | |
| 1133 #endif /* GL_IMG_texture_compression_pvrtc2 */ | |
| 1134 | |
| 1135 #ifndef GL_NV_blend_equation_advanced | |
| 1136 #define GL_NV_blend_equation_advanced 1 | |
| 1137 #define GL_BLEND_OVERLAP_NV 0x9281 | |
| 1138 #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 | |
| 1139 #define GL_BLUE_NV 0x1905 | |
| 1140 #define GL_COLORBURN_NV 0x929A | |
| 1141 #define GL_COLORDODGE_NV 0x9299 | |
| 1142 #define GL_CONJOINT_NV 0x9284 | |
| 1143 #define GL_CONTRAST_NV 0x92A1 | |
| 1144 #define GL_DARKEN_NV 0x9297 | |
| 1145 #define GL_DIFFERENCE_NV 0x929E | |
| 1146 #define GL_DISJOINT_NV 0x9283 | |
| 1147 #define GL_DST_ATOP_NV 0x928F | |
| 1148 #define GL_DST_IN_NV 0x928B | |
| 1149 #define GL_DST_NV 0x9287 | |
| 1150 #define GL_DST_OUT_NV 0x928D | |
| 1151 #define GL_DST_OVER_NV 0x9289 | |
| 1152 #define GL_EXCLUSION_NV 0x92A0 | |
| 1153 #define GL_GREEN_NV 0x1904 | |
| 1154 #define GL_HARDLIGHT_NV 0x929B | |
| 1155 #define GL_HARDMIX_NV 0x92A9 | |
| 1156 #define GL_HSL_COLOR_NV 0x92AF | |
| 1157 #define GL_HSL_HUE_NV 0x92AD | |
| 1158 #define GL_HSL_LUMINOSITY_NV 0x92B0 | |
| 1159 #define GL_HSL_SATURATION_NV 0x92AE | |
| 1160 #define GL_INVERT_OVG_NV 0x92B4 | |
| 1161 #define GL_INVERT_RGB_NV 0x92A3 | |
| 1162 #define GL_LIGHTEN_NV 0x9298 | |
| 1163 #define GL_LINEARBURN_NV 0x92A5 | |
| 1164 #define GL_LINEARDODGE_NV 0x92A4 | |
| 1165 #define GL_LINEARLIGHT_NV 0x92A7 | |
| 1166 #define GL_MINUS_CLAMPED_NV 0x92B3 | |
| 1167 #define GL_MINUS_NV 0x929F | |
| 1168 #define GL_MULTIPLY_NV 0x9294 | |
| 1169 #define GL_OVERLAY_NV 0x9296 | |
| 1170 #define GL_PINLIGHT_NV 0x92A8 | |
| 1171 #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 | |
| 1172 #define GL_PLUS_CLAMPED_NV 0x92B1 | |
| 1173 #define GL_PLUS_DARKER_NV 0x9292 | |
| 1174 #define GL_PLUS_NV 0x9291 | |
| 1175 #define GL_RED_NV 0x1903 | |
| 1176 #define GL_SCREEN_NV 0x9295 | |
| 1177 #define GL_SOFTLIGHT_NV 0x929C | |
| 1178 #define GL_SRC_ATOP_NV 0x928E | |
| 1179 #define GL_SRC_IN_NV 0x928A | |
| 1180 #define GL_SRC_NV 0x9286 | |
| 1181 #define GL_SRC_OUT_NV 0x928C | |
| 1182 #define GL_SRC_OVER_NV 0x9288 | |
| 1183 #define GL_UNCORRELATED_NV 0x9282 | |
| 1184 #define GL_VIVIDLIGHT_NV 0x92A6 | |
| 1185 #define GL_XOR_NV 0x1506 | |
| 1186 typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint valu
e); | |
| 1187 typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); | |
| 1188 #ifdef GL_GLEXT_PROTOTYPES | |
| 1189 GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); | |
| 1190 GL_APICALL void GL_APIENTRY glBlendBarrierNV (void); | |
| 1191 #endif | |
| 1192 #endif /* GL_NV_blend_equation_advanced */ | |
| 1193 | |
| 1194 #ifndef GL_NV_blend_equation_advanced_coherent | |
| 1195 #define GL_NV_blend_equation_advanced_coherent 1 | |
| 1196 #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 | |
| 1197 #endif /* GL_NV_blend_equation_advanced_coherent */ | |
| 1198 | |
| 1199 #ifndef GL_NV_copy_buffer | |
| 1200 #define GL_NV_copy_buffer 1 | |
| 1201 #define GL_COPY_READ_BUFFER_NV 0x8F36 | |
| 1202 #define GL_COPY_WRITE_BUFFER_NV 0x8F37 | |
| 1203 typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLe
num writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | |
| 1204 #ifdef GL_GLEXT_PROTOTYPES | |
| 1205 GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum wri
teTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | |
| 1206 #endif | |
| 1207 #endif /* GL_NV_copy_buffer */ | |
| 1208 | |
| 1209 #ifndef GL_NV_coverage_sample | 1616 #ifndef GL_NV_coverage_sample |
| 1210 #define GL_NV_coverage_sample 1 | 1617 #define GL_NV_coverage_sample 1 |
| 1211 #define GL_COVERAGE_COMPONENT_NV 0x8ED0 | 1618 #ifdef GL_GLEXT_PROTOTYPES |
| 1212 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 | 1619 GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); |
| 1213 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 | 1620 GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); |
| 1214 #define GL_COVERAGE_BUFFERS_NV 0x8ED3 | 1621 #endif |
| 1215 #define GL_COVERAGE_SAMPLES_NV 0x8ED4 | |
| 1216 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 | |
| 1217 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 | |
| 1218 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 | |
| 1219 #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 | |
| 1220 typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); | 1622 typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); |
| 1221 typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); | 1623 typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); |
| 1222 #ifdef GL_GLEXT_PROTOTYPES | 1624 #endif |
| 1223 GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); | 1625 |
| 1224 GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); | 1626 /* GL_NV_depth_nonlinear */ |
| 1225 #endif | |
| 1226 #endif /* GL_NV_coverage_sample */ | |
| 1227 | |
| 1228 #ifndef GL_NV_depth_nonlinear | 1627 #ifndef GL_NV_depth_nonlinear |
| 1229 #define GL_NV_depth_nonlinear 1 | 1628 #define GL_NV_depth_nonlinear 1 |
| 1230 #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C | 1629 #endif |
| 1231 #endif /* GL_NV_depth_nonlinear */ | 1630 |
| 1232 | 1631 /* GL_NV_draw_buffers */ |
| 1233 #ifndef GL_NV_draw_buffers | 1632 #ifndef GL_NV_draw_buffers |
| 1234 #define GL_NV_draw_buffers 1 | 1633 #define GL_NV_draw_buffers 1 |
| 1235 #define GL_MAX_DRAW_BUFFERS_NV 0x8824 | 1634 #ifdef GL_GLEXT_PROTOTYPES |
| 1236 #define GL_DRAW_BUFFER0_NV 0x8825 | 1635 GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); |
| 1237 #define GL_DRAW_BUFFER1_NV 0x8826 | 1636 #endif |
| 1238 #define GL_DRAW_BUFFER2_NV 0x8827 | |
| 1239 #define GL_DRAW_BUFFER3_NV 0x8828 | |
| 1240 #define GL_DRAW_BUFFER4_NV 0x8829 | |
| 1241 #define GL_DRAW_BUFFER5_NV 0x882A | |
| 1242 #define GL_DRAW_BUFFER6_NV 0x882B | |
| 1243 #define GL_DRAW_BUFFER7_NV 0x882C | |
| 1244 #define GL_DRAW_BUFFER8_NV 0x882D | |
| 1245 #define GL_DRAW_BUFFER9_NV 0x882E | |
| 1246 #define GL_DRAW_BUFFER10_NV 0x882F | |
| 1247 #define GL_DRAW_BUFFER11_NV 0x8830 | |
| 1248 #define GL_DRAW_BUFFER12_NV 0x8831 | |
| 1249 #define GL_DRAW_BUFFER13_NV 0x8832 | |
| 1250 #define GL_DRAW_BUFFER14_NV 0x8833 | |
| 1251 #define GL_DRAW_BUFFER15_NV 0x8834 | |
| 1252 #define GL_COLOR_ATTACHMENT0_NV 0x8CE0 | |
| 1253 #define GL_COLOR_ATTACHMENT1_NV 0x8CE1 | |
| 1254 #define GL_COLOR_ATTACHMENT2_NV 0x8CE2 | |
| 1255 #define GL_COLOR_ATTACHMENT3_NV 0x8CE3 | |
| 1256 #define GL_COLOR_ATTACHMENT4_NV 0x8CE4 | |
| 1257 #define GL_COLOR_ATTACHMENT5_NV 0x8CE5 | |
| 1258 #define GL_COLOR_ATTACHMENT6_NV 0x8CE6 | |
| 1259 #define GL_COLOR_ATTACHMENT7_NV 0x8CE7 | |
| 1260 #define GL_COLOR_ATTACHMENT8_NV 0x8CE8 | |
| 1261 #define GL_COLOR_ATTACHMENT9_NV 0x8CE9 | |
| 1262 #define GL_COLOR_ATTACHMENT10_NV 0x8CEA | |
| 1263 #define GL_COLOR_ATTACHMENT11_NV 0x8CEB | |
| 1264 #define GL_COLOR_ATTACHMENT12_NV 0x8CEC | |
| 1265 #define GL_COLOR_ATTACHMENT13_NV 0x8CED | |
| 1266 #define GL_COLOR_ATTACHMENT14_NV 0x8CEE | |
| 1267 #define GL_COLOR_ATTACHMENT15_NV 0x8CEF | |
| 1268 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *buf
s); | 1637 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *buf
s); |
| 1269 #ifdef GL_GLEXT_PROTOTYPES | 1638 #endif |
| 1270 GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); | 1639 |
| 1271 #endif | 1640 /* GL_NV_fbo_color_attachments */ |
| 1272 #endif /* GL_NV_draw_buffers */ | |
| 1273 | |
| 1274 #ifndef GL_NV_draw_instanced | |
| 1275 #define GL_NV_draw_instanced 1 | |
| 1276 typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint f
irst, GLsizei count, GLsizei primcount); | |
| 1277 typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsiz
ei count, GLenum type, const void *indices, GLsizei primcount); | |
| 1278 #ifdef GL_GLEXT_PROTOTYPES | |
| 1279 GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, G
Lsizei count, GLsizei primcount); | |
| 1280 GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei coun
t, GLenum type, const void *indices, GLsizei primcount); | |
| 1281 #endif | |
| 1282 #endif /* GL_NV_draw_instanced */ | |
| 1283 | |
| 1284 #ifndef GL_NV_explicit_attrib_location | |
| 1285 #define GL_NV_explicit_attrib_location 1 | |
| 1286 #endif /* GL_NV_explicit_attrib_location */ | |
| 1287 | |
| 1288 #ifndef GL_NV_fbo_color_attachments | 1641 #ifndef GL_NV_fbo_color_attachments |
| 1289 #define GL_NV_fbo_color_attachments 1 | 1642 #define GL_NV_fbo_color_attachments 1 |
| 1290 #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF | 1643 #endif |
| 1291 #endif /* GL_NV_fbo_color_attachments */ | 1644 |
| 1292 | 1645 /* GL_NV_fence */ |
| 1293 #ifndef GL_NV_fence | 1646 #ifndef GL_NV_fence |
| 1294 #define GL_NV_fence 1 | 1647 #define GL_NV_fence 1 |
| 1295 #define GL_ALL_COMPLETED_NV 0x84F2 | 1648 #ifdef GL_GLEXT_PROTOTYPES |
| 1296 #define GL_FENCE_STATUS_NV 0x84F3 | 1649 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); |
| 1297 #define GL_FENCE_CONDITION_NV 0x84F4 | 1650 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei, GLuint *); |
| 1651 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint); |
| 1652 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint); |
| 1653 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); |
| 1654 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint); |
| 1655 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint, GLenum); |
| 1656 #endif |
| 1298 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fe
nces); | 1657 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fe
nces); |
| 1299 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); | 1658 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); |
| 1300 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); | 1659 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); |
| 1301 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); | 1660 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); |
| 1302 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, G
Lint *params); | 1661 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, G
Lint *params); |
| 1303 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); | 1662 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); |
| 1304 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition)
; | 1663 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition)
; |
| 1305 #ifdef GL_GLEXT_PROTOTYPES | |
| 1306 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); | |
| 1307 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); | |
| 1308 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); | |
| 1309 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); | |
| 1310 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *p
arams); | |
| 1311 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); | |
| 1312 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); | |
| 1313 #endif | 1664 #endif |
| 1314 #endif /* GL_NV_fence */ | |
| 1315 | 1665 |
| 1316 #ifndef GL_NV_framebuffer_blit | 1666 /* GL_NV_read_buffer */ |
| 1317 #define GL_NV_framebuffer_blit 1 | |
| 1318 #define GL_READ_FRAMEBUFFER_NV 0x8CA8 | |
| 1319 #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 | |
| 1320 #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 | |
| 1321 #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA | |
| 1322 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0
, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
GLbitfield mask, GLenum filter); | |
| 1323 #ifdef GL_GLEXT_PROTOTYPES | |
| 1324 GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint
srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfi
eld mask, GLenum filter); | |
| 1325 #endif | |
| 1326 #endif /* GL_NV_framebuffer_blit */ | |
| 1327 | |
| 1328 #ifndef GL_NV_framebuffer_multisample | |
| 1329 #define GL_NV_framebuffer_multisample 1 | |
| 1330 #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB | |
| 1331 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 | |
| 1332 #define GL_MAX_SAMPLES_NV 0x8D57 | |
| 1333 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum ta
rget, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | |
| 1334 #ifdef GL_GLEXT_PROTOTYPES | |
| 1335 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, G
Lsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | |
| 1336 #endif | |
| 1337 #endif /* GL_NV_framebuffer_multisample */ | |
| 1338 | |
| 1339 #ifndef GL_NV_generate_mipmap_sRGB | |
| 1340 #define GL_NV_generate_mipmap_sRGB 1 | |
| 1341 #endif /* GL_NV_generate_mipmap_sRGB */ | |
| 1342 | |
| 1343 #ifndef GL_NV_instanced_arrays | |
| 1344 #define GL_NV_instanced_arrays 1 | |
| 1345 #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE | |
| 1346 typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint
divisor); | |
| 1347 #ifdef GL_GLEXT_PROTOTYPES | |
| 1348 GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint diviso
r); | |
| 1349 #endif | |
| 1350 #endif /* GL_NV_instanced_arrays */ | |
| 1351 | |
| 1352 #ifndef GL_NV_non_square_matrices | |
| 1353 #define GL_NV_non_square_matrices 1 | |
| 1354 #define GL_FLOAT_MAT2x3_NV 0x8B65 | |
| 1355 #define GL_FLOAT_MAT2x4_NV 0x8B66 | |
| 1356 #define GL_FLOAT_MAT3x2_NV 0x8B67 | |
| 1357 #define GL_FLOAT_MAT3x4_NV 0x8B68 | |
| 1358 #define GL_FLOAT_MAT4x2_NV 0x8B69 | |
| 1359 #define GL_FLOAT_MAT4x3_NV 0x8B6A | |
| 1360 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLfloat *value); | |
| 1361 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLfloat *value); | |
| 1362 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLfloat *value); | |
| 1363 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLfloat *value); | |
| 1364 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLfloat *value); | |
| 1365 typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsiz
ei count, GLboolean transpose, const GLfloat *value); | |
| 1366 #ifdef GL_GLEXT_PROTOTYPES | |
| 1367 GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei coun
t, GLboolean transpose, const GLfloat *value); | |
| 1368 GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei coun
t, GLboolean transpose, const GLfloat *value); | |
| 1369 GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei coun
t, GLboolean transpose, const GLfloat *value); | |
| 1370 GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei coun
t, GLboolean transpose, const GLfloat *value); | |
| 1371 GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei coun
t, GLboolean transpose, const GLfloat *value); | |
| 1372 GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei coun
t, GLboolean transpose, const GLfloat *value); | |
| 1373 #endif | |
| 1374 #endif /* GL_NV_non_square_matrices */ | |
| 1375 | |
| 1376 #ifndef GL_NV_read_buffer | 1667 #ifndef GL_NV_read_buffer |
| 1377 #define GL_NV_read_buffer 1 | 1668 #define GL_NV_read_buffer 1 |
| 1378 #define GL_READ_BUFFER_NV 0x0C02 | |
| 1379 typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); | |
| 1380 #ifdef GL_GLEXT_PROTOTYPES | 1669 #ifdef GL_GLEXT_PROTOTYPES |
| 1381 GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); | 1670 GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); |
| 1382 #endif | 1671 #endif |
| 1383 #endif /* GL_NV_read_buffer */ | 1672 typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); |
| 1673 #endif |
| 1384 | 1674 |
| 1675 /* GL_NV_read_buffer_front */ |
| 1385 #ifndef GL_NV_read_buffer_front | 1676 #ifndef GL_NV_read_buffer_front |
| 1386 #define GL_NV_read_buffer_front 1 | 1677 #define GL_NV_read_buffer_front 1 |
| 1387 #endif /* GL_NV_read_buffer_front */ | 1678 #endif |
| 1388 | 1679 |
| 1680 /* GL_NV_read_depth */ |
| 1389 #ifndef GL_NV_read_depth | 1681 #ifndef GL_NV_read_depth |
| 1390 #define GL_NV_read_depth 1 | 1682 #define GL_NV_read_depth 1 |
| 1391 #endif /* GL_NV_read_depth */ | 1683 #endif |
| 1392 | 1684 |
| 1685 /* GL_NV_read_depth_stencil */ |
| 1393 #ifndef GL_NV_read_depth_stencil | 1686 #ifndef GL_NV_read_depth_stencil |
| 1394 #define GL_NV_read_depth_stencil 1 | 1687 #define GL_NV_read_depth_stencil 1 |
| 1395 #endif /* GL_NV_read_depth_stencil */ | 1688 #endif |
| 1396 | 1689 |
| 1690 /* GL_NV_read_stencil */ |
| 1397 #ifndef GL_NV_read_stencil | 1691 #ifndef GL_NV_read_stencil |
| 1398 #define GL_NV_read_stencil 1 | 1692 #define GL_NV_read_stencil 1 |
| 1399 #endif /* GL_NV_read_stencil */ | 1693 #endif |
| 1400 | 1694 |
| 1401 #ifndef GL_NV_sRGB_formats | 1695 /* GL_NV_texture_compression_s3tc_update */ |
| 1402 #define GL_NV_sRGB_formats 1 | |
| 1403 #define GL_SLUMINANCE_NV 0x8C46 | |
| 1404 #define GL_SLUMINANCE_ALPHA_NV 0x8C44 | |
| 1405 #define GL_SRGB8_NV 0x8C41 | |
| 1406 #define GL_SLUMINANCE8_NV 0x8C47 | |
| 1407 #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 | |
| 1408 #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C | |
| 1409 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D | |
| 1410 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E | |
| 1411 #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F | |
| 1412 #define GL_ETC1_SRGB8_NV 0x88EE | |
| 1413 #endif /* GL_NV_sRGB_formats */ | |
| 1414 | |
| 1415 #ifndef GL_NV_shadow_samplers_array | |
| 1416 #define GL_NV_shadow_samplers_array 1 | |
| 1417 #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 | |
| 1418 #endif /* GL_NV_shadow_samplers_array */ | |
| 1419 | |
| 1420 #ifndef GL_NV_shadow_samplers_cube | |
| 1421 #define GL_NV_shadow_samplers_cube 1 | |
| 1422 #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 | |
| 1423 #endif /* GL_NV_shadow_samplers_cube */ | |
| 1424 | |
| 1425 #ifndef GL_NV_texture_border_clamp | |
| 1426 #define GL_NV_texture_border_clamp 1 | |
| 1427 #define GL_TEXTURE_BORDER_COLOR_NV 0x1004 | |
| 1428 #define GL_CLAMP_TO_BORDER_NV 0x812D | |
| 1429 #endif /* GL_NV_texture_border_clamp */ | |
| 1430 | |
| 1431 #ifndef GL_NV_texture_compression_s3tc_update | 1696 #ifndef GL_NV_texture_compression_s3tc_update |
| 1432 #define GL_NV_texture_compression_s3tc_update 1 | 1697 #define GL_NV_texture_compression_s3tc_update 1 |
| 1433 #endif /* GL_NV_texture_compression_s3tc_update */ | 1698 #endif |
| 1434 | 1699 |
| 1700 /* GL_NV_texture_npot_2D_mipmap */ |
| 1435 #ifndef GL_NV_texture_npot_2D_mipmap | 1701 #ifndef GL_NV_texture_npot_2D_mipmap |
| 1436 #define GL_NV_texture_npot_2D_mipmap 1 | 1702 #define GL_NV_texture_npot_2D_mipmap 1 |
| 1437 #endif /* GL_NV_texture_npot_2D_mipmap */ | 1703 #endif |
| 1438 | 1704 |
| 1705 /*------------------------------------------------------------------------* |
| 1706 * QCOM extension functions |
| 1707 *------------------------------------------------------------------------*/ |
| 1708 |
| 1709 /* GL_QCOM_alpha_test */ |
| 1439 #ifndef GL_QCOM_alpha_test | 1710 #ifndef GL_QCOM_alpha_test |
| 1440 #define GL_QCOM_alpha_test 1 | 1711 #define GL_QCOM_alpha_test 1 |
| 1441 #define GL_ALPHA_TEST_QCOM 0x0BC0 | |
| 1442 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 | |
| 1443 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 | |
| 1444 typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); | |
| 1445 #ifdef GL_GLEXT_PROTOTYPES | 1712 #ifdef GL_GLEXT_PROTOTYPES |
| 1446 GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); | 1713 GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); |
| 1447 #endif | 1714 #endif |
| 1448 #endif /* GL_QCOM_alpha_test */ | 1715 typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); |
| 1716 #endif |
| 1449 | 1717 |
| 1718 /* GL_QCOM_binning_control */ |
| 1450 #ifndef GL_QCOM_binning_control | 1719 #ifndef GL_QCOM_binning_control |
| 1451 #define GL_QCOM_binning_control 1 | 1720 #define GL_QCOM_binning_control 1 |
| 1452 #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 | 1721 #endif |
| 1453 #define GL_CPU_OPTIMIZED_QCOM 0x8FB1 | |
| 1454 #define GL_GPU_OPTIMIZED_QCOM 0x8FB2 | |
| 1455 #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 | |
| 1456 #endif /* GL_QCOM_binning_control */ | |
| 1457 | 1722 |
| 1723 /* GL_QCOM_driver_control */ |
| 1458 #ifndef GL_QCOM_driver_control | 1724 #ifndef GL_QCOM_driver_control |
| 1459 #define GL_QCOM_driver_control 1 | 1725 #define GL_QCOM_driver_control 1 |
| 1460 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei
size, GLuint *driverControls); | |
| 1461 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverCo
ntrol, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); | |
| 1462 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverContr
ol); | |
| 1463 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverCont
rol); | |
| 1464 #ifdef GL_GLEXT_PROTOTYPES | 1726 #ifdef GL_GLEXT_PROTOTYPES |
| 1465 GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, G
Luint *driverControls); | 1727 GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, G
Luint *driverControls); |
| 1466 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl,
GLsizei bufSize, GLsizei *length, GLchar *driverControlString); | 1728 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl,
GLsizei bufSize, GLsizei *length, GLchar *driverControlString); |
| 1467 GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); | 1729 GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); |
| 1468 GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); | 1730 GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); |
| 1469 #endif | 1731 #endif |
| 1470 #endif /* GL_QCOM_driver_control */ | 1732 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei
size, GLuint *driverControls); |
| 1733 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverCo
ntrol, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); |
| 1734 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverContr
ol); |
| 1735 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverCont
rol); |
| 1736 #endif |
| 1471 | 1737 |
| 1738 /* GL_QCOM_extended_get */ |
| 1472 #ifndef GL_QCOM_extended_get | 1739 #ifndef GL_QCOM_extended_get |
| 1473 #define GL_QCOM_extended_get 1 | 1740 #define GL_QCOM_extended_get 1 |
| 1474 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 | |
| 1475 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 | |
| 1476 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 | |
| 1477 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 | |
| 1478 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 | |
| 1479 #define GL_TEXTURE_TYPE_QCOM 0x8BD7 | |
| 1480 #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 | |
| 1481 #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 | |
| 1482 #define GL_TEXTURE_TARGET_QCOM 0x8BDA | |
| 1483 #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB | |
| 1484 #define GL_STATE_RESTORE 0x8BDC | |
| 1485 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint
maxTextures, GLint *numTextures); | |
| 1486 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint m
axBuffers, GLint *numBuffers); | |
| 1487 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuff
ers, GLint maxRenderbuffers, GLint *numRenderbuffers); | |
| 1488 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffer
s, GLint maxFramebuffers, GLint *numFramebuffers); | |
| 1489 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint textu
re, GLenum face, GLint level, GLenum pname, GLint *params); | |
| 1490 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum targ
et, GLenum pname, GLint param); | |
| 1491 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint
level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei heig
ht, GLsizei depth, GLenum format, GLenum type, void *texels); | |
| 1492 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, vo
id **params); | |
| 1493 #ifdef GL_GLEXT_PROTOTYPES | 1741 #ifdef GL_GLEXT_PROTOTYPES |
| 1494 GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTex
tures, GLint *numTextures); | 1742 GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTex
tures, GLint *numTextures); |
| 1495 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffe
rs, GLint *numBuffers); | 1743 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffe
rs, GLint *numBuffers); |
| 1496 GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GL
int maxRenderbuffers, GLint *numRenderbuffers); | 1744 GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GL
int maxRenderbuffers, GLint *numRenderbuffers); |
| 1497 GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLin
t maxFramebuffers, GLint *numFramebuffers); | 1745 GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLin
t maxFramebuffers, GLint *numFramebuffers); |
| 1498 GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLe
num face, GLint level, GLenum pname, GLint *params); | 1746 GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLe
num face, GLint level, GLenum pname, GLint *params); |
| 1499 GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLe
num pname, GLint param); | 1747 GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLe
num pname, GLint param); |
| 1500 GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level,
GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLs
izei depth, GLenum format, GLenum type, void *texels); | 1748 GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level,
GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLs
izei depth, GLenum format, GLenum type, GLvoid *texels); |
| 1501 GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **pa
rams); | 1749 GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **
params); |
| 1502 #endif | 1750 #endif |
| 1503 #endif /* GL_QCOM_extended_get */ | 1751 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint
maxTextures, GLint *numTextures); |
| 1752 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint m
axBuffers, GLint *numBuffers); |
| 1753 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuff
ers, GLint maxRenderbuffers, GLint *numRenderbuffers); |
| 1754 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffer
s, GLint maxFramebuffers, GLint *numFramebuffers); |
| 1755 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint textu
re, GLenum face, GLint level, GLenum pname, GLint *params); |
| 1756 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum targ
et, GLenum pname, GLint param); |
| 1757 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint
level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei heig
ht, GLsizei depth, GLenum format, GLenum type, GLvoid *texels); |
| 1758 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GL
void **params); |
| 1759 #endif |
| 1504 | 1760 |
| 1761 /* GL_QCOM_extended_get2 */ |
| 1505 #ifndef GL_QCOM_extended_get2 | 1762 #ifndef GL_QCOM_extended_get2 |
| 1506 #define GL_QCOM_extended_get2 1 | 1763 #define GL_QCOM_extended_get2 1 |
| 1507 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint m
axShaders, GLint *numShaders); | |
| 1508 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint
maxPrograms, GLint *numPrograms); | |
| 1509 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program
); | |
| 1510 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint progr
am, GLenum shadertype, GLchar *source, GLint *length); | |
| 1511 #ifdef GL_GLEXT_PROTOTYPES | 1764 #ifdef GL_GLEXT_PROTOTYPES |
| 1512 GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShade
rs, GLint *numShaders); | 1765 GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShade
rs, GLint *numShaders); |
| 1513 GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPro
grams, GLint *numPrograms); | 1766 GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPro
grams, GLint *numPrograms); |
| 1514 GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); | 1767 GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); |
| 1515 GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLe
num shadertype, GLchar *source, GLint *length); | 1768 GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLe
num shadertype, GLchar *source, GLint *length); |
| 1516 #endif | 1769 #endif |
| 1517 #endif /* GL_QCOM_extended_get2 */ | 1770 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint m
axShaders, GLint *numShaders); |
| 1771 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint
maxPrograms, GLint *numPrograms); |
| 1772 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program
); |
| 1773 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint progr
am, GLenum shadertype, GLchar *source, GLint *length); |
| 1774 #endif |
| 1518 | 1775 |
| 1776 /* GL_QCOM_perfmon_global_mode */ |
| 1519 #ifndef GL_QCOM_perfmon_global_mode | 1777 #ifndef GL_QCOM_perfmon_global_mode |
| 1520 #define GL_QCOM_perfmon_global_mode 1 | 1778 #define GL_QCOM_perfmon_global_mode 1 |
| 1521 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 | 1779 #endif |
| 1522 #endif /* GL_QCOM_perfmon_global_mode */ | |
| 1523 | 1780 |
| 1781 /* GL_QCOM_writeonly_rendering */ |
| 1782 #ifndef GL_QCOM_writeonly_rendering |
| 1783 #define GL_QCOM_writeonly_rendering 1 |
| 1784 #endif |
| 1785 |
| 1786 /* GL_QCOM_tiled_rendering */ |
| 1524 #ifndef GL_QCOM_tiled_rendering | 1787 #ifndef GL_QCOM_tiled_rendering |
| 1525 #define GL_QCOM_tiled_rendering 1 | 1788 #define GL_QCOM_tiled_rendering 1 |
| 1526 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 | |
| 1527 #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 | |
| 1528 #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 | |
| 1529 #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 | |
| 1530 #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 | |
| 1531 #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 | |
| 1532 #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 | |
| 1533 #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 | |
| 1534 #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 | |
| 1535 #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 | |
| 1536 #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 | |
| 1537 #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 | |
| 1538 #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 | |
| 1539 #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 | |
| 1540 #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 | |
| 1541 #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 | |
| 1542 #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 | |
| 1543 #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 | |
| 1544 #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 | |
| 1545 #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 | |
| 1546 #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 | |
| 1547 #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 | |
| 1548 #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 | |
| 1549 #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 | |
| 1550 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 | |
| 1551 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 | |
| 1552 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 | |
| 1553 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 | |
| 1554 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 | |
| 1555 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 | |
| 1556 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 | |
| 1557 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 | |
| 1558 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint
width, GLuint height, GLbitfield preserveMask); | |
| 1559 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); | |
| 1560 #ifdef GL_GLEXT_PROTOTYPES | 1789 #ifdef GL_GLEXT_PROTOTYPES |
| 1561 GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width,
GLuint height, GLbitfield preserveMask); | 1790 GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width,
GLuint height, GLbitfield preserveMask); |
| 1562 GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); | 1791 GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); |
| 1563 #endif | 1792 #endif |
| 1564 #endif /* GL_QCOM_tiled_rendering */ | 1793 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint
width, GLuint height, GLbitfield preserveMask); |
| 1794 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); |
| 1795 #endif |
| 1565 | 1796 |
| 1566 #ifndef GL_QCOM_writeonly_rendering | 1797 /*------------------------------------------------------------------------* |
| 1567 #define GL_QCOM_writeonly_rendering 1 | 1798 * VIV extension tokens |
| 1568 #define GL_WRITEONLY_RENDERING_QCOM 0x8823 | 1799 *------------------------------------------------------------------------*/ |
| 1569 #endif /* GL_QCOM_writeonly_rendering */ | |
| 1570 | 1800 |
| 1801 /* GL_VIV_shader_binary */ |
| 1571 #ifndef GL_VIV_shader_binary | 1802 #ifndef GL_VIV_shader_binary |
| 1572 #define GL_VIV_shader_binary 1 | 1803 #define GL_VIV_shader_binary 1 |
| 1573 #define GL_SHADER_BINARY_VIV 0x8FC4 | 1804 #endif |
| 1574 #endif /* GL_VIV_shader_binary */ | |
| 1575 | 1805 |
| 1576 #ifdef __cplusplus | 1806 #ifdef __cplusplus |
| 1577 } | 1807 } |
| 1578 #endif | 1808 #endif |
| 1579 | 1809 |
| 1580 #endif | 1810 #endif /* __gl2ext_h_ */ |
| OLD | NEW |