wined3d: Move struct wined3d_rendertarget_view_vk to wined3d_vk.h.
[wine.git] / dlls / wined3d / wined3d_gl.h
blob7b6fa50c5f05035c60d2261e8ce9f572646c666f
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 /* OpenGL extensions. */
32 enum wined3d_gl_extension
34 WINED3D_GL_EXT_NONE,
36 /* APPLE */
37 APPLE_FENCE,
38 APPLE_FLOAT_PIXELS,
39 APPLE_FLUSH_BUFFER_RANGE,
40 APPLE_FLUSH_RENDER,
41 APPLE_RGB_422,
42 APPLE_YCBCR_422,
43 /* ARB */
44 ARB_BASE_INSTANCE,
45 ARB_BLEND_FUNC_EXTENDED,
46 ARB_BUFFER_STORAGE,
47 ARB_CLEAR_BUFFER_OBJECT,
48 ARB_CLEAR_TEXTURE,
49 ARB_CLIP_CONTROL,
50 ARB_COLOR_BUFFER_FLOAT,
51 ARB_COMPUTE_SHADER,
52 ARB_CONSERVATIVE_DEPTH,
53 ARB_COPY_BUFFER,
54 ARB_COPY_IMAGE,
55 ARB_CULL_DISTANCE,
56 ARB_DEBUG_OUTPUT,
57 ARB_DEPTH_BUFFER_FLOAT,
58 ARB_DEPTH_CLAMP,
59 ARB_DEPTH_TEXTURE,
60 ARB_DERIVATIVE_CONTROL,
61 ARB_DRAW_BUFFERS,
62 ARB_DRAW_BUFFERS_BLEND,
63 ARB_DRAW_ELEMENTS_BASE_VERTEX,
64 ARB_DRAW_INDIRECT,
65 ARB_DRAW_INSTANCED,
66 ARB_ES2_COMPATIBILITY,
67 ARB_ES3_COMPATIBILITY,
68 ARB_EXPLICIT_ATTRIB_LOCATION,
69 ARB_FRAGMENT_COORD_CONVENTIONS,
70 ARB_FRAGMENT_LAYER_VIEWPORT,
71 ARB_FRAGMENT_PROGRAM,
72 ARB_FRAGMENT_SHADER,
73 ARB_FRAMEBUFFER_NO_ATTACHMENTS,
74 ARB_FRAMEBUFFER_OBJECT,
75 ARB_FRAMEBUFFER_SRGB,
76 ARB_GEOMETRY_SHADER4,
77 ARB_GPU_SHADER5,
78 ARB_HALF_FLOAT_PIXEL,
79 ARB_HALF_FLOAT_VERTEX,
80 ARB_INSTANCED_ARRAYS,
81 ARB_INTERNALFORMAT_QUERY,
82 ARB_INTERNALFORMAT_QUERY2,
83 ARB_MAP_BUFFER_ALIGNMENT,
84 ARB_MAP_BUFFER_RANGE,
85 ARB_MULTISAMPLE,
86 ARB_MULTITEXTURE,
87 ARB_OCCLUSION_QUERY,
88 ARB_PIPELINE_STATISTICS_QUERY,
89 ARB_PIXEL_BUFFER_OBJECT,
90 ARB_POINT_PARAMETERS,
91 ARB_POINT_SPRITE,
92 ARB_POLYGON_OFFSET_CLAMP,
93 ARB_PROVOKING_VERTEX,
94 ARB_QUERY_BUFFER_OBJECT,
95 ARB_SAMPLE_SHADING,
96 ARB_SAMPLER_OBJECTS,
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,
109 ARB_SHADOW,
110 ARB_STENCIL_TEXTURING,
111 ARB_SYNC,
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,
124 ARB_TEXTURE_FLOAT,
125 ARB_TEXTURE_GATHER,
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,
132 ARB_TEXTURE_RG,
133 ARB_TEXTURE_RGB10_A2UI,
134 ARB_TEXTURE_STORAGE,
135 ARB_TEXTURE_STORAGE_MULTISAMPLE,
136 ARB_TEXTURE_SWIZZLE,
137 ARB_TEXTURE_VIEW,
138 ARB_TIMER_QUERY,
139 ARB_TRANSFORM_FEEDBACK2,
140 ARB_TRANSFORM_FEEDBACK3,
141 ARB_UNIFORM_BUFFER_OBJECT,
142 ARB_VERTEX_ARRAY_BGRA,
143 ARB_VERTEX_BUFFER_OBJECT,
144 ARB_VERTEX_PROGRAM,
145 ARB_VERTEX_SHADER,
146 ARB_VERTEX_TYPE_10F_11F_11F_REV,
147 ARB_VERTEX_TYPE_2_10_10_10_REV,
148 ARB_VIEWPORT_ARRAY,
149 ARB_TEXTURE_BARRIER,
150 /* ATI */
151 ATI_FRAGMENT_SHADER,
152 ATI_SEPARATE_STENCIL,
153 ATI_TEXTURE_COMPRESSION_3DC,
154 ATI_TEXTURE_ENV_COMBINE3,
155 ATI_TEXTURE_MIRROR_ONCE,
156 /* EXT */
157 EXT_BLEND_COLOR,
158 EXT_BLEND_EQUATION_SEPARATE,
159 EXT_BLEND_FUNC_SEPARATE,
160 EXT_BLEND_MINMAX,
161 EXT_BLEND_SUBTRACT,
162 EXT_DEPTH_BOUNDS_TEST,
163 EXT_DRAW_BUFFERS2,
164 EXT_FOG_COORD,
165 EXT_FRAMEBUFFER_BLIT,
166 EXT_FRAMEBUFFER_MULTISAMPLE,
167 EXT_FRAMEBUFFER_MULTISAMPLE_BLIT_SCALED,
168 EXT_FRAMEBUFFER_OBJECT,
169 EXT_GPU_PROGRAM_PARAMETERS,
170 EXT_GPU_SHADER4,
171 EXT_MEMORY_OBJECT,
172 EXT_PACKED_DEPTH_STENCIL,
173 EXT_PACKED_FLOAT,
174 EXT_POINT_PARAMETERS,
175 EXT_PROVOKING_VERTEX,
176 EXT_SECONDARY_COLOR,
177 EXT_STENCIL_TWO_SIDE,
178 EXT_STENCIL_WRAP,
179 EXT_TEXTURE3D,
180 EXT_TEXTURE_ARRAY,
181 EXT_TEXTURE_COMPRESSION_RGTC,
182 EXT_TEXTURE_COMPRESSION_S3TC,
183 EXT_TEXTURE_ENV_COMBINE,
184 EXT_TEXTURE_ENV_DOT3,
185 EXT_TEXTURE_INTEGER,
186 EXT_TEXTURE_LOD_BIAS,
187 EXT_TEXTURE_MIRROR_CLAMP,
188 EXT_TEXTURE_SHADOW_LOD,
189 EXT_TEXTURE_SHARED_EXPONENT,
190 EXT_TEXTURE_SNORM,
191 EXT_TEXTURE_SRGB,
192 EXT_TEXTURE_SRGB_DECODE,
193 /* NVIDIA */
194 NV_FENCE,
195 NV_FOG_DISTANCE,
196 NV_FRAGMENT_PROGRAM,
197 NV_FRAGMENT_PROGRAM2,
198 NV_FRAGMENT_PROGRAM_OPTION,
199 NV_HALF_FLOAT,
200 NV_LIGHT_MAX_EXPONENT,
201 NV_POINT_SPRITE,
202 NV_REGISTER_COMBINERS,
203 NV_REGISTER_COMBINERS2,
204 NV_TEXGEN_REFLECTION,
205 NV_TEXTURE_ENV_COMBINE4,
206 NV_TEXTURE_SHADER,
207 NV_TEXTURE_SHADER2,
208 NV_VERTEX_PROGRAM,
209 NV_VERTEX_PROGRAM1_1,
210 NV_VERTEX_PROGRAM2,
211 NV_VERTEX_PROGRAM2_OPTION,
212 NV_VERTEX_PROGRAM3,
213 NV_TEXTURE_BARRIER,
214 /* WGL extensions */
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,
226 WINED3D_GLSL_130,
228 WINED3D_GL_EXT_COUNT,
230 #endif /* __WINE_WINED3D_GL */