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 /* OpenGL extensions. */
32 enum wined3d_gl_extension
39 APPLE_FLUSH_BUFFER_RANGE
,
45 ARB_BLEND_FUNC_EXTENDED
,
47 ARB_CLEAR_BUFFER_OBJECT
,
50 ARB_COLOR_BUFFER_FLOAT
,
52 ARB_CONSERVATIVE_DEPTH
,
57 ARB_DEPTH_BUFFER_FLOAT
,
60 ARB_DERIVATIVE_CONTROL
,
62 ARB_DRAW_BUFFERS_BLEND
,
63 ARB_DRAW_ELEMENTS_BASE_VERTEX
,
66 ARB_ES2_COMPATIBILITY
,
67 ARB_ES3_COMPATIBILITY
,
68 ARB_EXPLICIT_ATTRIB_LOCATION
,
69 ARB_FRAGMENT_COORD_CONVENTIONS
,
70 ARB_FRAGMENT_LAYER_VIEWPORT
,
73 ARB_FRAMEBUFFER_NO_ATTACHMENTS
,
74 ARB_FRAMEBUFFER_OBJECT
,
79 ARB_HALF_FLOAT_VERTEX
,
81 ARB_INTERNALFORMAT_QUERY
,
82 ARB_INTERNALFORMAT_QUERY2
,
83 ARB_MAP_BUFFER_ALIGNMENT
,
88 ARB_PIPELINE_STATISTICS_QUERY
,
89 ARB_PIXEL_BUFFER_OBJECT
,
92 ARB_POLYGON_OFFSET_CLAMP
,
94 ARB_QUERY_BUFFER_OBJECT
,
97 ARB_SEAMLESS_CUBE_MAP
,
98 ARB_SHADER_ATOMIC_COUNTERS
,
99 ARB_SHADER_VIEWPORT_LAYER_ARRAY
,
100 ARB_SHADER_BIT_ENCODING
,
101 ARB_SHADER_IMAGE_LOAD_STORE
,
102 ARB_SHADER_IMAGE_SIZE
,
103 ARB_SHADER_STORAGE_BUFFER_OBJECT
,
104 ARB_SHADER_TEXTURE_IMAGE_SAMPLES
,
105 ARB_SHADER_TEXTURE_LOD
,
106 ARB_SHADING_LANGUAGE_100
,
107 ARB_SHADING_LANGUAGE_420PACK
,
108 ARB_SHADING_LANGUAGE_PACKING
,
110 ARB_STENCIL_TEXTURING
,
112 ARB_TESSELLATION_SHADER
,
113 ARB_TEXTURE_BORDER_CLAMP
,
114 ARB_TEXTURE_BUFFER_OBJECT
,
115 ARB_TEXTURE_BUFFER_RANGE
,
116 ARB_TEXTURE_COMPRESSION
,
117 ARB_TEXTURE_COMPRESSION_BPTC
,
118 ARB_TEXTURE_COMPRESSION_RGTC
,
119 ARB_TEXTURE_CUBE_MAP
,
120 ARB_TEXTURE_CUBE_MAP_ARRAY
,
121 ARB_TEXTURE_ENV_COMBINE
,
122 ARB_TEXTURE_ENV_DOT3
,
123 ARB_TEXTURE_FILTER_ANISOTROPIC
,
126 ARB_TEXTURE_MIRRORED_REPEAT
,
127 ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE
,
128 ARB_TEXTURE_MULTISAMPLE
,
129 ARB_TEXTURE_NON_POWER_OF_TWO
,
130 ARB_TEXTURE_QUERY_LEVELS
,
131 ARB_TEXTURE_RECTANGLE
,
133 ARB_TEXTURE_RGB10_A2UI
,
135 ARB_TEXTURE_STORAGE_MULTISAMPLE
,
139 ARB_TRANSFORM_FEEDBACK2
,
140 ARB_TRANSFORM_FEEDBACK3
,
141 ARB_UNIFORM_BUFFER_OBJECT
,
142 ARB_VERTEX_ARRAY_BGRA
,
143 ARB_VERTEX_BUFFER_OBJECT
,
146 ARB_VERTEX_TYPE_10F_11F_11F_REV
,
147 ARB_VERTEX_TYPE_2_10_10_10_REV
,
152 ATI_SEPARATE_STENCIL
,
153 ATI_TEXTURE_COMPRESSION_3DC
,
154 ATI_TEXTURE_ENV_COMBINE3
,
155 ATI_TEXTURE_MIRROR_ONCE
,
158 EXT_BLEND_EQUATION_SEPARATE
,
159 EXT_BLEND_FUNC_SEPARATE
,
162 EXT_DEPTH_BOUNDS_TEST
,
165 EXT_FRAMEBUFFER_BLIT
,
166 EXT_FRAMEBUFFER_MULTISAMPLE
,
167 EXT_FRAMEBUFFER_MULTISAMPLE_BLIT_SCALED
,
168 EXT_FRAMEBUFFER_OBJECT
,
169 EXT_GPU_PROGRAM_PARAMETERS
,
172 EXT_PACKED_DEPTH_STENCIL
,
174 EXT_POINT_PARAMETERS
,
175 EXT_PROVOKING_VERTEX
,
177 EXT_STENCIL_TWO_SIDE
,
181 EXT_TEXTURE_COMPRESSION_RGTC
,
182 EXT_TEXTURE_COMPRESSION_S3TC
,
183 EXT_TEXTURE_ENV_COMBINE
,
184 EXT_TEXTURE_ENV_DOT3
,
186 EXT_TEXTURE_LOD_BIAS
,
187 EXT_TEXTURE_MIRROR_CLAMP
,
188 EXT_TEXTURE_SHADOW_LOD
,
189 EXT_TEXTURE_SHARED_EXPONENT
,
192 EXT_TEXTURE_SRGB_DECODE
,
197 NV_FRAGMENT_PROGRAM2
,
198 NV_FRAGMENT_PROGRAM_OPTION
,
200 NV_LIGHT_MAX_EXPONENT
,
202 NV_REGISTER_COMBINERS
,
203 NV_REGISTER_COMBINERS2
,
204 NV_TEXGEN_REFLECTION
,
205 NV_TEXTURE_ENV_COMBINE4
,
209 NV_VERTEX_PROGRAM1_1
,
211 NV_VERTEX_PROGRAM2_OPTION
,
215 WGL_ARB_PIXEL_FORMAT
,
216 WGL_EXT_SWAP_CONTROL
,
217 WGL_WINE_PIXEL_FORMAT_PASSTHROUGH
,
218 WGL_WINE_QUERY_RENDERER
,
219 /* Internally used */
220 WINED3D_GL_BLEND_EQUATION
,
221 WINED3D_GL_LEGACY_CONTEXT
,
222 WINED3D_GL_NORMALIZED_TEXRECT
,
223 WINED3D_GL_PRIMITIVE_QUERY
,
224 WINED3D_GL_VERSION_2_0
,
225 WINED3D_GL_VERSION_3_2
,
228 WINED3D_GL_EXT_COUNT
,
230 #endif /* __WINE_WINED3D_GL */