2 * Direct3D wine OpenGL include file
4 * Copyright 2002-2003 The wine-d3d team
5 * Copyright 2002-2004 Jason Edmeades
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
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
42 APPLE_FLUSH_BUFFER_RANGE
,
46 ARB_BLEND_FUNC_EXTENDED
,
47 ARB_CLEAR_BUFFER_OBJECT
,
50 ARB_COLOR_BUFFER_FLOAT
,
52 ARB_CONSERVATIVE_DEPTH
,
55 ARB_DEPTH_BUFFER_FLOAT
,
57 ARB_DERIVATIVE_CONTROL
,
59 ARB_DRAW_ELEMENTS_BASE_VERTEX
,
62 ARB_ES2_COMPATIBILITY
,
63 ARB_ES3_COMPATIBILITY
,
64 ARB_EXPLICIT_ATTRIB_LOCATION
,
65 ARB_FRAGMENT_COORD_CONVENTIONS
,
66 ARB_FRAGMENT_LAYER_VIEWPORT
,
69 ARB_FRAMEBUFFER_OBJECT
,
74 ARB_HALF_FLOAT_VERTEX
,
76 ARB_INTERNALFORMAT_QUERY
,
77 ARB_INTERNALFORMAT_QUERY2
,
78 ARB_MAP_BUFFER_ALIGNMENT
,
83 ARB_PIPELINE_STATISTICS_QUERY
,
84 ARB_PIXEL_BUFFER_OBJECT
,
89 ARB_SEAMLESS_CUBE_MAP
,
90 ARB_SHADER_ATOMIC_COUNTERS
,
91 ARB_SHADER_BIT_ENCODING
,
92 ARB_SHADER_IMAGE_LOAD_STORE
,
93 ARB_SHADER_IMAGE_SIZE
,
94 ARB_SHADER_STORAGE_BUFFER_OBJECT
,
95 ARB_SHADER_TEXTURE_LOD
,
96 ARB_SHADING_LANGUAGE_100
,
97 ARB_SHADING_LANGUAGE_420PACK
,
98 ARB_SHADING_LANGUAGE_PACKING
,
100 ARB_STENCIL_TEXTURING
,
102 ARB_TESSELLATION_SHADER
,
103 ARB_TEXTURE_BORDER_CLAMP
,
104 ARB_TEXTURE_BUFFER_OBJECT
,
105 ARB_TEXTURE_BUFFER_RANGE
,
106 ARB_TEXTURE_COMPRESSION
,
107 ARB_TEXTURE_COMPRESSION_BPTC
,
108 ARB_TEXTURE_COMPRESSION_RGTC
,
109 ARB_TEXTURE_CUBE_MAP
,
110 ARB_TEXTURE_CUBE_MAP_ARRAY
,
111 ARB_TEXTURE_ENV_COMBINE
,
112 ARB_TEXTURE_ENV_DOT3
,
113 ARB_TEXTURE_FILTER_ANISOTROPIC
,
116 ARB_TEXTURE_MIRRORED_REPEAT
,
117 ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE
,
118 ARB_TEXTURE_NON_POWER_OF_TWO
,
119 ARB_TEXTURE_QUERY_LEVELS
,
120 ARB_TEXTURE_RECTANGLE
,
122 ARB_TEXTURE_RGB10_A2UI
,
127 ARB_TRANSFORM_FEEDBACK2
,
128 ARB_TRANSFORM_FEEDBACK3
,
129 ARB_UNIFORM_BUFFER_OBJECT
,
130 ARB_VERTEX_ARRAY_BGRA
,
132 ARB_VERTEX_BUFFER_OBJECT
,
135 ARB_VERTEX_TYPE_2_10_10_10_REV
,
139 ATI_SEPARATE_STENCIL
,
140 ATI_TEXTURE_COMPRESSION_3DC
,
141 ATI_TEXTURE_ENV_COMBINE3
,
142 ATI_TEXTURE_MIRROR_ONCE
,
145 EXT_BLEND_EQUATION_SEPARATE
,
146 EXT_BLEND_FUNC_SEPARATE
,
150 EXT_DEPTH_BOUNDS_TEST
,
152 EXT_FRAMEBUFFER_BLIT
,
153 EXT_FRAMEBUFFER_MULTISAMPLE
,
154 EXT_FRAMEBUFFER_OBJECT
,
155 EXT_GPU_PROGRAM_PARAMETERS
,
157 EXT_PACKED_DEPTH_STENCIL
,
159 EXT_POINT_PARAMETERS
,
160 EXT_PROVOKING_VERTEX
,
162 EXT_STENCIL_TWO_SIDE
,
166 EXT_TEXTURE_COMPRESSION_RGTC
,
167 EXT_TEXTURE_COMPRESSION_S3TC
,
168 EXT_TEXTURE_ENV_COMBINE
,
169 EXT_TEXTURE_ENV_DOT3
,
171 EXT_TEXTURE_LOD_BIAS
,
172 EXT_TEXTURE_MIRROR_CLAMP
,
173 EXT_TEXTURE_SHARED_EXPONENT
,
176 EXT_TEXTURE_SRGB_DECODE
,
177 EXT_VERTEX_ARRAY_BGRA
,
182 NV_FRAGMENT_PROGRAM2
,
183 NV_FRAGMENT_PROGRAM_OPTION
,
185 NV_LIGHT_MAX_EXPONENT
,
187 NV_REGISTER_COMBINERS
,
188 NV_REGISTER_COMBINERS2
,
189 NV_TEXGEN_REFLECTION
,
190 NV_TEXTURE_ENV_COMBINE4
,
194 NV_VERTEX_PROGRAM1_1
,
196 NV_VERTEX_PROGRAM2_OPTION
,
199 SGIS_GENERATE_MIPMAP
,
201 WGL_ARB_PIXEL_FORMAT
,
202 WGL_EXT_SWAP_CONTROL
,
203 WGL_WINE_PIXEL_FORMAT_PASSTHROUGH
,
204 WGL_WINE_QUERY_RENDERER
,
205 /* Internally used */
206 WINED3D_GL_BLEND_EQUATION
,
207 WINED3D_GL_LEGACY_CONTEXT
,
208 WINED3D_GL_NORMALIZED_TEXRECT
,
209 WINED3D_GL_PRIMITIVE_QUERY
,
210 WINED3D_GL_VERSION_2_0
,
211 WINED3D_GL_VERSION_3_2
,
214 WINED3D_GL_EXT_COUNT
,
216 #endif /* __WINE_WINED3D_GL */