• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __glext_h_
2 #define __glext_h_ 1
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 
8 /*
9 ** Copyright (c) 2013-2017 The Khronos Group Inc.
10 **
11 ** Permission is hereby granted, free of charge, to any person obtaining a
12 ** copy of this software and/or associated documentation files (the
13 ** "Materials"), to deal in the Materials without restriction, including
14 ** without limitation the rights to use, copy, modify, merge, publish,
15 ** distribute, sublicense, and/or sell copies of the Materials, and to
16 ** permit persons to whom the Materials are furnished to do so, subject to
17 ** the following conditions:
18 **
19 ** The above copyright notice and this permission notice shall be included
20 ** in all copies or substantial portions of the Materials.
21 **
22 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29 */
30 /*
31 ** This header is generated from the Khronos OpenGL / OpenGL ES XML
32 ** API Registry. The current version of the Registry, generator scripts
33 ** used to make the header, and the header can be found at
34 **   https://github.com/KhronosGroup/OpenGL-Registry
35 */
36 
37 #ifndef GL_APIENTRYP
38 #define GL_APIENTRYP GL_APIENTRY*
39 #endif
40 
41 /* Generated on date 20171212 */
42 
43 /* Generated C header for:
44  * API: gles1
45  * Profile: common
46  * Versions considered: .*
47  * Versions emitted: _nomatch_^
48  * Default extensions included: gles1
49  * Additional extensions included: _nomatch_^
50  * Extensions removed: ^(GL_OES_read_format|GL_OES_compressed_paletted_texture|GL_OES_point_size_array|GL_OES_point_sprite)$
51  */
52 
53 #ifndef GL_OES_EGL_image
54 #define GL_OES_EGL_image 1
55 typedef void *GLeglImageOES;
56 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
57 typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
58 #ifdef GL_GLEXT_PROTOTYPES
59 GL_API void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
60 GL_API void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
61 #endif
62 #endif /* GL_OES_EGL_image */
63 
64 #ifndef GL_OES_blend_equation_separate
65 #define GL_OES_blend_equation_separate 1
66 #define GL_BLEND_EQUATION_RGB_OES         0x8009
67 #define GL_BLEND_EQUATION_ALPHA_OES       0x883D
68 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEOESPROC) (GLenum modeRGB, GLenum modeAlpha);
69 #ifdef GL_GLEXT_PROTOTYPES
70 GL_API void GL_APIENTRY glBlendEquationSeparateOES (GLenum modeRGB, GLenum modeAlpha);
71 #endif
72 #endif /* GL_OES_blend_equation_separate */
73 
74 #ifndef GL_OES_blend_func_separate
75 #define GL_OES_blend_func_separate 1
76 #define GL_BLEND_DST_RGB_OES              0x80C8
77 #define GL_BLEND_SRC_RGB_OES              0x80C9
78 #define GL_BLEND_DST_ALPHA_OES            0x80CA
79 #define GL_BLEND_SRC_ALPHA_OES            0x80CB
80 typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
81 #ifdef GL_GLEXT_PROTOTYPES
82 GL_API void GL_APIENTRY glBlendFuncSeparateOES (GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
83 #endif
84 #endif /* GL_OES_blend_func_separate */
85 
86 #ifndef GL_OES_blend_subtract
87 #define GL_OES_blend_subtract 1
88 #define GL_BLEND_EQUATION_OES             0x8009
89 #define GL_FUNC_ADD_OES                   0x8006
90 #define GL_FUNC_SUBTRACT_OES              0x800A
91 #define GL_FUNC_REVERSE_SUBTRACT_OES      0x800B
92 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONOESPROC) (GLenum mode);
93 #ifdef GL_GLEXT_PROTOTYPES
94 GL_API void GL_APIENTRY glBlendEquationOES (GLenum mode);
95 #endif
96 #endif /* GL_OES_blend_subtract */
97 
98 #ifndef GL_OES_byte_coordinates
99 #define GL_OES_byte_coordinates 1
100 #endif /* GL_OES_byte_coordinates */
101 
102 #ifndef GL_OES_compressed_ETC1_RGB8_sub_texture
103 #define GL_OES_compressed_ETC1_RGB8_sub_texture 1
104 #endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */
105 
106 #ifndef GL_OES_compressed_ETC1_RGB8_texture
107 #define GL_OES_compressed_ETC1_RGB8_texture 1
108 #define GL_ETC1_RGB8_OES                  0x8D64
109 #endif /* GL_OES_compressed_ETC1_RGB8_texture */
110 
111 #ifndef GL_OES_depth24
112 #define GL_OES_depth24 1
113 #define GL_DEPTH_COMPONENT24_OES          0x81A6
114 #endif /* GL_OES_depth24 */
115 
116 #ifndef GL_OES_depth32
117 #define GL_OES_depth32 1
118 #define GL_DEPTH_COMPONENT32_OES          0x81A7
119 #endif /* GL_OES_depth32 */
120 
121 #ifndef GL_OES_draw_texture
122 #define GL_OES_draw_texture 1
123 #define GL_TEXTURE_CROP_RECT_OES          0x8B9D
124 typedef void (GL_APIENTRYP PFNGLDRAWTEXSOESPROC) (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
125 typedef void (GL_APIENTRYP PFNGLDRAWTEXIOESPROC) (GLint x, GLint y, GLint z, GLint width, GLint height);
126 typedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
127 typedef void (GL_APIENTRYP PFNGLDRAWTEXSVOESPROC) (const GLshort *coords);
128 typedef void (GL_APIENTRYP PFNGLDRAWTEXIVOESPROC) (const GLint *coords);
129 typedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords);
130 typedef void (GL_APIENTRYP PFNGLDRAWTEXFOESPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
131 typedef void (GL_APIENTRYP PFNGLDRAWTEXFVOESPROC) (const GLfloat *coords);
132 #ifdef GL_GLEXT_PROTOTYPES
133 GL_API void GL_APIENTRY glDrawTexsOES (GLshort x, GLshort y, GLshort z, GLshort width, GLshort height);
134 GL_API void GL_APIENTRY glDrawTexiOES (GLint x, GLint y, GLint z, GLint width, GLint height);
135 GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height);
136 GL_API void GL_APIENTRY glDrawTexsvOES (const GLshort *coords);
137 GL_API void GL_APIENTRY glDrawTexivOES (const GLint *coords);
138 GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords);
139 GL_API void GL_APIENTRY glDrawTexfOES (GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height);
140 GL_API void GL_APIENTRY glDrawTexfvOES (const GLfloat *coords);
141 #endif
142 #endif /* GL_OES_draw_texture */
143 
144 #ifndef GL_OES_element_index_uint
145 #define GL_OES_element_index_uint 1
146 #define GL_UNSIGNED_INT                   0x1405
147 #endif /* GL_OES_element_index_uint */
148 
149 #ifndef GL_OES_extended_matrix_palette
150 #define GL_OES_extended_matrix_palette 1
151 #endif /* GL_OES_extended_matrix_palette */
152 
153 #ifndef GL_OES_fbo_render_mipmap
154 #define GL_OES_fbo_render_mipmap 1
155 #endif /* GL_OES_fbo_render_mipmap */
156 
157 #ifndef GL_OES_fixed_point
158 #define GL_OES_fixed_point 1
159 #define GL_FIXED_OES                      0x140C
160 typedef void (GL_APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref);
161 typedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
162 typedef void (GL_APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth);
163 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation);
164 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
165 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f);
166 typedef void (GL_APIENTRYP PFNGLFOGXOESPROC) (GLenum pname, GLfixed param);
167 typedef void (GL_APIENTRYP PFNGLFOGXVOESPROC) (GLenum pname, const GLfixed *param);
168 typedef void (GL_APIENTRYP PFNGLFRUSTUMXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
169 typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEXOESPROC) (GLenum plane, GLfixed *equation);
170 typedef void (GL_APIENTRYP PFNGLGETFIXEDVOESPROC) (GLenum pname, GLfixed *params);
171 typedef void (GL_APIENTRYP PFNGLGETTEXENVXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
172 typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, GLfixed *params);
173 typedef void (GL_APIENTRYP PFNGLLIGHTMODELXOESPROC) (GLenum pname, GLfixed param);
174 typedef void (GL_APIENTRYP PFNGLLIGHTMODELXVOESPROC) (GLenum pname, const GLfixed *param);
175 typedef void (GL_APIENTRYP PFNGLLIGHTXOESPROC) (GLenum light, GLenum pname, GLfixed param);
176 typedef void (GL_APIENTRYP PFNGLLIGHTXVOESPROC) (GLenum light, GLenum pname, const GLfixed *params);
177 typedef void (GL_APIENTRYP PFNGLLINEWIDTHXOESPROC) (GLfixed width);
178 typedef void (GL_APIENTRYP PFNGLLOADMATRIXXOESPROC) (const GLfixed *m);
179 typedef void (GL_APIENTRYP PFNGLMATERIALXOESPROC) (GLenum face, GLenum pname, GLfixed param);
180 typedef void (GL_APIENTRYP PFNGLMATERIALXVOESPROC) (GLenum face, GLenum pname, const GLfixed *param);
181 typedef void (GL_APIENTRYP PFNGLMULTMATRIXXOESPROC) (const GLfixed *m);
182 typedef void (GL_APIENTRYP PFNGLMULTITEXCOORD4XOESPROC) (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
183 typedef void (GL_APIENTRYP PFNGLNORMAL3XOESPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
184 typedef void (GL_APIENTRYP PFNGLORTHOXOESPROC) (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
185 typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXVOESPROC) (GLenum pname, const GLfixed *params);
186 typedef void (GL_APIENTRYP PFNGLPOINTSIZEXOESPROC) (GLfixed size);
187 typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETXOESPROC) (GLfixed factor, GLfixed units);
188 typedef void (GL_APIENTRYP PFNGLROTATEXOESPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
189 typedef void (GL_APIENTRYP PFNGLSCALEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
190 typedef void (GL_APIENTRYP PFNGLTEXENVXOESPROC) (GLenum target, GLenum pname, GLfixed param);
191 typedef void (GL_APIENTRYP PFNGLTEXENVXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
192 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXOESPROC) (GLenum target, GLenum pname, GLfixed param);
193 typedef void (GL_APIENTRYP PFNGLTEXPARAMETERXVOESPROC) (GLenum target, GLenum pname, const GLfixed *params);
194 typedef void (GL_APIENTRYP PFNGLTRANSLATEXOESPROC) (GLfixed x, GLfixed y, GLfixed z);
195 typedef void (GL_APIENTRYP PFNGLGETLIGHTXVOESPROC) (GLenum light, GLenum pname, GLfixed *params);
196 typedef void (GL_APIENTRYP PFNGLGETMATERIALXVOESPROC) (GLenum face, GLenum pname, GLfixed *params);
197 typedef void (GL_APIENTRYP PFNGLPOINTPARAMETERXOESPROC) (GLenum pname, GLfixed param);
198 typedef void (GL_APIENTRYP PFNGLSAMPLECOVERAGEXOESPROC) (GLclampx value, GLboolean invert);
199 typedef void (GL_APIENTRYP PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed *params);
200 typedef void (GL_APIENTRYP PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
201 typedef void (GL_APIENTRYP PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed *params);
202 #ifdef GL_GLEXT_PROTOTYPES
203 GL_API void GL_APIENTRY glAlphaFuncxOES (GLenum func, GLfixed ref);
204 GL_API void GL_APIENTRY glClearColorxOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
205 GL_API void GL_APIENTRY glClearDepthxOES (GLfixed depth);
206 GL_API void GL_APIENTRY glClipPlanexOES (GLenum plane, const GLfixed *equation);
207 GL_API void GL_APIENTRY glColor4xOES (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
208 GL_API void GL_APIENTRY glDepthRangexOES (GLfixed n, GLfixed f);
209 GL_API void GL_APIENTRY glFogxOES (GLenum pname, GLfixed param);
210 GL_API void GL_APIENTRY glFogxvOES (GLenum pname, const GLfixed *param);
211 GL_API void GL_APIENTRY glFrustumxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
212 GL_API void GL_APIENTRY glGetClipPlanexOES (GLenum plane, GLfixed *equation);
213 GL_API void GL_APIENTRY glGetFixedvOES (GLenum pname, GLfixed *params);
214 GL_API void GL_APIENTRY glGetTexEnvxvOES (GLenum target, GLenum pname, GLfixed *params);
215 GL_API void GL_APIENTRY glGetTexParameterxvOES (GLenum target, GLenum pname, GLfixed *params);
216 GL_API void GL_APIENTRY glLightModelxOES (GLenum pname, GLfixed param);
217 GL_API void GL_APIENTRY glLightModelxvOES (GLenum pname, const GLfixed *param);
218 GL_API void GL_APIENTRY glLightxOES (GLenum light, GLenum pname, GLfixed param);
219 GL_API void GL_APIENTRY glLightxvOES (GLenum light, GLenum pname, const GLfixed *params);
220 GL_API void GL_APIENTRY glLineWidthxOES (GLfixed width);
221 GL_API void GL_APIENTRY glLoadMatrixxOES (const GLfixed *m);
222 GL_API void GL_APIENTRY glMaterialxOES (GLenum face, GLenum pname, GLfixed param);
223 GL_API void GL_APIENTRY glMaterialxvOES (GLenum face, GLenum pname, const GLfixed *param);
224 GL_API void GL_APIENTRY glMultMatrixxOES (const GLfixed *m);
225 GL_API void GL_APIENTRY glMultiTexCoord4xOES (GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
226 GL_API void GL_APIENTRY glNormal3xOES (GLfixed nx, GLfixed ny, GLfixed nz);
227 GL_API void GL_APIENTRY glOrthoxOES (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f);
228 GL_API void GL_APIENTRY glPointParameterxvOES (GLenum pname, const GLfixed *params);
229 GL_API void GL_APIENTRY glPointSizexOES (GLfixed size);
230 GL_API void GL_APIENTRY glPolygonOffsetxOES (GLfixed factor, GLfixed units);
231 GL_API void GL_APIENTRY glRotatexOES (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
232 GL_API void GL_APIENTRY glScalexOES (GLfixed x, GLfixed y, GLfixed z);
233 GL_API void GL_APIENTRY glTexEnvxOES (GLenum target, GLenum pname, GLfixed param);
234 GL_API void GL_APIENTRY glTexEnvxvOES (GLenum target, GLenum pname, const GLfixed *params);
235 GL_API void GL_APIENTRY glTexParameterxOES (GLenum target, GLenum pname, GLfixed param);
236 GL_API void GL_APIENTRY glTexParameterxvOES (GLenum target, GLenum pname, const GLfixed *params);
237 GL_API void GL_APIENTRY glTranslatexOES (GLfixed x, GLfixed y, GLfixed z);
238 GL_API void GL_APIENTRY glGetLightxvOES (GLenum light, GLenum pname, GLfixed *params);
239 GL_API void GL_APIENTRY glGetMaterialxvOES (GLenum face, GLenum pname, GLfixed *params);
240 GL_API void GL_APIENTRY glPointParameterxOES (GLenum pname, GLfixed param);
241 GL_API void GL_APIENTRY glSampleCoveragexOES (GLclampx value, GLboolean invert);
242 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params);
243 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param);
244 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params);
245 #endif
246 #endif /* GL_OES_fixed_point */
247 
248 #ifndef GL_OES_framebuffer_object
249 #define GL_OES_framebuffer_object 1
250 #define GL_NONE_OES                       0
251 #define GL_FRAMEBUFFER_OES                0x8D40
252 #define GL_RENDERBUFFER_OES               0x8D41
253 #define GL_RGBA4_OES                      0x8056
254 #define GL_RGB5_A1_OES                    0x8057
255 #define GL_RGB565_OES                     0x8D62
256 #define GL_DEPTH_COMPONENT16_OES          0x81A5
257 #define GL_RENDERBUFFER_WIDTH_OES         0x8D42
258 #define GL_RENDERBUFFER_HEIGHT_OES        0x8D43
259 #define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44
260 #define GL_RENDERBUFFER_RED_SIZE_OES      0x8D50
261 #define GL_RENDERBUFFER_GREEN_SIZE_OES    0x8D51
262 #define GL_RENDERBUFFER_BLUE_SIZE_OES     0x8D52
263 #define GL_RENDERBUFFER_ALPHA_SIZE_OES    0x8D53
264 #define GL_RENDERBUFFER_DEPTH_SIZE_OES    0x8D54
265 #define GL_RENDERBUFFER_STENCIL_SIZE_OES  0x8D55
266 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0
267 #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1
268 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2
269 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3
270 #define GL_COLOR_ATTACHMENT0_OES          0x8CE0
271 #define GL_DEPTH_ATTACHMENT_OES           0x8D00
272 #define GL_STENCIL_ATTACHMENT_OES         0x8D20
273 #define GL_FRAMEBUFFER_COMPLETE_OES       0x8CD5
274 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6
275 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7
276 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9
277 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA
278 #define GL_FRAMEBUFFER_UNSUPPORTED_OES    0x8CDD
279 #define GL_FRAMEBUFFER_BINDING_OES        0x8CA6
280 #define GL_RENDERBUFFER_BINDING_OES       0x8CA7
281 #define GL_MAX_RENDERBUFFER_SIZE_OES      0x84E8
282 #define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506
283 typedef GLboolean (GL_APIENTRYP PFNGLISRENDERBUFFEROESPROC) (GLuint renderbuffer);
284 typedef void (GL_APIENTRYP PFNGLBINDRENDERBUFFEROESPROC) (GLenum target, GLuint renderbuffer);
285 typedef void (GL_APIENTRYP PFNGLDELETERENDERBUFFERSOESPROC) (GLsizei n, const GLuint *renderbuffers);
286 typedef void (GL_APIENTRYP PFNGLGENRENDERBUFFERSOESPROC) (GLsizei n, GLuint *renderbuffers);
287 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
288 typedef void (GL_APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVOESPROC) (GLenum target, GLenum pname, GLint *params);
289 typedef GLboolean (GL_APIENTRYP PFNGLISFRAMEBUFFEROESPROC) (GLuint framebuffer);
290 typedef void (GL_APIENTRYP PFNGLBINDFRAMEBUFFEROESPROC) (GLenum target, GLuint framebuffer);
291 typedef void (GL_APIENTRYP PFNGLDELETEFRAMEBUFFERSOESPROC) (GLsizei n, const GLuint *framebuffers);
292 typedef void (GL_APIENTRYP PFNGLGENFRAMEBUFFERSOESPROC) (GLsizei n, GLuint *framebuffers);
293 typedef GLenum (GL_APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSOESPROC) (GLenum target);
294 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEROESPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
295 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
296 typedef void (GL_APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
297 typedef void (GL_APIENTRYP PFNGLGENERATEMIPMAPOESPROC) (GLenum target);
298 #ifdef GL_GLEXT_PROTOTYPES
299 GL_API GLboolean GL_APIENTRY glIsRenderbufferOES (GLuint renderbuffer);
300 GL_API void GL_APIENTRY glBindRenderbufferOES (GLenum target, GLuint renderbuffer);
301 GL_API void GL_APIENTRY glDeleteRenderbuffersOES (GLsizei n, const GLuint *renderbuffers);
302 GL_API void GL_APIENTRY glGenRenderbuffersOES (GLsizei n, GLuint *renderbuffers);
303 GL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
304 GL_API void GL_APIENTRY glGetRenderbufferParameterivOES (GLenum target, GLenum pname, GLint *params);
305 GL_API GLboolean GL_APIENTRY glIsFramebufferOES (GLuint framebuffer);
306 GL_API void GL_APIENTRY glBindFramebufferOES (GLenum target, GLuint framebuffer);
307 GL_API void GL_APIENTRY glDeleteFramebuffersOES (GLsizei n, const GLuint *framebuffers);
308 GL_API void GL_APIENTRY glGenFramebuffersOES (GLsizei n, GLuint *framebuffers);
309 GL_API GLenum GL_APIENTRY glCheckFramebufferStatusOES (GLenum target);
310 GL_API void GL_APIENTRY glFramebufferRenderbufferOES (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
311 GL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
312 GL_API void GL_APIENTRY glGetFramebufferAttachmentParameterivOES (GLenum target, GLenum attachment, GLenum pname, GLint *params);
313 GL_API void GL_APIENTRY glGenerateMipmapOES (GLenum target);
314 #endif
315 #endif /* GL_OES_framebuffer_object */
316 
317 #ifndef GL_OES_mapbuffer
318 #define GL_OES_mapbuffer 1
319 #define GL_WRITE_ONLY_OES                 0x88B9
320 #define GL_BUFFER_ACCESS_OES              0x88BB
321 #define GL_BUFFER_MAPPED_OES              0x88BC
322 #define GL_BUFFER_MAP_POINTER_OES         0x88BD
323 typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
324 typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
325 typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params);
326 #ifdef GL_GLEXT_PROTOTYPES
327 GL_API void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
328 GL_API GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
329 GL_API void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params);
330 #endif
331 #endif /* GL_OES_mapbuffer */
332 
333 #ifndef GL_OES_matrix_get
334 #define GL_OES_matrix_get 1
335 #define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898D
336 #define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898E
337 #define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898F
338 #endif /* GL_OES_matrix_get */
339 
340 #ifndef GL_OES_matrix_palette
341 #define GL_OES_matrix_palette 1
342 #define GL_MAX_VERTEX_UNITS_OES           0x86A4
343 #define GL_MAX_PALETTE_MATRICES_OES       0x8842
344 #define GL_MATRIX_PALETTE_OES             0x8840
345 #define GL_MATRIX_INDEX_ARRAY_OES         0x8844
346 #define GL_WEIGHT_ARRAY_OES               0x86AD
347 #define GL_CURRENT_PALETTE_MATRIX_OES     0x8843
348 #define GL_MATRIX_INDEX_ARRAY_SIZE_OES    0x8846
349 #define GL_MATRIX_INDEX_ARRAY_TYPE_OES    0x8847
350 #define GL_MATRIX_INDEX_ARRAY_STRIDE_OES  0x8848
351 #define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849
352 #define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E
353 #define GL_WEIGHT_ARRAY_SIZE_OES          0x86AB
354 #define GL_WEIGHT_ARRAY_TYPE_OES          0x86A9
355 #define GL_WEIGHT_ARRAY_STRIDE_OES        0x86AA
356 #define GL_WEIGHT_ARRAY_POINTER_OES       0x86AC
357 #define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E
358 typedef void (GL_APIENTRYP PFNGLCURRENTPALETTEMATRIXOESPROC) (GLuint matrixpaletteindex);
359 typedef void (GL_APIENTRYP PFNGLLOADPALETTEFROMMODELVIEWMATRIXOESPROC) (void);
360 typedef void (GL_APIENTRYP PFNGLMATRIXINDEXPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
361 typedef void (GL_APIENTRYP PFNGLWEIGHTPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, const void *pointer);
362 #ifdef GL_GLEXT_PROTOTYPES
363 GL_API void GL_APIENTRY glCurrentPaletteMatrixOES (GLuint matrixpaletteindex);
364 GL_API void GL_APIENTRY glLoadPaletteFromModelViewMatrixOES (void);
365 GL_API void GL_APIENTRY glMatrixIndexPointerOES (GLint size, GLenum type, GLsizei stride, const void *pointer);
366 GL_API void GL_APIENTRY glWeightPointerOES (GLint size, GLenum type, GLsizei stride, const void *pointer);
367 #endif
368 #endif /* GL_OES_matrix_palette */
369 
370 #ifndef GL_OES_packed_depth_stencil
371 #define GL_OES_packed_depth_stencil 1
372 #define GL_DEPTH_STENCIL_OES              0x84F9
373 #define GL_UNSIGNED_INT_24_8_OES          0x84FA
374 #define GL_DEPTH24_STENCIL8_OES           0x88F0
375 #endif /* GL_OES_packed_depth_stencil */
376 
377 #ifndef GL_OES_query_matrix
378 #define GL_OES_query_matrix 1
379 typedef GLbitfield (GL_APIENTRYP PFNGLQUERYMATRIXXOESPROC) (GLfixed *mantissa, GLint *exponent);
380 #ifdef GL_GLEXT_PROTOTYPES
381 GL_API GLbitfield GL_APIENTRY glQueryMatrixxOES (GLfixed *mantissa, GLint *exponent);
382 #endif
383 #endif /* GL_OES_query_matrix */
384 
385 #ifndef GL_OES_required_internalformat
386 #define GL_OES_required_internalformat 1
387 #define GL_ALPHA8_OES                     0x803C
388 #define GL_LUMINANCE4_ALPHA4_OES          0x8043
389 #define GL_LUMINANCE8_ALPHA8_OES          0x8045
390 #define GL_LUMINANCE8_OES                 0x8040
391 #define GL_RGB8_OES                       0x8051
392 #define GL_RGBA8_OES                      0x8058
393 #define GL_RGB10_EXT                      0x8052
394 #define GL_RGB10_A2_EXT                   0x8059
395 #endif /* GL_OES_required_internalformat */
396 
397 #ifndef GL_OES_rgb8_rgba8
398 #define GL_OES_rgb8_rgba8 1
399 #endif /* GL_OES_rgb8_rgba8 */
400 
401 #ifndef GL_OES_single_precision
402 #define GL_OES_single_precision 1
403 typedef void (GL_APIENTRYP PFNGLCLEARDEPTHFOESPROC) (GLclampf depth);
404 typedef void (GL_APIENTRYP PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat *equation);
405 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
406 typedef void (GL_APIENTRYP PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
407 typedef void (GL_APIENTRYP PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat *equation);
408 typedef void (GL_APIENTRYP PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
409 #ifdef GL_GLEXT_PROTOTYPES
410 GL_API void GL_APIENTRY glClearDepthfOES (GLclampf depth);
411 GL_API void GL_APIENTRY glClipPlanefOES (GLenum plane, const GLfloat *equation);
412 GL_API void GL_APIENTRY glDepthRangefOES (GLclampf n, GLclampf f);
413 GL_API void GL_APIENTRY glFrustumfOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
414 GL_API void GL_APIENTRY glGetClipPlanefOES (GLenum plane, GLfloat *equation);
415 GL_API void GL_APIENTRY glOrthofOES (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
416 #endif
417 #endif /* GL_OES_single_precision */
418 
419 #ifndef GL_OES_stencil1
420 #define GL_OES_stencil1 1
421 #define GL_STENCIL_INDEX1_OES             0x8D46
422 #endif /* GL_OES_stencil1 */
423 
424 #ifndef GL_OES_stencil4
425 #define GL_OES_stencil4 1
426 #define GL_STENCIL_INDEX4_OES             0x8D47
427 #endif /* GL_OES_stencil4 */
428 
429 #ifndef GL_OES_stencil8
430 #define GL_OES_stencil8 1
431 #define GL_STENCIL_INDEX8_OES             0x8D48
432 #endif /* GL_OES_stencil8 */
433 
434 #ifndef GL_OES_stencil_wrap
435 #define GL_OES_stencil_wrap 1
436 #define GL_INCR_WRAP_OES                  0x8507
437 #define GL_DECR_WRAP_OES                  0x8508
438 #endif /* GL_OES_stencil_wrap */
439 
440 #ifndef GL_OES_surfaceless_context
441 #define GL_OES_surfaceless_context 1
442 #define GL_FRAMEBUFFER_UNDEFINED_OES      0x8219
443 #endif /* GL_OES_surfaceless_context */
444 
445 #ifndef GL_OES_texture_cube_map
446 #define GL_OES_texture_cube_map 1
447 #define GL_NORMAL_MAP_OES                 0x8511
448 #define GL_REFLECTION_MAP_OES             0x8512
449 #define GL_TEXTURE_CUBE_MAP_OES           0x8513
450 #define GL_TEXTURE_BINDING_CUBE_MAP_OES   0x8514
451 #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515
452 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516
453 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517
454 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518
455 #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519
456 #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A
457 #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES  0x851C
458 #define GL_TEXTURE_GEN_MODE_OES           0x2500
459 #define GL_TEXTURE_GEN_STR_OES            0x8D60
460 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param);
461 typedef void (GL_APIENTRYP PFNGLTEXGENFVOESPROC) (GLenum coord, GLenum pname, const GLfloat *params);
462 typedef void (GL_APIENTRYP PFNGLTEXGENIOESPROC) (GLenum coord, GLenum pname, GLint param);
463 typedef void (GL_APIENTRYP PFNGLTEXGENIVOESPROC) (GLenum coord, GLenum pname, const GLint *params);
464 typedef void (GL_APIENTRYP PFNGLGETTEXGENFVOESPROC) (GLenum coord, GLenum pname, GLfloat *params);
465 typedef void (GL_APIENTRYP PFNGLGETTEXGENIVOESPROC) (GLenum coord, GLenum pname, GLint *params);
466 #ifdef GL_GLEXT_PROTOTYPES
467 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param);
468 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params);
469 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param);
470 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params);
471 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params);
472 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params);
473 #endif
474 #endif /* GL_OES_texture_cube_map */
475 
476 #ifndef GL_OES_texture_env_crossbar
477 #define GL_OES_texture_env_crossbar 1
478 #endif /* GL_OES_texture_env_crossbar */
479 
480 #ifndef GL_OES_texture_mirrored_repeat
481 #define GL_OES_texture_mirrored_repeat 1
482 #define GL_MIRRORED_REPEAT_OES            0x8370
483 #endif /* GL_OES_texture_mirrored_repeat */
484 
485 #ifndef GL_OES_texture_npot
486 #define GL_OES_texture_npot 1
487 #endif /* GL_OES_texture_npot */
488 
489 #ifndef GL_OES_vertex_array_object
490 #define GL_OES_vertex_array_object 1
491 #define GL_VERTEX_ARRAY_BINDING_OES       0x85B5
492 typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
493 typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
494 typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
495 typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
496 #ifdef GL_GLEXT_PROTOTYPES
497 GL_API void GL_APIENTRY glBindVertexArrayOES (GLuint array);
498 GL_API void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
499 GL_API void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
500 GL_API GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
501 #endif
502 #endif /* GL_OES_vertex_array_object */
503 
504 #ifndef GL_AMD_compressed_3DC_texture
505 #define GL_AMD_compressed_3DC_texture 1
506 #define GL_3DC_X_AMD                      0x87F9
507 #define GL_3DC_XY_AMD                     0x87FA
508 #endif /* GL_AMD_compressed_3DC_texture */
509 
510 #ifndef GL_AMD_compressed_ATC_texture
511 #define GL_AMD_compressed_ATC_texture 1
512 #define GL_ATC_RGB_AMD                    0x8C92
513 #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD    0x8C93
514 #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
515 #endif /* GL_AMD_compressed_ATC_texture */
516 
517 #ifndef GL_APPLE_copy_texture_levels
518 #define GL_APPLE_copy_texture_levels 1
519 typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
520 #ifdef GL_GLEXT_PROTOTYPES
521 GL_API void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
522 #endif
523 #endif /* GL_APPLE_copy_texture_levels */
524 
525 #ifndef GL_APPLE_framebuffer_multisample
526 #define GL_APPLE_framebuffer_multisample 1
527 #define GL_RENDERBUFFER_SAMPLES_APPLE     0x8CAB
528 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
529 #define GL_MAX_SAMPLES_APPLE              0x8D57
530 #define GL_READ_FRAMEBUFFER_APPLE         0x8CA8
531 #define GL_DRAW_FRAMEBUFFER_APPLE         0x8CA9
532 #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
533 #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
534 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
535 typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
536 #ifdef GL_GLEXT_PROTOTYPES
537 GL_API void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
538 GL_API void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
539 #endif
540 #endif /* GL_APPLE_framebuffer_multisample */
541 
542 #ifndef GL_APPLE_sync
543 #define GL_APPLE_sync 1
544 typedef struct __GLsync *GLsync;
545 typedef khronos_uint64_t GLuint64;
546 typedef khronos_int64_t GLint64;
547 #define GL_SYNC_OBJECT_APPLE              0x8A53
548 #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE  0x9111
549 #define GL_OBJECT_TYPE_APPLE              0x9112
550 #define GL_SYNC_CONDITION_APPLE           0x9113
551 #define GL_SYNC_STATUS_APPLE              0x9114
552 #define GL_SYNC_FLAGS_APPLE               0x9115
553 #define GL_SYNC_FENCE_APPLE               0x9116
554 #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
555 #define GL_UNSIGNALED_APPLE               0x9118
556 #define GL_SIGNALED_APPLE                 0x9119
557 #define GL_ALREADY_SIGNALED_APPLE         0x911A
558 #define GL_TIMEOUT_EXPIRED_APPLE          0x911B
559 #define GL_CONDITION_SATISFIED_APPLE      0x911C
560 #define GL_WAIT_FAILED_APPLE              0x911D
561 #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE  0x00000001
562 #define GL_TIMEOUT_IGNORED_APPLE          0xFFFFFFFFFFFFFFFFull
563 typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
564 typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
565 typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
566 typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
567 typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
568 typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params);
569 typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
570 #ifdef GL_GLEXT_PROTOTYPES
571 GL_API GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags);
572 GL_API GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
573 GL_API void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
574 GL_API GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
575 GL_API void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
576 GL_API void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params);
577 GL_API void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
578 #endif
579 #endif /* GL_APPLE_sync */
580 
581 #ifndef GL_APPLE_texture_2D_limited_npot
582 #define GL_APPLE_texture_2D_limited_npot 1
583 #endif /* GL_APPLE_texture_2D_limited_npot */
584 
585 #ifndef GL_APPLE_texture_format_BGRA8888
586 #define GL_APPLE_texture_format_BGRA8888 1
587 #define GL_BGRA_EXT                       0x80E1
588 #define GL_BGRA8_EXT                      0x93A1
589 #endif /* GL_APPLE_texture_format_BGRA8888 */
590 
591 #ifndef GL_APPLE_texture_max_level
592 #define GL_APPLE_texture_max_level 1
593 #define GL_TEXTURE_MAX_LEVEL_APPLE        0x813D
594 #endif /* GL_APPLE_texture_max_level */
595 
596 #ifndef GL_ARM_rgba8
597 #define GL_ARM_rgba8 1
598 #endif /* GL_ARM_rgba8 */
599 
600 #ifndef GL_EXT_blend_minmax
601 #define GL_EXT_blend_minmax 1
602 #define GL_MIN_EXT                        0x8007
603 #define GL_MAX_EXT                        0x8008
604 #endif /* GL_EXT_blend_minmax */
605 
606 #ifndef GL_EXT_debug_marker
607 #define GL_EXT_debug_marker 1
608 typedef char GLchar;
609 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
610 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
611 typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
612 #ifdef GL_GLEXT_PROTOTYPES
613 GL_API void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
614 GL_API void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
615 GL_API void GL_APIENTRY glPopGroupMarkerEXT (void);
616 #endif
617 #endif /* GL_EXT_debug_marker */
618 
619 #ifndef GL_EXT_discard_framebuffer
620 #define GL_EXT_discard_framebuffer 1
621 #define GL_COLOR_EXT                      0x1800
622 #define GL_DEPTH_EXT                      0x1801
623 #define GL_STENCIL_EXT                    0x1802
624 typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
625 #ifdef GL_GLEXT_PROTOTYPES
626 GL_API void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
627 #endif
628 #endif /* GL_EXT_discard_framebuffer */
629 
630 #ifndef GL_EXT_map_buffer_range
631 #define GL_EXT_map_buffer_range 1
632 #define GL_MAP_READ_BIT_EXT               0x0001
633 #define GL_MAP_WRITE_BIT_EXT              0x0002
634 #define GL_MAP_INVALIDATE_RANGE_BIT_EXT   0x0004
635 #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT  0x0008
636 #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT     0x0010
637 #define GL_MAP_UNSYNCHRONIZED_BIT_EXT     0x0020
638 typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
639 typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
640 #ifdef GL_GLEXT_PROTOTYPES
641 GL_API void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
642 GL_API void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);
643 #endif
644 #endif /* GL_EXT_map_buffer_range */
645 
646 #ifndef GL_EXT_multi_draw_arrays
647 #define GL_EXT_multi_draw_arrays 1
648 typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
649 typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
650 #ifdef GL_GLEXT_PROTOTYPES
651 GL_API void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
652 GL_API void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
653 #endif
654 #endif /* GL_EXT_multi_draw_arrays */
655 
656 #ifndef GL_EXT_multisampled_render_to_texture
657 #define GL_EXT_multisampled_render_to_texture 1
658 #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
659 #define GL_RENDERBUFFER_SAMPLES_EXT       0x8CAB
660 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
661 #define GL_MAX_SAMPLES_EXT                0x8D57
662 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
663 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
664 #ifdef GL_GLEXT_PROTOTYPES
665 GL_API void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
666 GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
667 #endif
668 #endif /* GL_EXT_multisampled_render_to_texture */
669 
670 #ifndef GL_EXT_read_format_bgra
671 #define GL_EXT_read_format_bgra 1
672 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
673 #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
674 #endif /* GL_EXT_read_format_bgra */
675 
676 #ifndef GL_EXT_robustness
677 #define GL_EXT_robustness 1
678 #define GL_GUILTY_CONTEXT_RESET_EXT       0x8253
679 #define GL_INNOCENT_CONTEXT_RESET_EXT     0x8254
680 #define GL_UNKNOWN_CONTEXT_RESET_EXT      0x8255
681 #define GL_CONTEXT_ROBUST_ACCESS_EXT      0x90F3
682 #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
683 #define GL_LOSE_CONTEXT_ON_RESET_EXT      0x8252
684 #define GL_NO_RESET_NOTIFICATION_EXT      0x8261
685 typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
686 typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
687 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
688 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
689 #ifdef GL_GLEXT_PROTOTYPES
690 GL_API GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
691 GL_API void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
692 GL_API void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
693 GL_API void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
694 #endif
695 #endif /* GL_EXT_robustness */
696 
697 #ifndef GL_EXT_sRGB
698 #define GL_EXT_sRGB 1
699 #define GL_SRGB_EXT                       0x8C40
700 #define GL_SRGB_ALPHA_EXT                 0x8C42
701 #define GL_SRGB8_ALPHA8_EXT               0x8C43
702 #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
703 #endif /* GL_EXT_sRGB */
704 
705 #ifndef GL_EXT_texture_compression_dxt1
706 #define GL_EXT_texture_compression_dxt1 1
707 #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
708 #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
709 #endif /* GL_EXT_texture_compression_dxt1 */
710 
711 #ifndef GL_EXT_texture_filter_anisotropic
712 #define GL_EXT_texture_filter_anisotropic 1
713 #define GL_TEXTURE_MAX_ANISOTROPY_EXT     0x84FE
714 #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
715 #endif /* GL_EXT_texture_filter_anisotropic */
716 
717 #ifndef GL_EXT_texture_format_BGRA8888
718 #define GL_EXT_texture_format_BGRA8888 1
719 #endif /* GL_EXT_texture_format_BGRA8888 */
720 
721 #ifndef GL_EXT_texture_lod_bias
722 #define GL_EXT_texture_lod_bias 1
723 #define GL_MAX_TEXTURE_LOD_BIAS_EXT       0x84FD
724 #define GL_TEXTURE_FILTER_CONTROL_EXT     0x8500
725 #define GL_TEXTURE_LOD_BIAS_EXT           0x8501
726 #endif /* GL_EXT_texture_lod_bias */
727 
728 #ifndef GL_EXT_texture_storage
729 #define GL_EXT_texture_storage 1
730 #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT   0x912F
731 #define GL_ALPHA8_EXT                     0x803C
732 #define GL_LUMINANCE8_EXT                 0x8040
733 #define GL_LUMINANCE8_ALPHA8_EXT          0x8045
734 #define GL_RGBA32F_EXT                    0x8814
735 #define GL_RGB32F_EXT                     0x8815
736 #define GL_ALPHA32F_EXT                   0x8816
737 #define GL_LUMINANCE32F_EXT               0x8818
738 #define GL_LUMINANCE_ALPHA32F_EXT         0x8819
739 #define GL_RGBA16F_EXT                    0x881A
740 #define GL_RGB16F_EXT                     0x881B
741 #define GL_ALPHA16F_EXT                   0x881C
742 #define GL_LUMINANCE16F_EXT               0x881E
743 #define GL_LUMINANCE_ALPHA16F_EXT         0x881F
744 #define GL_R8_EXT                         0x8229
745 #define GL_RG8_EXT                        0x822B
746 #define GL_R32F_EXT                       0x822E
747 #define GL_RG32F_EXT                      0x8230
748 #define GL_R16F_EXT                       0x822D
749 #define GL_RG16F_EXT                      0x822F
750 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
751 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
752 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
753 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
754 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
755 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
756 #ifdef GL_GLEXT_PROTOTYPES
757 GL_API void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
758 GL_API void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
759 GL_API void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
760 GL_API void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
761 GL_API void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
762 GL_API void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
763 #endif
764 #endif /* GL_EXT_texture_storage */
765 
766 #ifndef GL_IMG_multisampled_render_to_texture
767 #define GL_IMG_multisampled_render_to_texture 1
768 #define GL_RENDERBUFFER_SAMPLES_IMG       0x9133
769 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
770 #define GL_MAX_SAMPLES_IMG                0x9135
771 #define GL_TEXTURE_SAMPLES_IMG            0x9136
772 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
773 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
774 #ifdef GL_GLEXT_PROTOTYPES
775 GL_API void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
776 GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
777 #endif
778 #endif /* GL_IMG_multisampled_render_to_texture */
779 
780 #ifndef GL_IMG_read_format
781 #define GL_IMG_read_format 1
782 #define GL_BGRA_IMG                       0x80E1
783 #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
784 #endif /* GL_IMG_read_format */
785 
786 #ifndef GL_IMG_texture_compression_pvrtc
787 #define GL_IMG_texture_compression_pvrtc 1
788 #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
789 #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
790 #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
791 #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
792 #endif /* GL_IMG_texture_compression_pvrtc */
793 
794 #ifndef GL_IMG_texture_env_enhanced_fixed_function
795 #define GL_IMG_texture_env_enhanced_fixed_function 1
796 #define GL_MODULATE_COLOR_IMG             0x8C04
797 #define GL_RECIP_ADD_SIGNED_ALPHA_IMG     0x8C05
798 #define GL_TEXTURE_ALPHA_MODULATE_IMG     0x8C06
799 #define GL_FACTOR_ALPHA_MODULATE_IMG      0x8C07
800 #define GL_FRAGMENT_ALPHA_MODULATE_IMG    0x8C08
801 #define GL_ADD_BLEND_IMG                  0x8C09
802 #define GL_DOT3_RGBA_IMG                  0x86AF
803 #endif /* GL_IMG_texture_env_enhanced_fixed_function */
804 
805 #ifndef GL_IMG_user_clip_plane
806 #define GL_IMG_user_clip_plane 1
807 #define GL_CLIP_PLANE0_IMG                0x3000
808 #define GL_CLIP_PLANE1_IMG                0x3001
809 #define GL_CLIP_PLANE2_IMG                0x3002
810 #define GL_CLIP_PLANE3_IMG                0x3003
811 #define GL_CLIP_PLANE4_IMG                0x3004
812 #define GL_CLIP_PLANE5_IMG                0x3005
813 #define GL_MAX_CLIP_PLANES_IMG            0x0D32
814 typedef void (GL_APIENTRYP PFNGLCLIPPLANEFIMGPROC) (GLenum p, const GLfloat *eqn);
815 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXIMGPROC) (GLenum p, const GLfixed *eqn);
816 #ifdef GL_GLEXT_PROTOTYPES
817 GL_API void GL_APIENTRY glClipPlanefIMG (GLenum p, const GLfloat *eqn);
818 GL_API void GL_APIENTRY glClipPlanexIMG (GLenum p, const GLfixed *eqn);
819 #endif
820 #endif /* GL_IMG_user_clip_plane */
821 
822 #ifndef GL_NV_fence
823 #define GL_NV_fence 1
824 #define GL_ALL_COMPLETED_NV               0x84F2
825 #define GL_FENCE_STATUS_NV                0x84F3
826 #define GL_FENCE_CONDITION_NV             0x84F4
827 typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
828 typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
829 typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
830 typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
831 typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
832 typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
833 typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
834 #ifdef GL_GLEXT_PROTOTYPES
835 GL_API void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
836 GL_API void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
837 GL_API GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
838 GL_API GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
839 GL_API void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
840 GL_API void GL_APIENTRY glFinishFenceNV (GLuint fence);
841 GL_API void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
842 #endif
843 #endif /* GL_NV_fence */
844 
845 #ifndef GL_QCOM_driver_control
846 #define GL_QCOM_driver_control 1
847 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls);
848 typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
849 typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
850 typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
851 #ifdef GL_GLEXT_PROTOTYPES
852 GL_API void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls);
853 GL_API void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
854 GL_API void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
855 GL_API void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
856 #endif
857 #endif /* GL_QCOM_driver_control */
858 
859 #ifndef GL_QCOM_extended_get
860 #define GL_QCOM_extended_get 1
861 #define GL_TEXTURE_WIDTH_QCOM             0x8BD2
862 #define GL_TEXTURE_HEIGHT_QCOM            0x8BD3
863 #define GL_TEXTURE_DEPTH_QCOM             0x8BD4
864 #define GL_TEXTURE_INTERNAL_FORMAT_QCOM   0x8BD5
865 #define GL_TEXTURE_FORMAT_QCOM            0x8BD6
866 #define GL_TEXTURE_TYPE_QCOM              0x8BD7
867 #define GL_TEXTURE_IMAGE_VALID_QCOM       0x8BD8
868 #define GL_TEXTURE_NUM_LEVELS_QCOM        0x8BD9
869 #define GL_TEXTURE_TARGET_QCOM            0x8BDA
870 #define GL_TEXTURE_OBJECT_VALID_QCOM      0x8BDB
871 #define GL_STATE_RESTORE                  0x8BDC
872 typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures);
873 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
874 typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
875 typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
876 typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
877 typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
878 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, void *texels);
879 typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params);
880 #ifdef GL_GLEXT_PROTOTYPES
881 GL_API void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures);
882 GL_API void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
883 GL_API void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
884 GL_API void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
885 GL_API void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
886 GL_API void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param);
887 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, void *texels);
888 GL_API void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params);
889 #endif
890 #endif /* GL_QCOM_extended_get */
891 
892 #ifndef GL_QCOM_extended_get2
893 #define GL_QCOM_extended_get2 1
894 typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders);
895 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
896 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
897 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
898 #ifdef GL_GLEXT_PROTOTYPES
899 GL_API void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders);
900 GL_API void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
901 GL_API GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
902 GL_API void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
903 #endif
904 #endif /* GL_QCOM_extended_get2 */
905 
906 #ifndef GL_QCOM_perfmon_global_mode
907 #define GL_QCOM_perfmon_global_mode 1
908 #define GL_PERFMON_GLOBAL_MODE_QCOM       0x8FA0
909 #endif /* GL_QCOM_perfmon_global_mode */
910 
911 #ifndef GL_QCOM_tiled_rendering
912 #define GL_QCOM_tiled_rendering 1
913 #define GL_COLOR_BUFFER_BIT0_QCOM         0x00000001
914 #define GL_COLOR_BUFFER_BIT1_QCOM         0x00000002
915 #define GL_COLOR_BUFFER_BIT2_QCOM         0x00000004
916 #define GL_COLOR_BUFFER_BIT3_QCOM         0x00000008
917 #define GL_COLOR_BUFFER_BIT4_QCOM         0x00000010
918 #define GL_COLOR_BUFFER_BIT5_QCOM         0x00000020
919 #define GL_COLOR_BUFFER_BIT6_QCOM         0x00000040
920 #define GL_COLOR_BUFFER_BIT7_QCOM         0x00000080
921 #define GL_DEPTH_BUFFER_BIT0_QCOM         0x00000100
922 #define GL_DEPTH_BUFFER_BIT1_QCOM         0x00000200
923 #define GL_DEPTH_BUFFER_BIT2_QCOM         0x00000400
924 #define GL_DEPTH_BUFFER_BIT3_QCOM         0x00000800
925 #define GL_DEPTH_BUFFER_BIT4_QCOM         0x00001000
926 #define GL_DEPTH_BUFFER_BIT5_QCOM         0x00002000
927 #define GL_DEPTH_BUFFER_BIT6_QCOM         0x00004000
928 #define GL_DEPTH_BUFFER_BIT7_QCOM         0x00008000
929 #define GL_STENCIL_BUFFER_BIT0_QCOM       0x00010000
930 #define GL_STENCIL_BUFFER_BIT1_QCOM       0x00020000
931 #define GL_STENCIL_BUFFER_BIT2_QCOM       0x00040000
932 #define GL_STENCIL_BUFFER_BIT3_QCOM       0x00080000
933 #define GL_STENCIL_BUFFER_BIT4_QCOM       0x00100000
934 #define GL_STENCIL_BUFFER_BIT5_QCOM       0x00200000
935 #define GL_STENCIL_BUFFER_BIT6_QCOM       0x00400000
936 #define GL_STENCIL_BUFFER_BIT7_QCOM       0x00800000
937 #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM   0x01000000
938 #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM   0x02000000
939 #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM   0x04000000
940 #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM   0x08000000
941 #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM   0x10000000
942 #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM   0x20000000
943 #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM   0x40000000
944 #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM   0x80000000
945 typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
946 typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
947 #ifdef GL_GLEXT_PROTOTYPES
948 GL_API void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
949 GL_API void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
950 #endif
951 #endif /* GL_QCOM_tiled_rendering */
952 
953 #ifndef GL_QCOM_writeonly_rendering
954 #define GL_QCOM_writeonly_rendering 1
955 #define GL_WRITEONLY_RENDERING_QCOM       0x8823
956 #endif /* GL_QCOM_writeonly_rendering */
957 
958 /* ANGLE GLES1 extensions */
959 #include "glext_angle.h"
960 
961 #ifdef __cplusplus
962 }
963 #endif
964 
965 #endif
966