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