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