OLD | NEW |
1 #ifndef __gl2ext_h_ | 1 #ifndef __gl2ext_h_ |
2 #define __gl2ext_h_ | 2 #define __gl2ext_h_ |
3 | 3 |
4 /* $Revision: 9499 $ on $Date:: 2009-10-30 13:10:08 -0700 #$ */ | 4 /* $Revision: 12813 $ on $Date:: 2010-11-03 17:33:04 -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_element_index_uint */ |
| 61 #ifndef GL_OES_element_index_uint |
| 62 #define GL_UNSIGNED_INT 0x1405 |
| 63 #endif |
| 64 |
60 /* GL_OES_get_program_binary */ | 65 /* GL_OES_get_program_binary */ |
61 #ifndef GL_OES_get_program_binary | 66 #ifndef GL_OES_get_program_binary |
62 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 | 67 #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 |
63 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE | 68 #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE |
64 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF | 69 #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF |
65 #endif | 70 #endif |
66 | 71 |
67 /* GL_OES_mapbuffer */ | 72 /* GL_OES_mapbuffer */ |
68 #ifndef GL_OES_mapbuffer | 73 #ifndef GL_OES_mapbuffer |
69 #define GL_WRITE_ONLY_OES 0x88B9 | 74 #define GL_WRITE_ONLY_OES 0x88B9 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 #ifndef GL_OES_texture_half_float | 125 #ifndef GL_OES_texture_half_float |
121 #define GL_HALF_FLOAT_OES 0x8D61 | 126 #define GL_HALF_FLOAT_OES 0x8D61 |
122 #endif | 127 #endif |
123 | 128 |
124 /* GL_OES_texture_half_float_linear */ | 129 /* GL_OES_texture_half_float_linear */ |
125 /* No new tokens introduced by this extension. */ | 130 /* No new tokens introduced by this extension. */ |
126 | 131 |
127 /* GL_OES_texture_npot */ | 132 /* GL_OES_texture_npot */ |
128 /* No new tokens introduced by this extension. */ | 133 /* No new tokens introduced by this extension. */ |
129 | 134 |
| 135 /* GL_OES_vertex_array_object */ |
| 136 #ifndef GL_OES_vertex_array_object |
| 137 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 |
| 138 #endif |
| 139 |
130 /* GL_OES_vertex_half_float */ | 140 /* GL_OES_vertex_half_float */ |
131 /* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ | 141 /* GL_HALF_FLOAT_OES defined in GL_OES_texture_half_float already. */ |
132 | 142 |
133 /* GL_OES_vertex_type_10_10_10_2 */ | 143 /* GL_OES_vertex_type_10_10_10_2 */ |
134 #ifndef GL_OES_vertex_type_10_10_10_2 | 144 #ifndef GL_OES_vertex_type_10_10_10_2 |
135 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 | 145 #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 |
136 #define GL_INT_10_10_10_2_OES 0x8DF7 | 146 #define GL_INT_10_10_10_2_OES 0x8DF7 |
137 #endif | 147 #endif |
138 | 148 |
139 /*------------------------------------------------------------------------* | 149 /*------------------------------------------------------------------------* |
(...skipping 23 matching lines...) Expand all Loading... |
163 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 | 173 #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 |
164 #define GL_PERFMON_RESULT_AMD 0x8BC6 | 174 #define GL_PERFMON_RESULT_AMD 0x8BC6 |
165 #endif | 175 #endif |
166 | 176 |
167 /* GL_AMD_program_binary_Z400 */ | 177 /* GL_AMD_program_binary_Z400 */ |
168 #ifndef GL_AMD_program_binary_Z400 | 178 #ifndef GL_AMD_program_binary_Z400 |
169 #define GL_Z400_BINARY_AMD 0x8740 | 179 #define GL_Z400_BINARY_AMD 0x8740 |
170 #endif | 180 #endif |
171 | 181 |
172 /*------------------------------------------------------------------------* | 182 /*------------------------------------------------------------------------* |
| 183 * ANGLE extension tokens |
| 184 *------------------------------------------------------------------------*/ |
| 185 |
| 186 /* GL_ANGLE_framebuffer_blit */ |
| 187 #ifndef GL_ANGLE_framebuffer_blit |
| 188 #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 |
| 189 #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 |
| 190 #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 |
| 191 #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA |
| 192 #endif |
| 193 |
| 194 /* GL_ANGLE_framebuffer_multisample */ |
| 195 #ifndef GL_ANGLE_framebuffer_multisample |
| 196 #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB |
| 197 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 |
| 198 #define GL_MAX_SAMPLES_ANGLE 0x8D57 |
| 199 #endif |
| 200 |
| 201 /*------------------------------------------------------------------------* |
| 202 * APPLE extension tokens |
| 203 *------------------------------------------------------------------------*/ |
| 204 |
| 205 /* GL_APPLE_rgb_422 */ |
| 206 #ifndef GL_APPLE_rgb_422 |
| 207 #define GL_RGB_422_APPLE 0x8A1F |
| 208 #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA |
| 209 #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB |
| 210 #endif |
| 211 |
| 212 /* GL_APPLE_framebuffer_multisample */ |
| 213 #ifndef GL_APPLE_framebuffer_multisample |
| 214 #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB |
| 215 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 |
| 216 #define GL_MAX_SAMPLES_APPLE 0x8D57 |
| 217 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 |
| 218 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 |
| 219 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 |
| 220 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA |
| 221 #endif |
| 222 |
| 223 /* GL_APPLE_texture_format_BGRA8888 */ |
| 224 #ifndef GL_APPLE_texture_format_BGRA8888 |
| 225 #define GL_BGRA_EXT 0x80E1 |
| 226 #endif |
| 227 |
| 228 /* GL_APPLE_texture_max_level */ |
| 229 #ifndef GL_APPLE_texture_max_level |
| 230 #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D |
| 231 #endif |
| 232 |
| 233 /*------------------------------------------------------------------------* |
| 234 * ARM extension tokens |
| 235 *------------------------------------------------------------------------*/ |
| 236 |
| 237 /* GL_ARM_mali_shader_binary */ |
| 238 #ifndef GL_ARM_mali_shader_binary |
| 239 #define GL_MALI_SHADER_BINARY_ARM 0x8F60 |
| 240 #endif |
| 241 |
| 242 /* GL_ARM_rgba8 */ |
| 243 /* No new tokens introduced by this extension. */ |
| 244 |
| 245 /*------------------------------------------------------------------------* |
173 * EXT extension tokens | 246 * EXT extension tokens |
174 *------------------------------------------------------------------------*/ | 247 *------------------------------------------------------------------------*/ |
175 | 248 |
176 /* GL_EXT_blend_minmax */ | 249 /* GL_EXT_blend_minmax */ |
177 #ifndef GL_EXT_blend_minmax | 250 #ifndef GL_EXT_blend_minmax |
178 #define GL_MIN_EXT 0x8007 | 251 #define GL_MIN_EXT 0x8007 |
179 #define GL_MAX_EXT 0x8008 | 252 #define GL_MAX_EXT 0x8008 |
180 #endif | 253 #endif |
181 | 254 |
182 /* GL_EXT_discard_framebuffer */ | 255 /* GL_EXT_discard_framebuffer */ |
(...skipping 22 matching lines...) Expand all Loading... |
205 /* GL_EXT_texture_format_BGRA8888 */ | 278 /* GL_EXT_texture_format_BGRA8888 */ |
206 #ifndef GL_EXT_texture_format_BGRA8888 | 279 #ifndef GL_EXT_texture_format_BGRA8888 |
207 #define GL_BGRA_EXT 0x80E1 | 280 #define GL_BGRA_EXT 0x80E1 |
208 #endif | 281 #endif |
209 | 282 |
210 /* GL_EXT_texture_type_2_10_10_10_REV */ | 283 /* GL_EXT_texture_type_2_10_10_10_REV */ |
211 #ifndef GL_EXT_texture_type_2_10_10_10_REV | 284 #ifndef GL_EXT_texture_type_2_10_10_10_REV |
212 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 | 285 #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 |
213 #endif | 286 #endif |
214 | 287 |
| 288 /* GL_EXT_texture_compression_dxt1 */ |
| 289 #ifndef GL_EXT_texture_compression_dxt1 |
| 290 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 |
| 291 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 |
| 292 #endif |
| 293 |
| 294 /* GL_EXT_shader_texture_lod */ |
| 295 /* No new tokens introduced by this extension. */ |
| 296 |
215 /*------------------------------------------------------------------------* | 297 /*------------------------------------------------------------------------* |
216 * IMG extension tokens | 298 * IMG extension tokens |
217 *------------------------------------------------------------------------*/ | 299 *------------------------------------------------------------------------*/ |
218 | 300 |
219 /* GL_IMG_program_binary */ | 301 /* GL_IMG_program_binary */ |
220 #ifndef GL_IMG_program_binary | 302 #ifndef GL_IMG_program_binary |
221 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 | 303 #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 |
222 #endif | 304 #endif |
223 | 305 |
224 /* GL_IMG_read_format */ | 306 /* GL_IMG_read_format */ |
225 #ifndef GL_IMG_read_format | 307 #ifndef GL_IMG_read_format |
226 #define GL_BGRA_IMG 0x80E1 | 308 #define GL_BGRA_IMG 0x80E1 |
227 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 | 309 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 |
228 #endif | 310 #endif |
229 | 311 |
230 /* GL_IMG_shader_binary */ | 312 /* GL_IMG_shader_binary */ |
231 #ifndef GL_IMG_shader_binary | 313 #ifndef GL_IMG_shader_binary |
232 #define GL_SGX_BINARY_IMG 0x8C0A | 314 #define GL_SGX_BINARY_IMG 0x8C0A |
233 #endif | 315 #endif |
234 | 316 |
235 /* GL_IMG_texture_compression_pvrtc */ | 317 /* GL_IMG_texture_compression_pvrtc */ |
236 #ifndef GL_IMG_texture_compression_pvrtc | 318 #ifndef GL_IMG_texture_compression_pvrtc |
237 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 | 319 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 |
238 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 | 320 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 |
239 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 | 321 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 |
240 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 | 322 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 |
241 #endif | 323 #endif |
242 | 324 |
| 325 /* GL_IMG_multisampled_render_to_texture */ |
| 326 #ifndef GL_IMG_multisampled_render_to_texture |
| 327 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 |
| 328 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 |
| 329 #define GL_MAX_SAMPLES_IMG 0x9135 |
| 330 #define GL_TEXTURE_SAMPLES_IMG 0x9136 |
| 331 #endif |
| 332 |
243 /*------------------------------------------------------------------------* | 333 /*------------------------------------------------------------------------* |
244 * NV extension tokens | 334 * NV extension tokens |
245 *------------------------------------------------------------------------*/ | 335 *------------------------------------------------------------------------*/ |
246 | 336 |
247 /* GL_NV_fence */ | 337 /* GL_NV_fence */ |
248 #ifndef GL_NV_fence | 338 #ifndef GL_NV_fence |
249 #define GL_ALL_COMPLETED_NV 0x84F2 | 339 #define GL_ALL_COMPLETED_NV 0x84F2 |
250 #define GL_FENCE_STATUS_NV 0x84F3 | 340 #define GL_FENCE_STATUS_NV 0x84F3 |
251 #define GL_FENCE_CONDITION_NV 0x84F4 | 341 #define GL_FENCE_CONDITION_NV 0x84F4 |
252 #endif | 342 #endif |
253 | 343 |
| 344 /* GL_NV_coverage_sample */ |
| 345 #ifndef GL_NV_coverage_sample |
| 346 #define GL_COVERAGE_COMPONENT_NV 0x8ED0 |
| 347 #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 |
| 348 #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 |
| 349 #define GL_COVERAGE_BUFFERS_NV 0x8ED3 |
| 350 #define GL_COVERAGE_SAMPLES_NV 0x8ED4 |
| 351 #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 |
| 352 #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 |
| 353 #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 |
| 354 #define GL_COVERAGE_BUFFER_BIT_NV 0x8000 |
| 355 #endif |
| 356 |
| 357 /* GL_NV_depth_nonlinear */ |
| 358 #ifndef GL_NV_depth_nonlinear |
| 359 #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C |
| 360 #endif |
| 361 |
254 /*------------------------------------------------------------------------* | 362 /*------------------------------------------------------------------------* |
255 * QCOM extension tokens | 363 * QCOM extension tokens |
256 *------------------------------------------------------------------------*/ | 364 *------------------------------------------------------------------------*/ |
257 | 365 |
258 /* GL_QCOM_driver_control */ | 366 /* GL_QCOM_driver_control */ |
259 /* No new tokens introduced by this extension. */ | 367 /* No new tokens introduced by this extension. */ |
260 | 368 |
261 /* GL_QCOM_extended_get */ | 369 /* GL_QCOM_extended_get */ |
262 #ifndef GL_QCOM_extended_get | 370 #ifndef GL_QCOM_extended_get |
263 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 | 371 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 |
(...skipping 15 matching lines...) Expand all Loading... |
279 /* GL_QCOM_perfmon_global_mode */ | 387 /* GL_QCOM_perfmon_global_mode */ |
280 #ifndef GL_QCOM_perfmon_global_mode | 388 #ifndef GL_QCOM_perfmon_global_mode |
281 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 | 389 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 |
282 #endif | 390 #endif |
283 | 391 |
284 /* GL_QCOM_writeonly_rendering */ | 392 /* GL_QCOM_writeonly_rendering */ |
285 #ifndef GL_QCOM_writeonly_rendering | 393 #ifndef GL_QCOM_writeonly_rendering |
286 #define GL_WRITEONLY_RENDERING_QCOM 0x8823 | 394 #define GL_WRITEONLY_RENDERING_QCOM 0x8823 |
287 #endif | 395 #endif |
288 | 396 |
| 397 /* GL_QCOM_tiled_rendering */ |
| 398 #ifndef GL_QCOM_tiled_rendering |
| 399 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 |
| 400 #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 |
| 401 #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 |
| 402 #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 |
| 403 #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 |
| 404 #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 |
| 405 #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 |
| 406 #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 |
| 407 #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 |
| 408 #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 |
| 409 #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 |
| 410 #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 |
| 411 #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 |
| 412 #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 |
| 413 #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 |
| 414 #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 |
| 415 #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 |
| 416 #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 |
| 417 #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 |
| 418 #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 |
| 419 #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 |
| 420 #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 |
| 421 #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 |
| 422 #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 |
| 423 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 |
| 424 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 |
| 425 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 |
| 426 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 |
| 427 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 |
| 428 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 |
| 429 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 |
| 430 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 |
| 431 #endif |
| 432 |
| 433 /*------------------------------------------------------------------------* |
| 434 * VIV extension tokens |
| 435 *------------------------------------------------------------------------*/ |
| 436 |
| 437 /* GL_VIV_shader_binary */ |
| 438 #ifndef GL_VIV_shader_binary |
| 439 #define GL_SHADER_BINARY_VIV 0x8FC4 |
| 440 #endif |
| 441 |
289 /*------------------------------------------------------------------------* | 442 /*------------------------------------------------------------------------* |
290 * End of extension tokens, start of corresponding extension functions | 443 * End of extension tokens, start of corresponding extension functions |
291 *------------------------------------------------------------------------*/ | 444 *------------------------------------------------------------------------*/ |
292 | 445 |
293 /*------------------------------------------------------------------------* | 446 /*------------------------------------------------------------------------* |
294 * OES extension functions | 447 * OES extension functions |
295 *------------------------------------------------------------------------*/ | 448 *------------------------------------------------------------------------*/ |
296 | 449 |
297 /* GL_OES_compressed_ETC1_RGB8_texture */ | 450 /* GL_OES_compressed_ETC1_RGB8_texture */ |
298 #ifndef GL_OES_compressed_ETC1_RGB8_texture | 451 #ifndef GL_OES_compressed_ETC1_RGB8_texture |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 | 495 |
343 /* GL_OES_fragment_precision_high */ | 496 /* GL_OES_fragment_precision_high */ |
344 #ifndef GL_OES_fragment_precision_high | 497 #ifndef GL_OES_fragment_precision_high |
345 #define GL_OES_fragment_precision_high 1 | 498 #define GL_OES_fragment_precision_high 1 |
346 #endif | 499 #endif |
347 | 500 |
348 /* GL_OES_get_program_binary */ | 501 /* GL_OES_get_program_binary */ |
349 #ifndef GL_OES_get_program_binary | 502 #ifndef GL_OES_get_program_binary |
350 #define GL_OES_get_program_binary 1 | 503 #define GL_OES_get_program_binary 1 |
351 #ifdef GL_GLEXT_PROTOTYPES | 504 #ifdef GL_GLEXT_PROTOTYPES |
352 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSi
ze, GLsizei *length, GLenum *binaryFormat, void *binary); | 505 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSi
ze, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); |
353 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFor
mat, const void *binary, GLint length); | 506 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFor
mat, const GLvoid *binary, GLint length); |
354 #endif | 507 #endif |
355 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsize
i bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | 508 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsize
i bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); |
356 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum bi
naryFormat, const void *binary, GLint length); | 509 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum bi
naryFormat, const GLvoid *binary, GLint length); |
357 #endif | 510 #endif |
358 | 511 |
359 /* GL_OES_mapbuffer */ | 512 /* GL_OES_mapbuffer */ |
360 #ifndef GL_OES_mapbuffer | 513 #ifndef GL_OES_mapbuffer |
361 #define GL_OES_mapbuffer 1 | 514 #define GL_OES_mapbuffer 1 |
362 #ifdef GL_GLEXT_PROTOTYPES | 515 #ifdef GL_GLEXT_PROTOTYPES |
363 GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); | 516 GL_APICALL void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); |
364 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); | 517 GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); |
365 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname,
void** params); | 518 GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname,
GLvoid** params); |
366 #endif | 519 #endif |
367 typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access
); | 520 typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access
); |
368 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); | 521 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); |
369 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum
pname, void** params); | 522 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum
pname, GLvoid** params); |
370 #endif | 523 #endif |
371 | 524 |
372 /* GL_OES_packed_depth_stencil */ | 525 /* GL_OES_packed_depth_stencil */ |
373 #ifndef GL_OES_packed_depth_stencil | 526 #ifndef GL_OES_packed_depth_stencil |
374 #define GL_OES_packed_depth_stencil 1 | 527 #define GL_OES_packed_depth_stencil 1 |
375 #endif | 528 #endif |
376 | 529 |
377 /* GL_OES_rgb8_rgba8 */ | 530 /* GL_OES_rgb8_rgba8 */ |
378 #ifndef GL_OES_rgb8_rgba8 | 531 #ifndef GL_OES_rgb8_rgba8 |
379 #define GL_OES_rgb8_rgba8 1 | 532 #define GL_OES_rgb8_rgba8 1 |
(...skipping 11 matching lines...) Expand all Loading... |
391 | 544 |
392 /* GL_OES_stencil4 */ | 545 /* GL_OES_stencil4 */ |
393 #ifndef GL_OES_stencil4 | 546 #ifndef GL_OES_stencil4 |
394 #define GL_OES_stencil4 1 | 547 #define GL_OES_stencil4 1 |
395 #endif | 548 #endif |
396 | 549 |
397 /* GL_OES_texture_3D */ | 550 /* GL_OES_texture_3D */ |
398 #ifndef GL_OES_texture_3D | 551 #ifndef GL_OES_texture_3D |
399 #define GL_OES_texture_3D 1 | 552 #define GL_OES_texture_3D 1 |
400 #ifdef GL_GLEXT_PROTOTYPES | 553 #ifdef GL_GLEXT_PROTOTYPES |
401 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); | 554 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); |
402 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); | 555 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); |
403 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); | 556 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); |
404 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); | 557 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); |
405 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); | 558 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); |
406 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum att
achment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | 559 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum att
achment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); |
407 #endif | 560 #endif |
408 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); | 561 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); |
409 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); | 562 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); |
410 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint
level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei wi
dth, GLsizei height); | 563 typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint
level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei wi
dth, GLsizei height); |
411 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); | 564 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); |
412 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); | 565 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); |
413 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum
attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | 566 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum
attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); |
414 #endif | 567 #endif |
415 | 568 |
416 /* GL_OES_texture_float */ | 569 /* GL_OES_texture_float */ |
417 #ifndef GL_OES_texture_float | 570 #ifndef GL_OES_texture_float |
418 #define GL_OES_texture_float 1 | 571 #define GL_OES_texture_float 1 |
419 #endif | 572 #endif |
420 | 573 |
421 /* GL_OES_texture_float_linear */ | 574 /* GL_OES_texture_float_linear */ |
422 #ifndef GL_OES_texture_float_linear | 575 #ifndef GL_OES_texture_float_linear |
423 #define GL_OES_texture_float_linear 1 | 576 #define GL_OES_texture_float_linear 1 |
424 #endif | 577 #endif |
425 | 578 |
426 /* GL_OES_texture_half_float */ | 579 /* GL_OES_texture_half_float */ |
427 #ifndef GL_OES_texture_half_float | 580 #ifndef GL_OES_texture_half_float |
428 #define GL_OES_texture_half_float 1 | 581 #define GL_OES_texture_half_float 1 |
429 #endif | 582 #endif |
430 | 583 |
431 /* GL_OES_texture_half_float_linear */ | 584 /* GL_OES_texture_half_float_linear */ |
432 #ifndef GL_OES_texture_half_float_linear | 585 #ifndef GL_OES_texture_half_float_linear |
433 #define GL_OES_texture_half_float_linear 1 | 586 #define GL_OES_texture_half_float_linear 1 |
434 #endif | 587 #endif |
435 | 588 |
436 /* GL_OES_texture_npot */ | 589 /* GL_OES_texture_npot */ |
437 #ifndef GL_OES_texture_npot | 590 #ifndef GL_OES_texture_npot |
438 #define GL_OES_texture_npot 1 | 591 #define GL_OES_texture_npot 1 |
439 #endif | 592 #endif |
440 | 593 |
| 594 /* GL_OES_vertex_array_object */ |
| 595 #ifndef GL_OES_vertex_array_object |
| 596 #define GL_OES_vertex_array_object 1 |
| 597 #ifdef GL_GLEXT_PROTOTYPES |
| 598 GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); |
| 599 GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *ar
rays); |
| 600 GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); |
| 601 GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); |
| 602 #endif |
| 603 typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); |
| 604 typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLu
int *arrays); |
| 605 typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arra
ys); |
| 606 typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); |
| 607 #endif |
| 608 |
441 /* GL_OES_vertex_half_float */ | 609 /* GL_OES_vertex_half_float */ |
442 #ifndef GL_OES_vertex_half_float | 610 #ifndef GL_OES_vertex_half_float |
443 #define GL_OES_vertex_half_float 1 | 611 #define GL_OES_vertex_half_float 1 |
444 #endif | 612 #endif |
445 | 613 |
446 /* GL_OES_vertex_type_10_10_10_2 */ | 614 /* GL_OES_vertex_type_10_10_10_2 */ |
447 #ifndef GL_OES_vertex_type_10_10_10_2 | 615 #ifndef GL_OES_vertex_type_10_10_10_2 |
448 #define GL_OES_vertex_type_10_10_10_2 1 | 616 #define GL_OES_vertex_type_10_10_10_2 1 |
449 #endif | 617 #endif |
450 | 618 |
(...skipping 10 matching lines...) Expand all Loading... |
461 #ifndef GL_AMD_compressed_ATC_texture | 629 #ifndef GL_AMD_compressed_ATC_texture |
462 #define GL_AMD_compressed_ATC_texture 1 | 630 #define GL_AMD_compressed_ATC_texture 1 |
463 #endif | 631 #endif |
464 | 632 |
465 /* AMD_performance_monitor */ | 633 /* AMD_performance_monitor */ |
466 #ifndef GL_AMD_performance_monitor | 634 #ifndef GL_AMD_performance_monitor |
467 #define GL_AMD_performance_monitor 1 | 635 #define GL_AMD_performance_monitor 1 |
468 #ifdef GL_GLEXT_PROTOTYPES | 636 #ifdef GL_GLEXT_PROTOTYPES |
469 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei
groupsSize, GLuint *groups); | 637 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei
groupsSize, GLuint *groups); |
470 GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *nu
mCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); | 638 GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *nu
mCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); |
471 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsize
i bufSize, GLsizei *length, char *groupString); | 639 GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsize
i bufSize, GLsizei *length, GLchar *groupString); |
472 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLui
nt counter, GLsizei bufSize, GLsizei *length, char *counterString); | 640 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLui
nt counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); |
473 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint
counter, GLenum pname, void *data); | 641 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint
counter, GLenum pname, GLvoid *data); |
474 GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); | 642 GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); |
475 GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors
); | 643 GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors
); |
476 GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLbo
olean enable, GLuint group, GLint numCounters, GLuint *countersList); | 644 GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLbo
olean enable, GLuint group, GLint numCounters, GLuint *countersList); |
477 GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); | 645 GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); |
478 GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); | 646 GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); |
479 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLen
um pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | 647 GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLen
um pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); |
480 #endif | 648 #endif |
481 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups,
GLsizei groupsSize, GLuint *groups); | 649 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups,
GLsizei groupsSize, GLuint *groups); |
482 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GL
int *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counter
s); | 650 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GL
int *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counter
s); |
483 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group,
GLsizei bufSize, GLsizei *length, char *groupString); | 651 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group,
GLsizei bufSize, GLsizei *length, GLchar *groupString); |
484 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint grou
p, GLuint counter, GLsizei bufSize, GLsizei *length, char *counterString); | 652 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint grou
p, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); |
485 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group,
GLuint counter, GLenum pname, void *data); | 653 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group,
GLuint counter, GLenum pname, GLvoid *data); |
486 typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *moni
tors); | 654 typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *moni
tors); |
487 typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *m
onitors); | 655 typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *m
onitors); |
488 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monito
r, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); | 656 typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monito
r, GLboolean enable, GLuint group, GLint numCounters, GLuint *countersList); |
489 typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); | 657 typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); |
490 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); | 658 typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); |
491 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monito
r, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | 659 typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monito
r, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); |
492 #endif | 660 #endif |
493 | 661 |
494 /* GL_AMD_program_binary_Z400 */ | 662 /* GL_AMD_program_binary_Z400 */ |
495 #ifndef GL_AMD_program_binary_Z400 | 663 #ifndef GL_AMD_program_binary_Z400 |
496 #define GL_AMD_program_binary_Z400 1 | 664 #define GL_AMD_program_binary_Z400 1 |
497 #endif | 665 #endif |
498 | 666 |
499 /*------------------------------------------------------------------------* | 667 /*------------------------------------------------------------------------* |
| 668 * ANGLE extension functions |
| 669 *------------------------------------------------------------------------*/ |
| 670 |
| 671 /* GL_ANGLE_framebuffer_blit */ |
| 672 #ifndef GL_ANGLE_framebuffer_blit |
| 673 #define GL_ANGLE_framebuffer_blit 1 |
| 674 #ifdef GL_GLEXT_PROTOTYPES |
| 675 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); |
| 676 #endif |
| 677 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); |
| 678 #endif |
| 679 |
| 680 /* GL_ANGLE_framebuffer_multisample */ |
| 681 #ifndef GL_ANGLE_framebuffer_multisample |
| 682 #define GL_ANGLE_framebuffer_multisample 1 |
| 683 #ifdef GL_GLEXT_PROTOTYPES |
| 684 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target
, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 685 #endif |
| 686 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum
target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 687 #endif |
| 688 |
| 689 /*------------------------------------------------------------------------* |
| 690 * APPLE extension functions |
| 691 *------------------------------------------------------------------------*/ |
| 692 |
| 693 /* GL_APPLE_rgb_422 */ |
| 694 #ifndef GL_APPLE_rgb_422 |
| 695 #define GL_APPLE_rgb_422 1 |
| 696 #endif |
| 697 |
| 698 /* GL_APPLE_framebuffer_multisample */ |
| 699 #ifndef GL_APPLE_framebuffer_multisample |
| 700 #define GL_APPLE_framebuffer_multisample 1 |
| 701 #ifdef GL_GLEXT_PROTOTYPES |
| 702 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum, GLsiz
ei, GLenum, GLsizei, GLsizei); |
| 703 GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); |
| 704 #endif /* GL_GLEXT_PROTOTYPES */ |
| 705 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum
target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 706 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); |
| 707 #endif |
| 708 |
| 709 /* GL_APPLE_texture_format_BGRA8888 */ |
| 710 #ifndef GL_APPLE_texture_format_BGRA8888 |
| 711 #define GL_APPLE_texture_format_BGRA8888 1 |
| 712 #endif |
| 713 |
| 714 /* GL_APPLE_texture_max_level */ |
| 715 #ifndef GL_APPLE_texture_max_level |
| 716 #define GL_APPLE_texture_max_level 1 |
| 717 #endif |
| 718 |
| 719 /*------------------------------------------------------------------------* |
| 720 * ARM extension functions |
| 721 *------------------------------------------------------------------------*/ |
| 722 |
| 723 /* GL_ARM_mali_shader_binary */ |
| 724 #ifndef GL_ARM_mali_shader_binary |
| 725 #define GL_ARM_mali_shader_binary 1 |
| 726 #endif |
| 727 |
| 728 /* GL_ARM_rgba8 */ |
| 729 #ifndef GL_ARM_rgba8 |
| 730 #define GL_ARM_rgba8 1 |
| 731 #endif |
| 732 |
| 733 /*------------------------------------------------------------------------* |
500 * EXT extension functions | 734 * EXT extension functions |
501 *------------------------------------------------------------------------*/ | 735 *------------------------------------------------------------------------*/ |
502 | 736 |
503 /* GL_EXT_blend_minmax */ | 737 /* GL_EXT_blend_minmax */ |
504 #ifndef GL_EXT_blend_minmax | 738 #ifndef GL_EXT_blend_minmax |
505 #define GL_EXT_blend_minmax 1 | 739 #define GL_EXT_blend_minmax 1 |
506 #endif | 740 #endif |
507 | 741 |
508 /* GL_EXT_discard_framebuffer */ | 742 /* GL_EXT_discard_framebuffer */ |
509 #ifndef GL_EXT_discard_framebuffer | 743 #ifndef GL_EXT_discard_framebuffer |
(...skipping 27 matching lines...) Expand all Loading... |
537 /* GL_EXT_texture_format_BGRA8888 */ | 771 /* GL_EXT_texture_format_BGRA8888 */ |
538 #ifndef GL_EXT_texture_format_BGRA8888 | 772 #ifndef GL_EXT_texture_format_BGRA8888 |
539 #define GL_EXT_texture_format_BGRA8888 1 | 773 #define GL_EXT_texture_format_BGRA8888 1 |
540 #endif | 774 #endif |
541 | 775 |
542 /* GL_EXT_texture_type_2_10_10_10_REV */ | 776 /* GL_EXT_texture_type_2_10_10_10_REV */ |
543 #ifndef GL_EXT_texture_type_2_10_10_10_REV | 777 #ifndef GL_EXT_texture_type_2_10_10_10_REV |
544 #define GL_EXT_texture_type_2_10_10_10_REV 1 | 778 #define GL_EXT_texture_type_2_10_10_10_REV 1 |
545 #endif | 779 #endif |
546 | 780 |
| 781 /* GL_EXT_texture_compression_dxt1 */ |
| 782 #ifndef GL_EXT_texture_compression_dxt1 |
| 783 #define GL_EXT_texture_compression_dxt1 1 |
| 784 #endif |
| 785 |
| 786 /* GL_EXT_shader_texture_lod */ |
| 787 #ifndef GL_EXT_shader_texture_lod |
| 788 #define GL_EXT_shader_texture_lod 1 |
| 789 #endif |
| 790 |
547 /*------------------------------------------------------------------------* | 791 /*------------------------------------------------------------------------* |
548 * IMG extension functions | 792 * IMG extension functions |
549 *------------------------------------------------------------------------*/ | 793 *------------------------------------------------------------------------*/ |
550 | 794 |
551 /* GL_IMG_program_binary */ | 795 /* GL_IMG_program_binary */ |
552 #ifndef GL_IMG_program_binary | 796 #ifndef GL_IMG_program_binary |
553 #define GL_IMG_program_binary 1 | 797 #define GL_IMG_program_binary 1 |
554 #endif | 798 #endif |
555 | 799 |
556 /* GL_IMG_read_format */ | 800 /* GL_IMG_read_format */ |
557 #ifndef GL_IMG_read_format | 801 #ifndef GL_IMG_read_format |
558 #define GL_IMG_read_format 1 | 802 #define GL_IMG_read_format 1 |
559 #endif | 803 #endif |
560 | 804 |
561 /* GL_IMG_shader_binary */ | 805 /* GL_IMG_shader_binary */ |
562 #ifndef GL_IMG_shader_binary | 806 #ifndef GL_IMG_shader_binary |
563 #define GL_IMG_shader_binary 1 | 807 #define GL_IMG_shader_binary 1 |
564 #endif | 808 #endif |
565 | 809 |
566 /* GL_IMG_texture_compression_pvrtc */ | 810 /* GL_IMG_texture_compression_pvrtc */ |
567 #ifndef GL_IMG_texture_compression_pvrtc | 811 #ifndef GL_IMG_texture_compression_pvrtc |
568 #define GL_IMG_texture_compression_pvrtc 1 | 812 #define GL_IMG_texture_compression_pvrtc 1 |
569 #endif | 813 #endif |
570 | 814 |
| 815 /* GL_IMG_multisampled_render_to_texture */ |
| 816 #ifndef GL_IMG_multisampled_render_to_texture |
| 817 #define GL_IMG_multisampled_render_to_texture 1 |
| 818 #ifdef GL_GLEXT_PROTOTYPES |
| 819 GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum, GLsizei
, GLenum, GLsizei, GLsizei); |
| 820 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum, GLenum
, GLenum, GLuint, GLint, GLsizei); |
| 821 #endif |
| 822 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum targe
t, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
| 823 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum targ
et, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei sa
mples); |
| 824 #endif |
| 825 |
571 /*------------------------------------------------------------------------* | 826 /*------------------------------------------------------------------------* |
572 * NV extension functions | 827 * NV extension functions |
573 *------------------------------------------------------------------------*/ | 828 *------------------------------------------------------------------------*/ |
574 | 829 |
575 /* GL_NV_fence */ | 830 /* GL_NV_fence */ |
576 #ifndef GL_NV_fence | 831 #ifndef GL_NV_fence |
577 #define GL_NV_fence 1 | 832 #define GL_NV_fence 1 |
578 #ifdef GL_GLEXT_PROTOTYPES | 833 #ifdef GL_GLEXT_PROTOTYPES |
579 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); | 834 GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei, const GLuint *); |
580 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei, GLuint *); | 835 GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei, GLuint *); |
581 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint); | 836 GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint); |
582 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint); | 837 GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint); |
583 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); | 838 GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *); |
584 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint); | 839 GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint); |
585 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint, GLenum); | 840 GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint, GLenum); |
586 #endif | 841 #endif |
587 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fe
nces); | 842 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fe
nces); |
588 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); | 843 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); |
589 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); | 844 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); |
590 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); | 845 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); |
591 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, G
Lint *params); | 846 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, G
Lint *params); |
592 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); | 847 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); |
593 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition)
; | 848 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition)
; |
594 #endif | 849 #endif |
595 | 850 |
| 851 /* GL_NV_coverage_sample */ |
| 852 #ifndef GL_NV_coverage_sample |
| 853 #define GL_NV_coverage_sample 1 |
| 854 #ifdef GL_GLEXT_PROTOTYPES |
| 855 GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); |
| 856 GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); |
| 857 #endif |
| 858 typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); |
| 859 typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); |
| 860 #endif |
| 861 |
| 862 /* GL_NV_depth_nonlinear */ |
| 863 #ifndef GL_NV_depth_nonlinear |
| 864 #define GL_NV_depth_nonlinear 1 |
| 865 #endif |
| 866 |
596 /*------------------------------------------------------------------------* | 867 /*------------------------------------------------------------------------* |
597 * QCOM extension functions | 868 * QCOM extension functions |
598 *------------------------------------------------------------------------*/ | 869 *------------------------------------------------------------------------*/ |
599 | 870 |
600 /* GL_QCOM_driver_control */ | 871 /* GL_QCOM_driver_control */ |
601 #ifndef GL_QCOM_driver_control | 872 #ifndef GL_QCOM_driver_control |
602 #define GL_QCOM_driver_control 1 | 873 #define GL_QCOM_driver_control 1 |
603 #ifdef GL_GLEXT_PROTOTYPES | 874 #ifdef GL_GLEXT_PROTOTYPES |
604 GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, G
Luint *driverControls); | 875 GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, G
Luint *driverControls); |
605 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl,
GLsizei bufSize, GLsizei *length, char *driverControlString); | 876 GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl,
GLsizei bufSize, GLsizei *length, GLchar *driverControlString); |
606 GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); | 877 GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); |
607 GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); | 878 GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); |
608 #endif | 879 #endif |
609 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei
size, GLuint *driverControls); | 880 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei
size, GLuint *driverControls); |
610 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverCo
ntrol, GLsizei bufSize, GLsizei *length, char *driverControlString); | 881 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverCo
ntrol, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); |
611 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverContr
ol); | 882 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverContr
ol); |
612 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverCont
rol); | 883 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverCont
rol); |
613 #endif | 884 #endif |
614 | 885 |
615 /* GL_QCOM_extended_get */ | 886 /* GL_QCOM_extended_get */ |
616 #ifndef GL_QCOM_extended_get | 887 #ifndef GL_QCOM_extended_get |
617 #define GL_QCOM_extended_get 1 | 888 #define GL_QCOM_extended_get 1 |
618 #ifdef GL_GLEXT_PROTOTYPES | 889 #ifdef GL_GLEXT_PROTOTYPES |
619 GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTex
tures, GLint *numTextures); | 890 GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTex
tures, GLint *numTextures); |
620 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffe
rs, GLint *numBuffers); | 891 GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffe
rs, GLint *numBuffers); |
621 GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GL
int maxRenderbuffers, GLint *numRenderbuffers); | 892 GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GL
int maxRenderbuffers, GLint *numRenderbuffers); |
622 GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLin
t maxFramebuffers, GLint *numFramebuffers); | 893 GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLin
t maxFramebuffers, GLint *numFramebuffers); |
623 GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLe
num face, GLint level, GLenum pname, GLint *params); | 894 GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLe
num face, GLint level, GLenum pname, GLint *params); |
624 GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLe
num pname, GLint param); | 895 GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLe
num pname, GLint param); |
625 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); | 896 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); |
626 GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **pa
rams); | 897 GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **
params); |
627 #endif | 898 #endif |
628 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint
maxTextures, GLint *numTextures); | 899 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint
maxTextures, GLint *numTextures); |
629 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint m
axBuffers, GLint *numBuffers); | 900 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint m
axBuffers, GLint *numBuffers); |
630 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuff
ers, GLint maxRenderbuffers, GLint *numRenderbuffers); | 901 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuff
ers, GLint maxRenderbuffers, GLint *numRenderbuffers); |
631 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffer
s, GLint maxFramebuffers, GLint *numFramebuffers); | 902 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffer
s, GLint maxFramebuffers, GLint *numFramebuffers); |
632 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint textu
re, GLenum face, GLint level, GLenum pname, GLint *params); | 903 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint textu
re, GLenum face, GLint level, GLenum pname, GLint *params); |
633 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum targ
et, GLenum pname, GLint param); | 904 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum targ
et, GLenum pname, GLint param); |
634 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); | 905 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); |
635 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, vo
id **params); | 906 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GL
void **params); |
636 #endif | 907 #endif |
637 | 908 |
638 /* GL_QCOM_extended_get2 */ | 909 /* GL_QCOM_extended_get2 */ |
639 #ifndef GL_QCOM_extended_get2 | 910 #ifndef GL_QCOM_extended_get2 |
640 #define GL_QCOM_extended_get2 1 | 911 #define GL_QCOM_extended_get2 1 |
641 #ifdef GL_GLEXT_PROTOTYPES | 912 #ifdef GL_GLEXT_PROTOTYPES |
642 GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShade
rs, GLint *numShaders); | 913 GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShade
rs, GLint *numShaders); |
643 GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPro
grams, GLint *numPrograms); | 914 GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPro
grams, GLint *numPrograms); |
644 GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); | 915 GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); |
645 GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLe
num shadertype, char *source, GLint *length); | 916 GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLe
num shadertype, GLchar *source, GLint *length); |
646 #endif | 917 #endif |
647 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint m
axShaders, GLint *numShaders); | 918 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint m
axShaders, GLint *numShaders); |
648 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint
maxPrograms, GLint *numPrograms); | 919 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint
maxPrograms, GLint *numPrograms); |
649 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program
); | 920 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program
); |
650 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint progr
am, GLenum shadertype, char *source, GLint *length); | 921 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint progr
am, GLenum shadertype, GLchar *source, GLint *length); |
651 #endif | 922 #endif |
652 | 923 |
653 /* GL_QCOM_perfmon_global_mode */ | 924 /* GL_QCOM_perfmon_global_mode */ |
654 #ifndef GL_QCOM_perfmon_global_mode | 925 #ifndef GL_QCOM_perfmon_global_mode |
655 #define GL_QCOM_perfmon_global_mode 1 | 926 #define GL_QCOM_perfmon_global_mode 1 |
656 #endif | 927 #endif |
657 | 928 |
658 /* GL_QCOM_writeonly_rendering */ | 929 /* GL_QCOM_writeonly_rendering */ |
659 #ifndef GL_QCOM_writeonly_rendering | 930 #ifndef GL_QCOM_writeonly_rendering |
660 #define GL_QCOM_writeonly_rendering 1 | 931 #define GL_QCOM_writeonly_rendering 1 |
661 #endif | 932 #endif |
662 | 933 |
| 934 /* GL_QCOM_tiled_rendering */ |
| 935 #ifndef GL_QCOM_tiled_rendering |
| 936 #define GL_QCOM_tiled_rendering 1 |
| 937 #ifdef GL_GLEXT_PROTOTYPES |
| 938 GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width,
GLuint height, GLbitfield preserveMask); |
| 939 GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); |
| 940 #endif |
| 941 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint
width, GLuint height, GLbitfield preserveMask); |
| 942 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); |
| 943 #endif |
| 944 |
| 945 /*------------------------------------------------------------------------* |
| 946 * VIV extension tokens |
| 947 *------------------------------------------------------------------------*/ |
| 948 |
| 949 /* GL_VIV_shader_binary */ |
| 950 #ifndef GL_VIV_shader_binary |
| 951 #define GL_VIV_shader_binary 1 |
| 952 #endif |
| 953 |
663 #ifdef __cplusplus | 954 #ifdef __cplusplus |
664 } | 955 } |
665 #endif | 956 #endif |
666 | 957 |
667 #endif /* __gl2ext_h_ */ | 958 #endif /* __gl2ext_h_ */ |
OLD | NEW |