diff options
Diffstat (limited to 'recipes/opengldummy/files/headers/GLES2/gl2ext.h')
-rw-r--r-- | recipes/opengldummy/files/headers/GLES2/gl2ext.h | 1558 |
1 files changed, 1558 insertions, 0 deletions
diff --git a/recipes/opengldummy/files/headers/GLES2/gl2ext.h b/recipes/opengldummy/files/headers/GLES2/gl2ext.h new file mode 100644 index 0000000..36801be --- /dev/null +++ b/recipes/opengldummy/files/headers/GLES2/gl2ext.h | |||
@@ -0,0 +1,1558 @@ | |||
1 | #ifndef __gl2ext_h_ | ||
2 | #define __gl2ext_h_ 1 | ||
3 | |||
4 | #ifdef __cplusplus | ||
5 | extern "C" { | ||
6 | #endif | ||
7 | |||
8 | /* | ||
9 | ** Copyright (c) 2013 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 | ** http://www.opengl.org/registry/ | ||
35 | ** | ||
36 | ** Khronos $Revision: 23581 $ on $Date: 2013-10-18 03:28:51 -0700 (Fri, 18 Oct 2013) $ | ||
37 | */ | ||
38 | |||
39 | #ifndef GL_APIENTRYP | ||
40 | #define GL_APIENTRYP GL_APIENTRY* | ||
41 | #endif | ||
42 | |||
43 | /* Generated C header for: | ||
44 | * API: gles2 | ||
45 | * Profile: common | ||
46 | * Versions considered: 2\.[0-9] | ||
47 | * Versions emitted: _nomatch_^ | ||
48 | * Default extensions included: gles2 | ||
49 | * Additional extensions included: _nomatch_^ | ||
50 | * Extensions removed: _nomatch_^ | ||
51 | */ | ||
52 | |||
53 | #ifndef GL_KHR_debug | ||
54 | #define GL_KHR_debug 1 | ||
55 | typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam); | ||
56 | #define GL_SAMPLER 0x82E6 | ||
57 | #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242 | ||
58 | #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243 | ||
59 | #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244 | ||
60 | #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245 | ||
61 | #define GL_DEBUG_SOURCE_API_KHR 0x8246 | ||
62 | #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247 | ||
63 | #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248 | ||
64 | #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249 | ||
65 | #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A | ||
66 | #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B | ||
67 | #define GL_DEBUG_TYPE_ERROR_KHR 0x824C | ||
68 | #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D | ||
69 | #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E | ||
70 | #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F | ||
71 | #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250 | ||
72 | #define GL_DEBUG_TYPE_OTHER_KHR 0x8251 | ||
73 | #define GL_DEBUG_TYPE_MARKER_KHR 0x8268 | ||
74 | #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269 | ||
75 | #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A | ||
76 | #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B | ||
77 | #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C | ||
78 | #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D | ||
79 | #define GL_BUFFER_KHR 0x82E0 | ||
80 | #define GL_SHADER_KHR 0x82E1 | ||
81 | #define GL_PROGRAM_KHR 0x82E2 | ||
82 | #define GL_VERTEX_ARRAY_KHR 0x8074 | ||
83 | #define GL_QUERY_KHR 0x82E3 | ||
84 | #define GL_SAMPLER_KHR 0x82E6 | ||
85 | #define GL_MAX_LABEL_LENGTH_KHR 0x82E8 | ||
86 | #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143 | ||
87 | #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144 | ||
88 | #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145 | ||
89 | #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146 | ||
90 | #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147 | ||
91 | #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148 | ||
92 | #define GL_DEBUG_OUTPUT_KHR 0x92E0 | ||
93 | #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002 | ||
94 | #define GL_STACK_OVERFLOW_KHR 0x0503 | ||
95 | #define GL_STACK_UNDERFLOW_KHR 0x0504 | ||
96 | typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); | ||
97 | typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); | ||
98 | typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam); | ||
99 | typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); | ||
100 | typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); | ||
101 | typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void); | ||
102 | typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); | ||
103 | typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
104 | typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label); | ||
105 | typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
106 | typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params); | ||
107 | #ifdef GL_GLEXT_PROTOTYPES | ||
108 | GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); | ||
109 | GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); | ||
110 | GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam); | ||
111 | GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); | ||
112 | GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message); | ||
113 | GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void); | ||
114 | GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); | ||
115 | GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
116 | GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label); | ||
117 | GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
118 | GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params); | ||
119 | #endif | ||
120 | #endif /* GL_KHR_debug */ | ||
121 | |||
122 | #ifndef GL_KHR_texture_compression_astc_hdr | ||
123 | #define GL_KHR_texture_compression_astc_hdr 1 | ||
124 | #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0 | ||
125 | #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1 | ||
126 | #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2 | ||
127 | #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3 | ||
128 | #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4 | ||
129 | #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5 | ||
130 | #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6 | ||
131 | #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7 | ||
132 | #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8 | ||
133 | #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9 | ||
134 | #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA | ||
135 | #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB | ||
136 | #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC | ||
137 | #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD | ||
138 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0 | ||
139 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1 | ||
140 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2 | ||
141 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3 | ||
142 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4 | ||
143 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5 | ||
144 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6 | ||
145 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7 | ||
146 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8 | ||
147 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9 | ||
148 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA | ||
149 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB | ||
150 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC | ||
151 | #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD | ||
152 | #endif /* GL_KHR_texture_compression_astc_hdr */ | ||
153 | |||
154 | #ifndef GL_KHR_texture_compression_astc_ldr | ||
155 | #define GL_KHR_texture_compression_astc_ldr 1 | ||
156 | #endif /* GL_KHR_texture_compression_astc_ldr */ | ||
157 | |||
158 | #ifndef GL_OES_EGL_image | ||
159 | #define GL_OES_EGL_image 1 | ||
160 | typedef void *GLeglImageOES; | ||
161 | typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image); | ||
162 | typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image); | ||
163 | #ifdef GL_GLEXT_PROTOTYPES | ||
164 | GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image); | ||
165 | GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image); | ||
166 | #endif | ||
167 | #endif /* GL_OES_EGL_image */ | ||
168 | |||
169 | #ifndef GL_OES_EGL_image_external | ||
170 | #define GL_OES_EGL_image_external 1 | ||
171 | #define GL_TEXTURE_EXTERNAL_OES 0x8D65 | ||
172 | #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67 | ||
173 | #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68 | ||
174 | #define GL_SAMPLER_EXTERNAL_OES 0x8D66 | ||
175 | #endif /* GL_OES_EGL_image_external */ | ||
176 | |||
177 | #ifndef GL_OES_compressed_ETC1_RGB8_texture | ||
178 | #define GL_OES_compressed_ETC1_RGB8_texture 1 | ||
179 | #define GL_ETC1_RGB8_OES 0x8D64 | ||
180 | #endif /* GL_OES_compressed_ETC1_RGB8_texture */ | ||
181 | |||
182 | #ifndef GL_OES_compressed_paletted_texture | ||
183 | #define GL_OES_compressed_paletted_texture 1 | ||
184 | #define GL_PALETTE4_RGB8_OES 0x8B90 | ||
185 | #define GL_PALETTE4_RGBA8_OES 0x8B91 | ||
186 | #define GL_PALETTE4_R5_G6_B5_OES 0x8B92 | ||
187 | #define GL_PALETTE4_RGBA4_OES 0x8B93 | ||
188 | #define GL_PALETTE4_RGB5_A1_OES 0x8B94 | ||
189 | #define GL_PALETTE8_RGB8_OES 0x8B95 | ||
190 | #define GL_PALETTE8_RGBA8_OES 0x8B96 | ||
191 | #define GL_PALETTE8_R5_G6_B5_OES 0x8B97 | ||
192 | #define GL_PALETTE8_RGBA4_OES 0x8B98 | ||
193 | #define GL_PALETTE8_RGB5_A1_OES 0x8B99 | ||
194 | #endif /* GL_OES_compressed_paletted_texture */ | ||
195 | |||
196 | #ifndef GL_OES_depth24 | ||
197 | #define GL_OES_depth24 1 | ||
198 | #define GL_DEPTH_COMPONENT24_OES 0x81A6 | ||
199 | #endif /* GL_OES_depth24 */ | ||
200 | |||
201 | #ifndef GL_OES_depth32 | ||
202 | #define GL_OES_depth32 1 | ||
203 | #define GL_DEPTH_COMPONENT32_OES 0x81A7 | ||
204 | #endif /* GL_OES_depth32 */ | ||
205 | |||
206 | #ifndef GL_OES_depth_texture | ||
207 | #define GL_OES_depth_texture 1 | ||
208 | #endif /* GL_OES_depth_texture */ | ||
209 | |||
210 | #ifndef GL_OES_element_index_uint | ||
211 | #define GL_OES_element_index_uint 1 | ||
212 | #endif /* GL_OES_element_index_uint */ | ||
213 | |||
214 | #ifndef GL_OES_fbo_render_mipmap | ||
215 | #define GL_OES_fbo_render_mipmap 1 | ||
216 | #endif /* GL_OES_fbo_render_mipmap */ | ||
217 | |||
218 | #ifndef GL_OES_fragment_precision_high | ||
219 | #define GL_OES_fragment_precision_high 1 | ||
220 | #endif /* GL_OES_fragment_precision_high */ | ||
221 | |||
222 | #ifndef GL_OES_get_program_binary | ||
223 | #define GL_OES_get_program_binary 1 | ||
224 | #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741 | ||
225 | #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE | ||
226 | #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF | ||
227 | typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
228 | typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length); | ||
229 | #ifdef GL_GLEXT_PROTOTYPES | ||
230 | GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary); | ||
231 | GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length); | ||
232 | #endif | ||
233 | #endif /* GL_OES_get_program_binary */ | ||
234 | |||
235 | #ifndef GL_OES_mapbuffer | ||
236 | #define GL_OES_mapbuffer 1 | ||
237 | #define GL_WRITE_ONLY_OES 0x88B9 | ||
238 | #define GL_BUFFER_ACCESS_OES 0x88BB | ||
239 | #define GL_BUFFER_MAPPED_OES 0x88BC | ||
240 | #define GL_BUFFER_MAP_POINTER_OES 0x88BD | ||
241 | typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access); | ||
242 | typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target); | ||
243 | typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params); | ||
244 | #ifdef GL_GLEXT_PROTOTYPES | ||
245 | GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access); | ||
246 | GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target); | ||
247 | GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params); | ||
248 | #endif | ||
249 | #endif /* GL_OES_mapbuffer */ | ||
250 | |||
251 | #ifndef GL_OES_packed_depth_stencil | ||
252 | #define GL_OES_packed_depth_stencil 1 | ||
253 | #define GL_DEPTH_STENCIL_OES 0x84F9 | ||
254 | #define GL_UNSIGNED_INT_24_8_OES 0x84FA | ||
255 | #define GL_DEPTH24_STENCIL8_OES 0x88F0 | ||
256 | #endif /* GL_OES_packed_depth_stencil */ | ||
257 | |||
258 | #ifndef GL_OES_required_internalformat | ||
259 | #define GL_OES_required_internalformat 1 | ||
260 | #define GL_ALPHA8_OES 0x803C | ||
261 | #define GL_DEPTH_COMPONENT16_OES 0x81A5 | ||
262 | #define GL_LUMINANCE4_ALPHA4_OES 0x8043 | ||
263 | #define GL_LUMINANCE8_ALPHA8_OES 0x8045 | ||
264 | #define GL_LUMINANCE8_OES 0x8040 | ||
265 | #define GL_RGBA4_OES 0x8056 | ||
266 | #define GL_RGB5_A1_OES 0x8057 | ||
267 | #define GL_RGB565_OES 0x8D62 | ||
268 | #define GL_RGB8_OES 0x8051 | ||
269 | #define GL_RGBA8_OES 0x8058 | ||
270 | #define GL_RGB10_EXT 0x8052 | ||
271 | #define GL_RGB10_A2_EXT 0x8059 | ||
272 | #endif /* GL_OES_required_internalformat */ | ||
273 | |||
274 | #ifndef GL_OES_rgb8_rgba8 | ||
275 | #define GL_OES_rgb8_rgba8 1 | ||
276 | #endif /* GL_OES_rgb8_rgba8 */ | ||
277 | |||
278 | #ifndef GL_OES_standard_derivatives | ||
279 | #define GL_OES_standard_derivatives 1 | ||
280 | #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B | ||
281 | #endif /* GL_OES_standard_derivatives */ | ||
282 | |||
283 | #ifndef GL_OES_stencil1 | ||
284 | #define GL_OES_stencil1 1 | ||
285 | #define GL_STENCIL_INDEX1_OES 0x8D46 | ||
286 | #endif /* GL_OES_stencil1 */ | ||
287 | |||
288 | #ifndef GL_OES_stencil4 | ||
289 | #define GL_OES_stencil4 1 | ||
290 | #define GL_STENCIL_INDEX4_OES 0x8D47 | ||
291 | #endif /* GL_OES_stencil4 */ | ||
292 | |||
293 | #ifndef GL_OES_surfaceless_context | ||
294 | #define GL_OES_surfaceless_context 1 | ||
295 | #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219 | ||
296 | #endif /* GL_OES_surfaceless_context */ | ||
297 | |||
298 | #ifndef GL_OES_texture_3D | ||
299 | #define GL_OES_texture_3D 1 | ||
300 | #define GL_TEXTURE_WRAP_R_OES 0x8072 | ||
301 | #define GL_TEXTURE_3D_OES 0x806F | ||
302 | #define GL_TEXTURE_BINDING_3D_OES 0x806A | ||
303 | #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073 | ||
304 | #define GL_SAMPLER_3D_OES 0x8B5F | ||
305 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4 | ||
306 | typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
307 | typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
308 | typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
309 | typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
310 | typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
311 | typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | ||
312 | #ifdef GL_GLEXT_PROTOTYPES | ||
313 | GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels); | ||
314 | GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels); | ||
315 | GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); | ||
316 | GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data); | ||
317 | GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data); | ||
318 | GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); | ||
319 | #endif | ||
320 | #endif /* GL_OES_texture_3D */ | ||
321 | |||
322 | #ifndef GL_OES_texture_compression_astc | ||
323 | #define GL_OES_texture_compression_astc 1 | ||
324 | #endif /* GL_OES_texture_compression_astc */ | ||
325 | |||
326 | #ifndef GL_OES_texture_float | ||
327 | #define GL_OES_texture_float 1 | ||
328 | #endif /* GL_OES_texture_float */ | ||
329 | |||
330 | #ifndef GL_OES_texture_float_linear | ||
331 | #define GL_OES_texture_float_linear 1 | ||
332 | #endif /* GL_OES_texture_float_linear */ | ||
333 | |||
334 | #ifndef GL_OES_texture_half_float | ||
335 | #define GL_OES_texture_half_float 1 | ||
336 | #define GL_HALF_FLOAT_OES 0x8D61 | ||
337 | #endif /* GL_OES_texture_half_float */ | ||
338 | |||
339 | #ifndef GL_OES_texture_half_float_linear | ||
340 | #define GL_OES_texture_half_float_linear 1 | ||
341 | #endif /* GL_OES_texture_half_float_linear */ | ||
342 | |||
343 | #ifndef GL_OES_texture_npot | ||
344 | #define GL_OES_texture_npot 1 | ||
345 | #endif /* GL_OES_texture_npot */ | ||
346 | |||
347 | #ifndef GL_OES_vertex_array_object | ||
348 | #define GL_OES_vertex_array_object 1 | ||
349 | #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5 | ||
350 | typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array); | ||
351 | typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays); | ||
352 | typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays); | ||
353 | typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array); | ||
354 | #ifdef GL_GLEXT_PROTOTYPES | ||
355 | GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array); | ||
356 | GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays); | ||
357 | GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays); | ||
358 | GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array); | ||
359 | #endif | ||
360 | #endif /* GL_OES_vertex_array_object */ | ||
361 | |||
362 | #ifndef GL_OES_vertex_half_float | ||
363 | #define GL_OES_vertex_half_float 1 | ||
364 | #endif /* GL_OES_vertex_half_float */ | ||
365 | |||
366 | #ifndef GL_OES_vertex_type_10_10_10_2 | ||
367 | #define GL_OES_vertex_type_10_10_10_2 1 | ||
368 | #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6 | ||
369 | #define GL_INT_10_10_10_2_OES 0x8DF7 | ||
370 | #endif /* GL_OES_vertex_type_10_10_10_2 */ | ||
371 | |||
372 | #ifndef GL_AMD_compressed_3DC_texture | ||
373 | #define GL_AMD_compressed_3DC_texture 1 | ||
374 | #define GL_3DC_X_AMD 0x87F9 | ||
375 | #define GL_3DC_XY_AMD 0x87FA | ||
376 | #endif /* GL_AMD_compressed_3DC_texture */ | ||
377 | |||
378 | #ifndef GL_AMD_compressed_ATC_texture | ||
379 | #define GL_AMD_compressed_ATC_texture 1 | ||
380 | #define GL_ATC_RGB_AMD 0x8C92 | ||
381 | #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93 | ||
382 | #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE | ||
383 | #endif /* GL_AMD_compressed_ATC_texture */ | ||
384 | |||
385 | #ifndef GL_AMD_performance_monitor | ||
386 | #define GL_AMD_performance_monitor 1 | ||
387 | #define GL_COUNTER_TYPE_AMD 0x8BC0 | ||
388 | #define GL_COUNTER_RANGE_AMD 0x8BC1 | ||
389 | #define GL_UNSIGNED_INT64_AMD 0x8BC2 | ||
390 | #define GL_PERCENTAGE_AMD 0x8BC3 | ||
391 | #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4 | ||
392 | #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5 | ||
393 | #define GL_PERFMON_RESULT_AMD 0x8BC6 | ||
394 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups); | ||
395 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); | ||
396 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); | ||
397 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); | ||
398 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data); | ||
399 | typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); | ||
400 | typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors); | ||
401 | typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); | ||
402 | typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor); | ||
403 | typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor); | ||
404 | typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | ||
405 | #ifdef GL_GLEXT_PROTOTYPES | ||
406 | GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups); | ||
407 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters); | ||
408 | GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString); | ||
409 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString); | ||
410 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data); | ||
411 | GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors); | ||
412 | GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors); | ||
413 | GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList); | ||
414 | GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor); | ||
415 | GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor); | ||
416 | GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten); | ||
417 | #endif | ||
418 | #endif /* GL_AMD_performance_monitor */ | ||
419 | |||
420 | #ifndef GL_AMD_program_binary_Z400 | ||
421 | #define GL_AMD_program_binary_Z400 1 | ||
422 | #define GL_Z400_BINARY_AMD 0x8740 | ||
423 | #endif /* GL_AMD_program_binary_Z400 */ | ||
424 | |||
425 | #ifndef GL_ANGLE_depth_texture | ||
426 | #define GL_ANGLE_depth_texture 1 | ||
427 | #endif /* GL_ANGLE_depth_texture */ | ||
428 | |||
429 | #ifndef GL_ANGLE_framebuffer_blit | ||
430 | #define GL_ANGLE_framebuffer_blit 1 | ||
431 | #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8 | ||
432 | #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9 | ||
433 | #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6 | ||
434 | #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA | ||
435 | typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
436 | #ifdef GL_GLEXT_PROTOTYPES | ||
437 | GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
438 | #endif | ||
439 | #endif /* GL_ANGLE_framebuffer_blit */ | ||
440 | |||
441 | #ifndef GL_ANGLE_framebuffer_multisample | ||
442 | #define GL_ANGLE_framebuffer_multisample 1 | ||
443 | #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB | ||
444 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56 | ||
445 | #define GL_MAX_SAMPLES_ANGLE 0x8D57 | ||
446 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
447 | #ifdef GL_GLEXT_PROTOTYPES | ||
448 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
449 | #endif | ||
450 | #endif /* GL_ANGLE_framebuffer_multisample */ | ||
451 | |||
452 | #ifndef GL_ANGLE_instanced_arrays | ||
453 | #define GL_ANGLE_instanced_arrays 1 | ||
454 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE | ||
455 | typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
456 | typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
457 | typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor); | ||
458 | #ifdef GL_GLEXT_PROTOTYPES | ||
459 | GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
460 | GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
461 | GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor); | ||
462 | #endif | ||
463 | #endif /* GL_ANGLE_instanced_arrays */ | ||
464 | |||
465 | #ifndef GL_ANGLE_pack_reverse_row_order | ||
466 | #define GL_ANGLE_pack_reverse_row_order 1 | ||
467 | #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4 | ||
468 | #endif /* GL_ANGLE_pack_reverse_row_order */ | ||
469 | |||
470 | #ifndef GL_ANGLE_program_binary | ||
471 | #define GL_ANGLE_program_binary 1 | ||
472 | #define GL_PROGRAM_BINARY_ANGLE 0x93A6 | ||
473 | #endif /* GL_ANGLE_program_binary */ | ||
474 | |||
475 | #ifndef GL_ANGLE_texture_compression_dxt3 | ||
476 | #define GL_ANGLE_texture_compression_dxt3 1 | ||
477 | #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2 | ||
478 | #endif /* GL_ANGLE_texture_compression_dxt3 */ | ||
479 | |||
480 | #ifndef GL_ANGLE_texture_compression_dxt5 | ||
481 | #define GL_ANGLE_texture_compression_dxt5 1 | ||
482 | #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3 | ||
483 | #endif /* GL_ANGLE_texture_compression_dxt5 */ | ||
484 | |||
485 | #ifndef GL_ANGLE_texture_usage | ||
486 | #define GL_ANGLE_texture_usage 1 | ||
487 | #define GL_TEXTURE_USAGE_ANGLE 0x93A2 | ||
488 | #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3 | ||
489 | #endif /* GL_ANGLE_texture_usage */ | ||
490 | |||
491 | #ifndef GL_ANGLE_translated_shader_source | ||
492 | #define GL_ANGLE_translated_shader_source 1 | ||
493 | #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0 | ||
494 | typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); | ||
495 | #ifdef GL_GLEXT_PROTOTYPES | ||
496 | GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source); | ||
497 | #endif | ||
498 | #endif /* GL_ANGLE_translated_shader_source */ | ||
499 | |||
500 | #ifndef GL_APPLE_copy_texture_levels | ||
501 | #define GL_APPLE_copy_texture_levels 1 | ||
502 | typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); | ||
503 | #ifdef GL_GLEXT_PROTOTYPES | ||
504 | GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount); | ||
505 | #endif | ||
506 | #endif /* GL_APPLE_copy_texture_levels */ | ||
507 | |||
508 | #ifndef GL_APPLE_framebuffer_multisample | ||
509 | #define GL_APPLE_framebuffer_multisample 1 | ||
510 | #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB | ||
511 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56 | ||
512 | #define GL_MAX_SAMPLES_APPLE 0x8D57 | ||
513 | #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8 | ||
514 | #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9 | ||
515 | #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6 | ||
516 | #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA | ||
517 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
518 | typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void); | ||
519 | #ifdef GL_GLEXT_PROTOTYPES | ||
520 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
521 | GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void); | ||
522 | #endif | ||
523 | #endif /* GL_APPLE_framebuffer_multisample */ | ||
524 | |||
525 | #ifndef GL_APPLE_rgb_422 | ||
526 | #define GL_APPLE_rgb_422 1 | ||
527 | #define GL_RGB_422_APPLE 0x8A1F | ||
528 | #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA | ||
529 | #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB | ||
530 | #define GL_RGB_RAW_422_APPLE 0x8A51 | ||
531 | #endif /* GL_APPLE_rgb_422 */ | ||
532 | |||
533 | #ifndef GL_APPLE_sync | ||
534 | #define GL_APPLE_sync 1 | ||
535 | #define GL_SYNC_OBJECT_APPLE 0x8A53 | ||
536 | #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111 | ||
537 | #define GL_OBJECT_TYPE_APPLE 0x9112 | ||
538 | #define GL_SYNC_CONDITION_APPLE 0x9113 | ||
539 | #define GL_SYNC_STATUS_APPLE 0x9114 | ||
540 | #define GL_SYNC_FLAGS_APPLE 0x9115 | ||
541 | #define GL_SYNC_FENCE_APPLE 0x9116 | ||
542 | #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117 | ||
543 | #define GL_UNSIGNALED_APPLE 0x9118 | ||
544 | #define GL_SIGNALED_APPLE 0x9119 | ||
545 | #define GL_ALREADY_SIGNALED_APPLE 0x911A | ||
546 | #define GL_TIMEOUT_EXPIRED_APPLE 0x911B | ||
547 | #define GL_CONDITION_SATISFIED_APPLE 0x911C | ||
548 | #define GL_WAIT_FAILED_APPLE 0x911D | ||
549 | #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001 | ||
550 | #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull | ||
551 | typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags); | ||
552 | typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync); | ||
553 | typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync); | ||
554 | typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
555 | typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
556 | typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params); | ||
557 | typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
558 | #ifdef GL_GLEXT_PROTOTYPES | ||
559 | GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags); | ||
560 | GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync); | ||
561 | GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync); | ||
562 | GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
563 | GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout); | ||
564 | GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params); | ||
565 | GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); | ||
566 | #endif | ||
567 | #endif /* GL_APPLE_sync */ | ||
568 | |||
569 | #ifndef GL_APPLE_texture_format_BGRA8888 | ||
570 | #define GL_APPLE_texture_format_BGRA8888 1 | ||
571 | #define GL_BGRA_EXT 0x80E1 | ||
572 | #define GL_BGRA8_EXT 0x93A1 | ||
573 | #endif /* GL_APPLE_texture_format_BGRA8888 */ | ||
574 | |||
575 | #ifndef GL_APPLE_texture_max_level | ||
576 | #define GL_APPLE_texture_max_level 1 | ||
577 | #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D | ||
578 | #endif /* GL_APPLE_texture_max_level */ | ||
579 | |||
580 | #ifndef GL_ARM_mali_program_binary | ||
581 | #define GL_ARM_mali_program_binary 1 | ||
582 | #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61 | ||
583 | #endif /* GL_ARM_mali_program_binary */ | ||
584 | |||
585 | #ifndef GL_ARM_mali_shader_binary | ||
586 | #define GL_ARM_mali_shader_binary 1 | ||
587 | #define GL_MALI_SHADER_BINARY_ARM 0x8F60 | ||
588 | #endif /* GL_ARM_mali_shader_binary */ | ||
589 | |||
590 | #ifndef GL_ARM_rgba8 | ||
591 | #define GL_ARM_rgba8 1 | ||
592 | #endif /* GL_ARM_rgba8 */ | ||
593 | |||
594 | #ifndef GL_DMP_shader_binary | ||
595 | #define GL_DMP_shader_binary 1 | ||
596 | #define GL_SHADER_BINARY_DMP 0x9250 | ||
597 | #endif /* GL_DMP_shader_binary */ | ||
598 | |||
599 | #ifndef GL_EXT_blend_minmax | ||
600 | #define GL_EXT_blend_minmax 1 | ||
601 | #define GL_MIN_EXT 0x8007 | ||
602 | #define GL_MAX_EXT 0x8008 | ||
603 | #endif /* GL_EXT_blend_minmax */ | ||
604 | |||
605 | #ifndef GL_EXT_color_buffer_half_float | ||
606 | #define GL_EXT_color_buffer_half_float 1 | ||
607 | #define GL_RGBA16F_EXT 0x881A | ||
608 | #define GL_RGB16F_EXT 0x881B | ||
609 | #define GL_RG16F_EXT 0x822F | ||
610 | #define GL_R16F_EXT 0x822D | ||
611 | #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211 | ||
612 | #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17 | ||
613 | #endif /* GL_EXT_color_buffer_half_float */ | ||
614 | |||
615 | #ifndef GL_EXT_debug_label | ||
616 | #define GL_EXT_debug_label 1 | ||
617 | #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F | ||
618 | #define GL_PROGRAM_OBJECT_EXT 0x8B40 | ||
619 | #define GL_SHADER_OBJECT_EXT 0x8B48 | ||
620 | #define GL_BUFFER_OBJECT_EXT 0x9151 | ||
621 | #define GL_QUERY_OBJECT_EXT 0x9153 | ||
622 | #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154 | ||
623 | #define GL_TRANSFORM_FEEDBACK 0x8E22 | ||
624 | typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label); | ||
625 | typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
626 | #ifdef GL_GLEXT_PROTOTYPES | ||
627 | GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label); | ||
628 | GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label); | ||
629 | #endif | ||
630 | #endif /* GL_EXT_debug_label */ | ||
631 | |||
632 | #ifndef GL_EXT_debug_marker | ||
633 | #define GL_EXT_debug_marker 1 | ||
634 | typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker); | ||
635 | typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker); | ||
636 | typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void); | ||
637 | #ifdef GL_GLEXT_PROTOTYPES | ||
638 | GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker); | ||
639 | GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker); | ||
640 | GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void); | ||
641 | #endif | ||
642 | #endif /* GL_EXT_debug_marker */ | ||
643 | |||
644 | #ifndef GL_EXT_discard_framebuffer | ||
645 | #define GL_EXT_discard_framebuffer 1 | ||
646 | #define GL_COLOR_EXT 0x1800 | ||
647 | #define GL_DEPTH_EXT 0x1801 | ||
648 | #define GL_STENCIL_EXT 0x1802 | ||
649 | typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
650 | #ifdef GL_GLEXT_PROTOTYPES | ||
651 | GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments); | ||
652 | #endif | ||
653 | #endif /* GL_EXT_discard_framebuffer */ | ||
654 | |||
655 | #ifndef GL_EXT_disjoint_timer_query | ||
656 | #define GL_EXT_disjoint_timer_query 1 | ||
657 | #define GL_QUERY_COUNTER_BITS_EXT 0x8864 | ||
658 | #define GL_CURRENT_QUERY_EXT 0x8865 | ||
659 | #define GL_QUERY_RESULT_EXT 0x8866 | ||
660 | #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867 | ||
661 | #define GL_TIME_ELAPSED_EXT 0x88BF | ||
662 | #define GL_TIMESTAMP_EXT 0x8E28 | ||
663 | #define GL_GPU_DISJOINT_EXT 0x8FBB | ||
664 | typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids); | ||
665 | typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids); | ||
666 | typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id); | ||
667 | typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id); | ||
668 | typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target); | ||
669 | typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target); | ||
670 | typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params); | ||
671 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params); | ||
672 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params); | ||
673 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params); | ||
674 | typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params); | ||
675 | #ifdef GL_GLEXT_PROTOTYPES | ||
676 | GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids); | ||
677 | GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids); | ||
678 | GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id); | ||
679 | GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id); | ||
680 | GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target); | ||
681 | GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target); | ||
682 | GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params); | ||
683 | GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params); | ||
684 | GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params); | ||
685 | GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params); | ||
686 | GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params); | ||
687 | #endif | ||
688 | #endif /* GL_EXT_disjoint_timer_query */ | ||
689 | |||
690 | #ifndef GL_EXT_draw_buffers | ||
691 | #define GL_EXT_draw_buffers 1 | ||
692 | #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF | ||
693 | #define GL_MAX_DRAW_BUFFERS_EXT 0x8824 | ||
694 | #define GL_DRAW_BUFFER0_EXT 0x8825 | ||
695 | #define GL_DRAW_BUFFER1_EXT 0x8826 | ||
696 | #define GL_DRAW_BUFFER2_EXT 0x8827 | ||
697 | #define GL_DRAW_BUFFER3_EXT 0x8828 | ||
698 | #define GL_DRAW_BUFFER4_EXT 0x8829 | ||
699 | #define GL_DRAW_BUFFER5_EXT 0x882A | ||
700 | #define GL_DRAW_BUFFER6_EXT 0x882B | ||
701 | #define GL_DRAW_BUFFER7_EXT 0x882C | ||
702 | #define GL_DRAW_BUFFER8_EXT 0x882D | ||
703 | #define GL_DRAW_BUFFER9_EXT 0x882E | ||
704 | #define GL_DRAW_BUFFER10_EXT 0x882F | ||
705 | #define GL_DRAW_BUFFER11_EXT 0x8830 | ||
706 | #define GL_DRAW_BUFFER12_EXT 0x8831 | ||
707 | #define GL_DRAW_BUFFER13_EXT 0x8832 | ||
708 | #define GL_DRAW_BUFFER14_EXT 0x8833 | ||
709 | #define GL_DRAW_BUFFER15_EXT 0x8834 | ||
710 | #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0 | ||
711 | #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1 | ||
712 | #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2 | ||
713 | #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3 | ||
714 | #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4 | ||
715 | #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5 | ||
716 | #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6 | ||
717 | #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7 | ||
718 | #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8 | ||
719 | #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9 | ||
720 | #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA | ||
721 | #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB | ||
722 | #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC | ||
723 | #define GL_COLOR_ATTACHMENT13_EXT 0x8CED | ||
724 | #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE | ||
725 | #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF | ||
726 | typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs); | ||
727 | #ifdef GL_GLEXT_PROTOTYPES | ||
728 | GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs); | ||
729 | #endif | ||
730 | #endif /* GL_EXT_draw_buffers */ | ||
731 | |||
732 | #ifndef GL_EXT_draw_instanced | ||
733 | #define GL_EXT_draw_instanced 1 | ||
734 | typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount); | ||
735 | typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
736 | #ifdef GL_GLEXT_PROTOTYPES | ||
737 | GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount); | ||
738 | GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
739 | #endif | ||
740 | #endif /* GL_EXT_draw_instanced */ | ||
741 | |||
742 | #ifndef GL_EXT_instanced_arrays | ||
743 | #define GL_EXT_instanced_arrays 1 | ||
744 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE | ||
745 | typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor); | ||
746 | #ifdef GL_GLEXT_PROTOTYPES | ||
747 | GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor); | ||
748 | #endif | ||
749 | #endif /* GL_EXT_instanced_arrays */ | ||
750 | |||
751 | #ifndef GL_EXT_map_buffer_range | ||
752 | #define GL_EXT_map_buffer_range 1 | ||
753 | #define GL_MAP_READ_BIT_EXT 0x0001 | ||
754 | #define GL_MAP_WRITE_BIT_EXT 0x0002 | ||
755 | #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004 | ||
756 | #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008 | ||
757 | #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010 | ||
758 | #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020 | ||
759 | typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
760 | typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length); | ||
761 | #ifdef GL_GLEXT_PROTOTYPES | ||
762 | GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); | ||
763 | GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length); | ||
764 | #endif | ||
765 | #endif /* GL_EXT_map_buffer_range */ | ||
766 | |||
767 | #ifndef GL_EXT_multi_draw_arrays | ||
768 | #define GL_EXT_multi_draw_arrays 1 | ||
769 | typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); | ||
770 | typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); | ||
771 | #ifdef GL_GLEXT_PROTOTYPES | ||
772 | GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount); | ||
773 | GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount); | ||
774 | #endif | ||
775 | #endif /* GL_EXT_multi_draw_arrays */ | ||
776 | |||
777 | #ifndef GL_EXT_multisampled_render_to_texture | ||
778 | #define GL_EXT_multisampled_render_to_texture 1 | ||
779 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C | ||
780 | #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB | ||
781 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56 | ||
782 | #define GL_MAX_SAMPLES_EXT 0x8D57 | ||
783 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
784 | typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
785 | #ifdef GL_GLEXT_PROTOTYPES | ||
786 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
787 | GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
788 | #endif | ||
789 | #endif /* GL_EXT_multisampled_render_to_texture */ | ||
790 | |||
791 | #ifndef GL_EXT_multiview_draw_buffers | ||
792 | #define GL_EXT_multiview_draw_buffers 1 | ||
793 | #define GL_COLOR_ATTACHMENT_EXT 0x90F0 | ||
794 | #define GL_MULTIVIEW_EXT 0x90F1 | ||
795 | #define GL_DRAW_BUFFER_EXT 0x0C01 | ||
796 | #define GL_READ_BUFFER_EXT 0x0C02 | ||
797 | #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2 | ||
798 | typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index); | ||
799 | typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices); | ||
800 | typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data); | ||
801 | #ifdef GL_GLEXT_PROTOTYPES | ||
802 | GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index); | ||
803 | GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices); | ||
804 | GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data); | ||
805 | #endif | ||
806 | #endif /* GL_EXT_multiview_draw_buffers */ | ||
807 | |||
808 | #ifndef GL_EXT_occlusion_query_boolean | ||
809 | #define GL_EXT_occlusion_query_boolean 1 | ||
810 | #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F | ||
811 | #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A | ||
812 | #endif /* GL_EXT_occlusion_query_boolean */ | ||
813 | |||
814 | #ifndef GL_EXT_pvrtc_sRGB | ||
815 | #define GL_EXT_pvrtc_sRGB 1 | ||
816 | #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54 | ||
817 | #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55 | ||
818 | #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56 | ||
819 | #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57 | ||
820 | #endif /* GL_EXT_pvrtc_sRGB */ | ||
821 | |||
822 | #ifndef GL_EXT_read_format_bgra | ||
823 | #define GL_EXT_read_format_bgra 1 | ||
824 | #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365 | ||
825 | #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366 | ||
826 | #endif /* GL_EXT_read_format_bgra */ | ||
827 | |||
828 | #ifndef GL_EXT_robustness | ||
829 | #define GL_EXT_robustness 1 | ||
830 | #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253 | ||
831 | #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254 | ||
832 | #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255 | ||
833 | #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3 | ||
834 | #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256 | ||
835 | #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252 | ||
836 | #define GL_NO_RESET_NOTIFICATION_EXT 0x8261 | ||
837 | typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void); | ||
838 | typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); | ||
839 | typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); | ||
840 | typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params); | ||
841 | #ifdef GL_GLEXT_PROTOTYPES | ||
842 | GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void); | ||
843 | GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data); | ||
844 | GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params); | ||
845 | GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params); | ||
846 | #endif | ||
847 | #endif /* GL_EXT_robustness */ | ||
848 | |||
849 | #ifndef GL_EXT_sRGB | ||
850 | #define GL_EXT_sRGB 1 | ||
851 | #define GL_SRGB_EXT 0x8C40 | ||
852 | #define GL_SRGB_ALPHA_EXT 0x8C42 | ||
853 | #define GL_SRGB8_ALPHA8_EXT 0x8C43 | ||
854 | #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210 | ||
855 | #endif /* GL_EXT_sRGB */ | ||
856 | |||
857 | #ifndef GL_EXT_sRGB_write_control | ||
858 | #define GL_EXT_sRGB_write_control 1 | ||
859 | #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9 | ||
860 | #endif /* GL_EXT_sRGB_write_control */ | ||
861 | |||
862 | #ifndef GL_EXT_separate_shader_objects | ||
863 | #define GL_EXT_separate_shader_objects 1 | ||
864 | #define GL_ACTIVE_PROGRAM_EXT 0x8259 | ||
865 | #define GL_VERTEX_SHADER_BIT_EXT 0x00000001 | ||
866 | #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002 | ||
867 | #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF | ||
868 | #define GL_PROGRAM_SEPARABLE_EXT 0x8258 | ||
869 | #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A | ||
870 | typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); | ||
871 | typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | ||
872 | typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings); | ||
873 | typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines); | ||
874 | typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines); | ||
875 | typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
876 | typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params); | ||
877 | typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | ||
878 | typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value); | ||
879 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0); | ||
880 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
881 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0); | ||
882 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
883 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1); | ||
884 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
885 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1); | ||
886 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
887 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
888 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
889 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); | ||
890 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
891 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
892 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
893 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
894 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
895 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
896 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
897 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
898 | typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program); | ||
899 | typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline); | ||
900 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0); | ||
901 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1); | ||
902 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
903 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
904 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
905 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
906 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
907 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
908 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
909 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
910 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
911 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
912 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
913 | typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
914 | #ifdef GL_GLEXT_PROTOTYPES | ||
915 | GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program); | ||
916 | GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline); | ||
917 | GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings); | ||
918 | GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines); | ||
919 | GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines); | ||
920 | GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); | ||
921 | GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params); | ||
922 | GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline); | ||
923 | GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value); | ||
924 | GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0); | ||
925 | GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
926 | GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0); | ||
927 | GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
928 | GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1); | ||
929 | GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
930 | GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1); | ||
931 | GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
932 | GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); | ||
933 | GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
934 | GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2); | ||
935 | GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
936 | GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); | ||
937 | GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value); | ||
938 | GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); | ||
939 | GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value); | ||
940 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
941 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
942 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
943 | GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program); | ||
944 | GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline); | ||
945 | GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0); | ||
946 | GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1); | ||
947 | GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); | ||
948 | GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); | ||
949 | GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
950 | GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
951 | GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
952 | GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value); | ||
953 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
954 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
955 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
956 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
957 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
958 | GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
959 | #endif | ||
960 | #endif /* GL_EXT_separate_shader_objects */ | ||
961 | |||
962 | #ifndef GL_EXT_shader_framebuffer_fetch | ||
963 | #define GL_EXT_shader_framebuffer_fetch 1 | ||
964 | #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52 | ||
965 | #endif /* GL_EXT_shader_framebuffer_fetch */ | ||
966 | |||
967 | #ifndef GL_EXT_shader_integer_mix | ||
968 | #define GL_EXT_shader_integer_mix 1 | ||
969 | #endif /* GL_EXT_shader_integer_mix */ | ||
970 | |||
971 | #ifndef GL_EXT_shader_texture_lod | ||
972 | #define GL_EXT_shader_texture_lod 1 | ||
973 | #endif /* GL_EXT_shader_texture_lod */ | ||
974 | |||
975 | #ifndef GL_EXT_shadow_samplers | ||
976 | #define GL_EXT_shadow_samplers 1 | ||
977 | #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C | ||
978 | #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D | ||
979 | #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E | ||
980 | #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62 | ||
981 | #endif /* GL_EXT_shadow_samplers */ | ||
982 | |||
983 | #ifndef GL_EXT_texture_compression_dxt1 | ||
984 | #define GL_EXT_texture_compression_dxt1 1 | ||
985 | #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0 | ||
986 | #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1 | ||
987 | #endif /* GL_EXT_texture_compression_dxt1 */ | ||
988 | |||
989 | #ifndef GL_EXT_texture_compression_s3tc | ||
990 | #define GL_EXT_texture_compression_s3tc 1 | ||
991 | #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2 | ||
992 | #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3 | ||
993 | #endif /* GL_EXT_texture_compression_s3tc */ | ||
994 | |||
995 | #ifndef GL_EXT_texture_filter_anisotropic | ||
996 | #define GL_EXT_texture_filter_anisotropic 1 | ||
997 | #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE | ||
998 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF | ||
999 | #endif /* GL_EXT_texture_filter_anisotropic */ | ||
1000 | |||
1001 | #ifndef GL_EXT_texture_format_BGRA8888 | ||
1002 | #define GL_EXT_texture_format_BGRA8888 1 | ||
1003 | #endif /* GL_EXT_texture_format_BGRA8888 */ | ||
1004 | |||
1005 | #ifndef GL_EXT_texture_rg | ||
1006 | #define GL_EXT_texture_rg 1 | ||
1007 | #define GL_RED_EXT 0x1903 | ||
1008 | #define GL_RG_EXT 0x8227 | ||
1009 | #define GL_R8_EXT 0x8229 | ||
1010 | #define GL_RG8_EXT 0x822B | ||
1011 | #endif /* GL_EXT_texture_rg */ | ||
1012 | |||
1013 | #ifndef GL_EXT_texture_sRGB_decode | ||
1014 | #define GL_EXT_texture_sRGB_decode 1 | ||
1015 | #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48 | ||
1016 | #define GL_DECODE_EXT 0x8A49 | ||
1017 | #define GL_SKIP_DECODE_EXT 0x8A4A | ||
1018 | #endif /* GL_EXT_texture_sRGB_decode */ | ||
1019 | |||
1020 | #ifndef GL_EXT_texture_storage | ||
1021 | #define GL_EXT_texture_storage 1 | ||
1022 | #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F | ||
1023 | #define GL_ALPHA8_EXT 0x803C | ||
1024 | #define GL_LUMINANCE8_EXT 0x8040 | ||
1025 | #define GL_LUMINANCE8_ALPHA8_EXT 0x8045 | ||
1026 | #define GL_RGBA32F_EXT 0x8814 | ||
1027 | #define GL_RGB32F_EXT 0x8815 | ||
1028 | #define GL_ALPHA32F_EXT 0x8816 | ||
1029 | #define GL_LUMINANCE32F_EXT 0x8818 | ||
1030 | #define GL_LUMINANCE_ALPHA32F_EXT 0x8819 | ||
1031 | #define GL_ALPHA16F_EXT 0x881C | ||
1032 | #define GL_LUMINANCE16F_EXT 0x881E | ||
1033 | #define GL_LUMINANCE_ALPHA16F_EXT 0x881F | ||
1034 | #define GL_R32F_EXT 0x822E | ||
1035 | #define GL_RG32F_EXT 0x8230 | ||
1036 | typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1037 | typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1038 | typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1039 | typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1040 | typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1041 | typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1042 | #ifdef GL_GLEXT_PROTOTYPES | ||
1043 | GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1044 | GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1045 | GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1046 | GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); | ||
1047 | GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); | ||
1048 | GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); | ||
1049 | #endif | ||
1050 | #endif /* GL_EXT_texture_storage */ | ||
1051 | |||
1052 | #ifndef GL_EXT_texture_type_2_10_10_10_REV | ||
1053 | #define GL_EXT_texture_type_2_10_10_10_REV 1 | ||
1054 | #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368 | ||
1055 | #endif /* GL_EXT_texture_type_2_10_10_10_REV */ | ||
1056 | |||
1057 | #ifndef GL_EXT_unpack_subimage | ||
1058 | #define GL_EXT_unpack_subimage 1 | ||
1059 | #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2 | ||
1060 | #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3 | ||
1061 | #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4 | ||
1062 | #endif /* GL_EXT_unpack_subimage */ | ||
1063 | |||
1064 | #ifndef GL_FJ_shader_binary_GCCSO | ||
1065 | #define GL_FJ_shader_binary_GCCSO 1 | ||
1066 | #define GL_GCCSO_SHADER_BINARY_FJ 0x9260 | ||
1067 | #endif /* GL_FJ_shader_binary_GCCSO */ | ||
1068 | |||
1069 | #ifndef GL_IMG_multisampled_render_to_texture | ||
1070 | #define GL_IMG_multisampled_render_to_texture 1 | ||
1071 | #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133 | ||
1072 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134 | ||
1073 | #define GL_MAX_SAMPLES_IMG 0x9135 | ||
1074 | #define GL_TEXTURE_SAMPLES_IMG 0x9136 | ||
1075 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1076 | typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
1077 | #ifdef GL_GLEXT_PROTOTYPES | ||
1078 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1079 | GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); | ||
1080 | #endif | ||
1081 | #endif /* GL_IMG_multisampled_render_to_texture */ | ||
1082 | |||
1083 | #ifndef GL_IMG_program_binary | ||
1084 | #define GL_IMG_program_binary 1 | ||
1085 | #define GL_SGX_PROGRAM_BINARY_IMG 0x9130 | ||
1086 | #endif /* GL_IMG_program_binary */ | ||
1087 | |||
1088 | #ifndef GL_IMG_read_format | ||
1089 | #define GL_IMG_read_format 1 | ||
1090 | #define GL_BGRA_IMG 0x80E1 | ||
1091 | #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365 | ||
1092 | #endif /* GL_IMG_read_format */ | ||
1093 | |||
1094 | #ifndef GL_IMG_shader_binary | ||
1095 | #define GL_IMG_shader_binary 1 | ||
1096 | #define GL_SGX_BINARY_IMG 0x8C0A | ||
1097 | #endif /* GL_IMG_shader_binary */ | ||
1098 | |||
1099 | #ifndef GL_IMG_texture_compression_pvrtc | ||
1100 | #define GL_IMG_texture_compression_pvrtc 1 | ||
1101 | #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00 | ||
1102 | #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01 | ||
1103 | #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02 | ||
1104 | #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03 | ||
1105 | #endif /* GL_IMG_texture_compression_pvrtc */ | ||
1106 | |||
1107 | #ifndef GL_IMG_texture_compression_pvrtc2 | ||
1108 | #define GL_IMG_texture_compression_pvrtc2 1 | ||
1109 | #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137 | ||
1110 | #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138 | ||
1111 | #endif /* GL_IMG_texture_compression_pvrtc2 */ | ||
1112 | |||
1113 | #ifndef GL_NV_blend_equation_advanced | ||
1114 | #define GL_NV_blend_equation_advanced 1 | ||
1115 | #define GL_BLUE_NV 0x1905 | ||
1116 | #define GL_GREEN_NV 0x1904 | ||
1117 | #define GL_RED_NV 0x1903 | ||
1118 | #define GL_XOR_NV 0x1506 | ||
1119 | #define GL_BLEND_OVERLAP_NV 0x9281 | ||
1120 | #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280 | ||
1121 | #define GL_COLORBURN_NV 0x929A | ||
1122 | #define GL_COLORDODGE_NV 0x9299 | ||
1123 | #define GL_CONJOINT_NV 0x9284 | ||
1124 | #define GL_CONTRAST_NV 0x92A1 | ||
1125 | #define GL_DARKEN_NV 0x9297 | ||
1126 | #define GL_DIFFERENCE_NV 0x929E | ||
1127 | #define GL_DISJOINT_NV 0x9283 | ||
1128 | #define GL_DST_ATOP_NV 0x928F | ||
1129 | #define GL_DST_IN_NV 0x928B | ||
1130 | #define GL_DST_NV 0x9287 | ||
1131 | #define GL_DST_OUT_NV 0x928D | ||
1132 | #define GL_DST_OVER_NV 0x9289 | ||
1133 | #define GL_EXCLUSION_NV 0x92A0 | ||
1134 | #define GL_HARDLIGHT_NV 0x929B | ||
1135 | #define GL_HARDMIX_NV 0x92A9 | ||
1136 | #define GL_HSL_COLOR_NV 0x92AF | ||
1137 | #define GL_HSL_HUE_NV 0x92AD | ||
1138 | #define GL_HSL_LUMINOSITY_NV 0x92B0 | ||
1139 | #define GL_HSL_SATURATION_NV 0x92AE | ||
1140 | #define GL_INVERT_OVG_NV 0x92B4 | ||
1141 | #define GL_INVERT_RGB_NV 0x92A3 | ||
1142 | #define GL_LIGHTEN_NV 0x9298 | ||
1143 | #define GL_LINEARBURN_NV 0x92A5 | ||
1144 | #define GL_LINEARDODGE_NV 0x92A4 | ||
1145 | #define GL_LINEARLIGHT_NV 0x92A7 | ||
1146 | #define GL_MINUS_CLAMPED_NV 0x92B3 | ||
1147 | #define GL_MINUS_NV 0x929F | ||
1148 | #define GL_MULTIPLY_NV 0x9294 | ||
1149 | #define GL_OVERLAY_NV 0x9296 | ||
1150 | #define GL_PINLIGHT_NV 0x92A8 | ||
1151 | #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2 | ||
1152 | #define GL_PLUS_CLAMPED_NV 0x92B1 | ||
1153 | #define GL_PLUS_DARKER_NV 0x9292 | ||
1154 | #define GL_PLUS_NV 0x9291 | ||
1155 | #define GL_SCREEN_NV 0x9295 | ||
1156 | #define GL_SOFTLIGHT_NV 0x929C | ||
1157 | #define GL_SRC_ATOP_NV 0x928E | ||
1158 | #define GL_SRC_IN_NV 0x928A | ||
1159 | #define GL_SRC_NV 0x9286 | ||
1160 | #define GL_SRC_OUT_NV 0x928C | ||
1161 | #define GL_SRC_OVER_NV 0x9288 | ||
1162 | #define GL_UNCORRELATED_NV 0x9282 | ||
1163 | #define GL_VIVIDLIGHT_NV 0x92A6 | ||
1164 | typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value); | ||
1165 | typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void); | ||
1166 | #ifdef GL_GLEXT_PROTOTYPES | ||
1167 | GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value); | ||
1168 | GL_APICALL void GL_APIENTRY glBlendBarrierNV (void); | ||
1169 | #endif | ||
1170 | #endif /* GL_NV_blend_equation_advanced */ | ||
1171 | |||
1172 | #ifndef GL_NV_blend_equation_advanced_coherent | ||
1173 | #define GL_NV_blend_equation_advanced_coherent 1 | ||
1174 | #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285 | ||
1175 | #endif /* GL_NV_blend_equation_advanced_coherent */ | ||
1176 | |||
1177 | #ifndef GL_NV_copy_buffer | ||
1178 | #define GL_NV_copy_buffer 1 | ||
1179 | #define GL_COPY_READ_BUFFER_NV 0x8F36 | ||
1180 | #define GL_COPY_WRITE_BUFFER_NV 0x8F37 | ||
1181 | typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
1182 | #ifdef GL_GLEXT_PROTOTYPES | ||
1183 | GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); | ||
1184 | #endif | ||
1185 | #endif /* GL_NV_copy_buffer */ | ||
1186 | |||
1187 | #ifndef GL_NV_coverage_sample | ||
1188 | #define GL_NV_coverage_sample 1 | ||
1189 | #define GL_COVERAGE_COMPONENT_NV 0x8ED0 | ||
1190 | #define GL_COVERAGE_COMPONENT4_NV 0x8ED1 | ||
1191 | #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2 | ||
1192 | #define GL_COVERAGE_BUFFERS_NV 0x8ED3 | ||
1193 | #define GL_COVERAGE_SAMPLES_NV 0x8ED4 | ||
1194 | #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5 | ||
1195 | #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6 | ||
1196 | #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7 | ||
1197 | #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000 | ||
1198 | typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask); | ||
1199 | typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation); | ||
1200 | #ifdef GL_GLEXT_PROTOTYPES | ||
1201 | GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask); | ||
1202 | GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation); | ||
1203 | #endif | ||
1204 | #endif /* GL_NV_coverage_sample */ | ||
1205 | |||
1206 | #ifndef GL_NV_depth_nonlinear | ||
1207 | #define GL_NV_depth_nonlinear 1 | ||
1208 | #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C | ||
1209 | #endif /* GL_NV_depth_nonlinear */ | ||
1210 | |||
1211 | #ifndef GL_NV_draw_buffers | ||
1212 | #define GL_NV_draw_buffers 1 | ||
1213 | #define GL_MAX_DRAW_BUFFERS_NV 0x8824 | ||
1214 | #define GL_DRAW_BUFFER0_NV 0x8825 | ||
1215 | #define GL_DRAW_BUFFER1_NV 0x8826 | ||
1216 | #define GL_DRAW_BUFFER2_NV 0x8827 | ||
1217 | #define GL_DRAW_BUFFER3_NV 0x8828 | ||
1218 | #define GL_DRAW_BUFFER4_NV 0x8829 | ||
1219 | #define GL_DRAW_BUFFER5_NV 0x882A | ||
1220 | #define GL_DRAW_BUFFER6_NV 0x882B | ||
1221 | #define GL_DRAW_BUFFER7_NV 0x882C | ||
1222 | #define GL_DRAW_BUFFER8_NV 0x882D | ||
1223 | #define GL_DRAW_BUFFER9_NV 0x882E | ||
1224 | #define GL_DRAW_BUFFER10_NV 0x882F | ||
1225 | #define GL_DRAW_BUFFER11_NV 0x8830 | ||
1226 | #define GL_DRAW_BUFFER12_NV 0x8831 | ||
1227 | #define GL_DRAW_BUFFER13_NV 0x8832 | ||
1228 | #define GL_DRAW_BUFFER14_NV 0x8833 | ||
1229 | #define GL_DRAW_BUFFER15_NV 0x8834 | ||
1230 | #define GL_COLOR_ATTACHMENT0_NV 0x8CE0 | ||
1231 | #define GL_COLOR_ATTACHMENT1_NV 0x8CE1 | ||
1232 | #define GL_COLOR_ATTACHMENT2_NV 0x8CE2 | ||
1233 | #define GL_COLOR_ATTACHMENT3_NV 0x8CE3 | ||
1234 | #define GL_COLOR_ATTACHMENT4_NV 0x8CE4 | ||
1235 | #define GL_COLOR_ATTACHMENT5_NV 0x8CE5 | ||
1236 | #define GL_COLOR_ATTACHMENT6_NV 0x8CE6 | ||
1237 | #define GL_COLOR_ATTACHMENT7_NV 0x8CE7 | ||
1238 | #define GL_COLOR_ATTACHMENT8_NV 0x8CE8 | ||
1239 | #define GL_COLOR_ATTACHMENT9_NV 0x8CE9 | ||
1240 | #define GL_COLOR_ATTACHMENT10_NV 0x8CEA | ||
1241 | #define GL_COLOR_ATTACHMENT11_NV 0x8CEB | ||
1242 | #define GL_COLOR_ATTACHMENT12_NV 0x8CEC | ||
1243 | #define GL_COLOR_ATTACHMENT13_NV 0x8CED | ||
1244 | #define GL_COLOR_ATTACHMENT14_NV 0x8CEE | ||
1245 | #define GL_COLOR_ATTACHMENT15_NV 0x8CEF | ||
1246 | typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs); | ||
1247 | #ifdef GL_GLEXT_PROTOTYPES | ||
1248 | GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs); | ||
1249 | #endif | ||
1250 | #endif /* GL_NV_draw_buffers */ | ||
1251 | |||
1252 | #ifndef GL_NV_draw_instanced | ||
1253 | #define GL_NV_draw_instanced 1 | ||
1254 | typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
1255 | typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
1256 | #ifdef GL_GLEXT_PROTOTYPES | ||
1257 | GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount); | ||
1258 | GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount); | ||
1259 | #endif | ||
1260 | #endif /* GL_NV_draw_instanced */ | ||
1261 | |||
1262 | #ifndef GL_NV_explicit_attrib_location | ||
1263 | #define GL_NV_explicit_attrib_location 1 | ||
1264 | #endif /* GL_NV_explicit_attrib_location */ | ||
1265 | |||
1266 | #ifndef GL_NV_fbo_color_attachments | ||
1267 | #define GL_NV_fbo_color_attachments 1 | ||
1268 | #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF | ||
1269 | #endif /* GL_NV_fbo_color_attachments */ | ||
1270 | |||
1271 | #ifndef GL_NV_fence | ||
1272 | #define GL_NV_fence 1 | ||
1273 | #define GL_ALL_COMPLETED_NV 0x84F2 | ||
1274 | #define GL_FENCE_STATUS_NV 0x84F3 | ||
1275 | #define GL_FENCE_CONDITION_NV 0x84F4 | ||
1276 | typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences); | ||
1277 | typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences); | ||
1278 | typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence); | ||
1279 | typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence); | ||
1280 | typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params); | ||
1281 | typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence); | ||
1282 | typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition); | ||
1283 | #ifdef GL_GLEXT_PROTOTYPES | ||
1284 | GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences); | ||
1285 | GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences); | ||
1286 | GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence); | ||
1287 | GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence); | ||
1288 | GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params); | ||
1289 | GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence); | ||
1290 | GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition); | ||
1291 | #endif | ||
1292 | #endif /* GL_NV_fence */ | ||
1293 | |||
1294 | #ifndef GL_NV_framebuffer_blit | ||
1295 | #define GL_NV_framebuffer_blit 1 | ||
1296 | #define GL_READ_FRAMEBUFFER_NV 0x8CA8 | ||
1297 | #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9 | ||
1298 | #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6 | ||
1299 | #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA | ||
1300 | typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
1301 | #ifdef GL_GLEXT_PROTOTYPES | ||
1302 | GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); | ||
1303 | #endif | ||
1304 | #endif /* GL_NV_framebuffer_blit */ | ||
1305 | |||
1306 | #ifndef GL_NV_framebuffer_multisample | ||
1307 | #define GL_NV_framebuffer_multisample 1 | ||
1308 | #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB | ||
1309 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56 | ||
1310 | #define GL_MAX_SAMPLES_NV 0x8D57 | ||
1311 | typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1312 | #ifdef GL_GLEXT_PROTOTYPES | ||
1313 | GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); | ||
1314 | #endif | ||
1315 | #endif /* GL_NV_framebuffer_multisample */ | ||
1316 | |||
1317 | #ifndef GL_NV_generate_mipmap_sRGB | ||
1318 | #define GL_NV_generate_mipmap_sRGB 1 | ||
1319 | #endif /* GL_NV_generate_mipmap_sRGB */ | ||
1320 | |||
1321 | #ifndef GL_NV_instanced_arrays | ||
1322 | #define GL_NV_instanced_arrays 1 | ||
1323 | #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE | ||
1324 | typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor); | ||
1325 | #ifdef GL_GLEXT_PROTOTYPES | ||
1326 | GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor); | ||
1327 | #endif | ||
1328 | #endif /* GL_NV_instanced_arrays */ | ||
1329 | |||
1330 | #ifndef GL_NV_non_square_matrices | ||
1331 | #define GL_NV_non_square_matrices 1 | ||
1332 | #define GL_FLOAT_MAT2x3_NV 0x8B65 | ||
1333 | #define GL_FLOAT_MAT2x4_NV 0x8B66 | ||
1334 | #define GL_FLOAT_MAT3x2_NV 0x8B67 | ||
1335 | #define GL_FLOAT_MAT3x4_NV 0x8B68 | ||
1336 | #define GL_FLOAT_MAT4x2_NV 0x8B69 | ||
1337 | #define GL_FLOAT_MAT4x3_NV 0x8B6A | ||
1338 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1339 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1340 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1341 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1342 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1343 | typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1344 | #ifdef GL_GLEXT_PROTOTYPES | ||
1345 | GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1346 | GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1347 | GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1348 | GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1349 | GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1350 | GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); | ||
1351 | #endif | ||
1352 | #endif /* GL_NV_non_square_matrices */ | ||
1353 | |||
1354 | #ifndef GL_NV_read_buffer | ||
1355 | #define GL_NV_read_buffer 1 | ||
1356 | #define GL_READ_BUFFER_NV 0x0C02 | ||
1357 | typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode); | ||
1358 | #ifdef GL_GLEXT_PROTOTYPES | ||
1359 | GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode); | ||
1360 | #endif | ||
1361 | #endif /* GL_NV_read_buffer */ | ||
1362 | |||
1363 | #ifndef GL_NV_read_buffer_front | ||
1364 | #define GL_NV_read_buffer_front 1 | ||
1365 | #endif /* GL_NV_read_buffer_front */ | ||
1366 | |||
1367 | #ifndef GL_NV_read_depth | ||
1368 | #define GL_NV_read_depth 1 | ||
1369 | #endif /* GL_NV_read_depth */ | ||
1370 | |||
1371 | #ifndef GL_NV_read_depth_stencil | ||
1372 | #define GL_NV_read_depth_stencil 1 | ||
1373 | #endif /* GL_NV_read_depth_stencil */ | ||
1374 | |||
1375 | #ifndef GL_NV_read_stencil | ||
1376 | #define GL_NV_read_stencil 1 | ||
1377 | #endif /* GL_NV_read_stencil */ | ||
1378 | |||
1379 | #ifndef GL_NV_sRGB_formats | ||
1380 | #define GL_NV_sRGB_formats 1 | ||
1381 | #define GL_SLUMINANCE_NV 0x8C46 | ||
1382 | #define GL_SLUMINANCE_ALPHA_NV 0x8C44 | ||
1383 | #define GL_SRGB8_NV 0x8C41 | ||
1384 | #define GL_SLUMINANCE8_NV 0x8C47 | ||
1385 | #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45 | ||
1386 | #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C | ||
1387 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D | ||
1388 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E | ||
1389 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F | ||
1390 | #define GL_ETC1_SRGB8_NV 0x88EE | ||
1391 | #endif /* GL_NV_sRGB_formats */ | ||
1392 | |||
1393 | #ifndef GL_NV_shadow_samplers_array | ||
1394 | #define GL_NV_shadow_samplers_array 1 | ||
1395 | #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4 | ||
1396 | #endif /* GL_NV_shadow_samplers_array */ | ||
1397 | |||
1398 | #ifndef GL_NV_shadow_samplers_cube | ||
1399 | #define GL_NV_shadow_samplers_cube 1 | ||
1400 | #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5 | ||
1401 | #endif /* GL_NV_shadow_samplers_cube */ | ||
1402 | |||
1403 | #ifndef GL_NV_texture_border_clamp | ||
1404 | #define GL_NV_texture_border_clamp 1 | ||
1405 | #define GL_TEXTURE_BORDER_COLOR_NV 0x1004 | ||
1406 | #define GL_CLAMP_TO_BORDER_NV 0x812D | ||
1407 | #endif /* GL_NV_texture_border_clamp */ | ||
1408 | |||
1409 | #ifndef GL_NV_texture_compression_s3tc_update | ||
1410 | #define GL_NV_texture_compression_s3tc_update 1 | ||
1411 | #endif /* GL_NV_texture_compression_s3tc_update */ | ||
1412 | |||
1413 | #ifndef GL_NV_texture_npot_2D_mipmap | ||
1414 | #define GL_NV_texture_npot_2D_mipmap 1 | ||
1415 | #endif /* GL_NV_texture_npot_2D_mipmap */ | ||
1416 | |||
1417 | #ifndef GL_QCOM_alpha_test | ||
1418 | #define GL_QCOM_alpha_test 1 | ||
1419 | #define GL_ALPHA_TEST_QCOM 0x0BC0 | ||
1420 | #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1 | ||
1421 | #define GL_ALPHA_TEST_REF_QCOM 0x0BC2 | ||
1422 | typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref); | ||
1423 | #ifdef GL_GLEXT_PROTOTYPES | ||
1424 | GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref); | ||
1425 | #endif | ||
1426 | #endif /* GL_QCOM_alpha_test */ | ||
1427 | |||
1428 | #ifndef GL_QCOM_binning_control | ||
1429 | #define GL_QCOM_binning_control 1 | ||
1430 | #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0 | ||
1431 | #define GL_CPU_OPTIMIZED_QCOM 0x8FB1 | ||
1432 | #define GL_GPU_OPTIMIZED_QCOM 0x8FB2 | ||
1433 | #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3 | ||
1434 | #endif /* GL_QCOM_binning_control */ | ||
1435 | |||
1436 | #ifndef GL_QCOM_driver_control | ||
1437 | #define GL_QCOM_driver_control 1 | ||
1438 | typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls); | ||
1439 | typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); | ||
1440 | typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); | ||
1441 | typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl); | ||
1442 | #ifdef GL_GLEXT_PROTOTYPES | ||
1443 | GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls); | ||
1444 | GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString); | ||
1445 | GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl); | ||
1446 | GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl); | ||
1447 | #endif | ||
1448 | #endif /* GL_QCOM_driver_control */ | ||
1449 | |||
1450 | #ifndef GL_QCOM_extended_get | ||
1451 | #define GL_QCOM_extended_get 1 | ||
1452 | #define GL_TEXTURE_WIDTH_QCOM 0x8BD2 | ||
1453 | #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3 | ||
1454 | #define GL_TEXTURE_DEPTH_QCOM 0x8BD4 | ||
1455 | #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5 | ||
1456 | #define GL_TEXTURE_FORMAT_QCOM 0x8BD6 | ||
1457 | #define GL_TEXTURE_TYPE_QCOM 0x8BD7 | ||
1458 | #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8 | ||
1459 | #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9 | ||
1460 | #define GL_TEXTURE_TARGET_QCOM 0x8BDA | ||
1461 | #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB | ||
1462 | #define GL_STATE_RESTORE 0x8BDC | ||
1463 | typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures); | ||
1464 | typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); | ||
1465 | typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); | ||
1466 | typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); | ||
1467 | typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); | ||
1468 | typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param); | ||
1469 | 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); | ||
1470 | typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params); | ||
1471 | #ifdef GL_GLEXT_PROTOTYPES | ||
1472 | GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures); | ||
1473 | GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers); | ||
1474 | GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers); | ||
1475 | GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers); | ||
1476 | GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params); | ||
1477 | GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param); | ||
1478 | GL_APICALL 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); | ||
1479 | GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params); | ||
1480 | #endif | ||
1481 | #endif /* GL_QCOM_extended_get */ | ||
1482 | |||
1483 | #ifndef GL_QCOM_extended_get2 | ||
1484 | #define GL_QCOM_extended_get2 1 | ||
1485 | typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders); | ||
1486 | typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms); | ||
1487 | typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); | ||
1488 | typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length); | ||
1489 | #ifdef GL_GLEXT_PROTOTYPES | ||
1490 | GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders); | ||
1491 | GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms); | ||
1492 | GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); | ||
1493 | GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length); | ||
1494 | #endif | ||
1495 | #endif /* GL_QCOM_extended_get2 */ | ||
1496 | |||
1497 | #ifndef GL_QCOM_perfmon_global_mode | ||
1498 | #define GL_QCOM_perfmon_global_mode 1 | ||
1499 | #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0 | ||
1500 | #endif /* GL_QCOM_perfmon_global_mode */ | ||
1501 | |||
1502 | #ifndef GL_QCOM_tiled_rendering | ||
1503 | #define GL_QCOM_tiled_rendering 1 | ||
1504 | #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001 | ||
1505 | #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002 | ||
1506 | #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004 | ||
1507 | #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008 | ||
1508 | #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010 | ||
1509 | #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020 | ||
1510 | #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040 | ||
1511 | #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080 | ||
1512 | #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100 | ||
1513 | #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200 | ||
1514 | #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400 | ||
1515 | #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800 | ||
1516 | #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000 | ||
1517 | #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000 | ||
1518 | #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000 | ||
1519 | #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000 | ||
1520 | #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000 | ||
1521 | #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000 | ||
1522 | #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000 | ||
1523 | #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000 | ||
1524 | #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000 | ||
1525 | #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000 | ||
1526 | #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000 | ||
1527 | #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000 | ||
1528 | #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000 | ||
1529 | #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000 | ||
1530 | #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000 | ||
1531 | #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000 | ||
1532 | #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000 | ||
1533 | #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000 | ||
1534 | #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000 | ||
1535 | #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000 | ||
1536 | typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); | ||
1537 | typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask); | ||
1538 | #ifdef GL_GLEXT_PROTOTYPES | ||
1539 | GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask); | ||
1540 | GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask); | ||
1541 | #endif | ||
1542 | #endif /* GL_QCOM_tiled_rendering */ | ||
1543 | |||
1544 | #ifndef GL_QCOM_writeonly_rendering | ||
1545 | #define GL_QCOM_writeonly_rendering 1 | ||
1546 | #define GL_WRITEONLY_RENDERING_QCOM 0x8823 | ||
1547 | #endif /* GL_QCOM_writeonly_rendering */ | ||
1548 | |||
1549 | #ifndef GL_VIV_shader_binary | ||
1550 | #define GL_VIV_shader_binary 1 | ||
1551 | #define GL_SHADER_BINARY_VIV 0x8FC4 | ||
1552 | #endif /* GL_VIV_shader_binary */ | ||
1553 | |||
1554 | #ifdef __cplusplus | ||
1555 | } | ||
1556 | #endif | ||
1557 | |||
1558 | #endif | ||