wininet: Added support for INTERNET_COOKIE_HTTPONLY flag to InternetSetCookieEx.
[wine/multimedia.git] / dlls / wined3d / wined3d_gl.h
blobacfbe3cebfd187b66b18e718675ebf98789c1033
1 /*
2 * Direct3D wine OpenGL include file
4 * Copyright 2002-2003 The wine-d3d team
5 * Copyright 2002-2004 Jason Edmeades
6 * Raphael Junqueira
7 * Copyright 2007 Roderick Colenbrander
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
24 #ifndef __WINE_WINED3D_GL_H
25 #define __WINE_WINED3D_GL_H
27 #include "wine/wgl.h"
29 #define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837 /* not in the gl spec */
31 void (WINE_GLAPI *glDisableWINE)(GLenum cap) DECLSPEC_HIDDEN;
32 void (WINE_GLAPI *glEnableWINE)(GLenum cap) DECLSPEC_HIDDEN;
34 /* OpenGL extensions. */
35 enum wined3d_gl_extension
37 WINED3D_GL_EXT_NONE,
39 /* APPLE */
40 APPLE_CLIENT_STORAGE,
41 APPLE_FENCE,
42 APPLE_FLOAT_PIXELS,
43 APPLE_FLUSH_BUFFER_RANGE,
44 APPLE_YCBCR_422,
45 /* ARB */
46 ARB_BLEND_FUNC_EXTENDED,
47 ARB_COLOR_BUFFER_FLOAT,
48 ARB_DEBUG_OUTPUT,
49 ARB_DEPTH_BUFFER_FLOAT,
50 ARB_DEPTH_CLAMP,
51 ARB_DEPTH_TEXTURE,
52 ARB_DRAW_BUFFERS,
53 ARB_DRAW_ELEMENTS_BASE_VERTEX,
54 ARB_DRAW_INSTANCED,
55 ARB_FRAGMENT_PROGRAM,
56 ARB_FRAGMENT_SHADER,
57 ARB_FRAMEBUFFER_OBJECT,
58 ARB_FRAMEBUFFER_SRGB,
59 ARB_GEOMETRY_SHADER4,
60 ARB_HALF_FLOAT_PIXEL,
61 ARB_HALF_FLOAT_VERTEX,
62 ARB_INSTANCED_ARRAYS,
63 ARB_INTERNALFORMAT_QUERY2,
64 ARB_MAP_BUFFER_ALIGNMENT,
65 ARB_MAP_BUFFER_RANGE,
66 ARB_MULTISAMPLE,
67 ARB_MULTITEXTURE,
68 ARB_OCCLUSION_QUERY,
69 ARB_PIXEL_BUFFER_OBJECT,
70 ARB_POINT_PARAMETERS,
71 ARB_POINT_SPRITE,
72 ARB_PROVOKING_VERTEX,
73 ARB_SHADER_BIT_ENCODING,
74 ARB_SHADER_OBJECTS,
75 ARB_SHADER_TEXTURE_LOD,
76 ARB_SHADING_LANGUAGE_100,
77 ARB_SHADOW,
78 ARB_SYNC,
79 ARB_TEXTURE_BORDER_CLAMP,
80 ARB_TEXTURE_COMPRESSION,
81 ARB_TEXTURE_COMPRESSION_RGTC,
82 ARB_TEXTURE_CUBE_MAP,
83 ARB_TEXTURE_ENV_ADD,
84 ARB_TEXTURE_ENV_COMBINE,
85 ARB_TEXTURE_ENV_DOT3,
86 ARB_TEXTURE_FLOAT,
87 ARB_TEXTURE_MIRRORED_REPEAT,
88 ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE,
89 ARB_TEXTURE_NON_POWER_OF_TWO,
90 ARB_TEXTURE_RECTANGLE,
91 ARB_TEXTURE_RG,
92 ARB_TIMER_QUERY,
93 ARB_VERTEX_ARRAY_BGRA,
94 ARB_VERTEX_BLEND,
95 ARB_VERTEX_BUFFER_OBJECT,
96 ARB_VERTEX_PROGRAM,
97 ARB_VERTEX_SHADER,
98 /* ATI */
99 ATI_FRAGMENT_SHADER,
100 ATI_SEPARATE_STENCIL,
101 ATI_TEXTURE_COMPRESSION_3DC,
102 ATI_TEXTURE_ENV_COMBINE3,
103 ATI_TEXTURE_MIRROR_ONCE,
104 /* EXT */
105 EXT_BLEND_COLOR,
106 EXT_BLEND_EQUATION_SEPARATE,
107 EXT_BLEND_FUNC_SEPARATE,
108 EXT_BLEND_MINMAX,
109 EXT_BLEND_SUBTRACT,
110 EXT_DRAW_BUFFERS2,
111 EXT_DEPTH_BOUNDS_TEST,
112 EXT_FOG_COORD,
113 EXT_FRAMEBUFFER_BLIT,
114 EXT_FRAMEBUFFER_MULTISAMPLE,
115 EXT_FRAMEBUFFER_OBJECT,
116 EXT_GPU_PROGRAM_PARAMETERS,
117 EXT_GPU_SHADER4,
118 EXT_PACKED_DEPTH_STENCIL,
119 EXT_POINT_PARAMETERS,
120 EXT_PROVOKING_VERTEX,
121 EXT_SECONDARY_COLOR,
122 EXT_STENCIL_TWO_SIDE,
123 EXT_STENCIL_WRAP,
124 EXT_TEXTURE3D,
125 EXT_TEXTURE_COMPRESSION_RGTC,
126 EXT_TEXTURE_COMPRESSION_S3TC,
127 EXT_TEXTURE_ENV_ADD,
128 EXT_TEXTURE_ENV_COMBINE,
129 EXT_TEXTURE_ENV_DOT3,
130 EXT_TEXTURE_FILTER_ANISOTROPIC,
131 EXT_TEXTURE_LOD_BIAS,
132 EXT_TEXTURE_MIRROR_CLAMP,
133 EXT_TEXTURE_SRGB,
134 EXT_TEXTURE_SRGB_DECODE,
135 EXT_VERTEX_ARRAY_BGRA,
136 /* NVIDIA */
137 NV_DEPTH_CLAMP,
138 NV_FENCE,
139 NV_FOG_DISTANCE,
140 NV_FRAGMENT_PROGRAM,
141 NV_FRAGMENT_PROGRAM2,
142 NV_FRAGMENT_PROGRAM_OPTION,
143 NV_HALF_FLOAT,
144 NV_LIGHT_MAX_EXPONENT,
145 NV_POINT_SPRITE,
146 NV_REGISTER_COMBINERS,
147 NV_REGISTER_COMBINERS2,
148 NV_TEXGEN_REFLECTION,
149 NV_TEXTURE_ENV_COMBINE4,
150 NV_TEXTURE_SHADER,
151 NV_TEXTURE_SHADER2,
152 NV_VERTEX_PROGRAM,
153 NV_VERTEX_PROGRAM1_1,
154 NV_VERTEX_PROGRAM2,
155 NV_VERTEX_PROGRAM2_OPTION,
156 NV_VERTEX_PROGRAM3,
157 /* SGI */
158 SGIS_GENERATE_MIPMAP,
159 /* WGL extensions */
160 WGL_ARB_PIXEL_FORMAT,
161 WGL_EXT_SWAP_CONTROL,
162 WGL_WINE_PIXEL_FORMAT_PASSTHROUGH,
163 /* Internally used */
164 WINED3D_GL_NORMALIZED_TEXRECT,
165 WINED3D_GL_VERSION_2_0,
167 WINED3D_GL_EXT_COUNT,
170 #include "wine/wglext.h"
172 #define GL_EXT_FUNCS_GEN \
173 /* GL_APPLE_fence */ \
174 USE_GL_FUNC(glDeleteFencesAPPLE) \
175 USE_GL_FUNC(glFinishFenceAPPLE) \
176 USE_GL_FUNC(glFinishObjectAPPLE) \
177 USE_GL_FUNC(glGenFencesAPPLE) \
178 USE_GL_FUNC(glIsFenceAPPLE) \
179 USE_GL_FUNC(glSetFenceAPPLE) \
180 USE_GL_FUNC(glTestFenceAPPLE) \
181 USE_GL_FUNC(glTestObjectAPPLE) \
182 /* GL_APPLE_flush_buffer_range */ \
183 USE_GL_FUNC(glBufferParameteriAPPLE) \
184 USE_GL_FUNC(glFlushMappedBufferRangeAPPLE) \
185 /* GL_ARB_blend_func_extended */ \
186 USE_GL_FUNC(glBindFragDataLocationIndexed) \
187 USE_GL_FUNC(glGetFragDataIndex) \
188 /* GL_ARB_color_buffer_float */ \
189 USE_GL_FUNC(glClampColorARB) \
190 /* GL_ARB_debug_output */ \
191 USE_GL_FUNC(glDebugMessageCallbackARB) \
192 USE_GL_FUNC(glDebugMessageControlARB) \
193 USE_GL_FUNC(glDebugMessageInsertARB) \
194 USE_GL_FUNC(glGetDebugMessageLogARB) \
195 /* GL_ARB_draw_buffers */ \
196 USE_GL_FUNC(glDrawBuffersARB) \
197 /* GL_ARB_draw_elements_base_vertex */ \
198 USE_GL_FUNC(glDrawElementsBaseVertex) \
199 USE_GL_FUNC(glDrawElementsInstancedBaseVertex) \
200 USE_GL_FUNC(glDrawRangeElementsBaseVertex) \
201 USE_GL_FUNC(glMultiDrawElementsBaseVertex) \
202 /* GL_ARB_draw_instanced */ \
203 USE_GL_FUNC(glDrawArraysInstancedARB) \
204 USE_GL_FUNC(glDrawElementsInstancedARB) \
205 /* GL_ARB_framebuffer_object */ \
206 USE_GL_FUNC(glBindFramebuffer) \
207 USE_GL_FUNC(glBindRenderbuffer) \
208 USE_GL_FUNC(glBlitFramebuffer) \
209 USE_GL_FUNC(glCheckFramebufferStatus) \
210 USE_GL_FUNC(glDeleteFramebuffers) \
211 USE_GL_FUNC(glDeleteRenderbuffers) \
212 USE_GL_FUNC(glFramebufferRenderbuffer) \
213 USE_GL_FUNC(glFramebufferTexture1D) \
214 USE_GL_FUNC(glFramebufferTexture2D) \
215 USE_GL_FUNC(glFramebufferTexture3D) \
216 USE_GL_FUNC(glFramebufferTextureLayer) \
217 USE_GL_FUNC(glGenFramebuffers) \
218 USE_GL_FUNC(glGenRenderbuffers) \
219 USE_GL_FUNC(glGenerateMipmap) \
220 USE_GL_FUNC(glGetFramebufferAttachmentParameteriv) \
221 USE_GL_FUNC(glGetRenderbufferParameteriv) \
222 USE_GL_FUNC(glIsFramebuffer) \
223 USE_GL_FUNC(glIsRenderbuffer) \
224 USE_GL_FUNC(glRenderbufferStorage) \
225 USE_GL_FUNC(glRenderbufferStorageMultisample) \
226 /* GL_ARB_geometry_shader4 */ \
227 USE_GL_FUNC(glFramebufferTextureARB) \
228 USE_GL_FUNC(glFramebufferTextureFaceARB) \
229 USE_GL_FUNC(glFramebufferTextureLayerARB) \
230 USE_GL_FUNC(glProgramParameteriARB) \
231 /* GL_ARB_instanced_arrays */ \
232 USE_GL_FUNC(glVertexAttribDivisorARB) \
233 /* GL_ARB_internalformat_query */ \
234 USE_GL_FUNC(glGetInternalformativ) \
235 /* GL_ARB_internalformat_query2 */ \
236 USE_GL_FUNC(glGetInternalformati64v) \
237 /* GL_ARB_map_buffer_range */ \
238 USE_GL_FUNC(glFlushMappedBufferRange) \
239 USE_GL_FUNC(glMapBufferRange) \
240 /* GL_ARB_multisample */ \
241 USE_GL_FUNC(glSampleCoverageARB) \
242 /* GL_ARB_multitexture */ \
243 USE_GL_FUNC(glActiveTextureARB) \
244 USE_GL_FUNC(glClientActiveTextureARB) \
245 USE_GL_FUNC(glMultiTexCoord1fARB) \
246 USE_GL_FUNC(glMultiTexCoord1fvARB) \
247 USE_GL_FUNC(glMultiTexCoord2fARB) \
248 USE_GL_FUNC(glMultiTexCoord2fvARB) \
249 USE_GL_FUNC(glMultiTexCoord2svARB) \
250 USE_GL_FUNC(glMultiTexCoord3fARB) \
251 USE_GL_FUNC(glMultiTexCoord3fvARB) \
252 USE_GL_FUNC(glMultiTexCoord4fARB) \
253 USE_GL_FUNC(glMultiTexCoord4fvARB) \
254 USE_GL_FUNC(glMultiTexCoord4svARB) \
255 /* GL_ARB_occlusion_query */ \
256 USE_GL_FUNC(glBeginQueryARB) \
257 USE_GL_FUNC(glDeleteQueriesARB) \
258 USE_GL_FUNC(glEndQueryARB) \
259 USE_GL_FUNC(glGenQueriesARB) \
260 USE_GL_FUNC(glGetQueryivARB) \
261 USE_GL_FUNC(glGetQueryObjectivARB) \
262 USE_GL_FUNC(glGetQueryObjectuivARB) \
263 USE_GL_FUNC(glIsQueryARB) \
264 /* GL_ARB_point_parameters */ \
265 USE_GL_FUNC(glPointParameterfARB) \
266 USE_GL_FUNC(glPointParameterfvARB) \
267 /* GL_ARB_provoking_vertex */ \
268 USE_GL_FUNC(glProvokingVertex) \
269 /* GL_ARB_shader_objects */ \
270 USE_GL_FUNC(glAttachObjectARB) \
271 USE_GL_FUNC(glBindAttribLocationARB) \
272 USE_GL_FUNC(glCompileShaderARB) \
273 USE_GL_FUNC(glCreateProgramObjectARB) \
274 USE_GL_FUNC(glCreateShaderObjectARB) \
275 USE_GL_FUNC(glDeleteObjectARB) \
276 USE_GL_FUNC(glDetachObjectARB) \
277 USE_GL_FUNC(glGetActiveUniformARB) \
278 USE_GL_FUNC(glGetAttachedObjectsARB) \
279 USE_GL_FUNC(glGetAttribLocationARB) \
280 USE_GL_FUNC(glGetHandleARB) \
281 USE_GL_FUNC(glGetInfoLogARB) \
282 USE_GL_FUNC(glGetObjectParameterfvARB) \
283 USE_GL_FUNC(glGetObjectParameterivARB) \
284 USE_GL_FUNC(glGetShaderSourceARB) \
285 USE_GL_FUNC(glGetUniformLocationARB) \
286 USE_GL_FUNC(glGetUniformfvARB) \
287 USE_GL_FUNC(glGetUniformivARB) \
288 USE_GL_FUNC(glLinkProgramARB) \
289 USE_GL_FUNC(glShaderSourceARB) \
290 USE_GL_FUNC(glUniform1fARB) \
291 USE_GL_FUNC(glUniform1fvARB) \
292 USE_GL_FUNC(glUniform1iARB) \
293 USE_GL_FUNC(glUniform1ivARB) \
294 USE_GL_FUNC(glUniform2fARB) \
295 USE_GL_FUNC(glUniform2fvARB) \
296 USE_GL_FUNC(glUniform2iARB) \
297 USE_GL_FUNC(glUniform2ivARB) \
298 USE_GL_FUNC(glUniform3fARB) \
299 USE_GL_FUNC(glUniform3fvARB) \
300 USE_GL_FUNC(glUniform3iARB) \
301 USE_GL_FUNC(glUniform3ivARB) \
302 USE_GL_FUNC(glUniform4fARB) \
303 USE_GL_FUNC(glUniform4fvARB) \
304 USE_GL_FUNC(glUniform4iARB) \
305 USE_GL_FUNC(glUniform4ivARB) \
306 USE_GL_FUNC(glUniformMatrix2fvARB) \
307 USE_GL_FUNC(glUniformMatrix3fvARB) \
308 USE_GL_FUNC(glUniformMatrix4fvARB) \
309 USE_GL_FUNC(glUseProgramObjectARB) \
310 USE_GL_FUNC(glValidateProgramARB) \
311 /* GL_ARB_sync */ \
312 USE_GL_FUNC(glClientWaitSync) \
313 USE_GL_FUNC(glDeleteSync) \
314 USE_GL_FUNC(glFenceSync) \
315 USE_GL_FUNC(glGetInteger64v) \
316 USE_GL_FUNC(glGetSynciv) \
317 USE_GL_FUNC(glIsSync) \
318 USE_GL_FUNC(glWaitSync) \
319 /* GL_ARB_texture_compression */ \
320 USE_GL_FUNC(glCompressedTexImage2DARB) \
321 USE_GL_FUNC(glCompressedTexImage3DARB) \
322 USE_GL_FUNC(glCompressedTexSubImage2DARB) \
323 USE_GL_FUNC(glCompressedTexSubImage3DARB) \
324 USE_GL_FUNC(glGetCompressedTexImageARB) \
325 /* GL_ARB_timer_query */ \
326 USE_GL_FUNC(glQueryCounter) \
327 USE_GL_FUNC(glGetQueryObjectui64v) \
328 /* GL_ARB_vertex_blend */ \
329 USE_GL_FUNC(glVertexBlendARB) \
330 USE_GL_FUNC(glWeightPointerARB) \
331 USE_GL_FUNC(glWeightbvARB) \
332 USE_GL_FUNC(glWeightdvARB) \
333 USE_GL_FUNC(glWeightfvARB) \
334 USE_GL_FUNC(glWeightivARB) \
335 USE_GL_FUNC(glWeightsvARB) \
336 USE_GL_FUNC(glWeightubvARB) \
337 USE_GL_FUNC(glWeightuivARB) \
338 USE_GL_FUNC(glWeightusvARB) \
339 /* GL_ARB_vertex_buffer_object */ \
340 USE_GL_FUNC(glBindBufferARB) \
341 USE_GL_FUNC(glBufferDataARB) \
342 USE_GL_FUNC(glBufferSubDataARB) \
343 USE_GL_FUNC(glDeleteBuffersARB) \
344 USE_GL_FUNC(glGenBuffersARB) \
345 USE_GL_FUNC(glGetBufferParameterivARB) \
346 USE_GL_FUNC(glGetBufferPointervARB) \
347 USE_GL_FUNC(glGetBufferSubDataARB) \
348 USE_GL_FUNC(glIsBufferARB) \
349 USE_GL_FUNC(glMapBufferARB) \
350 USE_GL_FUNC(glUnmapBufferARB) \
351 /* GL_ARB_vertex_program */ \
352 USE_GL_FUNC(glBindProgramARB) \
353 USE_GL_FUNC(glDeleteProgramsARB) \
354 USE_GL_FUNC(glDisableVertexAttribArrayARB) \
355 USE_GL_FUNC(glEnableVertexAttribArrayARB) \
356 USE_GL_FUNC(glGenProgramsARB) \
357 USE_GL_FUNC(glGetProgramivARB) \
358 USE_GL_FUNC(glProgramEnvParameter4fvARB) \
359 USE_GL_FUNC(glProgramLocalParameter4fvARB) \
360 USE_GL_FUNC(glProgramStringARB) \
361 USE_GL_FUNC(glVertexAttrib1dARB) \
362 USE_GL_FUNC(glVertexAttrib1dvARB) \
363 USE_GL_FUNC(glVertexAttrib1fARB) \
364 USE_GL_FUNC(glVertexAttrib1fvARB) \
365 USE_GL_FUNC(glVertexAttrib1sARB) \
366 USE_GL_FUNC(glVertexAttrib1svARB) \
367 USE_GL_FUNC(glVertexAttrib2dARB) \
368 USE_GL_FUNC(glVertexAttrib2dvARB) \
369 USE_GL_FUNC(glVertexAttrib2fARB) \
370 USE_GL_FUNC(glVertexAttrib2fvARB) \
371 USE_GL_FUNC(glVertexAttrib2sARB) \
372 USE_GL_FUNC(glVertexAttrib2svARB) \
373 USE_GL_FUNC(glVertexAttrib3dARB) \
374 USE_GL_FUNC(glVertexAttrib3dvARB) \
375 USE_GL_FUNC(glVertexAttrib3fARB) \
376 USE_GL_FUNC(glVertexAttrib3fvARB) \
377 USE_GL_FUNC(glVertexAttrib3sARB) \
378 USE_GL_FUNC(glVertexAttrib3svARB) \
379 USE_GL_FUNC(glVertexAttrib4NbvARB) \
380 USE_GL_FUNC(glVertexAttrib4NivARB) \
381 USE_GL_FUNC(glVertexAttrib4NsvARB) \
382 USE_GL_FUNC(glVertexAttrib4NubARB) \
383 USE_GL_FUNC(glVertexAttrib4NubvARB) \
384 USE_GL_FUNC(glVertexAttrib4NuivARB) \
385 USE_GL_FUNC(glVertexAttrib4NusvARB) \
386 USE_GL_FUNC(glVertexAttrib4bvARB) \
387 USE_GL_FUNC(glVertexAttrib4dARB) \
388 USE_GL_FUNC(glVertexAttrib4dvARB) \
389 USE_GL_FUNC(glVertexAttrib4fARB) \
390 USE_GL_FUNC(glVertexAttrib4fvARB) \
391 USE_GL_FUNC(glVertexAttrib4ivARB) \
392 USE_GL_FUNC(glVertexAttrib4sARB) \
393 USE_GL_FUNC(glVertexAttrib4svARB) \
394 USE_GL_FUNC(glVertexAttrib4ubvARB) \
395 USE_GL_FUNC(glVertexAttrib4uivARB) \
396 USE_GL_FUNC(glVertexAttrib4usvARB) \
397 USE_GL_FUNC(glVertexAttribPointerARB) \
398 /* GL_ATI_fragment_shader */ \
399 USE_GL_FUNC(glAlphaFragmentOp1ATI) \
400 USE_GL_FUNC(glAlphaFragmentOp2ATI) \
401 USE_GL_FUNC(glAlphaFragmentOp3ATI) \
402 USE_GL_FUNC(glBeginFragmentShaderATI) \
403 USE_GL_FUNC(glBindFragmentShaderATI) \
404 USE_GL_FUNC(glColorFragmentOp1ATI) \
405 USE_GL_FUNC(glColorFragmentOp2ATI) \
406 USE_GL_FUNC(glColorFragmentOp3ATI) \
407 USE_GL_FUNC(glDeleteFragmentShaderATI) \
408 USE_GL_FUNC(glEndFragmentShaderATI) \
409 USE_GL_FUNC(glGenFragmentShadersATI) \
410 USE_GL_FUNC(glPassTexCoordATI) \
411 USE_GL_FUNC(glSampleMapATI) \
412 USE_GL_FUNC(glSetFragmentShaderConstantATI) \
413 /* GL_ATI_separate_stencil */ \
414 USE_GL_FUNC(glStencilOpSeparateATI) \
415 USE_GL_FUNC(glStencilFuncSeparateATI) \
416 /* GL_EXT_blend_color */ \
417 USE_GL_FUNC(glBlendColorEXT) \
418 /* GL_EXT_blend_equation_separate */ \
419 USE_GL_FUNC(glBlendFuncSeparateEXT) \
420 /* GL_EXT_blend_func_separate */ \
421 USE_GL_FUNC(glBlendEquationSeparateEXT) \
422 /* GL_EXT_blend_minmax */ \
423 USE_GL_FUNC(glBlendEquationEXT) \
424 /* GL_EXT_depth_bounds_test */ \
425 USE_GL_FUNC(glDepthBoundsEXT) \
426 /* GL_EXT_draw_buffers2 */ \
427 USE_GL_FUNC(glColorMaskIndexedEXT) \
428 USE_GL_FUNC(glDisableIndexedEXT) \
429 USE_GL_FUNC(glEnableIndexedEXT) \
430 USE_GL_FUNC(glGetBooleanIndexedvEXT) \
431 USE_GL_FUNC(glGetIntegerIndexedvEXT) \
432 USE_GL_FUNC(glIsEnabledIndexedEXT) \
433 /* GL_EXT_fog_coord */ \
434 USE_GL_FUNC(glFogCoordPointerEXT) \
435 USE_GL_FUNC(glFogCoorddEXT) \
436 USE_GL_FUNC(glFogCoorddvEXT) \
437 USE_GL_FUNC(glFogCoordfEXT) \
438 USE_GL_FUNC(glFogCoordfvEXT) \
439 /* GL_EXT_framebuffer_blit */ \
440 USE_GL_FUNC(glBlitFramebufferEXT) \
441 /* GL_EXT_framebuffer_multisample */ \
442 USE_GL_FUNC(glRenderbufferStorageMultisampleEXT) \
443 /* GL_EXT_framebuffer_object */ \
444 USE_GL_FUNC(glBindFramebufferEXT) \
445 USE_GL_FUNC(glBindRenderbufferEXT) \
446 USE_GL_FUNC(glCheckFramebufferStatusEXT) \
447 USE_GL_FUNC(glDeleteFramebuffersEXT) \
448 USE_GL_FUNC(glDeleteRenderbuffersEXT) \
449 USE_GL_FUNC(glFramebufferRenderbufferEXT) \
450 USE_GL_FUNC(glFramebufferTexture1DEXT) \
451 USE_GL_FUNC(glFramebufferTexture2DEXT) \
452 USE_GL_FUNC(glFramebufferTexture3DEXT) \
453 USE_GL_FUNC(glGenFramebuffersEXT) \
454 USE_GL_FUNC(glGenRenderbuffersEXT) \
455 USE_GL_FUNC(glGenerateMipmapEXT) \
456 USE_GL_FUNC(glGetFramebufferAttachmentParameterivEXT) \
457 USE_GL_FUNC(glGetRenderbufferParameterivEXT) \
458 USE_GL_FUNC(glIsFramebufferEXT) \
459 USE_GL_FUNC(glIsRenderbufferEXT) \
460 USE_GL_FUNC(glRenderbufferStorageEXT) \
461 /* GL_EXT_gpu_program_parameters */ \
462 USE_GL_FUNC(glProgramEnvParameters4fvEXT) \
463 USE_GL_FUNC(glProgramLocalParameters4fvEXT) \
464 /* GL_EXT_gpu_shader4 */\
465 USE_GL_FUNC(glBindFragDataLocationEXT) \
466 USE_GL_FUNC(glGetFragDataLocationEXT) \
467 USE_GL_FUNC(glGetUniformuivEXT) \
468 USE_GL_FUNC(glGetVertexAttribIivEXT) \
469 USE_GL_FUNC(glGetVertexAttribIuivEXT) \
470 USE_GL_FUNC(glUniform1uiEXT) \
471 USE_GL_FUNC(glUniform1uivEXT) \
472 USE_GL_FUNC(glUniform2uiEXT) \
473 USE_GL_FUNC(glUniform2uivEXT) \
474 USE_GL_FUNC(glUniform3uiEXT) \
475 USE_GL_FUNC(glUniform3uivEXT) \
476 USE_GL_FUNC(glUniform4uiEXT) \
477 USE_GL_FUNC(glUniform4uivEXT) \
478 USE_GL_FUNC(glVertexAttribI1iEXT) \
479 USE_GL_FUNC(glVertexAttribI1ivEXT) \
480 USE_GL_FUNC(glVertexAttribI1uiEXT) \
481 USE_GL_FUNC(glVertexAttribI1uivEXT) \
482 USE_GL_FUNC(glVertexAttribI2iEXT) \
483 USE_GL_FUNC(glVertexAttribI2ivEXT) \
484 USE_GL_FUNC(glVertexAttribI2uiEXT) \
485 USE_GL_FUNC(glVertexAttribI2uivEXT) \
486 USE_GL_FUNC(glVertexAttribI3iEXT) \
487 USE_GL_FUNC(glVertexAttribI3ivEXT) \
488 USE_GL_FUNC(glVertexAttribI3uiEXT) \
489 USE_GL_FUNC(glVertexAttribI3uivEXT) \
490 USE_GL_FUNC(glVertexAttribI4bvEXT) \
491 USE_GL_FUNC(glVertexAttribI4iEXT) \
492 USE_GL_FUNC(glVertexAttribI4ivEXT) \
493 USE_GL_FUNC(glVertexAttribI4svEXT) \
494 USE_GL_FUNC(glVertexAttribI4ubvEXT) \
495 USE_GL_FUNC(glVertexAttribI4uiEXT) \
496 USE_GL_FUNC(glVertexAttribI4uivEXT) \
497 USE_GL_FUNC(glVertexAttribI4usvEXT) \
498 USE_GL_FUNC(glVertexAttribIPointerEXT) \
499 /* GL_EXT_point_parameters */ \
500 USE_GL_FUNC(glPointParameterfEXT) \
501 USE_GL_FUNC(glPointParameterfvEXT) \
502 /* GL_EXT_provoking_vertex */ \
503 USE_GL_FUNC(glProvokingVertexEXT) \
504 /* GL_EXT_secondary_color */ \
505 USE_GL_FUNC(glSecondaryColor3fEXT) \
506 USE_GL_FUNC(glSecondaryColor3fvEXT) \
507 USE_GL_FUNC(glSecondaryColor3ubEXT) \
508 USE_GL_FUNC(glSecondaryColor3ubvEXT) \
509 USE_GL_FUNC(glSecondaryColorPointerEXT) \
510 /* GL_EXT_stencil_two_side */ \
511 USE_GL_FUNC(glActiveStencilFaceEXT) \
512 /* GL_EXT_texture3D */ \
513 USE_GL_FUNC(glTexImage3D) \
514 USE_GL_FUNC(glTexImage3DEXT) \
515 USE_GL_FUNC(glTexSubImage3D) \
516 USE_GL_FUNC(glTexSubImage3DEXT) \
517 /* GL_NV_fence */ \
518 USE_GL_FUNC(glDeleteFencesNV) \
519 USE_GL_FUNC(glFinishFenceNV) \
520 USE_GL_FUNC(glGenFencesNV) \
521 USE_GL_FUNC(glGetFenceivNV) \
522 USE_GL_FUNC(glIsFenceNV) \
523 USE_GL_FUNC(glSetFenceNV) \
524 USE_GL_FUNC(glTestFenceNV) \
525 /* GL_NV_half_float */ \
526 USE_GL_FUNC(glColor3hNV) \
527 USE_GL_FUNC(glColor3hvNV) \
528 USE_GL_FUNC(glColor4hNV) \
529 USE_GL_FUNC(glColor4hvNV) \
530 USE_GL_FUNC(glFogCoordhNV) \
531 USE_GL_FUNC(glFogCoordhvNV) \
532 USE_GL_FUNC(glMultiTexCoord1hNV) \
533 USE_GL_FUNC(glMultiTexCoord1hvNV) \
534 USE_GL_FUNC(glMultiTexCoord2hNV) \
535 USE_GL_FUNC(glMultiTexCoord2hvNV) \
536 USE_GL_FUNC(glMultiTexCoord3hNV) \
537 USE_GL_FUNC(glMultiTexCoord3hvNV) \
538 USE_GL_FUNC(glMultiTexCoord4hNV) \
539 USE_GL_FUNC(glMultiTexCoord4hvNV) \
540 USE_GL_FUNC(glNormal3hNV) \
541 USE_GL_FUNC(glNormal3hvNV) \
542 USE_GL_FUNC(glSecondaryColor3hNV) \
543 USE_GL_FUNC(glSecondaryColor3hvNV) \
544 USE_GL_FUNC(glTexCoord1hNV) \
545 USE_GL_FUNC(glTexCoord1hvNV) \
546 USE_GL_FUNC(glTexCoord2hNV) \
547 USE_GL_FUNC(glTexCoord2hvNV) \
548 USE_GL_FUNC(glTexCoord3hNV) \
549 USE_GL_FUNC(glTexCoord3hvNV) \
550 USE_GL_FUNC(glTexCoord4hNV) \
551 USE_GL_FUNC(glTexCoord4hvNV) \
552 USE_GL_FUNC(glVertex2hNV) \
553 USE_GL_FUNC(glVertex2hvNV) \
554 USE_GL_FUNC(glVertex3hNV) \
555 USE_GL_FUNC(glVertex3hvNV) \
556 USE_GL_FUNC(glVertex4hNV) \
557 USE_GL_FUNC(glVertex4hvNV) \
558 USE_GL_FUNC(glVertexAttrib1hNV) \
559 USE_GL_FUNC(glVertexAttrib1hvNV) \
560 USE_GL_FUNC(glVertexAttrib2hNV) \
561 USE_GL_FUNC(glVertexAttrib2hvNV) \
562 USE_GL_FUNC(glVertexAttrib3hNV) \
563 USE_GL_FUNC(glVertexAttrib3hvNV) \
564 USE_GL_FUNC(glVertexAttrib4hNV) \
565 USE_GL_FUNC(glVertexAttrib4hvNV) \
566 USE_GL_FUNC(glVertexAttribs1hvNV) \
567 USE_GL_FUNC(glVertexAttribs2hvNV) \
568 USE_GL_FUNC(glVertexAttribs3hvNV) \
569 USE_GL_FUNC(glVertexAttribs4hvNV) \
570 USE_GL_FUNC(glVertexWeighthNV) \
571 USE_GL_FUNC(glVertexWeighthvNV) \
572 /* GL_NV_point_sprite */ \
573 USE_GL_FUNC(glPointParameteri) \
574 USE_GL_FUNC(glPointParameteriNV) \
575 USE_GL_FUNC(glPointParameteriv) \
576 USE_GL_FUNC(glPointParameterivNV) \
577 /* GL_NV_register_combiners */ \
578 USE_GL_FUNC(glCombinerInputNV) \
579 USE_GL_FUNC(glCombinerOutputNV) \
580 USE_GL_FUNC(glCombinerParameterfNV) \
581 USE_GL_FUNC(glCombinerParameterfvNV) \
582 USE_GL_FUNC(glCombinerParameteriNV) \
583 USE_GL_FUNC(glCombinerParameterivNV) \
584 USE_GL_FUNC(glFinalCombinerInputNV) \
585 /* WGL extensions */ \
586 USE_GL_FUNC(wglChoosePixelFormatARB) \
587 USE_GL_FUNC(wglGetExtensionsStringARB) \
588 USE_GL_FUNC(wglGetPixelFormatAttribfvARB) \
589 USE_GL_FUNC(wglGetPixelFormatAttribivARB) \
590 USE_GL_FUNC(wglSetPixelFormatWINE) \
591 USE_GL_FUNC(wglSwapIntervalEXT)
593 #endif /* __WINE_WINED3D_GL */