| OLD | NEW |
| 1 #ifndef __gl2ext_h_ | 1 #ifndef __gl2ext_h_ |
| 2 #define __gl2ext_h_ | 2 #define __gl2ext_h_ |
| 3 | 3 |
| 4 /* $Revision: 10969 $ on $Date:: 2010-04-09 02:27:15 -0700 #$ */ | 4 /* $Revision: 15049 $ on $Date:: 2011-07-06 17:28:16 -0700 #$ */ |
| 5 | 5 |
| 6 #ifdef __cplusplus | 6 #ifdef __cplusplus |
| 7 extern "C" { | 7 extern "C" { |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 /* | 10 /* |
| 11 * This document is licensed under the SGI Free Software B License Version | 11 * This document is licensed under the SGI Free Software B License Version |
| 12 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . | 12 * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . |
| 13 */ | 13 */ |
| 14 | 14 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 #endif | 50 #endif |
| 51 | 51 |
| 52 /* GL_OES_depth_texture */ | 52 /* GL_OES_depth_texture */ |
| 53 /* No new tokens introduced by this extension. */ | 53 /* No new tokens introduced by this extension. */ |
| 54 | 54 |
| 55 /* GL_OES_EGL_image */ | 55 /* GL_OES_EGL_image */ |
| 56 #ifndef GL_OES_EGL_image | 56 #ifndef GL_OES_EGL_image |
| 57 typedef void* GLeglImageOES; | 57 typedef void* GLeglImageOES; |
| 58 #endif | 58 #endif |
| 59 | 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 |
| 60 /* GL_OES_element_index_uint */ | 69 /* GL_OES_element_index_uint */ |
| 61 #ifndef GL_OES_element_index_uint | 70 #ifndef GL_OES_element_index_uint |
| 62 #define GL_UNSIGNED_INT 0x1405 | 71 #define GL_UNSIGNED_INT 0x1405 |
| 63 #endif | 72 #endif |
| 64 | 73 |
| 65 /* GL_OES_get_program_binary */ | 74 /* GL_OES_get_program_binary */ |
| 66 #ifndef GL_OES_get_program_binary | 75 #ifndef GL_OES_get_program_binary |
| 67 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 | 76 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 |
| 68 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE | 77 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE |
| 69 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF | 78 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 | 148 |
| 140 /* GL_OES_vertex_half_float */ | 149 /* GL_OES_vertex_half_float */ |
| 141 /* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ | 150 /* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ |
| 142 | 151 |
| 143 /* GL_OES_vertex_type_10_10_10_2 */ | 152 /* GL_OES_vertex_type_10_10_10_2 */ |
| 144 #ifndef GL_OES_vertex_type_10_10_10_2 | 153 #ifndef GL_OES_vertex_type_10_10_10_2 |
| 145 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 | 154 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 |
| 146 #define GL_INT_10_10_10_2_OES 0x8DF7 | 155 #define GL_INT_10_10_10_2_OES 0x8DF7 |
| 147 #endif | 156 #endif |
| 148 | 157 |
| 149 /* GL_OES_EGL_image_external */ | |
| 150 #ifndef GL_OES_EGL_image_external | |
| 151 #define GL_TEXTURE_EXTERNAL_OES 0x8D65 | |
| 152 #define GL_SAMPLER_EXTERNAL_OES 0x8D66 | |
| 153 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 | |
| 154 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 | |
| 155 #endif | |
| 156 | |
| 157 /*------------------------------------------------------------------------* | 158 /*------------------------------------------------------------------------* |
| 158 * AMD extension tokens | 159 * AMD extension tokens |
| 159 *------------------------------------------------------------------------*/ | 160 *------------------------------------------------------------------------*/ |
| 160 | 161 |
| 161 /* GL_AMD_compressed_3DC_texture */ | 162 /* GL_AMD_compressed_3DC_texture */ |
| 162 #ifndef GL_AMD_compressed_3DC_texture | 163 #ifndef GL_AMD_compressed_3DC_texture |
| 163 #define GL_3DC_X_AMD 0x87F9 | 164 #define GL_3DC_X_AMD 0x87F9 |
| 164 #define GL_3DC_XY_AMD 0x87FA | 165 #define GL_3DC_XY_AMD 0x87FA |
| 165 #endif | 166 #endif |
| 166 | 167 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 181 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 | 182 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 |
| 182 #define GL_PERFMON_RESULT_AMD 0x8BC6 | 183 #define GL_PERFMON_RESULT_AMD 0x8BC6 |
| 183 #endif | 184 #endif |
| 184 | 185 |
| 185 /* GL_AMD_program_binary_Z400 */ | 186 /* GL_AMD_program_binary_Z400 */ |
| 186 #ifndef GL_AMD_program_binary_Z400 | 187 #ifndef GL_AMD_program_binary_Z400 |
| 187 #define GL_Z400_BINARY_AMD 0x8740 | 188 #define GL_Z400_BINARY_AMD 0x8740 |
| 188 #endif | 189 #endif |
| 189 | 190 |
| 190 /*------------------------------------------------------------------------* | 191 /*------------------------------------------------------------------------* |
| 192 * ANGLE extension tokens |
| 193 *------------------------------------------------------------------------*/ |
| 194 |
| 195 /* GL_ANGLE_framebuffer_blit */ |
| 196 #ifndef GL_ANGLE_framebuffer_blit |
| 197 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 |
| 198 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 |
| 199 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 |
| 200 #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA |
| 201 #endif |
| 202 |
| 203 /* GL_ANGLE_framebuffer_multisample */ |
| 204 #ifndef GL_ANGLE_framebuffer_multisample |
| 205 #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB |
| 206 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 |
| 207 #define GL_MAX_SAMPLES_ANGLE 0x8D57 |
| 208 #endif |
| 209 |
| 210 /*------------------------------------------------------------------------* |
| 211 * APPLE extension tokens |
| 212 *------------------------------------------------------------------------*/ |
| 213 |
| 214 /* GL_APPLE_rgb_422 */ |
| 215 #ifndef GL_APPLE_rgb_422 |
| 216 #define GL_RGB_422_APPLE 0x8A1F |
| 217 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA |
| 218 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB |
| 219 #endif |
| 220 |
| 221 /* GL_APPLE_framebuffer_multisample */ |
| 222 #ifndef GL_APPLE_framebuffer_multisample |
| 223 #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB |
| 224 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 |
| 225 #define GL_MAX_SAMPLES_APPLE 0x8D57 |
| 226 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 |
| 227 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 |
| 228 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 |
| 229 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA |
| 230 #endif |
| 231 |
| 232 /* GL_APPLE_texture_format_BGRA8888 */ |
| 233 #ifndef GL_APPLE_texture_format_BGRA8888 |
| 234 #define GL_BGRA_EXT 0x80E1 |
| 235 #endif |
| 236 |
| 237 /* GL_APPLE_texture_max_level */ |
| 238 #ifndef GL_APPLE_texture_max_level |
| 239 #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D |
| 240 #endif |
| 241 |
| 242 /*------------------------------------------------------------------------* |
| 243 * ARM extension tokens |
| 244 *------------------------------------------------------------------------*/ |
| 245 |
| 246 /* GL_ARM_mali_shader_binary */ |
| 247 #ifndef GL_ARM_mali_shader_binary |
| 248 #define GL_MALI_SHADER_BINARY_ARM 0x8F60 |
| 249 #endif |
| 250 |
| 251 /* GL_ARM_rgba8 */ |
| 252 /* No new tokens introduced by this extension. */ |
| 253 |
| 254 /*------------------------------------------------------------------------* |
| 191 * EXT extension tokens | 255 * EXT extension tokens |
| 192 *------------------------------------------------------------------------*/ | 256 *------------------------------------------------------------------------*/ |
| 193 | 257 |
| 194 /* GL_EXT_blend_minmax */ | 258 /* GL_EXT_blend_minmax */ |
| 195 #ifndef GL_EXT_blend_minmax | 259 #ifndef GL_EXT_blend_minmax |
| 196 #define GL_MIN_EXT 0x8007 | 260 #define GL_MIN_EXT 0x8007 |
| 197 #define GL_MAX_EXT 0x8008 | 261 #define GL_MAX_EXT 0x8008 |
| 198 #endif | 262 #endif |
| 199 | 263 |
| 200 /* GL_EXT_discard_framebuffer */ | 264 /* GL_EXT_discard_framebuffer */ |
| 201 #ifndef GL_EXT_discard_framebuffer | 265 #ifndef GL_EXT_discard_framebuffer |
| 202 #define GL_COLOR_EXT 0x1800 | 266 #define GL_COLOR_EXT 0x1800 |
| 203 #define GL_DEPTH_EXT 0x1801 | 267 #define GL_DEPTH_EXT 0x1801 |
| 204 #define GL_STENCIL_EXT 0x1802 | 268 #define GL_STENCIL_EXT 0x1802 |
| 205 #endif | 269 #endif |
| 206 | 270 |
| 207 /* GL_EXT_multi_draw_arrays */ | 271 /* GL_EXT_multi_draw_arrays */ |
| 208 /* No new tokens introduced by this extension. */ | 272 /* No new tokens introduced by this extension. */ |
| 209 | 273 |
| 210 /* GL_EXT_read_format_bgra */ | 274 /* GL_EXT_read_format_bgra */ |
| 211 #ifndef GL_EXT_read_format_bgra | 275 #ifndef GL_EXT_read_format_bgra |
| 212 #define GL_BGRA_EXT 0x80E1 | 276 #define GL_BGRA_EXT 0x80E1 |
| 213 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 | 277 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 |
| 214 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 | 278 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 |
| 215 #endif | 279 #endif |
| 216 | 280 |
| 281 /* GL_EXT_shader_texture_lod */ |
| 282 /* No new tokens introduced by this extension. */ |
| 283 |
| 217 /* GL_EXT_texture_filter_anisotropic */ | 284 /* GL_EXT_texture_filter_anisotropic */ |
| 218 #ifndef GL_EXT_texture_filter_anisotropic | 285 #ifndef GL_EXT_texture_filter_anisotropic |
| 219 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE | 286 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE |
| 220 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF | 287 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF |
| 221 #endif | 288 #endif |
| 222 | 289 |
| 223 /* GL_EXT_texture_format_BGRA8888 */ | 290 /* GL_EXT_texture_format_BGRA8888 */ |
| 224 #ifndef GL_EXT_texture_format_BGRA8888 | 291 #ifndef GL_EXT_texture_format_BGRA8888 |
| 225 #define GL_BGRA_EXT 0x80E1 | 292 #define GL_BGRA_EXT 0x80E1 |
| 226 #endif | 293 #endif |
| 227 | 294 |
| 228 /* GL_EXT_texture_type_2_10_10_10_REV */ | 295 /* GL_EXT_texture_type_2_10_10_10_REV */ |
| 229 #ifndef GL_EXT_texture_type_2_10_10_10_REV | 296 #ifndef GL_EXT_texture_type_2_10_10_10_REV |
| 230 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 | 297 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 |
| 231 #endif | 298 #endif |
| 232 | 299 |
| 233 /* GL_EXT_texture_compression_dxt1 */ | 300 /* GL_EXT_texture_compression_dxt1 */ |
| 234 #ifndef GL_EXT_texture_compression_dxt1 | 301 #ifndef GL_EXT_texture_compression_dxt1 |
| 235 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 | 302 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 |
| 236 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 | 303 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 |
| 237 #endif | 304 #endif |
| 238 | 305 |
| 306 /* GL_EXT_unpack_subimage */ |
| 307 #ifndef GL_EXT_unpack_subimage |
| 308 #define GL_UNPACK_ROW_LENGTH 0x0CF2 |
| 309 #define GL_UNPACK_SKIP_ROWS 0x0CF3 |
| 310 #define GL_UNPACK_SKIP_PIXELS 0x0CF4 |
| 311 #endif |
| 312 |
| 313 /*------------------------------------------------------------------------* |
| 314 * DMP extension tokens |
| 315 *------------------------------------------------------------------------*/ |
| 316 |
| 317 /* GL_DMP_shader_binary */ |
| 318 #ifndef GL_DMP_shader_binary |
| 319 #define GL_SHADER_BINARY_DMP 0x9250 |
| 320 #endif |
| 321 |
| 239 /*------------------------------------------------------------------------* | 322 /*------------------------------------------------------------------------* |
| 240 * IMG extension tokens | 323 * IMG extension tokens |
| 241 *------------------------------------------------------------------------*/ | 324 *------------------------------------------------------------------------*/ |
| 242 | 325 |
| 243 /* GL_IMG_program_binary */ | 326 /* GL_IMG_program_binary */ |
| 244 #ifndef GL_IMG_program_binary | 327 #ifndef GL_IMG_program_binary |
| 245 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 | 328 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 |
| 246 #endif | 329 #endif |
| 247 | 330 |
| 248 /* GL_IMG_read_format */ | 331 /* GL_IMG_read_format */ |
| (...skipping 20 matching lines...) Expand all Loading... |
| 269 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 | 352 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 |
| 270 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 | 353 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 |
| 271 #define GL_MAX_SAMPLES_IMG 0x9135 | 354 #define GL_MAX_SAMPLES_IMG 0x9135 |
| 272 #define GL_TEXTURE_SAMPLES_IMG 0x9136 | 355 #define GL_TEXTURE_SAMPLES_IMG 0x9136 |
| 273 #endif | 356 #endif |
| 274 | 357 |
| 275 /*------------------------------------------------------------------------* | 358 /*------------------------------------------------------------------------* |
| 276 * NV extension tokens | 359 * NV extension tokens |
| 277 *------------------------------------------------------------------------*/ | 360 *------------------------------------------------------------------------*/ |
| 278 | 361 |
| 279 /* GL_NV_fence */ | |
| 280 #ifndef GL_NV_fence | |
| 281 #define GL_ALL_COMPLETED_NV 0x84F2 | |
| 282 #define GL_FENCE_STATUS_NV 0x84F3 | |
| 283 #define GL_FENCE_CONDITION_NV 0x84F4 | |
| 284 #endif | |
| 285 | |
| 286 /* GL_NV_coverage_sample */ | 362 /* GL_NV_coverage_sample */ |
| 287 #ifndef GL_NV_coverage_sample | 363 #ifndef GL_NV_coverage_sample |
| 288 #define GL_COVERAGE_COMPONENT_NV 0x8ED0 | 364 #define GL_COVERAGE_COMPONENT_NV 0x8ED0 |
| 289 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 | 365 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 |
| 290 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 | 366 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 |
| 291 #define GL_COVERAGE_BUFFERS_NV 0x8ED3 | 367 #define GL_COVERAGE_BUFFERS_NV 0x8ED3 |
| 292 #define GL_COVERAGE_SAMPLES_NV 0x8ED4 | 368 #define GL_COVERAGE_SAMPLES_NV 0x8ED4 |
| 293 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 | 369 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 |
| 294 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 | 370 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 |
| 295 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 | 371 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 |
| 296 #define GL_COVERAGE_BUFFER_BIT_NV 0x8000 | 372 #define GL_COVERAGE_BUFFER_BIT_NV 0x8000 |
| 297 #endif | 373 #endif |
| 298 | 374 |
| 299 /* GL_NV_depth_nonlinear */ | 375 /* GL_NV_depth_nonlinear */ |
| 300 #ifndef GL_NV_depth_nonlinear | 376 #ifndef GL_NV_depth_nonlinear |
| 301 #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C | 377 #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C |
| 302 #endif | 378 #endif |
| 303 | 379 |
| 380 /* GL_NV_draw_buffers */ |
| 381 #ifndef GL_NV_draw_buffers |
| 382 #define GL_MAX_DRAW_BUFFERS_NV 0x8824 |
| 383 #define GL_DRAW_BUFFER0_NV 0x8825 |
| 384 #define GL_DRAW_BUFFER1_NV 0x8826 |
| 385 #define GL_DRAW_BUFFER2_NV 0x8827 |
| 386 #define GL_DRAW_BUFFER3_NV 0x8828 |
| 387 #define GL_DRAW_BUFFER4_NV 0x8829 |
| 388 #define GL_DRAW_BUFFER5_NV 0x882A |
| 389 #define GL_DRAW_BUFFER6_NV 0x882B |
| 390 #define GL_DRAW_BUFFER7_NV 0x882C |
| 391 #define GL_DRAW_BUFFER8_NV 0x882D |
| 392 #define GL_DRAW_BUFFER9_NV 0x882E |
| 393 #define GL_DRAW_BUFFER10_NV 0x882F |
| 394 #define GL_DRAW_BUFFER11_NV 0x8830 |
| 395 #define GL_DRAW_BUFFER12_NV 0x8831 |
| 396 #define GL_DRAW_BUFFER13_NV 0x8832 |
| 397 #define GL_DRAW_BUFFER14_NV 0x8833 |
| 398 #define GL_DRAW_BUFFER15_NV 0x8834 |
| 399 #define GL_COLOR_ATTACHMENT0_NV 0x8CE0 |
| 400 #define GL_COLOR_ATTACHMENT1_NV 0x8CE1 |
| 401 #define GL_COLOR_ATTACHMENT2_NV 0x8CE2 |
| 402 #define GL_COLOR_ATTACHMENT3_NV 0x8CE3 |
| 403 #define GL_COLOR_ATTACHMENT4_NV 0x8CE4 |
| 404 #define GL_COLOR_ATTACHMENT5_NV 0x8CE5 |
| 405 #define GL_COLOR_ATTACHMENT6_NV 0x8CE6 |
| 406 #define GL_COLOR_ATTACHMENT7_NV 0x8CE7 |
| 407 #define GL_COLOR_ATTACHMENT8_NV 0x8CE8 |
| 408 #define GL_COLOR_ATTACHMENT9_NV 0x8CE9 |
| 409 #define GL_COLOR_ATTACHMENT10_NV 0x8CEA |
| 410 #define GL_COLOR_ATTACHMENT11_NV 0x8CEB |
| 411 #define GL_COLOR_ATTACHMENT12_NV 0x8CEC |
| 412 #define GL_COLOR_ATTACHMENT13_NV 0x8CED |
| 413 #define GL_COLOR_ATTACHMENT14_NV 0x8CEE |
| 414 #define GL_COLOR_ATTACHMENT15_NV 0x8CEF |
| 415 #endif |
| 416 |
| 417 /* GL_NV_fbo_color_attachments */ |
| 418 #ifndef GL_NV_fbo_color_attachments |
| 419 #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF |
| 420 /* GL_COLOR_ATTACHMENT{0-15}_NV defined in GL_NV_draw_buffers already. */ |
| 421 #endif |
| 422 |
| 423 /* GL_NV_fence */ |
| 424 #ifndef GL_NV_fence |
| 425 #define GL_ALL_COMPLETED_NV 0x84F2 |
| 426 #define GL_FENCE_STATUS_NV 0x84F3 |
| 427 #define GL_FENCE_CONDITION_NV 0x84F4 |
| 428 #endif |
| 429 |
| 430 /* GL_NV_read_buffer */ |
| 431 #ifndef GL_NV_read_buffer |
| 432 #define GL_READ_BUFFER_NV 0x0C02 |
| 433 #endif |
| 434 |
| 435 /* GL_NV_read_buffer_front */ |
| 436 /* No new tokens introduced by this extension. */ |
| 437 |
| 438 /* GL_NV_read_depth */ |
| 439 /* No new tokens introduced by this extension. */ |
| 440 |
| 441 /* GL_NV_read_depth_stencil */ |
| 442 /* No new tokens introduced by this extension. */ |
| 443 |
| 444 /* GL_NV_read_stencil */ |
| 445 /* No new tokens introduced by this extension. */ |
| 446 |
| 447 /* GL_NV_texture_compression_s3tc_update */ |
| 448 /* No new tokens introduced by this extension. */ |
| 449 |
| 450 /* GL_NV_texture_npot_2D_mipmap */ |
| 451 /* No new tokens introduced by this extension. */ |
| 452 |
| 304 /*------------------------------------------------------------------------* | 453 /*------------------------------------------------------------------------* |
| 305 * QCOM extension tokens | 454 * QCOM extension tokens |
| 306 *------------------------------------------------------------------------*/ | 455 *------------------------------------------------------------------------*/ |
| 307 | 456 |
| 457 /* GL_QCOM_alpha_test */ |
| 458 #ifndef GL_QCOM_alpha_test |
| 459 #define GL_ALPHA_TEST_QCOM 0x0BC0 |
| 460 #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 |
| 461 #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 |
| 462 #endif |
| 463 |
| 308 /* GL_QCOM_driver_control */ | 464 /* GL_QCOM_driver_control */ |
| 309 /* No new tokens introduced by this extension. */ | 465 /* No new tokens introduced by this extension. */ |
| 310 | 466 |
| 311 /* GL_QCOM_extended_get */ | 467 /* GL_QCOM_extended_get */ |
| 312 #ifndef GL_QCOM_extended_get | 468 #ifndef GL_QCOM_extended_get |
| 313 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 | 469 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 |
| 314 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 | 470 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 |
| 315 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 | 471 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 |
| 316 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 | 472 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 |
| 317 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 | 473 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 | 522 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 |
| 367 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 | 523 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 |
| 368 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 | 524 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 |
| 369 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 | 525 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 |
| 370 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 | 526 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 |
| 371 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 | 527 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 |
| 372 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 | 528 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 |
| 373 #endif | 529 #endif |
| 374 | 530 |
| 375 /*------------------------------------------------------------------------* | 531 /*------------------------------------------------------------------------* |
| 532 * VIV extension tokens |
| 533 *------------------------------------------------------------------------*/ |
| 534 |
| 535 /* GL_VIV_shader_binary */ |
| 536 #ifndef GL_VIV_shader_binary |
| 537 #define GL_SHADER_BINARY_VIV 0x8FC4 |
| 538 #endif |
| 539 |
| 540 /*------------------------------------------------------------------------* |
| 376 * End of extension tokens, start of corresponding extension functions | 541 * End of extension tokens, start of corresponding extension functions |
| 377 *------------------------------------------------------------------------*/ | 542 *------------------------------------------------------------------------*/ |
| 378 | 543 |
| 379 | |
| 380 | |
| 381 /*------------------------------------------------------------------------* | 544 /*------------------------------------------------------------------------* |
| 382 * OES extension functions | 545 * OES extension functions |
| 383 *------------------------------------------------------------------------*/ | 546 *------------------------------------------------------------------------*/ |
| 384 | 547 |
| 385 /* GL_OES_compressed_ETC1_RGB8_texture */ | 548 /* GL_OES_compressed_ETC1_RGB8_texture */ |
| 386 #ifndef GL_OES_compressed_ETC1_RGB8_texture | 549 #ifndef GL_OES_compressed_ETC1_RGB8_texture |
| 387 #define GL_OES_compressed_ETC1_RGB8_texture 1 | 550 #define GL_OES_compressed_ETC1_RGB8_texture 1 |
| 388 #endif | 551 #endif |
| 389 | 552 |
| 390 /* GL_OES_compressed_paletted_texture */ | 553 /* GL_OES_compressed_paletted_texture */ |
| (...skipping 20 matching lines...) Expand all Loading... |
| 411 #ifndef GL_OES_EGL_image | 574 #ifndef GL_OES_EGL_image |
| 412 #define GL_OES_EGL_image 1 | 575 #define GL_OES_EGL_image 1 |
| 413 #ifdef GL_GLEXT_PROTOTYPES | 576 #ifdef GL_GLEXT_PROTOTYPES |
| 414 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglIm
ageOES image); | 577 GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglIm
ageOES image); |
| 415 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum targe
t, GLeglImageOES image); | 578 GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum targe
t, GLeglImageOES image); |
| 416 #endif | 579 #endif |
| 417 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target,
GLeglImageOES image); | 580 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target,
GLeglImageOES image); |
| 418 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenu
m target, GLeglImageOES image); | 581 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenu
m target, GLeglImageOES image); |
| 419 #endif | 582 #endif |
| 420 | 583 |
| 584 /* GL_OES_EGL_image_external */ |
| 585 #ifndef GL_OES_EGL_image_external |
| 586 #define GL_OES_EGL_image_external 1 |
| 587 /* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */ |
| 588 #endif |
| 589 |
| 421 /* GL_OES_element_index_uint */ | 590 /* GL_OES_element_index_uint */ |
| 422 #ifndef GL_OES_element_index_uint | 591 #ifndef GL_OES_element_index_uint |
| 423 #define GL_OES_element_index_uint 1 | 592 #define GL_OES_element_index_uint 1 |
| 424 #endif | 593 #endif |
| 425 | 594 |
| 426 /* GL_OES_fbo_render_mipmap */ | 595 /* GL_OES_fbo_render_mipmap */ |
| 427 #ifndef GL_OES_fbo_render_mipmap | 596 #ifndef GL_OES_fbo_render_mipmap |
| 428 #define GL_OES_fbo_render_mipmap 1 | 597 #define GL_OES_fbo_render_mipmap 1 |
| 429 #endif | 598 #endif |
| 430 | 599 |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 /* GL_OES_vertex_half_float */ | 713 /* GL_OES_vertex_half_float */ |
| 545 #ifndef GL_OES_vertex_half_float | 714 #ifndef GL_OES_vertex_half_float |
| 546 #define GL_OES_vertex_half_float 1 | 715 #define GL_OES_vertex_half_float 1 |
| 547 #endif | 716 #endif |
| 548 | 717 |
| 549 /* GL_OES_vertex_type_10_10_10_2 */ | 718 /* GL_OES_vertex_type_10_10_10_2 */ |
| 550 #ifndef GL_OES_vertex_type_10_10_10_2 | 719 #ifndef GL_OES_vertex_type_10_10_10_2 |
| 551 #define GL_OES_vertex_type_10_10_10_2 1 | 720 #define GL_OES_vertex_type_10_10_10_2 1 |
| 552 #endif | 721 #endif |
| 553 | 722 |
| 554 /* GL_OES_EGL_image_external */ | |
| 555 #ifndef GL_OES_EGL_image_external | |
| 556 #define GL_OES_EGL_image_external 1 | |
| 557 #endif | |
| 558 | |
| 559 /*------------------------------------------------------------------------* | 723 /*------------------------------------------------------------------------* |
| 560 * AMD extension functions | 724 * AMD extension functions |
| 561 *------------------------------------------------------------------------*/ | 725 *------------------------------------------------------------------------*/ |
| 562 | 726 |
| 563 /* GL_AMD_compressed_3DC_texture */ | 727 /* GL_AMD_compressed_3DC_texture */ |
| 564 #ifndef GL_AMD_compressed_3DC_texture | 728 #ifndef GL_AMD_compressed_3DC_texture |
| 565 #define GL_AMD_compressed_3DC_texture 1 | 729 #define GL_AMD_compressed_3DC_texture 1 |
| 566 #endif | 730 #endif |
| 567 | 731 |
| 568 /* GL_AMD_compressed_ATC_texture */ | 732 /* GL_AMD_compressed_ATC_texture */ |
| (...skipping 29 matching lines...) Expand all Loading... |
| 598 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); | 762 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); |
| 599 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monito
r, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | 763 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monito
r, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); |
| 600 #endif | 764 #endif |
| 601 | 765 |
| 602 /* GL_AMD_program_binary_Z400 */ | 766 /* GL_AMD_program_binary_Z400 */ |
| 603 #ifndef GL_AMD_program_binary_Z400 | 767 #ifndef GL_AMD_program_binary_Z400 |
| 604 #define GL_AMD_program_binary_Z400 1 | 768 #define GL_AMD_program_binary_Z400 1 |
| 605 #endif | 769 #endif |
| 606 | 770 |
| 607 /*------------------------------------------------------------------------* | 771 /*------------------------------------------------------------------------* |
| 772 * ANGLE extension functions |
| 773 *------------------------------------------------------------------------*/ |
| 774 |
| 775 /* GL_ANGLE_framebuffer_blit */ |
| 776 #ifndef GL_ANGLE_framebuffer_blit |
| 777 #define GL_ANGLE_framebuffer_blit 1 |
| 778 #ifdef GL_GLEXT_PROTOTYPES |
| 779 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); |
| 780 #endif |
| 781 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); |
| 782 #endif |
| 783 |
| 784 /* GL_ANGLE_framebuffer_multisample */ |
| 785 #ifndef GL_ANGLE_framebuffer_multisample |
| 786 #define GL_ANGLE_framebuffer_multisample 1 |
| 787 #ifdef GL_GLEXT_PROTOTYPES |
| 788 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target
, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 789 #endif |
| 790 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum
target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 791 #endif |
| 792 |
| 793 /*------------------------------------------------------------------------* |
| 794 * APPLE extension functions |
| 795 *------------------------------------------------------------------------*/ |
| 796 |
| 797 /* GL_APPLE_rgb_422 */ |
| 798 #ifndef GL_APPLE_rgb_422 |
| 799 #define GL_APPLE_rgb_422 1 |
| 800 #endif |
| 801 |
| 802 /* GL_APPLE_framebuffer_multisample */ |
| 803 #ifndef GL_APPLE_framebuffer_multisample |
| 804 #define GL_APPLE_framebuffer_multisample 1 |
| 805 #ifdef GL_GLEXT_PROTOTYPES |
| 806 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum, GLsiz
ei, GLenum, GLsizei, GLsizei); |
| 807 GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); |
| 808 #endif /* GL_GLEXT_PROTOTYPES */ |
| 809 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum
target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 810 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); |
| 811 #endif |
| 812 |
| 813 /* GL_APPLE_texture_format_BGRA8888 */ |
| 814 #ifndef GL_APPLE_texture_format_BGRA8888 |
| 815 #define GL_APPLE_texture_format_BGRA8888 1 |
| 816 #endif |
| 817 |
| 818 /* GL_APPLE_texture_max_level */ |
| 819 #ifndef GL_APPLE_texture_max_level |
| 820 #define GL_APPLE_texture_max_level 1 |
| 821 #endif |
| 822 |
| 823 /*------------------------------------------------------------------------* |
| 824 * ARM extension functions |
| 825 *------------------------------------------------------------------------*/ |
| 826 |
| 827 /* GL_ARM_mali_shader_binary */ |
| 828 #ifndef GL_ARM_mali_shader_binary |
| 829 #define GL_ARM_mali_shader_binary 1 |
| 830 #endif |
| 831 |
| 832 /* GL_ARM_rgba8 */ |
| 833 #ifndef GL_ARM_rgba8 |
| 834 #define GL_ARM_rgba8 1 |
| 835 #endif |
| 836 |
| 837 /*------------------------------------------------------------------------* |
| 608 * EXT extension functions | 838 * EXT extension functions |
| 609 *------------------------------------------------------------------------*/ | 839 *------------------------------------------------------------------------*/ |
| 610 | 840 |
| 611 /* GL_EXT_blend_minmax */ | 841 /* GL_EXT_blend_minmax */ |
| 612 #ifndef GL_EXT_blend_minmax | 842 #ifndef GL_EXT_blend_minmax |
| 613 #define GL_EXT_blend_minmax 1 | 843 #define GL_EXT_blend_minmax 1 |
| 614 #endif | 844 #endif |
| 615 | 845 |
| 616 /* GL_EXT_discard_framebuffer */ | 846 /* GL_EXT_discard_framebuffer */ |
| 617 #ifndef GL_EXT_discard_framebuffer | 847 #ifndef GL_EXT_discard_framebuffer |
| (...skipping 12 matching lines...) Expand all Loading... |
| 630 #endif /* GL_GLEXT_PROTOTYPES */ | 860 #endif /* GL_GLEXT_PROTOTYPES */ |
| 631 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *fir
st, GLsizei *count, GLsizei primcount); | 861 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *fir
st, GLsizei *count, GLsizei primcount); |
| 632 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GL
sizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); | 862 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GL
sizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); |
| 633 #endif | 863 #endif |
| 634 | 864 |
| 635 /* GL_EXT_read_format_bgra */ | 865 /* GL_EXT_read_format_bgra */ |
| 636 #ifndef GL_EXT_read_format_bgra | 866 #ifndef GL_EXT_read_format_bgra |
| 637 #define GL_EXT_read_format_bgra 1 | 867 #define GL_EXT_read_format_bgra 1 |
| 638 #endif | 868 #endif |
| 639 | 869 |
| 870 /* GL_EXT_shader_texture_lod */ |
| 871 #ifndef GL_EXT_shader_texture_lod |
| 872 #define GL_EXT_shader_texture_lod 1 |
| 873 #endif |
| 874 |
| 640 /* GL_EXT_texture_filter_anisotropic */ | 875 /* GL_EXT_texture_filter_anisotropic */ |
| 641 #ifndef GL_EXT_texture_filter_anisotropic | 876 #ifndef GL_EXT_texture_filter_anisotropic |
| 642 #define GL_EXT_texture_filter_anisotropic 1 | 877 #define GL_EXT_texture_filter_anisotropic 1 |
| 643 #endif | 878 #endif |
| 644 | 879 |
| 645 /* GL_EXT_texture_format_BGRA8888 */ | 880 /* GL_EXT_texture_format_BGRA8888 */ |
| 646 #ifndef GL_EXT_texture_format_BGRA8888 | 881 #ifndef GL_EXT_texture_format_BGRA8888 |
| 647 #define GL_EXT_texture_format_BGRA8888 1 | 882 #define GL_EXT_texture_format_BGRA8888 1 |
| 648 #endif | 883 #endif |
| 649 | 884 |
| 650 /* GL_EXT_texture_type_2_10_10_10_REV */ | 885 /* GL_EXT_texture_type_2_10_10_10_REV */ |
| 651 #ifndef GL_EXT_texture_type_2_10_10_10_REV | 886 #ifndef GL_EXT_texture_type_2_10_10_10_REV |
| 652 #define GL_EXT_texture_type_2_10_10_10_REV 1 | 887 #define GL_EXT_texture_type_2_10_10_10_REV 1 |
| 653 #endif | 888 #endif |
| 654 | 889 |
| 655 /* GL_EXT_texture_compression_dxt1 */ | 890 /* GL_EXT_texture_compression_dxt1 */ |
| 656 #ifndef GL_EXT_texture_compression_dxt1 | 891 #ifndef GL_EXT_texture_compression_dxt1 |
| 657 #define GL_EXT_texture_compression_dxt1 1 | 892 #define GL_EXT_texture_compression_dxt1 1 |
| 658 #endif | 893 #endif |
| 659 | 894 |
| 895 /* GL_EXT_unpack_subimage */ |
| 896 #ifndef GL_EXT_unpack_subimage |
| 897 #define GL_EXT_unpack_subimage 1 |
| 898 #endif |
| 899 |
| 900 /*------------------------------------------------------------------------* |
| 901 * DMP extension functions |
| 902 *------------------------------------------------------------------------*/ |
| 903 |
| 904 /* GL_DMP_shader_binary */ |
| 905 #ifndef GL_DMP_shader_binary |
| 906 #define GL_DMP_shader_binary 1 |
| 907 #endif |
| 908 |
| 660 /*------------------------------------------------------------------------* | 909 /*------------------------------------------------------------------------* |
| 661 * IMG extension functions | 910 * IMG extension functions |
| 662 *------------------------------------------------------------------------*/ | 911 *------------------------------------------------------------------------*/ |
| 663 | 912 |
| 664 /* GL_IMG_program_binary */ | 913 /* GL_IMG_program_binary */ |
| 665 #ifndef GL_IMG_program_binary | 914 #ifndef GL_IMG_program_binary |
| 666 #define GL_IMG_program_binary 1 | 915 #define GL_IMG_program_binary 1 |
| 667 #endif | 916 #endif |
| 668 | 917 |
| 669 /* GL_IMG_read_format */ | 918 /* GL_IMG_read_format */ |
| (...skipping 12 matching lines...) Expand all Loading... |
| 682 #endif | 931 #endif |
| 683 | 932 |
| 684 /* GL_IMG_multisampled_render_to_texture */ | 933 /* GL_IMG_multisampled_render_to_texture */ |
| 685 #ifndef GL_IMG_multisampled_render_to_texture | 934 #ifndef GL_IMG_multisampled_render_to_texture |
| 686 #define GL_IMG_multisampled_render_to_texture 1 | 935 #define GL_IMG_multisampled_render_to_texture 1 |
| 687 #ifdef GL_GLEXT_PROTOTYPES | 936 #ifdef GL_GLEXT_PROTOTYPES |
| 688 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum, GLsizei
, GLenum, GLsizei, GLsizei); | 937 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum, GLsizei
, GLenum, GLsizei, GLsizei); |
| 689 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum, GLenum
, GLenum, GLuint, GLint, GLsizei); | 938 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum, GLenum
, GLenum, GLuint, GLint, GLsizei); |
| 690 #endif | 939 #endif |
| 691 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum targe
t, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | 940 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum targe
t, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 692 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXIMG) (GLenum target, GLenum attachment
, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | 941 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum targ
et, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei sa
mples); |
| 693 #endif | 942 #endif |
| 694 | 943 |
| 695 /*------------------------------------------------------------------------* | 944 /*------------------------------------------------------------------------* |
| 696 * NV extension functions | 945 * NV extension functions |
| 697 *------------------------------------------------------------------------*/ | 946 *------------------------------------------------------------------------*/ |
| 698 | 947 |
| 948 /* GL_NV_coverage_sample */ |
| 949 #ifndef GL_NV_coverage_sample |
| 950 #define GL_NV_coverage_sample 1 |
| 951 #ifdef GL_GLEXT_PROTOTYPES |
| 952 GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); |
| 953 GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); |
| 954 #endif |
| 955 typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); |
| 956 typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); |
| 957 #endif |
| 958 |
| 959 /* GL_NV_depth_nonlinear */ |
| 960 #ifndef GL_NV_depth_nonlinear |
| 961 #define GL_NV_depth_nonlinear 1 |
| 962 #endif |
| 963 |
| 964 /* GL_NV_draw_buffers */ |
| 965 #ifndef GL_NV_draw_buffers |
| 966 #define GL_NV_draw_buffers 1 |
| 967 #ifdef GL_GLEXT_PROTOTYPES |
| 968 GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); |
| 969 #endif |
| 970 typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *buf
s); |
| 971 #endif |
| 972 |
| 973 /* GL_NV_fbo_color_attachments */ |
| 974 #ifndef GL_NV_fbo_color_attachments |
| 975 #define GL_NV_fbo_color_attachments 1 |
| 976 #endif |
| 977 |
| 699 /* GL_NV_fence */ | 978 /* GL_NV_fence */ |
| 700 #ifndef GL_NV_fence | 979 #ifndef GL_NV_fence |
| 701 #define GL_NV_fence 1 | 980 #define GL_NV_fence 1 |
| 702 #ifdef GL_GLEXT_PROTOTYPES | 981 #ifdef GL_GLEXT_PROTOTYPES |
| 703 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); | 982 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); |
| 704 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei, GLuint *); | 983 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei, GLuint *); |
| 705 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint); | 984 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint); |
| 706 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint); | 985 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint); |
| 707 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); | 986 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); |
| 708 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint); | 987 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint); |
| 709 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint, GLenum); | 988 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint, GLenum); |
| 710 #endif | 989 #endif |
| 711 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fe
nces); | 990 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fe
nces); |
| 712 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); | 991 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); |
| 713 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); | 992 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); |
| 714 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); | 993 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); |
| 715 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, G
Lint *params); | 994 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, G
Lint *params); |
| 716 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); | 995 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); |
| 717 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition)
; | 996 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition)
; |
| 718 #endif | 997 #endif |
| 719 | 998 |
| 720 /* GL_NV_coverage_sample */ | 999 /* GL_NV_read_buffer */ |
| 721 #ifndef GL_NV_coverage_sample | 1000 #ifndef GL_NV_read_buffer |
| 722 #define GL_NV_coverage_sample 1 | 1001 #define GL_NV_read_buffer 1 |
| 723 #ifdef GL_GLEXT_PROTOTYPES | 1002 #ifdef GL_GLEXT_PROTOTYPES |
| 724 GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); | 1003 GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); |
| 725 GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); | |
| 726 #endif | 1004 #endif |
| 727 typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); | 1005 typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); |
| 728 typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); | |
| 729 #endif | 1006 #endif |
| 730 | 1007 |
| 731 /* GL_NV_depth_nonlinear */ | 1008 /* GL_NV_read_buffer_front */ |
| 732 #ifndef GL_NV_depth_nonlinear | 1009 #ifndef GL_NV_read_buffer_front |
| 733 #define GL_NV_depth_nonlinear 1 | 1010 #define GL_NV_read_buffer_front 1 |
| 1011 #endif |
| 1012 |
| 1013 /* GL_NV_read_depth */ |
| 1014 #ifndef GL_NV_read_depth |
| 1015 #define GL_NV_read_depth 1 |
| 1016 #endif |
| 1017 |
| 1018 /* GL_NV_read_depth_stencil */ |
| 1019 #ifndef GL_NV_read_depth_stencil |
| 1020 #define GL_NV_read_depth_stencil 1 |
| 1021 #endif |
| 1022 |
| 1023 /* GL_NV_read_stencil */ |
| 1024 #ifndef GL_NV_read_stencil |
| 1025 #define GL_NV_read_stencil 1 |
| 1026 #endif |
| 1027 |
| 1028 /* GL_NV_texture_compression_s3tc_update */ |
| 1029 #ifndef GL_NV_texture_compression_s3tc_update |
| 1030 #define GL_NV_texture_compression_s3tc_update 1 |
| 1031 #endif |
| 1032 |
| 1033 /* GL_NV_texture_npot_2D_mipmap */ |
| 1034 #ifndef GL_NV_texture_npot_2D_mipmap |
| 1035 #define GL_NV_texture_npot_2D_mipmap 1 |
| 734 #endif | 1036 #endif |
| 735 | 1037 |
| 736 /*------------------------------------------------------------------------* | 1038 /*------------------------------------------------------------------------* |
| 737 * QCOM extension functions | 1039 * QCOM extension functions |
| 738 *------------------------------------------------------------------------*/ | 1040 *------------------------------------------------------------------------*/ |
| 739 | 1041 |
| 1042 /* GL_QCOM_alpha_test */ |
| 1043 #ifndef GL_QCOM_alpha_test |
| 1044 #define GL_QCOM_alpha_test 1 |
| 1045 #ifdef GL_GLEXT_PROTOTYPES |
| 1046 GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); |
| 1047 #endif |
| 1048 typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); |
| 1049 #endif |
| 1050 |
| 740 /* GL_QCOM_driver_control */ | 1051 /* GL_QCOM_driver_control */ |
| 741 #ifndef GL_QCOM_driver_control | 1052 #ifndef GL_QCOM_driver_control |
| 742 #define GL_QCOM_driver_control 1 | 1053 #define GL_QCOM_driver_control 1 |
| 743 #ifdef GL_GLEXT_PROTOTYPES | 1054 #ifdef GL_GLEXT_PROTOTYPES |
| 744 GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, G
Luint *driverControls); | 1055 GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, G
Luint *driverControls); |
| 745 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl,
GLsizei bufSize, GLsizei *length, GLchar *driverControlString); | 1056 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl,
GLsizei bufSize, GLsizei *length, GLchar *driverControlString); |
| 746 GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); | 1057 GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); |
| 747 GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); | 1058 GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); |
| 748 #endif | 1059 #endif |
| 749 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei
size, GLuint *driverControls); | 1060 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei
size, GLuint *driverControls); |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 #ifndef GL_QCOM_tiled_rendering | 1115 #ifndef GL_QCOM_tiled_rendering |
| 805 #define GL_QCOM_tiled_rendering 1 | 1116 #define GL_QCOM_tiled_rendering 1 |
| 806 #ifdef GL_GLEXT_PROTOTYPES | 1117 #ifdef GL_GLEXT_PROTOTYPES |
| 807 GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width,
GLuint height, GLbitfield preserveMask); | 1118 GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width,
GLuint height, GLbitfield preserveMask); |
| 808 GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); | 1119 GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); |
| 809 #endif | 1120 #endif |
| 810 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint
width, GLuint height, GLbitfield preserveMask); | 1121 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint
width, GLuint height, GLbitfield preserveMask); |
| 811 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); | 1122 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); |
| 812 #endif | 1123 #endif |
| 813 | 1124 |
| 1125 /*------------------------------------------------------------------------* |
| 1126 * VIV extension tokens |
| 1127 *------------------------------------------------------------------------*/ |
| 1128 |
| 1129 /* GL_VIV_shader_binary */ |
| 1130 #ifndef GL_VIV_shader_binary |
| 1131 #define GL_VIV_shader_binary 1 |
| 1132 #endif |
| 1133 |
| 814 /* GL_EXT_framebuffer_multisample */ | 1134 /* GL_EXT_framebuffer_multisample */ |
| 815 #ifndef GL_EXT_framebuffer_multisample | 1135 #ifndef GL_EXT_framebuffer_multisample |
| 816 #define GL_EXT_framebuffer_multisample 1 | 1136 #define GL_EXT_framebuffer_multisample 1 |
| 817 | 1137 |
| 818 #ifndef GL_DRAW_FRAMEBUFFER_BINDING | 1138 #ifndef GL_DRAW_FRAMEBUFFER_BINDING |
| 819 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 | 1139 #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6 |
| 820 #endif | 1140 #endif |
| 821 #ifndef GL_DRAW_FRAMEBUFFER_BINDING_EXT | 1141 #ifndef GL_DRAW_FRAMEBUFFER_BINDING_EXT |
| 822 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_DRAW_FRAMEBUFFER_BINDING | 1142 #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_DRAW_FRAMEBUFFER_BINDING |
| 823 #endif | 1143 #endif |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 #define GL_MAX_SAMPLES_EXT GL_MAX_SAMPLES | 1184 #define GL_MAX_SAMPLES_EXT GL_MAX_SAMPLES |
| 865 #endif | 1185 #endif |
| 866 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE | 1186 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE |
| 867 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 | 1187 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 |
| 868 #endif | 1188 #endif |
| 869 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT | 1189 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT |
| 870 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT GL_FRAMEBUFFER_INCOMPLETE_MULT
ISAMPLE | 1190 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT GL_FRAMEBUFFER_INCOMPLETE_MULT
ISAMPLE |
| 871 #endif | 1191 #endif |
| 872 | 1192 |
| 873 #ifdef GL_GLEXT_PROTOTYPES | 1193 #ifdef GL_GLEXT_PROTOTYPES |
| 1194 #define glRenderbufferStorageMultisampleEXT GLES2_GET_FUN(RenderbufferStorageMul
tisampleEXT) |
| 1195 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target,
GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 1196 #endif /* GL_GLEXT_PROTOTYPES */ |
| 1197 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum t
arget, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 1198 #endif |
| 1199 |
| 1200 #ifndef GL_EXT_framebuffer_blit |
| 1201 #define GL_EXT_framebuffer_blit 1 |
| 1202 #ifdef GL_GLEXT_PROTOTYPES |
| 874 #define glBlitFramebufferEXT GLES2_GET_FUN(BlitFramebufferEXT) | 1203 #define glBlitFramebufferEXT GLES2_GET_FUN(BlitFramebufferEXT) |
| 875 #define glRenderbufferStorageMultisampleEXT GLES2_GET_FUN(RenderbufferStorageMul
tisampleEXT) | |
| 876 #if !defined(GLES2_USE_CPP_BINDINGS) | |
| 877 GL_APICALL void GL_APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLin
t srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitf
ield mask, GLenum filter); | 1204 GL_APICALL void GL_APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLin
t srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitf
ield mask, GLenum filter); |
| 878 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target,
GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | 1205 #endif /* GL_GLEXT_PROTOTYPES */ |
| 879 #endif | 1206 typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY
0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1,
GLbitfield mask, GLenum filter); |
| 880 #endif | |
| 881 typedef void (GL_APIENTRY PFNGLBLITFRAMEBUFFEREXT) (GLint srcX0, GLint srcY0, GL
int srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbi
tfield mask, GLenum filter); | |
| 882 typedef void (GL_APIENTRY PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXT) (GLenum target
, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | |
| 883 #endif | 1207 #endif |
| 884 | 1208 |
| 885 /* GL_CHROMIUM_map_sub */ | 1209 /* GL_CHROMIUM_map_sub */ |
| 886 #ifndef GL_CHROMIUM_map_sub | 1210 #ifndef GL_CHROMIUM_map_sub |
| 887 #define GL_CHROMIUM_map_sub 1 | 1211 #define GL_CHROMIUM_map_sub 1 |
| 888 #ifndef GL_READ_ONLY | 1212 #ifndef GL_READ_ONLY |
| 889 #define GL_READ_ONLY 0x88B8 | 1213 #define GL_READ_ONLY 0x88B8 |
| 890 #endif | 1214 #endif |
| 891 #ifndef GL_WRITE_ONLY | 1215 #ifndef GL_WRITE_ONLY |
| 892 #define GL_WRITE_ONLY 0x88B9 | 1216 #define GL_WRITE_ONLY 0x88B9 |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 * This extension provides functions for quering multiple GL state with a single | 1332 * This extension provides functions for quering multiple GL state with a single |
| 1009 * call. | 1333 * call. |
| 1010 */ | 1334 */ |
| 1011 #ifndef GL_CHROMIUM_get_multiple | 1335 #ifndef GL_CHROMIUM_get_multiple |
| 1012 #define GL_CHROMIUM_get_multiple 1 | 1336 #define GL_CHROMIUM_get_multiple 1 |
| 1013 #ifdef GL_GLEXT_PROTOTYPES | 1337 #ifdef GL_GLEXT_PROTOTYPES |
| 1014 #define glGetMultipleIntegervCHROMIUM GLES2_GET_FUN(GetMultipleIntegervCHROMIUM
) | 1338 #define glGetMultipleIntegervCHROMIUM GLES2_GET_FUN(GetMultipleIntegervCHROMIUM
) |
| 1015 #define glGetProgramInfoCHROMIUM GLES2_GET_FUN(GetProgramInfovCHROMIUM) | 1339 #define glGetProgramInfoCHROMIUM GLES2_GET_FUN(GetProgramInfovCHROMIUM) |
| 1016 #if !defined(GLES2_USE_CPP_BINDINGS) | 1340 #if !defined(GLES2_USE_CPP_BINDINGS) |
| 1017 GL_APICALL void GL_APIENTRY glGetMultipleIntegervCHROMIUM (const GLenum* pnames,
GLuint count, GLint* results, GLsizeiptr size); | 1341 GL_APICALL void GL_APIENTRY glGetMultipleIntegervCHROMIUM (const GLenum* pnames,
GLuint count, GLint* results, GLsizeiptr size); |
| 1018 GL_APICALL void GL_APIENTRY glGetProgrmaInfoCHROMIUM (GLuint program, GLsizei bu
fsize, GLsizei* size, void* info); | 1342 GL_APICALL void GL_APIENTRY glGetProgramInfoCHROMIUM (GLuint program, GLsizei bu
fsize, GLsizei* size, void* info); |
| 1019 #endif | 1343 #endif |
| 1020 #else | 1344 #else |
| 1021 typedef void (GL_APIENTRYP PFNGLGETMULTIPLEINTEGERVCHROMIUM) (); | 1345 typedef void (GL_APIENTRYP PFNGLGETMULTIPLEINTEGERVCHROMIUM) (); |
| 1022 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOCHROMIUM) (); | 1346 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOCHROMIUM) (); |
| 1023 #endif | 1347 #endif |
| 1024 #endif | 1348 #endif |
| 1025 | 1349 |
| 1026 /* GL_CHROMIUM_flipy */ | 1350 /* GL_CHROMIUM_flipy */ |
| 1027 /* | 1351 /* |
| 1028 * This extension provides GL_UNPACK_FLIP_Y_CHROMIUM as a parameter to | 1352 * This extension provides GL_UNPACK_FLIP_Y_CHROMIUM as a parameter to |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1092 #endif | 1416 #endif |
| 1093 #endif | 1417 #endif |
| 1094 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shad
er, GLsizei bufsize, GLsizei* length, GLchar* source); | 1418 typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shad
er, GLsizei bufsize, GLsizei* length, GLchar* source); |
| 1095 #endif | 1419 #endif |
| 1096 | 1420 |
| 1097 #ifdef __cplusplus | 1421 #ifdef __cplusplus |
| 1098 } | 1422 } |
| 1099 #endif | 1423 #endif |
| 1100 | 1424 |
| 1101 #endif /* __gl2ext_h_ */ | 1425 #endif /* __gl2ext_h_ */ |
| OLD | NEW |