1 #ifndef __gles_glext_h_
2 #define __gles_glext_h_
4 /* $Revision: 16481 $ on $Date:: 2012-01-04 10:43:56 -0800 #$ */
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/ .
16 # define GL_APIENTRYP GL_APIENTRY*
19 /*------------------------------------------------------------------------*
20 * OES extension tokens
21 *------------------------------------------------------------------------*/
23 /* GL_OES_blend_equation_separate */
24 #ifndef GL_OES_blend_equation_separate
25 /* BLEND_EQUATION_RGB_OES same as BLEND_EQUATION_OES */
26 #define GL_BLEND_EQUATION_RGB_OES 0x8009
27 #define GL_BLEND_EQUATION_ALPHA_OES 0x883D
30 /* GL_OES_blend_func_separate */
31 #ifndef GL_OES_blend_func_separate
32 #define GL_BLEND_DST_RGB_OES 0x80C8
33 #define GL_BLEND_SRC_RGB_OES 0x80C9
34 #define GL_BLEND_DST_ALPHA_OES 0x80CA
35 #define GL_BLEND_SRC_ALPHA_OES 0x80CB
38 /* GL_OES_blend_subtract */
39 #ifndef GL_OES_blend_subtract
40 #define GL_BLEND_EQUATION_OES 0x8009
41 #define GL_FUNC_ADD_OES 0x8006
42 #define GL_FUNC_SUBTRACT_OES 0x800A
43 #define GL_FUNC_REVERSE_SUBTRACT_OES 0x800B
46 /* GL_OES_compressed_ETC1_RGB8_texture */
47 #ifndef GL_OES_compressed_ETC1_RGB8_texture
48 #define GL_ETC1_RGB8_OES 0x8D64
52 #ifndef GL_OES_depth24
53 #define GL_DEPTH_COMPONENT24_OES 0x81A6
57 #ifndef GL_OES_depth32
58 #define GL_DEPTH_COMPONENT32_OES 0x81A7
61 /* GL_OES_draw_texture */
62 #ifndef GL_OES_draw_texture
63 #define GL_TEXTURE_CROP_RECT_OES 0x8B9D
66 /* GL_OES_EGL_image */
67 #ifndef GL_OES_EGL_image
68 typedef void* GLeglImageOES;
71 /* GL_OES_EGL_image_external */
72 #ifndef GL_OES_EGL_image_external
73 /* GLeglImageOES defined in GL_OES_EGL_image already. */
74 #define GL_TEXTURE_EXTERNAL_OES 0x8D65
75 #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
76 #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
79 /* GL_OES_element_index_uint */
80 #ifndef GL_OES_element_index_uint
81 #define GL_UNSIGNED_INT 0x1405
84 /* GL_OES_fixed_point */
85 #ifndef GL_OES_fixed_point
86 #define GL_FIXED_OES 0x140C
89 /* GL_OES_framebuffer_object */
90 #ifndef GL_OES_framebuffer_object
92 #define GL_FRAMEBUFFER_OES 0x8D40
93 #define GL_RENDERBUFFER_OES 0x8D41
94 #define GL_RGBA4_OES 0x8056
95 #define GL_RGB5_A1_OES 0x8057
96 #define GL_RGB565_OES 0x8D62
97 #define GL_DEPTH_COMPONENT16_OES 0x81A5
98 #define GL_RENDERBUFFER_WIDTH_OES 0x8D42
99 #define GL_RENDERBUFFER_HEIGHT_OES 0x8D43
100 #define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44
101 #define GL_RENDERBUFFER_RED_SIZE_OES 0x8D50
102 #define GL_RENDERBUFFER_GREEN_SIZE_OES 0x8D51
103 #define GL_RENDERBUFFER_BLUE_SIZE_OES 0x8D52
104 #define GL_RENDERBUFFER_ALPHA_SIZE_OES 0x8D53
105 #define GL_RENDERBUFFER_DEPTH_SIZE_OES 0x8D54
106 #define GL_RENDERBUFFER_STENCIL_SIZE_OES 0x8D55
107 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0
108 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1
109 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2
110 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3
111 #define GL_COLOR_ATTACHMENT0_OES 0x8CE0
112 #define GL_DEPTH_ATTACHMENT_OES 0x8D00
113 #define GL_STENCIL_ATTACHMENT_OES 0x8D20
114 #define GL_FRAMEBUFFER_COMPLETE_OES 0x8CD5
115 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6
116 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7
117 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9
118 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA
119 #define GL_FRAMEBUFFER_UNSUPPORTED_OES 0x8CDD
120 #define GL_FRAMEBUFFER_BINDING_OES 0x8CA6
121 #define GL_RENDERBUFFER_BINDING_OES 0x8CA7
122 #define GL_MAX_RENDERBUFFER_SIZE_OES 0x84E8
123 #define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506
126 /* GL_OES_mapbuffer */
127 #ifndef GL_OES_mapbuffer
128 #define GL_WRITE_ONLY_OES 0x88B9
129 #define GL_BUFFER_ACCESS_OES 0x88BB
130 #define GL_BUFFER_MAPPED_OES 0x88BC
131 #define GL_BUFFER_MAP_POINTER_OES 0x88BD
134 /* GL_OES_matrix_get */
135 #ifndef GL_OES_matrix_get
136 #define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D
137 #define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E
138 #define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F
141 /* GL_OES_matrix_palette */
142 #ifndef GL_OES_matrix_palette
143 #define GL_MAX_VERTEX_UNITS_OES 0x86A4
144 #define GL_MAX_PALETTE_MATRICES_OES 0x8842
145 #define GL_MATRIX_PALETTE_OES 0x8840
146 #define GL_MATRIX_INDEX_ARRAY_OES 0x8844
147 #define GL_WEIGHT_ARRAY_OES 0x86AD
148 #define GL_CURRENT_PALETTE_MATRIX_OES 0x8843
149 #define GL_MATRIX_INDEX_ARRAY_SIZE_OES 0x8846
150 #define GL_MATRIX_INDEX_ARRAY_TYPE_OES 0x8847
151 #define GL_MATRIX_INDEX_ARRAY_STRIDE_OES 0x8848
152 #define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849
153 #define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E
154 #define GL_WEIGHT_ARRAY_SIZE_OES 0x86AB
155 #define GL_WEIGHT_ARRAY_TYPE_OES 0x86A9
156 #define GL_WEIGHT_ARRAY_STRIDE_OES 0x86AA
157 #define GL_WEIGHT_ARRAY_POINTER_OES 0x86AC
158 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E
161 /* GL_OES_packed_depth_stencil */
162 #ifndef GL_OES_packed_depth_stencil
163 #define GL_DEPTH_STENCIL_OES 0x84F9
164 #define GL_UNSIGNED_INT_24_8_OES 0x84FA
165 #define GL_DEPTH24_STENCIL8_OES 0x88F0
168 /* GL_OES_rgb8_rgba8 */
169 #ifndef GL_OES_rgb8_rgba8
170 #define GL_RGB8_OES 0x8051
171 #define GL_RGBA8_OES 0x8058
174 /* GL_OES_stencil1 */
175 #ifndef GL_OES_stencil1
176 #define GL_STENCIL_INDEX1_OES 0x8D46
179 /* GL_OES_stencil4 */
180 #ifndef GL_OES_stencil4
181 #define GL_STENCIL_INDEX4_OES 0x8D47
184 /* GL_OES_stencil8 */
185 #ifndef GL_OES_stencil8
186 #define GL_STENCIL_INDEX8_OES 0x8D48
189 /* GL_OES_stencil_wrap */
190 #ifndef GL_OES_stencil_wrap
191 #define GL_INCR_WRAP_OES 0x8507
192 #define GL_DECR_WRAP_OES 0x8508
195 /* GL_OES_texture_cube_map */
196 #ifndef GL_OES_texture_cube_map
197 #define GL_NORMAL_MAP_OES 0x8511
198 #define GL_REFLECTION_MAP_OES 0x8512
199 #define GL_TEXTURE_CUBE_MAP_OES 0x8513
200 #define GL_TEXTURE_BINDING_CUBE_MAP_OES 0x8514
201 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515
202 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516
203 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517
204 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518
205 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519
206 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A
207 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES 0x851C
208 #define GL_TEXTURE_GEN_MODE_OES 0x2500
209 #define GL_TEXTURE_GEN_STR_OES 0x8D60
212 /* GL_OES_texture_mirrored_repeat */
213 #ifndef GL_OES_texture_mirrored_repeat
214 #define GL_MIRRORED_REPEAT_OES 0x8370
217 /* GL_OES_vertex_array_object */
218 #ifndef GL_OES_vertex_array_object
219 #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
222 /*------------------------------------------------------------------------*
223 * AMD extension tokens
224 *------------------------------------------------------------------------*/
226 /* GL_AMD_compressed_3DC_texture */
227 #ifndef GL_AMD_compressed_3DC_texture
228 #define GL_3DC_X_AMD 0x87F9
229 #define GL_3DC_XY_AMD 0x87FA
232 /* GL_AMD_compressed_ATC_texture */
233 #ifndef GL_AMD_compressed_ATC_texture
234 #define GL_ATC_RGB_AMD 0x8C92
235 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
236 #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
239 /*------------------------------------------------------------------------*
240 * APPLE extension tokens
241 *------------------------------------------------------------------------*/
243 /* GL_APPLE_texture_2D_limited_npot */
244 /* No new tokens introduced by this extension. */
246 /* GL_APPLE_framebuffer_multisample */
247 #ifndef GL_APPLE_framebuffer_multisample
248 #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
249 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
250 #define GL_MAX_SAMPLES_APPLE 0x8D57
251 #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
252 #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
253 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
254 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
257 /* GL_APPLE_texture_format_BGRA8888 */
258 #ifndef GL_APPLE_texture_format_BGRA8888
259 #define GL_BGRA_EXT 0x80E1
262 /* GL_APPLE_texture_max_level */
263 #ifndef GL_APPLE_texture_max_level
264 #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
267 /*------------------------------------------------------------------------*
268 * ARM extension tokens
269 *------------------------------------------------------------------------*/
272 /* No new tokens introduced by this extension. */
274 /*------------------------------------------------------------------------*
275 * EXT extension tokens
276 *------------------------------------------------------------------------*/
278 /* GL_EXT_blend_minmax */
279 #ifndef GL_EXT_blend_minmax
280 #define GL_MIN_EXT 0x8007
281 #define GL_MAX_EXT 0x8008
284 /* GL_EXT_discard_framebuffer */
285 #ifndef GL_EXT_discard_framebuffer
286 #define GL_COLOR_EXT 0x1800
287 #define GL_DEPTH_EXT 0x1801
288 #define GL_STENCIL_EXT 0x1802
291 /* GL_EXT_multisampled_render_to_texture */
292 #ifndef GL_EXT_multisampled_render_to_texture
293 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
294 #define GL_RENDERBUFFER_SAMPLES_EXT 0x9133
295 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x9134
296 #define GL_MAX_SAMPLES_EXT 0x9135
299 /* GL_EXT_multi_draw_arrays */
300 /* No new tokens introduced by this extension. */
302 /* GL_EXT_read_format_bgra */
303 #ifndef GL_EXT_read_format_bgra
304 #define GL_BGRA_EXT 0x80E1
305 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
306 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
309 /* GL_EXT_robustness */
310 #ifndef GL_EXT_robustness
311 /* reuse GL_NO_ERROR */
312 #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
313 #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
314 #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
315 #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
316 #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
317 #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
318 #define GL_NO_RESET_NOTIFICATION_EXT 0x8261
323 #define GL_SRGB_EXT 0x8C40
324 #define GL_SRGB_ALPHA_EXT 0x8C42
325 #define GL_SRGB8_ALPHA8_EXT 0x8C43
326 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
329 /* GL_EXT_texture_compression_dxt1 */
330 #ifndef GL_EXT_texture_compression_dxt1
331 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
332 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
335 /* GL_EXT_texture_filter_anisotropic */
336 #ifndef GL_EXT_texture_filter_anisotropic
337 #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
338 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
341 /* GL_EXT_texture_format_BGRA8888 */
342 #ifndef GL_EXT_texture_format_BGRA8888
343 #define GL_BGRA_EXT 0x80E1
346 /* GL_EXT_texture_lod_bias */
347 #ifndef GL_EXT_texture_lod_bias
348 #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
349 #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
350 #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
353 /* GL_EXT_texture_storage */
354 #ifndef GL_EXT_texture_storage
355 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
356 #define GL_ALPHA8_EXT 0x803C
357 #define GL_LUMINANCE8_EXT 0x8040
358 #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
359 #define GL_RGBA32F_EXT 0x8814
360 #define GL_RGB32F_EXT 0x8815
361 #define GL_ALPHA32F_EXT 0x8816
362 #define GL_LUMINANCE32F_EXT 0x8818
363 #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
364 /* reuse GL_RGBA16F_EXT */
365 #define GL_RGB16F_EXT 0x881B
366 #define GL_ALPHA16F_EXT 0x881C
367 #define GL_LUMINANCE16F_EXT 0x881E
368 #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
369 #define GL_RGB10_A2_EXT 0x8059
370 #define GL_RGB10_EXT 0x8052
371 #define GL_BGRA8_EXT 0x93A1
374 /*------------------------------------------------------------------------*
375 * IMG extension tokens
376 *------------------------------------------------------------------------*/
378 /* GL_IMG_read_format */
379 #ifndef GL_IMG_read_format
380 #define GL_BGRA_IMG 0x80E1
381 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
384 /* GL_IMG_texture_compression_pvrtc */
385 #ifndef GL_IMG_texture_compression_pvrtc
386 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
387 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
388 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
389 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
392 /* GL_IMG_texture_env_enhanced_fixed_function */
393 #ifndef GL_IMG_texture_env_enhanced_fixed_function
394 #define GL_MODULATE_COLOR_IMG 0x8C04
395 #define GL_RECIP_ADD_SIGNED_ALPHA_IMG 0x8C05
396 #define GL_TEXTURE_ALPHA_MODULATE_IMG 0x8C06
397 #define GL_FACTOR_ALPHA_MODULATE_IMG 0x8C07
398 #define GL_FRAGMENT_ALPHA_MODULATE_IMG 0x8C08
399 #define GL_ADD_BLEND_IMG 0x8C09
400 #define GL_DOT3_RGBA_IMG 0x86AF
403 /* GL_IMG_user_clip_plane */
404 #ifndef GL_IMG_user_clip_plane
405 #define GL_CLIP_PLANE0_IMG 0x3000
406 #define GL_CLIP_PLANE1_IMG 0x3001
407 #define GL_CLIP_PLANE2_IMG 0x3002
408 #define GL_CLIP_PLANE3_IMG 0x3003
409 #define GL_CLIP_PLANE4_IMG 0x3004
410 #define GL_CLIP_PLANE5_IMG 0x3005
411 #define GL_MAX_CLIP_PLANES_IMG 0x0D32
414 /* GL_IMG_multisampled_render_to_texture */
415 #ifndef GL_IMG_multisampled_render_to_texture
416 #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
417 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
418 #define GL_MAX_SAMPLES_IMG 0x9135
419 #define GL_TEXTURE_SAMPLES_IMG 0x9136
422 /*------------------------------------------------------------------------*
423 * NV extension tokens
424 *------------------------------------------------------------------------*/
428 #define GL_ALL_COMPLETED_NV 0x84F2
429 #define GL_FENCE_STATUS_NV 0x84F3
430 #define GL_FENCE_CONDITION_NV 0x84F4
433 /*------------------------------------------------------------------------*
434 * QCOM extension tokens
435 *------------------------------------------------------------------------*/
437 /* GL_QCOM_driver_control */
438 /* No new tokens introduced by this extension. */
440 /* GL_QCOM_extended_get */
441 #ifndef GL_QCOM_extended_get
442 #define GL_TEXTURE_WIDTH_QCOM 0x8BD2
443 #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3
444 #define GL_TEXTURE_DEPTH_QCOM 0x8BD4
445 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5
446 #define GL_TEXTURE_FORMAT_QCOM 0x8BD6
447 #define GL_TEXTURE_TYPE_QCOM 0x8BD7
448 #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8
449 #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9
450 #define GL_TEXTURE_TARGET_QCOM 0x8BDA
451 #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB
452 #define GL_STATE_RESTORE 0x8BDC
455 /* GL_QCOM_extended_get2 */
456 /* No new tokens introduced by this extension. */
458 /* GL_QCOM_perfmon_global_mode */
459 #ifndef GL_QCOM_perfmon_global_mode
460 #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
463 /* GL_QCOM_writeonly_rendering */
464 #ifndef GL_QCOM_writeonly_rendering
465 #define GL_WRITEONLY_RENDERING_QCOM 0x8823
468 /* GL_QCOM_tiled_rendering */
469 #ifndef GL_QCOM_tiled_rendering
470 #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001
471 #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002
472 #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004
473 #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008
474 #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010
475 #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020
476 #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040
477 #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080
478 #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100
479 #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200
480 #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400
481 #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800
482 #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000
483 #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000
484 #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000
485 #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000
486 #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000
487 #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000
488 #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000
489 #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000
490 #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000
491 #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000
492 #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000
493 #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000
494 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000
495 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000
496 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000
497 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000
498 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000
499 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000
500 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000
501 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000
504 /*------------------------------------------------------------------------*
505 * End of extension tokens, start of corresponding extension functions
506 *------------------------------------------------------------------------*/
508 /*------------------------------------------------------------------------*
509 * OES extension functions
510 *------------------------------------------------------------------------*/
512 /* GL_OES_blend_equation_separate */
513 #ifndef GL_OES_blend_equation_separate
514 #define GL_OES_blend_equation_separate 1
515 #ifdef GL_GLEXT_PROTOTYPES
516 GL_API void GL_APIENTRY glBlendEquationSeparateOES (GLenum modeRGB, GLenum modeAlpha);
518 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEOESPROC) (GLenum modeRGB, GLenum modeAlpha);
521 /* GL_OES_blend_func_separate */
522 #ifndef GL_OES_blend_func_separate
523 #define GL_OES_blend_func_separate 1
524 #ifdef GL_GLEXT_PROTOTYPES
525 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
527 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
530 /* GL_OES_blend_subtract */
531 #ifndef GL_OES_blend_subtract
532 #define GL_OES_blend_subtract 1
533 #ifdef GL_GLEXT_PROTOTYPES
534 GL_API void GL_APIENTRY glBlendEquationOES (GLenum mode);
536 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONOESPROC) (GLenum mode);
539 /* GL_OES_byte_coordinates */
540 #ifndef GL_OES_byte_coordinates
541 #define GL_OES_byte_coordinates 1
544 /* GL_OES_compressed_ETC1_RGB8_texture */
545 #ifndef GL_OES_compressed_ETC1_RGB8_texture
546 #define GL_OES_compressed_ETC1_RGB8_texture 1
550 #ifndef GL_OES_depth24
551 #define GL_OES_depth24 1
555 #ifndef GL_OES_depth32
556 #define GL_OES_depth32 1
559 /* GL_OES_draw_texture */
560 #ifndef GL_OES_draw_texture
561 #define GL_OES_draw_texture 1
562 #ifdef GL_GLEXT_PROTOTYPES
563 GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
564 GL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height);
565 GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
566 GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords);
567 GL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords);
568 GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords);
569 GL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
570 GL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords);
572 typedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
573 typedef void (GL_APIENTRYP PFNGLDRAWTEXIOESPROC) (GLint x, GLint y, GLint z, GLint width, GLint height);
574 typedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
575 typedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESPROC) (const GLshort *coords);
576 typedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESPROC) (const GLint *coords);
577 typedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords);
578 typedef void (GL_APIENTRYP PFNGLDRAWTEXFOESPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
579 typedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESPROC) (const GLfloat *coords);
582 /* GL_OES_EGL_image */
583 #ifndef GL_OES_EGL_image
584 #define GL_OES_EGL_image 1
585 #ifdef GL_GLEXT_PROTOTYPES
586 GL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
587 GL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
589 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
590 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
593 /* GL_OES_EGL_image_external */
594 #ifndef GL_OES_EGL_image_external
595 #define GL_OES_EGL_image_external 1
596 /* glEGLImageTargetTexture2DOES defined in GL_OES_EGL_image already. */
599 /* GL_OES_element_index_uint */
600 #ifndef GL_OES_element_index_uint
601 #define GL_OES_element_index_uint 1
604 /* GL_OES_extended_matrix_palette */
605 #ifndef GL_OES_extended_matrix_palette
606 #define GL_OES_extended_matrix_palette 1
609 /* GL_OES_fbo_render_mipmap */
610 #ifndef GL_OES_fbo_render_mipmap
611 #define GL_OES_fbo_render_mipmap 1
614 /* GL_OES_fixed_point */
615 #ifndef GL_OES_fixed_point
616 #define GL_OES_fixed_point 1
617 #ifdef GL_GLEXT_PROTOTYPES
618 GL_API void GL_APIENTRY glAlphaFuncxOES (GLenum func, GLclampx ref);
619 GL_API void GL_APIENTRY glClearColorxOES (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
620 GL_API void GL_APIENTRY glClearDepthxOES (GLclampx depth);
621 GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
622 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
623 GL_API void GL_APIENTRY glDepthRangexOES (GLclampx zNear, GLclampx zFar);
624 GL_API void GL_APIENTRY glFogxOES (GLenum pname, GLfixed param);
625 GL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *params);
626 GL_API void GL_APIENTRY glFrustumxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
627 GL_API void GL_APIENTRY glGetClipPlanexOES (GLenum pname, GLfixed eqn[4]);
628 GL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
629 GL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params);
630 GL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params);
631 GL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum env, GLenum pname, GLfixed *params);
632 GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
633 GL_API void GL_APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
634 GL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *params);
635 GL_API void GL_APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
636 GL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
637 GL_API void GL_APIENTRY glLineWidthxOES (GLfixed width);
638 GL_API void GL_APIENTRY glLoadMatrixxOES (const GLfixed *m);
639 GL_API void GL_APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
640 GL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *params);
641 GL_API void GL_APIENTRY glMultMatrixxOES (const GLfixed *m);
642 GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
643 GL_API void GL_APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
644 GL_API void GL_APIENTRY glOrthoxOES (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
645 GL_API void GL_APIENTRY glPointParameterxOES (GLenum pname, GLfixed param);
646 GL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
647 GL_API void GL_APIENTRY glPointSizexOES (GLfixed size);
648 GL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
649 GL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
650 GL_API void GL_APIENTRY glSampleCoveragexOES (GLclampx value, GLboolean invert);
651 GL_API void GL_APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
652 GL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
653 GL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
654 GL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
655 GL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
656 GL_API void GL_APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
658 typedef void (GL_APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLclampx ref);
659 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
660 typedef void (GL_APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLclampx depth);
661 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
662 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
663 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLclampx zNear, GLclampx zFar);
664 typedef void (GL_APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
665 typedef void (GL_APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *params);
666 typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
667 typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum pname, GLfixed eqn[4]);
668 typedef void (GL_APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
669 typedef void (GL_APIENTRYP PFNGLGETLIGHTXVOESPROC) (GLenum light, GLenum pname, GLfixed *params);
670 typedef void (GL_APIENTRYP PFNGLGETMATERIALXVOESPROC) (GLenum face, GLenum pname, GLfixed *params);
671 typedef void (GL_APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum env, GLenum pname, GLfixed *params);
672 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
673 typedef void (GL_APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
674 typedef void (GL_APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *params);
675 typedef void (GL_APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
676 typedef void (GL_APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
677 typedef void (GL_APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
678 typedef void (GL_APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
679 typedef void (GL_APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
680 typedef void (GL_APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *params);
681 typedef void (GL_APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
682 typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
683 typedef void (GL_APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
684 typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
685 typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXOESPROC) (GLenum pname, GLfixed param);
686 typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
687 typedef void (GL_APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
688 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
689 typedef void (GL_APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
690 typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXOESPROC) (GLclampx value, GLboolean invert);
691 typedef void (GL_APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
692 typedef void (GL_APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
693 typedef void (GL_APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
694 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
695 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
696 typedef void (GL_APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
699 /* GL_OES_framebuffer_object */
700 #ifndef GL_OES_framebuffer_object
701 #define GL_OES_framebuffer_object 1
702 #ifdef GL_GLEXT_PROTOTYPES
703 GL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer);
704 GL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer);
705 GL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint* renderbuffers);
706 GL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint* renderbuffers);
707 GL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
708 GL_API void GL_APIENTRY glGetRenderbufferParameterivOES (GLenum target, GLenum pname, GLint* params);
709 GL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer);
710 GL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer);
711 GL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint* framebuffers);
712 GL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint* framebuffers);
713 GL_API GLenum GL_APIENTRY glCheckFramebufferStatusOES (GLenum target);
714 GL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
715 GL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
716 GL_API void GL_APIENTRY glGetFramebufferAttachmentParameterivOES (GLenum target, GLenum attachment, GLenum pname, GLint* params);
717 GL_API void GL_APIENTRY glGenerateMipmapOES (GLenum target);
719 typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFEROESPROC) (GLuint renderbuffer);
720 typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFEROESPROC) (GLenum target, GLuint renderbuffer);
721 typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSOESPROC) (GLsizei n, const GLuint* renderbuffers);
722 typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSOESPROC) (GLsizei n, GLuint* renderbuffers);
723 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
724 typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVOESPROC) (GLenum target, GLenum pname, GLint* params);
725 typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFEROESPROC) (GLuint framebuffer);
726 typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFEROESPROC) (GLenum target, GLuint framebuffer);
727 typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSOESPROC) (GLsizei n, const GLuint* framebuffers);
728 typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSOESPROC) (GLsizei n, GLuint* framebuffers);
729 typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSOESPROC) (GLenum target);
730 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEROESPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
731 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
732 typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
733 typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPOESPROC) (GLenum target);
736 /* GL_OES_mapbuffer */
737 #ifndef GL_OES_mapbuffer
738 #define GL_OES_mapbuffer 1
739 #ifdef GL_GLEXT_PROTOTYPES
740 GL_API void* GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
741 GL_API GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
742 GL_API void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, GLvoid ** params);
744 typedef void* (GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
745 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
746 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, GLvoid ** params);
749 /* GL_OES_matrix_get */
750 #ifndef GL_OES_matrix_get
751 #define GL_OES_matrix_get 1
754 /* GL_OES_matrix_palette */
755 #ifndef GL_OES_matrix_palette
756 #define GL_OES_matrix_palette 1
757 #ifdef GL_GLEXT_PROTOTYPES
758 GL_API void GL_APIENTRY glCurrentPaletteMatrixOES (GLuint matrixpaletteindex);
759 GL_API void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES (void);
760 GL_API void GL_APIENTRY glMatrixIndexPointerOES (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
761 GL_API void GL_APIENTRY glWeightPointerOES (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
763 typedef void (GL_APIENTRYP PFNGLCURRENTPALETTEMATRIXOESPROC) (GLuint matrixpaletteindex);
764 typedef void (GL_APIENTRYP PFNGLLOADPALETTEFROMMODELVIEWMATRIXOESPROC) (void);
765 typedef void (GL_APIENTRYP PFNGLMATRIXINDEXPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
766 typedef void (GL_APIENTRYP PFNGLWEIGHTPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
769 /* GL_OES_packed_depth_stencil */
770 #ifndef GL_OES_packed_depth_stencil
771 #define GL_OES_packed_depth_stencil 1
774 /* GL_OES_query_matrix */
775 #ifndef GL_OES_query_matrix
776 #define GL_OES_query_matrix 1
777 #ifdef GL_GLEXT_PROTOTYPES
778 GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed mantissa[16], GLint exponent[16]);
780 typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed mantissa[16], GLint exponent[16]);
783 /* GL_OES_rgb8_rgba8 */
784 #ifndef GL_OES_rgb8_rgba8
785 #define GL_OES_rgb8_rgba8 1
788 /* GL_OES_single_precision */
789 #ifndef GL_OES_single_precision
790 #define GL_OES_single_precision 1
791 #ifdef GL_GLEXT_PROTOTYPES
792 GL_API void GL_APIENTRY glDepthRangefOES (GLclampf zNear, GLclampf zFar);
793 GL_API void GL_APIENTRY glFrustumfOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
794 GL_API void GL_APIENTRY glOrthofOES (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
795 GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
796 GL_API void GL_APIENTRY glGetClipPlanefOES (GLenum pname, GLfloat eqn[4]);
797 GL_API void GL_APIENTRY glClearDepthfOES (GLclampf depth);
799 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf zNear, GLclampf zFar);
800 typedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
801 typedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
802 typedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
803 typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum pname, GLfloat eqn[4]);
804 typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
807 /* GL_OES_stencil1 */
808 #ifndef GL_OES_stencil1
809 #define GL_OES_stencil1 1
812 /* GL_OES_stencil4 */
813 #ifndef GL_OES_stencil4
814 #define GL_OES_stencil4 1
817 /* GL_OES_stencil8 */
818 #ifndef GL_OES_stencil8
819 #define GL_OES_stencil8 1
822 /* GL_OES_stencil_wrap */
823 #ifndef GL_OES_stencil_wrap
824 #define GL_OES_stencil_wrap 1
827 /* GL_OES_texture_cube_map */
828 #ifndef GL_OES_texture_cube_map
829 #define GL_OES_texture_cube_map 1
830 #ifdef GL_GLEXT_PROTOTYPES
831 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param);
832 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params);
833 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param);
834 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params);
835 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
836 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
837 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params);
838 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params);
839 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
841 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param);
842 typedef void (GL_APIENTRYP PFNGLTEXGENFVOESPROC) (GLenum coord, GLenum pname, const GLfloat *params);
843 typedef void (GL_APIENTRYP PFNGLTEXGENIOESPROC) (GLenum coord, GLenum pname, GLint param);
844 typedef void (GL_APIENTRYP PFNGLTEXGENIVOESPROC) (GLenum coord, GLenum pname, const GLint *params);
845 typedef void (GL_APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
846 typedef void (GL_APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
847 typedef void (GL_APIENTRYP PFNGLGETTEXGENFVOESPROC) (GLenum coord, GLenum pname, GLfloat *params);
848 typedef void (GL_APIENTRYP PFNGLGETTEXGENIVOESPROC) (GLenum coord, GLenum pname, GLint *params);
849 typedef void (GL_APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
852 /* GL_OES_texture_env_crossbar */
853 #ifndef GL_OES_texture_env_crossbar
854 #define GL_OES_texture_env_crossbar 1
857 /* GL_OES_texture_mirrored_repeat */
858 #ifndef GL_OES_texture_mirrored_repeat
859 #define GL_OES_texture_mirrored_repeat 1
862 /* GL_OES_vertex_array_object */
863 #ifndef GL_OES_vertex_array_object
864 #define GL_OES_vertex_array_object 1
865 #ifdef GL_GLEXT_PROTOTYPES
866 GL_API void GL_APIENTRY glBindVertexArrayOES (GLuint array);
867 GL_API void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
868 GL_API void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
869 GL_API GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
871 typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
872 typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
873 typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
874 typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
877 /*------------------------------------------------------------------------*
878 * AMD extension functions
879 *------------------------------------------------------------------------*/
881 /* GL_AMD_compressed_3DC_texture */
882 #ifndef GL_AMD_compressed_3DC_texture
883 #define GL_AMD_compressed_3DC_texture 1
886 /* GL_AMD_compressed_ATC_texture */
887 #ifndef GL_AMD_compressed_ATC_texture
888 #define GL_AMD_compressed_ATC_texture 1
891 /*------------------------------------------------------------------------*
892 * APPLE extension functions
893 *------------------------------------------------------------------------*/
895 /* GL_APPLE_texture_2D_limited_npot */
896 #ifndef GL_APPLE_texture_2D_limited_npot
897 #define GL_APPLE_texture_2D_limited_npot 1
900 /* GL_APPLE_framebuffer_multisample */
901 #ifndef GL_APPLE_framebuffer_multisample
902 #define GL_APPLE_framebuffer_multisample 1
903 #ifdef GL_GLEXT_PROTOTYPES
904 GL_API void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
905 GL_API void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
906 #endif /* GL_GLEXT_PROTOTYPES */
907 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
908 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
911 /* GL_APPLE_texture_format_BGRA8888 */
912 #ifndef GL_APPLE_texture_format_BGRA8888
913 #define GL_APPLE_texture_format_BGRA8888 1
916 /* GL_APPLE_texture_max_level */
917 #ifndef GL_APPLE_texture_max_level
918 #define GL_APPLE_texture_max_level 1
921 /*------------------------------------------------------------------------*
922 * ARM extension functions
923 *------------------------------------------------------------------------*/
927 #define GL_ARM_rgba8 1
930 /*------------------------------------------------------------------------*
931 * EXT extension functions
932 *------------------------------------------------------------------------*/
934 /* GL_EXT_blend_minmax */
935 #ifndef GL_EXT_blend_minmax
936 #define GL_EXT_blend_minmax 1
939 /* GL_EXT_discard_framebuffer */
940 #ifndef GL_EXT_discard_framebuffer
941 #define GL_EXT_discard_framebuffer 1
942 #ifdef GL_GLEXT_PROTOTYPES
943 GL_API void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
945 typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
948 /* GL_EXT_multisampled_render_to_texture */
949 #ifndef GL_EXT_multisampled_render_to_texture
950 #define GL_EXT_multisampled_render_to_texture 1
951 #ifdef GL_GLEXT_PROTOTYPES
952 GL_API void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
953 GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum, GLenum, GLenum, GLuint, GLint, GLsizei);
955 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
956 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
959 /* GL_EXT_multi_draw_arrays */
960 #ifndef GL_EXT_multi_draw_arrays
961 #define GL_EXT_multi_draw_arrays 1
962 #ifdef GL_GLEXT_PROTOTYPES
963 GL_API void GL_APIENTRY glMultiDrawArraysEXT (GLenum, GLint *, GLsizei *, GLsizei);
964 GL_API void GL_APIENTRY glMultiDrawElementsEXT (GLenum, const GLsizei *, GLenum, const GLvoid* *, GLsizei);
965 #endif /* GL_GLEXT_PROTOTYPES */
966 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount);
967 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
970 /* GL_EXT_read_format_bgra */
971 #ifndef GL_EXT_read_format_bgra
972 #define GL_EXT_read_format_bgra 1
975 /* GL_EXT_robustness */
976 #ifndef GL_EXT_robustness
977 #define GL_EXT_robustness 1
978 #ifdef GL_GLEXT_PROTOTYPES
979 GL_API GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
980 GL_API void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
981 GL_API void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, float *params);
982 GL_API void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
984 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
985 typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
986 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, float *params);
987 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
992 #define GL_EXT_sRGB 1
995 /* GL_EXT_texture_compression_dxt1 */
996 #ifndef GL_EXT_texture_compression_dxt1
997 #define GL_EXT_texture_compression_dxt1 1
1000 /* GL_EXT_texture_filter_anisotropic */
1001 #ifndef GL_EXT_texture_filter_anisotropic
1002 #define GL_EXT_texture_filter_anisotropic 1
1005 /* GL_EXT_texture_format_BGRA8888 */
1006 #ifndef GL_EXT_texture_format_BGRA8888
1007 #define GL_EXT_texture_format_BGRA8888 1
1010 /* GL_EXT_texture_lod_bias */
1011 #ifndef GL_EXT_texture_lod_bias
1012 #define GL_EXT_texture_lod_bias 1
1015 /* GL_EXT_texture_storage */
1016 #ifndef GL_EXT_texture_storage
1017 #define GL_EXT_texture_storage 1
1018 #ifdef GL_GLEXT_PROTOTYPES
1019 GL_API void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1020 GL_API void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1021 GL_API void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1022 GL_API void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1023 GL_API void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1024 GL_API void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1026 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1027 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1028 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1029 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1030 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1031 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1034 /*------------------------------------------------------------------------*
1035 * IMG extension functions
1036 *------------------------------------------------------------------------*/
1038 /* GL_IMG_read_format */
1039 #ifndef GL_IMG_read_format
1040 #define GL_IMG_read_format 1
1043 /* GL_IMG_texture_compression_pvrtc */
1044 #ifndef GL_IMG_texture_compression_pvrtc
1045 #define GL_IMG_texture_compression_pvrtc 1
1048 /* GL_IMG_texture_env_enhanced_fixed_function */
1049 #ifndef GL_IMG_texture_env_enhanced_fixed_function
1050 #define GL_IMG_texture_env_enhanced_fixed_function 1
1053 /* GL_IMG_user_clip_plane */
1054 #ifndef GL_IMG_user_clip_plane
1055 #define GL_IMG_user_clip_plane 1
1056 #ifdef GL_GLEXT_PROTOTYPES
1057 GL_API void GL_APIENTRY glClipPlanefIMG (GLenum, const GLfloat *);
1058 GL_API void GL_APIENTRY glClipPlanexIMG (GLenum, const GLfixed *);
1060 typedef void (GL_APIENTRYP PFNGLCLIPPLANEFIMGPROC) (GLenum p, const GLfloat *eqn);
1061 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXIMGPROC) (GLenum p, const GLfixed *eqn);
1064 /* GL_IMG_multisampled_render_to_texture */
1065 #ifndef GL_IMG_multisampled_render_to_texture
1066 #define GL_IMG_multisampled_render_to_texture 1
1067 #ifdef GL_GLEXT_PROTOTYPES
1068 GL_API void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum, GLsizei, GLenum, GLsizei, GLsizei);
1069 GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum, GLenum, GLenum, GLuint, GLint, GLsizei);
1071 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMG) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1072 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMG) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
1075 /*------------------------------------------------------------------------*
1076 * NV extension functions
1077 *------------------------------------------------------------------------*/
1081 #define GL_NV_fence 1
1082 #ifdef GL_GLEXT_PROTOTYPES
1083 GL_API void GL_APIENTRY glDeleteFencesNV (GLsizei, const GLuint *);
1084 GL_API void GL_APIENTRY glGenFencesNV (GLsizei, GLuint *);
1085 GL_API GLboolean GL_APIENTRY glIsFenceNV (GLuint);
1086 GL_API GLboolean GL_APIENTRY glTestFenceNV (GLuint);
1087 GL_API void GL_APIENTRY glGetFenceivNV (GLuint, GLenum, GLint *);
1088 GL_API void GL_APIENTRY glFinishFenceNV (GLuint);
1089 GL_API void GL_APIENTRY glSetFenceNV (GLuint, GLenum);
1091 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
1092 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
1093 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
1094 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
1095 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
1096 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
1097 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
1100 /*------------------------------------------------------------------------*
1101 * QCOM extension functions
1102 *------------------------------------------------------------------------*/
1104 /* GL_QCOM_driver_control */
1105 #ifndef GL_QCOM_driver_control
1106 #define GL_QCOM_driver_control 1
1107 #ifdef GL_GLEXT_PROTOTYPES
1108 GL_API void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls);
1109 GL_API void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
1110 GL_API void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
1111 GL_API void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
1113 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls);
1114 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
1115 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
1116 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
1119 /* GL_QCOM_extended_get */
1120 #ifndef GL_QCOM_extended_get
1121 #define GL_QCOM_extended_get 1
1122 #ifdef GL_GLEXT_PROTOTYPES
1123 GL_API void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures);
1124 GL_API void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
1125 GL_API void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
1126 GL_API void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
1127 GL_API void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
1128 GL_API void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param);
1129 GL_API void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels);
1130 GL_API void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, GLvoid **params);
1132 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures);
1133 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
1134 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
1135 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
1136 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
1137 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
1138 typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels);
1139 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid **params);
1142 /* GL_QCOM_extended_get2 */
1143 #ifndef GL_QCOM_extended_get2
1144 #define GL_QCOM_extended_get2 1
1145 #ifdef GL_GLEXT_PROTOTYPES
1146 GL_API void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders);
1147 GL_API void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
1148 GL_API GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
1149 GL_API void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
1151 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders);
1152 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
1153 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
1154 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
1157 /* GL_QCOM_perfmon_global_mode */
1158 #ifndef GL_QCOM_perfmon_global_mode
1159 #define GL_QCOM_perfmon_global_mode 1
1162 /* GL_QCOM_writeonly_rendering */
1163 #ifndef GL_QCOM_writeonly_rendering
1164 #define GL_QCOM_writeonly_rendering 1
1167 /* GL_QCOM_tiled_rendering */
1168 #ifndef GL_QCOM_tiled_rendering
1169 #define GL_QCOM_tiled_rendering 1
1170 #ifdef GL_GLEXT_PROTOTYPES
1171 GL_API void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
1172 GL_API void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
1174 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
1175 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
1182 #endif /* __gles_glext_h_ */