configure: Add possibility to exclude some directories from the generated lists.
[wine.git] / include / wine / wgl.h
blob8de19f80aa3c39efd7edd3cd4b9df0e372288d18
1 /*
2 * Wine WGL extension + ATI GLX extension defines
4 * Copyright (c) 2004 Lionel Ulmer
5 * Copyright (c) 2005 Alex Woods
6 * Copyright (c) 2005 Raphael Junqueira
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
23 /* For compatibility with old Mesa headers */
24 #ifndef GLX_SAMPLE_BUFFERS_ARB
25 # define GLX_SAMPLE_BUFFERS_ARB 100000
26 #endif
27 #ifndef GLX_SAMPLES_ARB
28 # define GLX_SAMPLES_ARB 100001
29 #endif
30 #ifndef GL_TEXTURE_CUBE_MAP
31 # define GL_TEXTURE_CUBE_MAP 0x8513
32 #endif
34 #define HPBUFFERARB void *
36 #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
37 #define WGL_DRAW_TO_WINDOW_ARB 0x2001
38 #define WGL_DRAW_TO_BITMAP_ARB 0x2002
39 #define WGL_ACCELERATION_ARB 0x2003
40 #define WGL_NEED_PALETTE_ARB 0x2004
41 #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
42 #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
43 #define WGL_SWAP_METHOD_ARB 0x2007
44 #define WGL_NUMBER_OVERLAYS_ARB 0x2008
45 #define WGL_NUMBER_UNDERLAYS_ARB 0x2009
46 #define WGL_TRANSPARENT_ARB 0x200A
47 #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
48 #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
49 #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
50 #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
51 #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
52 #define WGL_SHARE_DEPTH_ARB 0x200C
53 #define WGL_SHARE_STENCIL_ARB 0x200D
54 #define WGL_SHARE_ACCUM_ARB 0x200E
55 #define WGL_SUPPORT_GDI_ARB 0x200F
56 #define WGL_SUPPORT_OPENGL_ARB 0x2010
57 #define WGL_DOUBLE_BUFFER_ARB 0x2011
58 #define WGL_STEREO_ARB 0x2012
59 #define WGL_PIXEL_TYPE_ARB 0x2013
60 #define WGL_COLOR_BITS_ARB 0x2014
61 #define WGL_RED_BITS_ARB 0x2015
62 #define WGL_RED_SHIFT_ARB 0x2016
63 #define WGL_GREEN_BITS_ARB 0x2017
64 #define WGL_GREEN_SHIFT_ARB 0x2018
65 #define WGL_BLUE_BITS_ARB 0x2019
66 #define WGL_BLUE_SHIFT_ARB 0x201A
67 #define WGL_ALPHA_BITS_ARB 0x201B
68 #define WGL_ALPHA_SHIFT_ARB 0x201C
69 #define WGL_ACCUM_BITS_ARB 0x201D
70 #define WGL_ACCUM_RED_BITS_ARB 0x201E
71 #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
72 #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
73 #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
74 #define WGL_DEPTH_BITS_ARB 0x2022
75 #define WGL_STENCIL_BITS_ARB 0x2023
76 #define WGL_AUX_BUFFERS_ARB 0x2024
78 #define WGL_NO_ACCELERATION_ARB 0x2025
79 #define WGL_GENERIC_ACCELERATION_ARB 0x2026
80 #define WGL_FULL_ACCELERATION_ARB 0x2027
82 #define WGL_PBUFFER_WIDTH_ARB 0x2034
83 #define WGL_PBUFFER_HEIGHT_ARB 0x2035
84 #define WGL_PBUFFER_LOST_ARB 0x2036
85 #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
86 #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
87 #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
88 #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
89 #define WGL_PBUFFER_LARGEST_ARB 0x2033
91 #define WGL_TYPE_RGBA_ARB 0x202B
92 #define WGL_TYPE_COLORINDEX_ARB 0x202C
94 #define WGL_SAMPLE_BUFFERS_ARB 0x2041
95 #define WGL_SAMPLES_ARB 0x2042
97 /**
98 * WGL_render_texture
100 /** GetPixelFormat/ChoosePixelFormat */
101 #define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
102 #define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
103 /** CreatePbuffer / QueryPbuffer */
104 #define WGL_TEXTURE_FORMAT_ARB 0x2072
105 #define WGL_TEXTURE_TARGET_ARB 0x2073
106 #define WGL_MIPMAP_TEXTURE_ARB 0x2074
107 /** CreatePbuffer / QueryPbuffer */
108 #define WGL_TEXTURE_RGB_ARB 0x2075
109 #define WGL_TEXTURE_RGBA_ARB 0x2076
110 #define WGL_NO_TEXTURE_ARB 0x2077
111 /** CreatePbuffer / QueryPbuffer */
112 #define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
113 #define WGL_TEXTURE_1D_ARB 0x2079
114 #define WGL_TEXTURE_2D_ARB 0x207A
115 #define WGL_NO_TEXTURE_ARB 0x2077
116 /** SetPbufferAttribARB/QueryPbufferARB parameters */
117 #define WGL_MIPMAP_LEVEL_ARB 0x207B
118 #define WGL_CUBE_MAP_FACE_ARB 0x207C
119 /** SetPbufferAttribARB/QueryPbufferARB attribs */
120 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x207D
121 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x207E
122 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x207F
123 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x2080
124 #define WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x2081
125 #define WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x2082
126 /** BindTexImageARB/ReleaseTexImageARB */
127 #define WGL_FRONT_LEFT_ARB 0x2083
128 #define WGL_FRONT_RIGHT_ARB 0x2084
129 #define WGL_BACK_LEFT_ARB 0x2085
130 #define WGL_BACK_RIGHT_ARB 0x2086
131 #define WGL_AUX0_ARB 0x2087
132 #define WGL_AUX1_ARB 0x2088
133 #define WGL_AUX2_ARB 0x2089
134 #define WGL_AUX3_ARB 0x208A
135 #define WGL_AUX4_ARB 0x208B
136 #define WGL_AUX5_ARB 0x208C
137 #define WGL_AUX6_ARB 0x208D
138 #define WGL_AUX7_ARB 0x208E
139 #define WGL_AUX8_ARB 0x208F
140 #define WGL_AUX9_ARB 0x2090
142 /** WGL_NV_render_texture_rectangle */
143 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV 0x20A0
144 #define WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV 0x20A1
145 #define WGL_TEXTURE_RECTANGLE_NV 0x20A2
146 /** WGL_NV_render_depth_texture */
147 #define WGL_BIND_TO_TEXTURE_DEPTH_NV 0x20A3
148 #define WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV 0x20A4
149 #define WGL_DEPTH_TEXTURE_FORMAT_NV 0x20A5
150 #define WGL_TEXTURE_DEPTH_COMPONENT_NV 0x20A6
151 #define WGL_DEPTH_COMPONENT_NV 0x20A7
152 /** WGL_NV_float_buffer */
153 #define WGL_FLOAT_COMPONENTS_NV 0x20B0
154 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV 0x20B1
155 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV 0x20B2
156 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV 0x20B3
157 #define WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV 0x20B4
158 #define WGL_TEXTURE_FLOAT_R_NV 0x20B5
159 #define WGL_TEXTURE_FLOAT_RG_NV 0x20B6
160 #define WGL_TEXTURE_FLOAT_RGB_NV 0x20B7
161 #define WGL_TEXTURE_FLOAT_RGBA_NV 0x20B8
162 /** GL_NV_float_buffer */
163 #define GL_FLOAT_R_NV 0x8880
164 #define GL_FLOAT_RG_NV 0x8881
165 #define GL_FLOAT_RGB_NV 0x8882
166 #define GL_FLOAT_RGBA_NV 0x8883
167 #define GL_FLOAT_R16_NV 0x8884
168 #define GL_FLOAT_R32_NV 0x8885
169 #define GL_FLOAT_RG16_NV 0x8886
170 #define GL_FLOAT_RG32_NV 0x8887
171 #define GL_FLOAT_RGB16_NV 0x8888
172 #define GL_FLOAT_RGB32_NV 0x8889
173 #define GL_FLOAT_RGBA16_NV 0x888A
174 #define GL_FLOAT_RGBA32_NV 0x888B
175 #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
176 #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
177 #define GL_FLOAT_RGBA_MODE_NV 0x888E
179 /** WGL_EXT_framebuffer_sRGB */
180 #define WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20A9
181 #ifndef GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT
182 # define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
183 #endif
185 /**
186 * WGL_ATI_pixel_format_float / WGL_ARB_color_buffer_float
188 #define WGL_TYPE_RGBA_FLOAT_ATI 0x21A0
189 #define GL_RGBA_FLOAT_MODE_ATI 0x8820
190 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
191 #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
192 #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
193 #define GL_CLAMP_READ_COLOR_ARB 0x891C
194 /** GLX_ATI_pixel_format_float */
195 #define GLX_RGBA_FLOAT_ATI_BIT 0x00000100
196 /** GLX_ARB_pixel_format_float */
197 #define GLX_RGBA_FLOAT_BIT 0x00000004
198 #define GLX_RGBA_FLOAT_TYPE 0x20B9
199 /** GLX_ATI_render_texture */
200 #define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800
201 #define GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801
202 #define GLX_TEXTURE_FORMAT_ATI 0x9802
203 #define GLX_TEXTURE_TARGET_ATI 0x9803
204 #define GLX_MIPMAP_TEXTURE_ATI 0x9804
205 #define GLX_TEXTURE_RGB_ATI 0x9805
206 #define GLX_TEXTURE_RGBA_ATI 0x9806
207 #define GLX_NO_TEXTURE_ATI 0x9807
208 #define GLX_TEXTURE_CUBE_MAP_ATI 0x9808
209 #define GLX_TEXTURE_1D_ATI 0x9809
210 #define GLX_TEXTURE_2D_ATI 0x980A
211 #define GLX_MIPMAP_LEVEL_ATI 0x980B
212 #define GLX_CUBE_MAP_FACE_ATI 0x980C
213 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D
214 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E
215 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F
216 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810
217 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811
218 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812
219 #define GLX_FRONT_LEFT_ATI 0x9813
220 #define GLX_FRONT_RIGHT_ATI 0x9814
221 #define GLX_BACK_LEFT_ATI 0x9815
222 #define GLX_BACK_RIGHT_ATI 0x9816
223 #define GLX_AUX0_ATI 0x9817
224 #define GLX_AUX1_ATI 0x9818
225 #define GLX_AUX2_ATI 0x9819
226 #define GLX_AUX3_ATI 0x981A
227 #define GLX_AUX4_ATI 0x981B
228 #define GLX_AUX5_ATI 0x981C
229 #define GLX_AUX6_ATI 0x981D
230 #define GLX_AUX7_ATI 0x981E
231 #define GLX_AUX8_ATI 0x981F
232 #define GLX_AUX9_ATI 0x9820
233 #define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821
234 #define GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822
235 /** GLX_NV_float_buffer */
236 #define GLX_FLOAT_COMPONENTS_NV 0x20B0