1 | /*
|
---|
2 | * Direct3D wine OpenGL include file
|
---|
3 | *
|
---|
4 | * Copyright 2002-2003 The wine-d3d team
|
---|
5 | * Copyright 2002-2004 Jason Edmeades
|
---|
6 | * Raphael Junqueira
|
---|
7 | * Copyright 2007 Roderick Colenbrander
|
---|
8 | *
|
---|
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.
|
---|
13 | *
|
---|
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.
|
---|
18 | *
|
---|
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
|
---|
22 | *
|
---|
23 | *
|
---|
24 | * Most OpenGL 1.0/1.1/1.2/1.3 constants/types come from the Mesa-project:
|
---|
25 | * Copyright (C) 1999-2006 Brian Paul
|
---|
26 | *
|
---|
27 | * From the Mesa-license:
|
---|
28 | * Permission is hereby granted, free of charge, to any person obtaining a
|
---|
29 | * copy of this software and associated documentation files (the "Software"),
|
---|
30 | * to deal in the Software without restriction, including without limitation
|
---|
31 | * the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
---|
32 | * and/or sell copies of the Software, and to permit persons to whom the
|
---|
33 | * Software is furnished to do so, subject to the following conditions:
|
---|
34 | *
|
---|
35 | * The above copyright notice and this permission notice shall be included
|
---|
36 | * in all copies or substantial portions of the Software.
|
---|
37 | *
|
---|
38 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
---|
39 | * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
---|
40 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
---|
41 | * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
|
---|
42 | * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
---|
43 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
---|
44 | */
|
---|
45 |
|
---|
46 | /*
|
---|
47 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
48 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
49 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
50 | * a choice of LGPL license versions is made available with the language indicating
|
---|
51 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
52 | * of the LGPL is applied is otherwise unspecified.
|
---|
53 | */
|
---|
54 |
|
---|
55 | #ifndef __WINE_WINED3D_GL_H
|
---|
56 | #define __WINE_WINED3D_GL_H
|
---|
57 |
|
---|
58 | #ifdef USE_WIN32_OPENGL
|
---|
59 | #define WINE_GLAPI __stdcall
|
---|
60 | #else
|
---|
61 | #define WINE_GLAPI
|
---|
62 | #endif
|
---|
63 |
|
---|
64 | /****************************************************
|
---|
65 | * OpenGL 1.0/1.1/1.2/1.3
|
---|
66 | * types, #defines and function pointers
|
---|
67 | ****************************************************/
|
---|
68 |
|
---|
69 | /* Types */
|
---|
70 | typedef unsigned int GLbitfield;
|
---|
71 | typedef unsigned char GLboolean;
|
---|
72 | typedef signed char GLbyte;
|
---|
73 | typedef unsigned char GLubyte;
|
---|
74 | typedef short GLshort;
|
---|
75 | typedef unsigned short GLushort;
|
---|
76 | typedef int GLint;
|
---|
77 | typedef unsigned int GLuint;
|
---|
78 | typedef unsigned int GLenum;
|
---|
79 | typedef float GLfloat;
|
---|
80 | typedef int GLsizei;
|
---|
81 | typedef float GLclampf;
|
---|
82 | typedef double GLdouble;
|
---|
83 | typedef double GLclampd;
|
---|
84 | typedef void GLvoid;
|
---|
85 |
|
---|
86 | /* Booleans */
|
---|
87 | #define GL_FALSE 0x0
|
---|
88 | #define GL_TRUE 0x1
|
---|
89 |
|
---|
90 | /* Data types */
|
---|
91 | #define GL_BYTE 0x1400
|
---|
92 | #define GL_UNSIGNED_BYTE 0x1401
|
---|
93 | #define GL_SHORT 0x1402
|
---|
94 | #define GL_UNSIGNED_SHORT 0x1403
|
---|
95 | #define GL_INT 0x1404
|
---|
96 | #define GL_UNSIGNED_INT 0x1405
|
---|
97 | #define GL_FLOAT 0x1406
|
---|
98 | #define GL_DOUBLE 0x140A
|
---|
99 | #define GL_2_BYTES 0x1407
|
---|
100 | #define GL_3_BYTES 0x1408
|
---|
101 | #define GL_4_BYTES 0x1409
|
---|
102 |
|
---|
103 | /* Errors */
|
---|
104 | #define GL_NO_ERROR 0x0
|
---|
105 | #define GL_INVALID_VALUE 0x0501
|
---|
106 | #define GL_INVALID_ENUM 0x0500
|
---|
107 | #define GL_INVALID_OPERATION 0x0502
|
---|
108 | #define GL_STACK_OVERFLOW 0x0503
|
---|
109 | #define GL_STACK_UNDERFLOW 0x0504
|
---|
110 | #define GL_OUT_OF_MEMORY 0x0505
|
---|
111 |
|
---|
112 | /* Utility */
|
---|
113 | #define GL_VENDOR 0x1F00
|
---|
114 | #define GL_RENDERER 0x1F01
|
---|
115 | #define GL_VERSION 0x1F02
|
---|
116 | #define GL_EXTENSIONS 0x1F03
|
---|
117 |
|
---|
118 | /* Accumulation buffer */
|
---|
119 | #define GL_ACCUM_RED_BITS 0x0D58
|
---|
120 | #define GL_ACCUM_GREEN_BITS 0x0D59
|
---|
121 | #define GL_ACCUM_BLUE_BITS 0x0D5A
|
---|
122 | #define GL_ACCUM_ALPHA_BITS 0x0D5B
|
---|
123 | #define GL_ACCUM_CLEAR_VALUE 0x0B80
|
---|
124 | #define GL_ACCUM 0x0100
|
---|
125 | #define GL_ADD 0x0104
|
---|
126 | #define GL_LOAD 0x0101
|
---|
127 | #define GL_MULT 0x0103
|
---|
128 | #define GL_RETURN 0x0102
|
---|
129 |
|
---|
130 | /* Alpha testing */
|
---|
131 | #define GL_ALPHA_TEST 0x0BC0
|
---|
132 | #define GL_ALPHA_TEST_REF 0x0BC2
|
---|
133 | #define GL_ALPHA_TEST_FUNC 0x0BC1
|
---|
134 |
|
---|
135 | /* Blending */
|
---|
136 | #define GL_BLEND 0x0BE2
|
---|
137 | #define GL_BLEND_SRC 0x0BE1
|
---|
138 | #define GL_BLEND_DST 0x0BE0
|
---|
139 | #define GL_ZERO 0x0
|
---|
140 | #define GL_ONE 0x1
|
---|
141 | #define GL_SRC_COLOR 0x0300
|
---|
142 | #define GL_ONE_MINUS_SRC_COLOR 0x0301
|
---|
143 | #define GL_SRC_ALPHA 0x0302
|
---|
144 | #define GL_ONE_MINUS_SRC_ALPHA 0x0303
|
---|
145 | #define GL_DST_ALPHA 0x0304
|
---|
146 | #define GL_ONE_MINUS_DST_ALPHA 0x0305
|
---|
147 | #define GL_DST_COLOR 0x0306
|
---|
148 | #define GL_ONE_MINUS_DST_COLOR 0x0307
|
---|
149 | #define GL_SRC_ALPHA_SATURATE 0x0308
|
---|
150 | #define GL_CONSTANT_COLOR 0x8001
|
---|
151 | #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
|
---|
152 | #define GL_CONSTANT_ALPHA 0x8003
|
---|
153 | #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
|
---|
154 |
|
---|
155 | /* Buffers, Pixel Drawing/Reading */
|
---|
156 | #define GL_NONE 0x0
|
---|
157 | #define GL_FRONT_LEFT 0x0400
|
---|
158 | #define GL_FRONT_RIGHT 0x0401
|
---|
159 | #define GL_BACK_LEFT 0x0402
|
---|
160 | #define GL_BACK_RIGHT 0x0403
|
---|
161 | #define GL_FRONT 0x0404
|
---|
162 | #define GL_BACK 0x0405
|
---|
163 | #define GL_LEFT 0x0406
|
---|
164 | #define GL_RIGHT 0x0407
|
---|
165 | #define GL_FRONT_AND_BACK 0x0408
|
---|
166 | #define GL_AUX0 0x0409
|
---|
167 | #define GL_AUX1 0x040A
|
---|
168 | #define GL_AUX2 0x040B
|
---|
169 | #define GL_AUX3 0x040C
|
---|
170 | #define GL_COLOR_INDEX 0x1900
|
---|
171 | #define GL_RED 0x1903
|
---|
172 | #define GL_GREEN 0x1904
|
---|
173 | #define GL_BLUE 0x1905
|
---|
174 | #define GL_ALPHA 0x1906
|
---|
175 | #define GL_LUMINANCE 0x1909
|
---|
176 | #define GL_LUMINANCE_ALPHA 0x190A
|
---|
177 | #define GL_ALPHA_BITS 0x0D55
|
---|
178 | #define GL_RED_BITS 0x0D52
|
---|
179 | #define GL_GREEN_BITS 0x0D53
|
---|
180 | #define GL_BLUE_BITS 0x0D54
|
---|
181 | #define GL_INDEX_BITS 0x0D51
|
---|
182 | #define GL_SUBPIXEL_BITS 0x0D50
|
---|
183 | #define GL_AUX_BUFFERS 0x0C00
|
---|
184 | #define GL_READ_BUFFER 0x0C02
|
---|
185 | #define GL_DRAW_BUFFER 0x0C01
|
---|
186 | #define GL_DOUBLEBUFFER 0x0C32
|
---|
187 | #define GL_STEREO 0x0C33
|
---|
188 | #define GL_BITMAP 0x1A00
|
---|
189 | #define GL_COLOR 0x1800
|
---|
190 | #define GL_DEPTH 0x1801
|
---|
191 | #define GL_STENCIL 0x1802
|
---|
192 | #define GL_DITHER 0x0BD0
|
---|
193 | #define GL_RGB 0x1907
|
---|
194 | #define GL_RGBA 0x1908
|
---|
195 |
|
---|
196 | /* Clipping */
|
---|
197 | #define GL_CLIP_PLANE0 0x3000
|
---|
198 | #define GL_CLIP_PLANE1 0x3001
|
---|
199 | #define GL_CLIP_PLANE2 0x3002
|
---|
200 | #define GL_CLIP_PLANE3 0x3003
|
---|
201 | #define GL_CLIP_PLANE4 0x3004
|
---|
202 | #define GL_CLIP_PLANE5 0x3005
|
---|
203 |
|
---|
204 | /* Depth buffer */
|
---|
205 | #define GL_NEVER 0x0200
|
---|
206 | #define GL_LESS 0x0201
|
---|
207 | #define GL_EQUAL 0x0202
|
---|
208 | #define GL_LEQUAL 0x0203
|
---|
209 | #define GL_GREATER 0x0204
|
---|
210 | #define GL_NOTEQUAL 0x0205
|
---|
211 | #define GL_GEQUAL 0x0206
|
---|
212 | #define GL_ALWAYS 0x0207
|
---|
213 | #define GL_DEPTH_TEST 0x0B71
|
---|
214 | #define GL_DEPTH_BITS 0x0D56
|
---|
215 | #define GL_DEPTH_CLEAR_VALUE 0x0B73
|
---|
216 | #define GL_DEPTH_FUNC 0x0B74
|
---|
217 | #define GL_DEPTH_RANGE 0x0B70
|
---|
218 | #define GL_DEPTH_WRITEMASK 0x0B72
|
---|
219 | #define GL_DEPTH_COMPONENT 0x1902
|
---|
220 |
|
---|
221 | /* Evaluators */
|
---|
222 | #define GL_AUTO_NORMAL 0x0D80
|
---|
223 | #define GL_MAP1_COLOR_4 0x0D90
|
---|
224 | #define GL_MAP1_GRID_DOMAIN 0x0DD0
|
---|
225 | #define GL_MAP1_GRID_SEGMENTS 0x0DD1
|
---|
226 | #define GL_MAP1_INDEX 0x0D91
|
---|
227 | #define GL_MAP1_NORMAL 0x0D92
|
---|
228 | #define GL_MAP1_TEXTURE_COORD_1 0x0D93
|
---|
229 | #define GL_MAP1_TEXTURE_COORD_2 0x0D94
|
---|
230 | #define GL_MAP1_TEXTURE_COORD_3 0x0D95
|
---|
231 | #define GL_MAP1_TEXTURE_COORD_4 0x0D96
|
---|
232 | #define GL_MAP1_VERTEX_3 0x0D97
|
---|
233 | #define GL_MAP1_VERTEX_4 0x0D98
|
---|
234 | #define GL_MAP2_COLOR_4 0x0DB0
|
---|
235 | #define GL_MAP2_GRID_DOMAIN 0x0DD2
|
---|
236 | #define GL_MAP2_GRID_SEGMENTS 0x0DD3
|
---|
237 | #define GL_MAP2_INDEX 0x0DB1
|
---|
238 | #define GL_MAP2_NORMAL 0x0DB2
|
---|
239 | #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
|
---|
240 | #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
|
---|
241 | #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
|
---|
242 | #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
|
---|
243 | #define GL_MAP2_VERTEX_3 0x0DB7
|
---|
244 | #define GL_MAP2_VERTEX_4 0x0DB8
|
---|
245 | #define GL_COEFF 0x0A00
|
---|
246 | #define GL_DOMAIN 0x0A02
|
---|
247 | #define GL_ORDER 0x0A01
|
---|
248 |
|
---|
249 | /* Feedback */
|
---|
250 | #define GL_2D 0x0600
|
---|
251 | #define GL_3D 0x0601
|
---|
252 | #define GL_3D_COLOR 0x0602
|
---|
253 | #define GL_3D_COLOR_TEXTURE 0x0603
|
---|
254 | #define GL_4D_COLOR_TEXTURE 0x0604
|
---|
255 | #define GL_POINT_TOKEN 0x0701
|
---|
256 | #define GL_LINE_TOKEN 0x0702
|
---|
257 | #define GL_LINE_RESET_TOKEN 0x0707
|
---|
258 | #define GL_POLYGON_TOKEN 0x0703
|
---|
259 | #define GL_BITMAP_TOKEN 0x0704
|
---|
260 | #define GL_DRAW_PIXEL_TOKEN 0x0705
|
---|
261 | #define GL_COPY_PIXEL_TOKEN 0x0706
|
---|
262 | #define GL_PASS_THROUGH_TOKEN 0x0700
|
---|
263 | #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
|
---|
264 | #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
|
---|
265 | #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
|
---|
266 |
|
---|
267 | /* Fog */
|
---|
268 | #define GL_FOG 0x0B60
|
---|
269 | #define GL_FOG_MODE 0x0B65
|
---|
270 | #define GL_FOG_DENSITY 0x0B62
|
---|
271 | #define GL_FOG_COLOR 0x0B66
|
---|
272 | #define GL_FOG_INDEX 0x0B61
|
---|
273 | #define GL_FOG_START 0x0B63
|
---|
274 | #define GL_FOG_END 0x0B64
|
---|
275 | #define GL_LINEAR 0x2601
|
---|
276 | #define GL_EXP 0x0800
|
---|
277 | #define GL_EXP2 0x0801
|
---|
278 |
|
---|
279 | /* Gets */
|
---|
280 | #define GL_ATTRIB_STACK_DEPTH 0x0BB0
|
---|
281 | #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
|
---|
282 | #define GL_COLOR_CLEAR_VALUE 0x0C22
|
---|
283 | #define GL_COLOR_WRITEMASK 0x0C23
|
---|
284 | #define GL_CURRENT_INDEX 0x0B01
|
---|
285 | #define GL_CURRENT_COLOR 0x0B00
|
---|
286 | #define GL_CURRENT_NORMAL 0x0B02
|
---|
287 | #define GL_CURRENT_RASTER_COLOR 0x0B04
|
---|
288 | #define GL_CURRENT_RASTER_DISTANCE 0x0B09
|
---|
289 | #define GL_CURRENT_RASTER_INDEX 0x0B05
|
---|
290 | #define GL_CURRENT_RASTER_POSITION 0x0B07
|
---|
291 | #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
|
---|
292 | #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
|
---|
293 | #define GL_CURRENT_TEXTURE_COORDS 0x0B03
|
---|
294 | #define GL_INDEX_CLEAR_VALUE 0x0C20
|
---|
295 | #define GL_INDEX_MODE 0x0C30
|
---|
296 | #define GL_INDEX_WRITEMASK 0x0C21
|
---|
297 | #define GL_MODELVIEW_MATRIX 0x0BA6
|
---|
298 | #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
|
---|
299 | #define GL_NAME_STACK_DEPTH 0x0D70
|
---|
300 | #define GL_PROJECTION_MATRIX 0x0BA7
|
---|
301 | #define GL_PROJECTION_STACK_DEPTH 0x0BA4
|
---|
302 | #define GL_RENDER_MODE 0x0C40
|
---|
303 | #define GL_RGBA_MODE 0x0C31
|
---|
304 | #define GL_TEXTURE_MATRIX 0x0BA8
|
---|
305 | #define GL_TEXTURE_STACK_DEPTH 0x0BA5
|
---|
306 | #define GL_VIEWPORT 0x0BA2
|
---|
307 |
|
---|
308 | /* Hints */
|
---|
309 | #define GL_FOG_HINT 0x0C54
|
---|
310 | #define GL_LINE_SMOOTH_HINT 0x0C52
|
---|
311 | #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
|
---|
312 | #define GL_POINT_SMOOTH_HINT 0x0C51
|
---|
313 | #define GL_POLYGON_SMOOTH_HINT 0x0C53
|
---|
314 | #define GL_DONT_CARE 0x1100
|
---|
315 | #define GL_FASTEST 0x1101
|
---|
316 | #define GL_NICEST 0x1102
|
---|
317 |
|
---|
318 | /* Implementation limits */
|
---|
319 | #define GL_MAX_LIST_NESTING 0x0B31
|
---|
320 | #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
|
---|
321 | #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
|
---|
322 | #define GL_MAX_NAME_STACK_DEPTH 0x0D37
|
---|
323 | #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
|
---|
324 | #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
|
---|
325 | #define GL_MAX_EVAL_ORDER 0x0D30
|
---|
326 | #define GL_MAX_LIGHTS 0x0D31
|
---|
327 | #define GL_MAX_CLIP_PLANES 0x0D32
|
---|
328 | #define GL_MAX_TEXTURE_SIZE 0x0D33
|
---|
329 | #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
|
---|
330 | #define GL_MAX_VIEWPORT_DIMS 0x0D3A
|
---|
331 | #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
|
---|
332 |
|
---|
333 | /* Lighting */
|
---|
334 | #define GL_LIGHTING 0x0B50
|
---|
335 | #define GL_LIGHT0 0x4000
|
---|
336 | #define GL_LIGHT1 0x4001
|
---|
337 | #define GL_LIGHT2 0x4002
|
---|
338 | #define GL_LIGHT3 0x4003
|
---|
339 | #define GL_LIGHT4 0x4004
|
---|
340 | #define GL_LIGHT5 0x4005
|
---|
341 | #define GL_LIGHT6 0x4006
|
---|
342 | #define GL_LIGHT7 0x4007
|
---|
343 | #define GL_SPOT_EXPONENT 0x1205
|
---|
344 | #define GL_SPOT_CUTOFF 0x1206
|
---|
345 | #define GL_CONSTANT_ATTENUATION 0x1207
|
---|
346 | #define GL_LINEAR_ATTENUATION 0x1208
|
---|
347 | #define GL_QUADRATIC_ATTENUATION 0x1209
|
---|
348 | #define GL_AMBIENT 0x1200
|
---|
349 | #define GL_DIFFUSE 0x1201
|
---|
350 | #define GL_SPECULAR 0x1202
|
---|
351 | #define GL_SHININESS 0x1601
|
---|
352 | #define GL_EMISSION 0x1600
|
---|
353 | #define GL_POSITION 0x1203
|
---|
354 | #define GL_SPOT_DIRECTION 0x1204
|
---|
355 | #define GL_AMBIENT_AND_DIFFUSE 0x1602
|
---|
356 | #define GL_COLOR_INDEXES 0x1603
|
---|
357 | #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
|
---|
358 | #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
|
---|
359 | #define GL_LIGHT_MODEL_AMBIENT 0x0B53
|
---|
360 | #define GL_FRONT_AND_BACK 0x0408
|
---|
361 | #define GL_SHADE_MODEL 0x0B54
|
---|
362 | #define GL_FLAT 0x1D00
|
---|
363 | #define GL_SMOOTH 0x1D01
|
---|
364 | #define GL_COLOR_MATERIAL 0x0B57
|
---|
365 | #define GL_COLOR_MATERIAL_FACE 0x0B55
|
---|
366 | #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
|
---|
367 | #define GL_NORMALIZE 0x0BA1
|
---|
368 |
|
---|
369 | /* Lines */
|
---|
370 | #define GL_LINE_SMOOTH 0x0B20
|
---|
371 | #define GL_LINE_STIPPLE 0x0B24
|
---|
372 | #define GL_LINE_STIPPLE_PATTERN 0x0B25
|
---|
373 | #define GL_LINE_STIPPLE_REPEAT 0x0B26
|
---|
374 | #define GL_LINE_WIDTH 0x0B21
|
---|
375 | #define GL_LINE_WIDTH_GRANULARITY 0x0B23
|
---|
376 | #define GL_LINE_WIDTH_RANGE 0x0B22
|
---|
377 |
|
---|
378 | /* Logic Ops */
|
---|
379 | #define GL_LOGIC_OP 0x0BF1
|
---|
380 | #define GL_INDEX_LOGIC_OP 0x0BF1
|
---|
381 | #define GL_COLOR_LOGIC_OP 0x0BF2
|
---|
382 | #define GL_LOGIC_OP_MODE 0x0BF0
|
---|
383 | #define GL_CLEAR 0x1500
|
---|
384 | #define GL_SET 0x150F
|
---|
385 | #define GL_COPY 0x1503
|
---|
386 | #define GL_COPY_INVERTED 0x150C
|
---|
387 | #define GL_NOOP 0x1505
|
---|
388 | #define GL_INVERT 0x150A
|
---|
389 | #define GL_AND 0x1501
|
---|
390 | #define GL_NAND 0x150E
|
---|
391 | #define GL_OR 0x1507
|
---|
392 | #define GL_NOR 0x1508
|
---|
393 | #define GL_XOR 0x1506
|
---|
394 | #define GL_EQUIV 0x1509
|
---|
395 | #define GL_AND_REVERSE 0x1502
|
---|
396 | #define GL_AND_INVERTED 0x1504
|
---|
397 | #define GL_OR_REVERSE 0x150B
|
---|
398 | #define GL_OR_INVERTED 0x150D
|
---|
399 |
|
---|
400 | /* Matrix Mode */
|
---|
401 | #define GL_MATRIX_MODE 0x0BA0
|
---|
402 | #define GL_MODELVIEW 0x1700
|
---|
403 | #define GL_PROJECTION 0x1701
|
---|
404 | #define GL_TEXTURE 0x1702
|
---|
405 |
|
---|
406 | /* Pixel Mode / Transfer */
|
---|
407 | #define GL_MAP_COLOR 0x0D10
|
---|
408 | #define GL_MAP_STENCIL 0x0D11
|
---|
409 | #define GL_INDEX_SHIFT 0x0D12
|
---|
410 | #define GL_INDEX_OFFSET 0x0D13
|
---|
411 | #define GL_RED_SCALE 0x0D14
|
---|
412 | #define GL_RED_BIAS 0x0D15
|
---|
413 | #define GL_GREEN_SCALE 0x0D18
|
---|
414 | #define GL_GREEN_BIAS 0x0D19
|
---|
415 | #define GL_BLUE_SCALE 0x0D1A
|
---|
416 | #define GL_BLUE_BIAS 0x0D1B
|
---|
417 | #define GL_ALPHA_SCALE 0x0D1C
|
---|
418 | #define GL_ALPHA_BIAS 0x0D1D
|
---|
419 | #define GL_DEPTH_SCALE 0x0D1E
|
---|
420 | #define GL_DEPTH_BIAS 0x0D1F
|
---|
421 | #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
|
---|
422 | #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
|
---|
423 | #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
|
---|
424 | #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
|
---|
425 | #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
|
---|
426 | #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
|
---|
427 | #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
|
---|
428 | #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
|
---|
429 | #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
|
---|
430 | #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
|
---|
431 | #define GL_PIXEL_MAP_S_TO_S 0x0C71
|
---|
432 | #define GL_PIXEL_MAP_I_TO_I 0x0C70
|
---|
433 | #define GL_PIXEL_MAP_I_TO_R 0x0C72
|
---|
434 | #define GL_PIXEL_MAP_I_TO_G 0x0C73
|
---|
435 | #define GL_PIXEL_MAP_I_TO_B 0x0C74
|
---|
436 | #define GL_PIXEL_MAP_I_TO_A 0x0C75
|
---|
437 | #define GL_PIXEL_MAP_R_TO_R 0x0C76
|
---|
438 | #define GL_PIXEL_MAP_G_TO_G 0x0C77
|
---|
439 | #define GL_PIXEL_MAP_B_TO_B 0x0C78
|
---|
440 | #define GL_PIXEL_MAP_A_TO_A 0x0C79
|
---|
441 | #define GL_PACK_ALIGNMENT 0x0D05
|
---|
442 | #define GL_PACK_LSB_FIRST 0x0D01
|
---|
443 | #define GL_PACK_ROW_LENGTH 0x0D02
|
---|
444 | #define GL_PACK_SKIP_PIXELS 0x0D04
|
---|
445 | #define GL_PACK_SKIP_ROWS 0x0D03
|
---|
446 | #define GL_PACK_SWAP_BYTES 0x0D00
|
---|
447 | #define GL_UNPACK_ALIGNMENT 0x0CF5
|
---|
448 | #define GL_UNPACK_LSB_FIRST 0x0CF1
|
---|
449 | #define GL_UNPACK_ROW_LENGTH 0x0CF2
|
---|
450 | #define GL_UNPACK_SKIP_PIXELS 0x0CF4
|
---|
451 | #define GL_UNPACK_SKIP_ROWS 0x0CF3
|
---|
452 | #define GL_UNPACK_SWAP_BYTES 0x0CF0
|
---|
453 | #define GL_ZOOM_X 0x0D16
|
---|
454 | #define GL_ZOOM_Y 0x0D17
|
---|
455 |
|
---|
456 | /* Points */
|
---|
457 | #define GL_POINT_SMOOTH 0x0B10
|
---|
458 | #define GL_POINT_SIZE 0x0B11
|
---|
459 | #define GL_POINT_SIZE_GRANULARITY 0x0B13
|
---|
460 | #define GL_POINT_SIZE_RANGE 0x0B12
|
---|
461 |
|
---|
462 | /* Polygons */
|
---|
463 | #define GL_POINT 0x1B00
|
---|
464 | #define GL_LINE 0x1B01
|
---|
465 | #define GL_FILL 0x1B02
|
---|
466 | #define GL_CW 0x0900
|
---|
467 | #define GL_CCW 0x0901
|
---|
468 | #define GL_FRONT 0x0404
|
---|
469 | #define GL_BACK 0x0405
|
---|
470 | #define GL_POLYGON_MODE 0x0B40
|
---|
471 | #define GL_POLYGON_SMOOTH 0x0B41
|
---|
472 | #define GL_POLYGON_STIPPLE 0x0B42
|
---|
473 | #define GL_EDGE_FLAG 0x0B43
|
---|
474 | #define GL_CULL_FACE 0x0B44
|
---|
475 | #define GL_CULL_FACE_MODE 0x0B45
|
---|
476 | #define GL_FRONT_FACE 0x0B46
|
---|
477 | #define GL_POLYGON_OFFSET_FACTOR 0x8038
|
---|
478 | #define GL_POLYGON_OFFSET_UNITS 0x2A00
|
---|
479 | #define GL_POLYGON_OFFSET_POINT 0x2A01
|
---|
480 | #define GL_POLYGON_OFFSET_LINE 0x2A02
|
---|
481 | #define GL_POLYGON_OFFSET_FILL 0x8037
|
---|
482 |
|
---|
483 | /* Primitives */
|
---|
484 | #define GL_POINTS 0x0000
|
---|
485 | #define GL_LINES 0x0001
|
---|
486 | #define GL_LINE_LOOP 0x0002
|
---|
487 | #define GL_LINE_STRIP 0x0003
|
---|
488 | #define GL_TRIANGLES 0x0004
|
---|
489 | #define GL_TRIANGLE_STRIP 0x0005
|
---|
490 | #define GL_TRIANGLE_FAN 0x0006
|
---|
491 | #define GL_QUADS 0x0007
|
---|
492 | #define GL_QUAD_STRIP 0x0008
|
---|
493 | #define GL_POLYGON 0x0009
|
---|
494 |
|
---|
495 | /* Push/Pop bits */
|
---|
496 | #define GL_CURRENT_BIT 0x00000001
|
---|
497 | #define GL_POINT_BIT 0x00000002
|
---|
498 | #define GL_LINE_BIT 0x00000004
|
---|
499 | #define GL_POLYGON_BIT 0x00000008
|
---|
500 | #define GL_POLYGON_STIPPLE_BIT 0x00000010
|
---|
501 | #define GL_PIXEL_MODE_BIT 0x00000020
|
---|
502 | #define GL_LIGHTING_BIT 0x00000040
|
---|
503 | #define GL_FOG_BIT 0x00000080
|
---|
504 | #define GL_DEPTH_BUFFER_BIT 0x00000100
|
---|
505 | #define GL_ACCUM_BUFFER_BIT 0x00000200
|
---|
506 | #define GL_STENCIL_BUFFER_BIT 0x00000400
|
---|
507 | #define GL_VIEWPORT_BIT 0x00000800
|
---|
508 | #define GL_TRANSFORM_BIT 0x00001000
|
---|
509 | #define GL_ENABLE_BIT 0x00002000
|
---|
510 | #define GL_COLOR_BUFFER_BIT 0x00004000
|
---|
511 | #define GL_HINT_BIT 0x00008000
|
---|
512 | #define GL_EVAL_BIT 0x00010000
|
---|
513 | #define GL_LIST_BIT 0x00020000
|
---|
514 | #define GL_TEXTURE_BIT 0x00040000
|
---|
515 | #define GL_SCISSOR_BIT 0x00080000
|
---|
516 | #define GL_ALL_ATTRIB_BITS 0x000FFFFF
|
---|
517 |
|
---|
518 | /* Render Mode */
|
---|
519 | #define GL_FEEDBACK 0x1C01
|
---|
520 | #define GL_RENDER 0x1C00
|
---|
521 | #define GL_SELECT 0x1C02
|
---|
522 |
|
---|
523 | /* Scissor box */
|
---|
524 | #define GL_SCISSOR_TEST 0x0C11
|
---|
525 | #define GL_SCISSOR_BOX 0x0C10
|
---|
526 |
|
---|
527 | /* Stencil */
|
---|
528 | #define GL_STENCIL_TEST 0x0B90
|
---|
529 | #define GL_STENCIL_WRITEMASK 0x0B98
|
---|
530 | #define GL_STENCIL_BITS 0x0D57
|
---|
531 | #define GL_STENCIL_FUNC 0x0B92
|
---|
532 | #define GL_STENCIL_VALUE_MASK 0x0B93
|
---|
533 | #define GL_STENCIL_REF 0x0B97
|
---|
534 | #define GL_STENCIL_FAIL 0x0B94
|
---|
535 | #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
|
---|
536 | #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
|
---|
537 | #define GL_STENCIL_CLEAR_VALUE 0x0B91
|
---|
538 | #define GL_STENCIL_INDEX 0x1901
|
---|
539 | #define GL_KEEP 0x1E00
|
---|
540 | #define GL_REPLACE 0x1E01
|
---|
541 | #define GL_INCR 0x1E02
|
---|
542 | #define GL_DECR 0x1E03
|
---|
543 |
|
---|
544 | /* Texture mapping */
|
---|
545 | #define GL_TEXTURE_ENV 0x2300
|
---|
546 | #define GL_TEXTURE_ENV_MODE 0x2200
|
---|
547 | #define GL_TEXTURE_1D 0x0DE0
|
---|
548 | #define GL_TEXTURE_2D 0x0DE1
|
---|
549 | #define GL_TEXTURE_WRAP_S 0x2802
|
---|
550 | #define GL_TEXTURE_WRAP_T 0x2803
|
---|
551 | #define GL_TEXTURE_MAG_FILTER 0x2800
|
---|
552 | #define GL_TEXTURE_MIN_FILTER 0x2801
|
---|
553 | #define GL_TEXTURE_ENV_COLOR 0x2201
|
---|
554 | #define GL_TEXTURE_GEN_S 0x0C60
|
---|
555 | #define GL_TEXTURE_GEN_T 0x0C61
|
---|
556 | #define GL_TEXTURE_GEN_MODE 0x2500
|
---|
557 | #define GL_TEXTURE_BORDER_COLOR 0x1004
|
---|
558 | #define GL_TEXTURE_WIDTH 0x1000
|
---|
559 | #define GL_TEXTURE_HEIGHT 0x1001
|
---|
560 | #define GL_TEXTURE_BORDER 0x1005
|
---|
561 | #define GL_TEXTURE_COMPONENTS 0x1003
|
---|
562 | #define GL_TEXTURE_RED_SIZE 0x805C
|
---|
563 | #define GL_TEXTURE_GREEN_SIZE 0x805D
|
---|
564 | #define GL_TEXTURE_BLUE_SIZE 0x805E
|
---|
565 | #define GL_TEXTURE_ALPHA_SIZE 0x805F
|
---|
566 | #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
|
---|
567 | #define GL_TEXTURE_INTENSITY_SIZE 0x8061
|
---|
568 | #define GL_NEAREST_MIPMAP_NEAREST 0x2700
|
---|
569 | #define GL_NEAREST_MIPMAP_LINEAR 0x2702
|
---|
570 | #define GL_LINEAR_MIPMAP_NEAREST 0x2701
|
---|
571 | #define GL_LINEAR_MIPMAP_LINEAR 0x2703
|
---|
572 | #define GL_OBJECT_LINEAR 0x2401
|
---|
573 | #define GL_OBJECT_PLANE 0x2501
|
---|
574 | #define GL_EYE_LINEAR 0x2400
|
---|
575 | #define GL_EYE_PLANE 0x2502
|
---|
576 | #define GL_SPHERE_MAP 0x2402
|
---|
577 | #define GL_DECAL 0x2101
|
---|
578 | #define GL_MODULATE 0x2100
|
---|
579 | #define GL_NEAREST 0x2600
|
---|
580 | #define GL_REPEAT 0x2901
|
---|
581 | #define GL_CLAMP 0x2900
|
---|
582 | #define GL_S 0x2000
|
---|
583 | #define GL_T 0x2001
|
---|
584 | #define GL_R 0x2002
|
---|
585 | #define GL_Q 0x2003
|
---|
586 | #define GL_TEXTURE_GEN_R 0x0C62
|
---|
587 | #define GL_TEXTURE_GEN_Q 0x0C63
|
---|
588 |
|
---|
589 | /* Vertex Arrays */
|
---|
590 | #define GL_VERTEX_ARRAY 0x8074
|
---|
591 | #define GL_NORMAL_ARRAY 0x8075
|
---|
592 | #define GL_COLOR_ARRAY 0x8076
|
---|
593 | #define GL_INDEX_ARRAY 0x8077
|
---|
594 | #define GL_TEXTURE_COORD_ARRAY 0x8078
|
---|
595 | #define GL_EDGE_FLAG_ARRAY 0x8079
|
---|
596 | #define GL_VERTEX_ARRAY_SIZE 0x807A
|
---|
597 | #define GL_VERTEX_ARRAY_TYPE 0x807B
|
---|
598 | #define GL_VERTEX_ARRAY_STRIDE 0x807C
|
---|
599 | #define GL_NORMAL_ARRAY_TYPE 0x807E
|
---|
600 | #define GL_NORMAL_ARRAY_STRIDE 0x807F
|
---|
601 | #define GL_COLOR_ARRAY_SIZE 0x8081
|
---|
602 | #define GL_COLOR_ARRAY_TYPE 0x8082
|
---|
603 | #define GL_COLOR_ARRAY_STRIDE 0x8083
|
---|
604 | #define GL_INDEX_ARRAY_TYPE 0x8085
|
---|
605 | #define GL_INDEX_ARRAY_STRIDE 0x8086
|
---|
606 | #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
|
---|
607 | #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
|
---|
608 | #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
|
---|
609 | #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
|
---|
610 | #define GL_VERTEX_ARRAY_POINTER 0x808E
|
---|
611 | #define GL_NORMAL_ARRAY_POINTER 0x808F
|
---|
612 | #define GL_COLOR_ARRAY_POINTER 0x8090
|
---|
613 | #define GL_INDEX_ARRAY_POINTER 0x8091
|
---|
614 | #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
|
---|
615 | #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
|
---|
616 | #define GL_V2F 0x2A20
|
---|
617 | #define GL_V3F 0x2A21
|
---|
618 | #define GL_C4UB_V2F 0x2A22
|
---|
619 | #define GL_C4UB_V3F 0x2A23
|
---|
620 | #define GL_C3F_V3F 0x2A24
|
---|
621 | #define GL_N3F_V3F 0x2A25
|
---|
622 | #define GL_C4F_N3F_V3F 0x2A26
|
---|
623 | #define GL_T2F_V3F 0x2A27
|
---|
624 | #define GL_T4F_V4F 0x2A28
|
---|
625 | #define GL_T2F_C4UB_V3F 0x2A29
|
---|
626 | #define GL_T2F_C3F_V3F 0x2A2A
|
---|
627 | #define GL_T2F_N3F_V3F 0x2A2B
|
---|
628 | #define GL_T2F_C4F_N3F_V3F 0x2A2C
|
---|
629 | #define GL_T4F_C4F_N3F_V4F 0x2A2D
|
---|
630 |
|
---|
631 | /* OpenGL 1.1 */
|
---|
632 | #define GL_PROXY_TEXTURE_1D 0x8063
|
---|
633 | #define GL_PROXY_TEXTURE_2D 0x8064
|
---|
634 | #define GL_TEXTURE_PRIORITY 0x8066
|
---|
635 | #define GL_TEXTURE_RESIDENT 0x8067
|
---|
636 | #define GL_TEXTURE_BINDING_1D 0x8068
|
---|
637 | #define GL_TEXTURE_BINDING_2D 0x8069
|
---|
638 | #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
|
---|
639 | #define GL_ALPHA4 0x803B
|
---|
640 | #define GL_ALPHA8 0x803C
|
---|
641 | #define GL_ALPHA12 0x803D
|
---|
642 | #define GL_ALPHA16 0x803E
|
---|
643 | #define GL_LUMINANCE4 0x803F
|
---|
644 | #define GL_LUMINANCE8 0x8040
|
---|
645 | #define GL_LUMINANCE12 0x8041
|
---|
646 | #define GL_LUMINANCE16 0x8042
|
---|
647 | #define GL_LUMINANCE4_ALPHA4 0x8043
|
---|
648 | #define GL_LUMINANCE6_ALPHA2 0x8044
|
---|
649 | #define GL_LUMINANCE8_ALPHA8 0x8045
|
---|
650 | #define GL_LUMINANCE12_ALPHA4 0x8046
|
---|
651 | #define GL_LUMINANCE12_ALPHA12 0x8047
|
---|
652 | #define GL_LUMINANCE16_ALPHA16 0x8048
|
---|
653 | #define GL_INTENSITY 0x8049
|
---|
654 | #define GL_INTENSITY4 0x804A
|
---|
655 | #define GL_INTENSITY8 0x804B
|
---|
656 | #define GL_INTENSITY12 0x804C
|
---|
657 | #define GL_INTENSITY16 0x804D
|
---|
658 | #define GL_R3_G3_B2 0x2A10
|
---|
659 | #define GL_RGB4 0x804F
|
---|
660 | #define GL_RGB5 0x8050
|
---|
661 | #define GL_RGB8 0x8051
|
---|
662 | #define GL_RGB10 0x8052
|
---|
663 | #define GL_RGB12 0x8053
|
---|
664 | #define GL_RGB16 0x8054
|
---|
665 | #define GL_RGBA2 0x8055
|
---|
666 | #define GL_RGBA4 0x8056
|
---|
667 | #define GL_RGB5_A1 0x8057
|
---|
668 | #define GL_RGBA8 0x8058
|
---|
669 | #define GL_RGB10_A2 0x8059
|
---|
670 | #define GL_RGBA12 0x805A
|
---|
671 | #define GL_RGBA16 0x805B
|
---|
672 | #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
|
---|
673 | #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
|
---|
674 | #define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF
|
---|
675 | #define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF
|
---|
676 |
|
---|
677 | /* OpenGL 1.2 constants */
|
---|
678 | #define GL_PACK_SKIP_IMAGES 0x806B
|
---|
679 | #define GL_PACK_IMAGE_HEIGHT 0x806C
|
---|
680 | #define GL_UNPACK_SKIP_IMAGES 0x806D
|
---|
681 | #define GL_UNPACK_IMAGE_HEIGHT 0x806E
|
---|
682 | #define GL_TEXTURE_3D 0x806F
|
---|
683 | #define GL_PROXY_TEXTURE_3D 0x8070
|
---|
684 | #define GL_TEXTURE_DEPTH 0x8071
|
---|
685 | #define GL_TEXTURE_WRAP_R 0x8072
|
---|
686 | #define GL_MAX_3D_TEXTURE_SIZE 0x8073
|
---|
687 | #define GL_BGR 0x80E0
|
---|
688 | #define GL_BGRA 0x80E1
|
---|
689 | #define GL_UNSIGNED_BYTE_3_3_2 0x8032
|
---|
690 | #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
|
---|
691 | #define GL_UNSIGNED_SHORT_5_6_5 0x8363
|
---|
692 | #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
|
---|
693 | #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
|
---|
694 | #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
|
---|
695 | #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
|
---|
696 | #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
|
---|
697 | #define GL_UNSIGNED_INT_8_8_8_8 0x8035
|
---|
698 | #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
|
---|
699 | #define GL_UNSIGNED_INT_10_10_10_2 0x8036
|
---|
700 | #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
|
---|
701 | #define GL_RESCALE_NORMAL 0x803A
|
---|
702 | #define GL_TEXTURE_BINDING_3D 0x806A
|
---|
703 | #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
|
---|
704 | #define GL_SINGLE_COLOR 0x81F9
|
---|
705 | #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
|
---|
706 | #define GL_CLAMP_TO_EDGE 0x812F
|
---|
707 | #define GL_TEXTURE_MIN_LOD 0x813A
|
---|
708 | #define GL_TEXTURE_MAX_LOD 0x813B
|
---|
709 | #define GL_TEXTURE_BASE_LEVEL 0x813C
|
---|
710 | #define GL_TEXTURE_MAX_LEVEL 0x813D
|
---|
711 | #define GL_MAX_ELEMENTS_VERTICES 0x80E8
|
---|
712 | #define GL_MAX_ELEMENTS_INDICES 0x80E9
|
---|
713 | #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
|
---|
714 | #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
|
---|
715 |
|
---|
716 | /* OpenGL 1.3 constants */
|
---|
717 | #define GL_ACTIVE_TEXTURE 0x84E0
|
---|
718 | #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
|
---|
719 | #define GL_MAX_TEXTURE_UNITS 0x84E2
|
---|
720 | #define GL_TEXTURE0 0x84C0
|
---|
721 | #define GL_TEXTURE1 0x84C1
|
---|
722 | #define GL_TEXTURE2 0x84C2
|
---|
723 | #define GL_TEXTURE3 0x84C3
|
---|
724 | #define GL_TEXTURE4 0x84C4
|
---|
725 | #define GL_TEXTURE5 0x84C5
|
---|
726 | #define GL_TEXTURE6 0x84C6
|
---|
727 | #define GL_TEXTURE7 0x84C7
|
---|
728 | #define GL_TEXTURE8 0x84C8
|
---|
729 | #define GL_TEXTURE9 0x84C9
|
---|
730 | #define GL_TEXTURE10 0x84CA
|
---|
731 | #define GL_TEXTURE11 0x84CB
|
---|
732 | #define GL_TEXTURE12 0x84CC
|
---|
733 | #define GL_TEXTURE13 0x84CD
|
---|
734 | #define GL_TEXTURE14 0x84CE
|
---|
735 | #define GL_TEXTURE15 0x84CF
|
---|
736 | #define GL_TEXTURE16 0x84D0
|
---|
737 | #define GL_TEXTURE17 0x84D1
|
---|
738 | #define GL_TEXTURE18 0x84D2
|
---|
739 | #define GL_TEXTURE19 0x84D3
|
---|
740 | #define GL_TEXTURE20 0x84D4
|
---|
741 | #define GL_TEXTURE21 0x84D5
|
---|
742 | #define GL_TEXTURE22 0x84D6
|
---|
743 | #define GL_TEXTURE23 0x84D7
|
---|
744 | #define GL_TEXTURE24 0x84D8
|
---|
745 | #define GL_TEXTURE25 0x84D9
|
---|
746 | #define GL_TEXTURE26 0x84DA
|
---|
747 | #define GL_TEXTURE27 0x84DB
|
---|
748 | #define GL_TEXTURE28 0x84DC
|
---|
749 | #define GL_TEXTURE29 0x84DD
|
---|
750 | #define GL_TEXTURE30 0x84DE
|
---|
751 | #define GL_TEXTURE31 0x84DF
|
---|
752 | #define GL_NORMAL_MAP 0x8511
|
---|
753 | #define GL_REFLECTION_MAP 0x8512
|
---|
754 | #define GL_TEXTURE_CUBE_MAP 0x8513
|
---|
755 | #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
|
---|
756 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
|
---|
757 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
|
---|
758 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
|
---|
759 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
|
---|
760 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
|
---|
761 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
|
---|
762 | #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
|
---|
763 | #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
|
---|
764 | #define GL_COMBINE 0x8570
|
---|
765 | #define GL_COMBINE_RGB 0x8571
|
---|
766 | #define GL_COMBINE_ALPHA 0x8572
|
---|
767 | #define GL_RGB_SCALE 0x8573
|
---|
768 | #define GL_ADD_SIGNED 0x8574
|
---|
769 | #define GL_INTERPOLATE 0x8575
|
---|
770 | #define GL_CONSTANT 0x8576
|
---|
771 | #define GL_PRIMARY_COLOR 0x8577
|
---|
772 | #define GL_PREVIOUS 0x8578
|
---|
773 | #define GL_SOURCE0_RGB 0x8580
|
---|
774 | #define GL_SOURCE1_RGB 0x8581
|
---|
775 | #define GL_SOURCE2_RGB 0x8582
|
---|
776 | #define GL_SOURCE0_ALPHA 0x8588
|
---|
777 | #define GL_SOURCE1_ALPHA 0x8589
|
---|
778 | #define GL_SOURCE2_ALPHA 0x858A
|
---|
779 | #define GL_OPERAND0_RGB 0x8590
|
---|
780 | #define GL_OPERAND1_RGB 0x8591
|
---|
781 | #define GL_OPERAND2_RGB 0x8592
|
---|
782 | #define GL_OPERAND0_ALPHA 0x8598
|
---|
783 | #define GL_OPERAND1_ALPHA 0x8599
|
---|
784 | #define GL_OPERAND2_ALPHA 0x859A
|
---|
785 | #define GL_SUBTRACT 0x84E7
|
---|
786 | #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
|
---|
787 | #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
|
---|
788 | #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
|
---|
789 | #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
|
---|
790 | #define GL_COMPRESSED_ALPHA 0x84E9
|
---|
791 | #define GL_COMPRESSED_LUMINANCE 0x84EA
|
---|
792 | #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
|
---|
793 | #define GL_COMPRESSED_INTENSITY 0x84EC
|
---|
794 | #define GL_COMPRESSED_RGB 0x84ED
|
---|
795 | #define GL_COMPRESSED_RGBA 0x84EE
|
---|
796 | #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
|
---|
797 | #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
|
---|
798 | #define GL_TEXTURE_COMPRESSED 0x86A1
|
---|
799 | #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
|
---|
800 | #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
|
---|
801 | #define GL_DOT3_RGB 0x86AE
|
---|
802 | #define GL_DOT3_RGBA 0x86AF
|
---|
803 | #define GL_CLAMP_TO_BORDER 0x812D
|
---|
804 | #define GL_MULTISAMPLE 0x809D
|
---|
805 | #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
|
---|
806 | #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
|
---|
807 | #define GL_SAMPLE_COVERAGE 0x80A0
|
---|
808 | #define GL_SAMPLE_BUFFERS 0x80A8
|
---|
809 | #define GL_SAMPLES 0x80A9
|
---|
810 | #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
|
---|
811 | #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
|
---|
812 | #define GL_MULTISAMPLE_BIT 0x20000000
|
---|
813 |
|
---|
814 | void (WINE_GLAPI *glAccum) (GLenum op, GLfloat value);
|
---|
815 | void (WINE_GLAPI *glAlphaFunc) (GLenum func, GLclampf ref);
|
---|
816 | GLboolean (WINE_GLAPI *glAreTexturesResident) (GLsizei n, const GLuint* textures, GLboolean* residences);
|
---|
817 | void (WINE_GLAPI *glArrayElement) (GLint i);
|
---|
818 | void (WINE_GLAPI *glBegin) (GLenum mode);
|
---|
819 | void (WINE_GLAPI *glBindTexture) (GLenum target, GLuint texture);
|
---|
820 | void (WINE_GLAPI *glBitmap) (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte* bitmap);
|
---|
821 | void (WINE_GLAPI *glBlendFunc) (GLenum sfactor, GLenum dfactor);
|
---|
822 | void (WINE_GLAPI *glCallList) (GLuint list);
|
---|
823 | void (WINE_GLAPI *glCallLists) (GLsizei n, GLenum type, const GLvoid* lists);
|
---|
824 | void (WINE_GLAPI *glClear) (GLbitfield mask);
|
---|
825 | void (WINE_GLAPI *glClearAccum) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
|
---|
826 | void (WINE_GLAPI *glClearColor) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
---|
827 | void (WINE_GLAPI *glClearDepth) (GLclampd depth);
|
---|
828 | void (WINE_GLAPI *glClearIndex) (GLfloat c);
|
---|
829 | void (WINE_GLAPI *glClearStencil) (GLint s);
|
---|
830 | void (WINE_GLAPI *glClipPlane) (GLenum plane, const GLdouble* equation);
|
---|
831 | void (WINE_GLAPI *glColor3b) (GLbyte red, GLbyte green, GLbyte blue);
|
---|
832 | void (WINE_GLAPI *glColor3bv) (const GLbyte* v);
|
---|
833 | void (WINE_GLAPI *glColor3d) (GLdouble red, GLdouble green, GLdouble blue);
|
---|
834 | void (WINE_GLAPI *glColor3dv) (const GLdouble* v);
|
---|
835 | void (WINE_GLAPI *glColor3f) (GLfloat red, GLfloat green, GLfloat blue);
|
---|
836 | void (WINE_GLAPI *glColor3fv) (const GLfloat* v);
|
---|
837 | void (WINE_GLAPI *glColor3i) (GLint red, GLint green, GLint blue);
|
---|
838 | void (WINE_GLAPI *glColor3iv) (const GLint* v);
|
---|
839 | void (WINE_GLAPI *glColor3s) (GLshort red, GLshort green, GLshort blue);
|
---|
840 | void (WINE_GLAPI *glColor3sv) (const GLshort* v);
|
---|
841 | void (WINE_GLAPI *glColor3ub) (GLubyte red, GLubyte green, GLubyte blue);
|
---|
842 | void (WINE_GLAPI *glColor3ubv) (const GLubyte* v);
|
---|
843 | void (WINE_GLAPI *glColor3ui) (GLuint red, GLuint green, GLuint blue);
|
---|
844 | void (WINE_GLAPI *glColor3uiv) (const GLuint* v);
|
---|
845 | void (WINE_GLAPI *glColor3us) (GLushort red, GLushort green, GLushort blue);
|
---|
846 | void (WINE_GLAPI *glColor3usv) (const GLushort* v);
|
---|
847 | void (WINE_GLAPI *glColor4b) (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
|
---|
848 | void (WINE_GLAPI *glColor4bv) (const GLbyte* v);
|
---|
849 | void (WINE_GLAPI *glColor4d) (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
|
---|
850 | void (WINE_GLAPI *glColor4dv) (const GLdouble* v);
|
---|
851 | void (WINE_GLAPI *glColor4f) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
|
---|
852 | void (WINE_GLAPI *glColor4fv) (const GLfloat* v);
|
---|
853 | void (WINE_GLAPI *glColor4i) (GLint red, GLint green, GLint blue, GLint alpha);
|
---|
854 | void (WINE_GLAPI *glColor4iv) (const GLint* v);
|
---|
855 | void (WINE_GLAPI *glColor4s) (GLshort red, GLshort green, GLshort blue, GLshort alpha);
|
---|
856 | void (WINE_GLAPI *glColor4sv) (const GLshort* v);
|
---|
857 | void (WINE_GLAPI *glColor4ub) (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
|
---|
858 | void (WINE_GLAPI *glColor4ubv) (const GLubyte* v);
|
---|
859 | void (WINE_GLAPI *glColor4ui) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
|
---|
860 | void (WINE_GLAPI *glColor4uiv) (const GLuint* v);
|
---|
861 | void (WINE_GLAPI *glColor4us) (GLushort red, GLushort green, GLushort blue, GLushort alpha);
|
---|
862 | void (WINE_GLAPI *glColor4usv) (const GLushort* v);
|
---|
863 | void (WINE_GLAPI *glColorMask) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
|
---|
864 | void (WINE_GLAPI *glColorMaterial) (GLenum face, GLenum mode);
|
---|
865 | void (WINE_GLAPI *glColorPointer) (GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
|
---|
866 | void (WINE_GLAPI *glCopyPixels) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
|
---|
867 | void (WINE_GLAPI *glCopyTexImage1D) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
|
---|
868 | void (WINE_GLAPI *glCopyTexImage2D) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
|
---|
869 | void (WINE_GLAPI *glCopyTexSubImage1D) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
|
---|
870 | void (WINE_GLAPI *glCopyTexSubImage2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
|
---|
871 | void (WINE_GLAPI *glCullFace) (GLenum mode);
|
---|
872 | void (WINE_GLAPI *glDeleteLists) (GLuint list, GLsizei range);
|
---|
873 | void (WINE_GLAPI *glDeleteTextures) (GLsizei n, const GLuint* textures);
|
---|
874 | void (WINE_GLAPI *glDepthFunc) (GLenum func);
|
---|
875 | void (WINE_GLAPI *glDepthMask) (GLboolean flag);
|
---|
876 | void (WINE_GLAPI *glDepthRange) (GLclampd nearParam, GLclampd farParam);
|
---|
877 | void (WINE_GLAPI *glDisable) (GLenum cap);
|
---|
878 | void (WINE_GLAPI *glDisableClientState) (GLenum array);
|
---|
879 | void (WINE_GLAPI *glDrawArrays) (GLenum mode, GLint first, GLsizei count);
|
---|
880 | void (WINE_GLAPI *glDrawBuffer) (GLenum mode);
|
---|
881 | void (WINE_GLAPI *glDrawElements) (GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
|
---|
882 | void (WINE_GLAPI *glDrawPixels) (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
|
---|
883 | void (WINE_GLAPI *glEdgeFlag) (GLboolean flag);
|
---|
884 | void (WINE_GLAPI *glEdgeFlagPointer) (GLsizei stride, const GLvoid* pointer);
|
---|
885 | void (WINE_GLAPI *glEdgeFlagv) (const GLboolean* flag);
|
---|
886 | void (WINE_GLAPI *glEnable) (GLenum cap);
|
---|
887 | void (WINE_GLAPI *glEnableClientState) (GLenum array);
|
---|
888 | void (WINE_GLAPI *glEnd) ();
|
---|
889 | void (WINE_GLAPI *glEndList) ();
|
---|
890 | void (WINE_GLAPI *glEvalCoord1d) (GLdouble u);
|
---|
891 | void (WINE_GLAPI *glEvalCoord1dv) (const GLdouble* u);
|
---|
892 | void (WINE_GLAPI *glEvalCoord1f) (GLfloat u);
|
---|
893 | void (WINE_GLAPI *glEvalCoord1fv) (const GLfloat* u);
|
---|
894 | void (WINE_GLAPI *glEvalCoord2d) (GLdouble u, GLdouble v);
|
---|
895 | void (WINE_GLAPI *glEvalCoord2dv) (const GLdouble* u);
|
---|
896 | void (WINE_GLAPI *glEvalCoord2f) (GLfloat u, GLfloat v);
|
---|
897 | void (WINE_GLAPI *glEvalCoord2fv) (const GLfloat* u);
|
---|
898 | void (WINE_GLAPI *glEvalMesh1) (GLenum mode, GLint i1, GLint i2);
|
---|
899 | void (WINE_GLAPI *glEvalMesh2) (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
|
---|
900 | void (WINE_GLAPI *glEvalPoint1) (GLint i);
|
---|
901 | void (WINE_GLAPI *glEvalPoint2) (GLint i, GLint j);
|
---|
902 | void (WINE_GLAPI *glFeedbackBuffer) (GLsizei size, GLenum type, GLfloat* buffer);
|
---|
903 | void (WINE_GLAPI *glFogf) (GLenum pname, GLfloat param);
|
---|
904 | void (WINE_GLAPI *glFogfv) (GLenum pname, const GLfloat* params);
|
---|
905 | void (WINE_GLAPI *glFogi) (GLenum pname, GLint param);
|
---|
906 | void (WINE_GLAPI *glFogiv) (GLenum pname, const GLint* params);
|
---|
907 | void (WINE_GLAPI *glFrontFace) (GLenum mode);
|
---|
908 | void (WINE_GLAPI *glFrustum) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
|
---|
909 | GLuint (WINE_GLAPI *glGenLists) (GLsizei range);
|
---|
910 | void (WINE_GLAPI *glGenTextures) (GLsizei n, GLuint* textures);
|
---|
911 | void (WINE_GLAPI *glGetBooleanv) (GLenum pname, GLboolean* params);
|
---|
912 | void (WINE_GLAPI *glGetClipPlane) (GLenum plane, GLdouble* equation);
|
---|
913 | void (WINE_GLAPI *glGetDoublev) (GLenum pname, GLdouble* params);
|
---|
914 | GLenum (WINE_GLAPI *glGetError) ();
|
---|
915 | void (WINE_GLAPI *glGetFloatv) (GLenum pname, GLfloat* params);
|
---|
916 | void (WINE_GLAPI *glGetIntegerv) (GLenum pname, GLint* params);
|
---|
917 | void (WINE_GLAPI *glGetLightfv) (GLenum light, GLenum pname, GLfloat* params);
|
---|
918 | void (WINE_GLAPI *glGetLightiv) (GLenum light, GLenum pname, GLint* params);
|
---|
919 | void (WINE_GLAPI *glGetMapdv) (GLenum target, GLenum query, GLdouble* v);
|
---|
920 | void (WINE_GLAPI *glGetMapfv) (GLenum target, GLenum query, GLfloat* v);
|
---|
921 | void (WINE_GLAPI *glGetMapiv) (GLenum target, GLenum query, GLint* v);
|
---|
922 | void (WINE_GLAPI *glGetMaterialfv) (GLenum face, GLenum pname, GLfloat* params);
|
---|
923 | void (WINE_GLAPI *glGetMaterialiv) (GLenum face, GLenum pname, GLint* params);
|
---|
924 | void (WINE_GLAPI *glGetPixelMapfv) (GLenum map, GLfloat* values);
|
---|
925 | void (WINE_GLAPI *glGetPixelMapuiv) (GLenum map, GLuint* values);
|
---|
926 | void (WINE_GLAPI *glGetPixelMapusv) (GLenum map, GLushort* values);
|
---|
927 | void (WINE_GLAPI *glGetPointerv) (GLenum pname, GLvoid** params);
|
---|
928 | void (WINE_GLAPI *glGetPolygonStipple) (GLubyte* mask);
|
---|
929 | const GLubyte * (WINE_GLAPI *glGetString) (GLenum name);
|
---|
930 | void (WINE_GLAPI *glGetTexEnvfv) (GLenum target, GLenum pname, GLfloat* params);
|
---|
931 | void (WINE_GLAPI *glGetTexEnviv) (GLenum target, GLenum pname, GLint* params);
|
---|
932 | void (WINE_GLAPI *glGetTexGendv) (GLenum coord, GLenum pname, GLdouble* params);
|
---|
933 | void (WINE_GLAPI *glGetTexGenfv) (GLenum coord, GLenum pname, GLfloat* params);
|
---|
934 | void (WINE_GLAPI *glGetTexGeniv) (GLenum coord, GLenum pname, GLint* params);
|
---|
935 | void (WINE_GLAPI *glGetTexImage) (GLenum target, GLint level, GLenum format, GLenum type, GLvoid* pixels);
|
---|
936 | void (WINE_GLAPI *glGetTexLevelParameterfv) (GLenum target, GLint level, GLenum pname, GLfloat* params);
|
---|
937 | void (WINE_GLAPI *glGetTexLevelParameteriv) (GLenum target, GLint level, GLenum pname, GLint* params);
|
---|
938 | void (WINE_GLAPI *glGetTexParameterfv) (GLenum target, GLenum pname, GLfloat* params);
|
---|
939 | void (WINE_GLAPI *glGetTexParameteriv) (GLenum target, GLenum pname, GLint* params);
|
---|
940 | void (WINE_GLAPI *glHint) (GLenum target, GLenum mode);
|
---|
941 | void (WINE_GLAPI *glIndexMask) (GLuint mask);
|
---|
942 | void (WINE_GLAPI *glIndexPointer) (GLenum type, GLsizei stride, const GLvoid* pointer);
|
---|
943 | void (WINE_GLAPI *glIndexd) (GLdouble c);
|
---|
944 | void (WINE_GLAPI *glIndexdv) (const GLdouble* c);
|
---|
945 | void (WINE_GLAPI *glIndexf) (GLfloat c);
|
---|
946 | void (WINE_GLAPI *glIndexfv) (const GLfloat* c);
|
---|
947 | void (WINE_GLAPI *glIndexi) (GLint c);
|
---|
948 | void (WINE_GLAPI *glIndexiv) (const GLint* c);
|
---|
949 | void (WINE_GLAPI *glIndexs) (GLshort c);
|
---|
950 | void (WINE_GLAPI *glIndexsv) (const GLshort* c);
|
---|
951 | void (WINE_GLAPI *glIndexub) (GLubyte c);
|
---|
952 | void (WINE_GLAPI *glIndexubv) (const GLubyte* c);
|
---|
953 | void (WINE_GLAPI *glInitNames) ();
|
---|
954 | void (WINE_GLAPI *glInterleavedArrays) (GLenum format, GLsizei stride, const GLvoid* pointer);
|
---|
955 | GLboolean (WINE_GLAPI *glIsEnabled) (GLenum cap);
|
---|
956 | GLboolean (WINE_GLAPI *glIsList) (GLuint list);
|
---|
957 | GLboolean (WINE_GLAPI *glIsTexture) (GLuint texture);
|
---|
958 | void (WINE_GLAPI *glLightModelf) (GLenum pname, GLfloat param);
|
---|
959 | void (WINE_GLAPI *glLightModelfv) (GLenum pname, const GLfloat* params);
|
---|
960 | void (WINE_GLAPI *glLightModeli) (GLenum pname, GLint param);
|
---|
961 | void (WINE_GLAPI *glLightModeliv) (GLenum pname, const GLint* params);
|
---|
962 | void (WINE_GLAPI *glLightf) (GLenum light, GLenum pname, GLfloat param);
|
---|
963 | void (WINE_GLAPI *glLightfv) (GLenum light, GLenum pname, const GLfloat* params);
|
---|
964 | void (WINE_GLAPI *glLighti) (GLenum light, GLenum pname, GLint param);
|
---|
965 | void (WINE_GLAPI *glLightiv) (GLenum light, GLenum pname, const GLint* params);
|
---|
966 | void (WINE_GLAPI *glLineStipple) (GLint factor, GLushort pattern);
|
---|
967 | void (WINE_GLAPI *glLineWidth) (GLfloat width);
|
---|
968 | void (WINE_GLAPI *glListBase) (GLuint base);
|
---|
969 | void (WINE_GLAPI *glLoadIdentity) ();
|
---|
970 | void (WINE_GLAPI *glLoadMatrixd) (const GLdouble* m);
|
---|
971 | void (WINE_GLAPI *glLoadMatrixf) (const GLfloat* m);
|
---|
972 | void (WINE_GLAPI *glLoadName) (GLuint name);
|
---|
973 | void (WINE_GLAPI *glLogicOp) (GLenum opcode);
|
---|
974 | void (WINE_GLAPI *glMap1d) (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble* points);
|
---|
975 | void (WINE_GLAPI *glMap1f) (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points);
|
---|
976 | void (WINE_GLAPI *glMap2d) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble* points);
|
---|
977 | void (WINE_GLAPI *glMap2f) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat* points);
|
---|
978 | void (WINE_GLAPI *glMapGrid1d) (GLint un, GLdouble u1, GLdouble u2);
|
---|
979 | void (WINE_GLAPI *glMapGrid1f) (GLint un, GLfloat u1, GLfloat u2);
|
---|
980 | void (WINE_GLAPI *glMapGrid2d) (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
|
---|
981 | void (WINE_GLAPI *glMapGrid2f) (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
|
---|
982 | void (WINE_GLAPI *glMaterialf) (GLenum face, GLenum pname, GLfloat param);
|
---|
983 | void (WINE_GLAPI *glMaterialfv) (GLenum face, GLenum pname, const GLfloat* params);
|
---|
984 | void (WINE_GLAPI *glMateriali) (GLenum face, GLenum pname, GLint param);
|
---|
985 | void (WINE_GLAPI *glMaterialiv) (GLenum face, GLenum pname, const GLint* params);
|
---|
986 | void (WINE_GLAPI *glMatrixMode) (GLenum mode);
|
---|
987 | void (WINE_GLAPI *glMultMatrixd) (const GLdouble* m);
|
---|
988 | void (WINE_GLAPI *glMultMatrixf) (const GLfloat* m);
|
---|
989 | void (WINE_GLAPI *glNewList) (GLuint list, GLenum mode);
|
---|
990 | void (WINE_GLAPI *glNormal3b) (GLbyte nx, GLbyte ny, GLbyte nz);
|
---|
991 | void (WINE_GLAPI *glNormal3bv) (const GLbyte* v);
|
---|
992 | void (WINE_GLAPI *glNormal3d) (GLdouble nx, GLdouble ny, GLdouble nz);
|
---|
993 | void (WINE_GLAPI *glNormal3dv) (const GLdouble* v);
|
---|
994 | void (WINE_GLAPI *glNormal3f) (GLfloat nx, GLfloat ny, GLfloat nz);
|
---|
995 | void (WINE_GLAPI *glNormal3fv) (const GLfloat* v);
|
---|
996 | void (WINE_GLAPI *glNormal3i) (GLint nx, GLint ny, GLint nz);
|
---|
997 | void (WINE_GLAPI *glNormal3iv) (const GLint* v);
|
---|
998 | void (WINE_GLAPI *glNormal3s) (GLshort nx, GLshort ny, GLshort nz);
|
---|
999 | void (WINE_GLAPI *glNormal3sv) (const GLshort* v);
|
---|
1000 | void (WINE_GLAPI *glNormalPointer) (GLenum type, GLsizei stride, const GLvoid* pointer);
|
---|
1001 | void (WINE_GLAPI *glOrtho) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
|
---|
1002 | void (WINE_GLAPI *glPassThrough) (GLfloat token);
|
---|
1003 | void (WINE_GLAPI *glPixelMapfv) (GLenum map, GLint mapsize, const GLfloat* values);
|
---|
1004 | void (WINE_GLAPI *glPixelMapuiv) (GLenum map, GLint mapsize, const GLuint* values);
|
---|
1005 | void (WINE_GLAPI *glPixelMapusv) (GLenum map, GLint mapsize, const GLushort* values);
|
---|
1006 | void (WINE_GLAPI *glPixelStoref) (GLenum pname, GLfloat param);
|
---|
1007 | void (WINE_GLAPI *glPixelStorei) (GLenum pname, GLint param);
|
---|
1008 | void (WINE_GLAPI *glPixelTransferf) (GLenum pname, GLfloat param);
|
---|
1009 | void (WINE_GLAPI *glPixelTransferi) (GLenum pname, GLint param);
|
---|
1010 | void (WINE_GLAPI *glPixelZoom) (GLfloat xfactor, GLfloat yfactor);
|
---|
1011 | void (WINE_GLAPI *glPointSize) (GLfloat size);
|
---|
1012 | void (WINE_GLAPI *glPolygonMode) (GLenum face, GLenum mode);
|
---|
1013 | void (WINE_GLAPI *glPolygonOffset) (GLfloat factor, GLfloat units);
|
---|
1014 | void (WINE_GLAPI *glPolygonStipple) (const GLubyte* mask);
|
---|
1015 | void (WINE_GLAPI *glPopAttrib) ();
|
---|
1016 | void (WINE_GLAPI *glPopClientAttrib) ();
|
---|
1017 | void (WINE_GLAPI *glPopMatrix) ();
|
---|
1018 | void (WINE_GLAPI *glPopName) ();
|
---|
1019 | void (WINE_GLAPI *glPrioritizeTextures) (GLsizei n, const GLuint* textures, const GLclampf* priorities);
|
---|
1020 | void (WINE_GLAPI *glPushAttrib) (GLbitfield mask);
|
---|
1021 | void (WINE_GLAPI *glPushClientAttrib) (GLbitfield mask);
|
---|
1022 | void (WINE_GLAPI *glPushMatrix) ();
|
---|
1023 | void (WINE_GLAPI *glPushName) (GLuint name);
|
---|
1024 | void (WINE_GLAPI *glRasterPos2d) (GLdouble x, GLdouble y);
|
---|
1025 | void (WINE_GLAPI *glRasterPos2dv) (const GLdouble* v);
|
---|
1026 | void (WINE_GLAPI *glRasterPos2f) (GLfloat x, GLfloat y);
|
---|
1027 | void (WINE_GLAPI *glRasterPos2fv) (const GLfloat* v);
|
---|
1028 | void (WINE_GLAPI *glRasterPos2i) (GLint x, GLint y);
|
---|
1029 | void (WINE_GLAPI *glRasterPos2iv) (const GLint* v);
|
---|
1030 | void (WINE_GLAPI *glRasterPos2s) (GLshort x, GLshort y);
|
---|
1031 | void (WINE_GLAPI *glRasterPos2sv) (const GLshort* v);
|
---|
1032 | void (WINE_GLAPI *glRasterPos3d) (GLdouble x, GLdouble y, GLdouble z);
|
---|
1033 | void (WINE_GLAPI *glRasterPos3dv) (const GLdouble* v);
|
---|
1034 | void (WINE_GLAPI *glRasterPos3f) (GLfloat x, GLfloat y, GLfloat z);
|
---|
1035 | void (WINE_GLAPI *glRasterPos3fv) (const GLfloat* v);
|
---|
1036 | void (WINE_GLAPI *glRasterPos3i) (GLint x, GLint y, GLint z);
|
---|
1037 | void (WINE_GLAPI *glRasterPos3iv) (const GLint* v);
|
---|
1038 | void (WINE_GLAPI *glRasterPos3s) (GLshort x, GLshort y, GLshort z);
|
---|
1039 | void (WINE_GLAPI *glRasterPos3sv) (const GLshort* v);
|
---|
1040 | void (WINE_GLAPI *glRasterPos4d) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
---|
1041 | void (WINE_GLAPI *glRasterPos4dv) (const GLdouble* v);
|
---|
1042 | void (WINE_GLAPI *glRasterPos4f) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
---|
1043 | void (WINE_GLAPI *glRasterPos4fv) (const GLfloat* v);
|
---|
1044 | void (WINE_GLAPI *glRasterPos4i) (GLint x, GLint y, GLint z, GLint w);
|
---|
1045 | void (WINE_GLAPI *glRasterPos4iv) (const GLint* v);
|
---|
1046 | void (WINE_GLAPI *glRasterPos4s) (GLshort x, GLshort y, GLshort z, GLshort w);
|
---|
1047 | void (WINE_GLAPI *glRasterPos4sv) (const GLshort* v);
|
---|
1048 | void (WINE_GLAPI *glReadBuffer) (GLenum mode);
|
---|
1049 | void (WINE_GLAPI *glReadPixels) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
|
---|
1050 | void (WINE_GLAPI *glRectd) (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
|
---|
1051 | void (WINE_GLAPI *glRectdv) (const GLdouble* v1, const GLdouble* v2);
|
---|
1052 | void (WINE_GLAPI *glRectf) (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
|
---|
1053 | void (WINE_GLAPI *glRectfv) (const GLfloat* v1, const GLfloat* v2);
|
---|
1054 | void (WINE_GLAPI *glRecti) (GLint x1, GLint y1, GLint x2, GLint y2);
|
---|
1055 | void (WINE_GLAPI *glRectiv) (const GLint* v1, const GLint* v2);
|
---|
1056 | void (WINE_GLAPI *glRects) (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
|
---|
1057 | void (WINE_GLAPI *glRectsv) (const GLshort* v1, const GLshort* v2);
|
---|
1058 | GLint (WINE_GLAPI *glRenderMode) (GLenum mode);
|
---|
1059 | void (WINE_GLAPI *glRotated) (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
|
---|
1060 | void (WINE_GLAPI *glRotatef) (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
|
---|
1061 | void (WINE_GLAPI *glScaled) (GLdouble x, GLdouble y, GLdouble z);
|
---|
1062 | void (WINE_GLAPI *glScalef) (GLfloat x, GLfloat y, GLfloat z);
|
---|
1063 | void (WINE_GLAPI *glScissor) (GLint x, GLint y, GLsizei width, GLsizei height);
|
---|
1064 | void (WINE_GLAPI *glSelectBuffer) (GLsizei size, GLuint* buffer);
|
---|
1065 | void (WINE_GLAPI *glShadeModel) (GLenum mode);
|
---|
1066 | void (WINE_GLAPI *glStencilFunc) (GLenum func, GLint ref, GLuint mask);
|
---|
1067 | void (WINE_GLAPI *glStencilMask) (GLuint mask);
|
---|
1068 | void (WINE_GLAPI *glStencilOp) (GLenum fail, GLenum zfail, GLenum zpass);
|
---|
1069 | void (WINE_GLAPI *glTexCoord1d) (GLdouble s);
|
---|
1070 | void (WINE_GLAPI *glTexCoord1dv) (const GLdouble* v);
|
---|
1071 | void (WINE_GLAPI *glTexCoord1f) (GLfloat s);
|
---|
1072 | void (WINE_GLAPI *glTexCoord1fv) (const GLfloat* v);
|
---|
1073 | void (WINE_GLAPI *glTexCoord1i) (GLint s);
|
---|
1074 | void (WINE_GLAPI *glTexCoord1iv) (const GLint* v);
|
---|
1075 | void (WINE_GLAPI *glTexCoord1s) (GLshort s);
|
---|
1076 | void (WINE_GLAPI *glTexCoord1sv) (const GLshort* v);
|
---|
1077 | void (WINE_GLAPI *glTexCoord2d) (GLdouble s, GLdouble t);
|
---|
1078 | void (WINE_GLAPI *glTexCoord2dv) (const GLdouble* v);
|
---|
1079 | void (WINE_GLAPI *glTexCoord2f) (GLfloat s, GLfloat t);
|
---|
1080 | void (WINE_GLAPI *glTexCoord2fv) (const GLfloat* v);
|
---|
1081 | void (WINE_GLAPI *glTexCoord2i) (GLint s, GLint t);
|
---|
1082 | void (WINE_GLAPI *glTexCoord2iv) (const GLint* v);
|
---|
1083 | void (WINE_GLAPI *glTexCoord2s) (GLshort s, GLshort t);
|
---|
1084 | void (WINE_GLAPI *glTexCoord2sv) (const GLshort* v);
|
---|
1085 | void (WINE_GLAPI *glTexCoord3d) (GLdouble s, GLdouble t, GLdouble r);
|
---|
1086 | void (WINE_GLAPI *glTexCoord3dv) (const GLdouble* v);
|
---|
1087 | void (WINE_GLAPI *glTexCoord3f) (GLfloat s, GLfloat t, GLfloat r);
|
---|
1088 | void (WINE_GLAPI *glTexCoord3fv) (const GLfloat* v);
|
---|
1089 | void (WINE_GLAPI *glTexCoord3i) (GLint s, GLint t, GLint r);
|
---|
1090 | void (WINE_GLAPI *glTexCoord3iv) (const GLint* v);
|
---|
1091 | void (WINE_GLAPI *glTexCoord3s) (GLshort s, GLshort t, GLshort r);
|
---|
1092 | void (WINE_GLAPI *glTexCoord3sv) (const GLshort* v);
|
---|
1093 | void (WINE_GLAPI *glTexCoord4d) (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
|
---|
1094 | void (WINE_GLAPI *glTexCoord4dv) (const GLdouble* v);
|
---|
1095 | void (WINE_GLAPI *glTexCoord4f) (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
|
---|
1096 | void (WINE_GLAPI *glTexCoord4fv) (const GLfloat* v);
|
---|
1097 | void (WINE_GLAPI *glTexCoord4i) (GLint s, GLint t, GLint r, GLint q);
|
---|
1098 | void (WINE_GLAPI *glTexCoord4iv) (const GLint* v);
|
---|
1099 | void (WINE_GLAPI *glTexCoord4s) (GLshort s, GLshort t, GLshort r, GLshort q);
|
---|
1100 | void (WINE_GLAPI *glTexCoord4sv) (const GLshort* v);
|
---|
1101 | void (WINE_GLAPI *glTexCoordPointer) (GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
|
---|
1102 | void (WINE_GLAPI *glTexEnvf) (GLenum target, GLenum pname, GLfloat param);
|
---|
1103 | void (WINE_GLAPI *glTexEnvfv) (GLenum target, GLenum pname, const GLfloat* params);
|
---|
1104 | void (WINE_GLAPI *glTexEnvi) (GLenum target, GLenum pname, GLint param);
|
---|
1105 | void (WINE_GLAPI *glTexEnviv) (GLenum target, GLenum pname, const GLint* params);
|
---|
1106 | void (WINE_GLAPI *glTexGend) (GLenum coord, GLenum pname, GLdouble param);
|
---|
1107 | void (WINE_GLAPI *glTexGendv) (GLenum coord, GLenum pname, const GLdouble* params);
|
---|
1108 | void (WINE_GLAPI *glTexGenf) (GLenum coord, GLenum pname, GLfloat param);
|
---|
1109 | void (WINE_GLAPI *glTexGenfv) (GLenum coord, GLenum pname, const GLfloat* params);
|
---|
1110 | void (WINE_GLAPI *glTexGeni) (GLenum coord, GLenum pname, GLint param);
|
---|
1111 | void (WINE_GLAPI *glTexGeniv) (GLenum coord, GLenum pname, const GLint* params);
|
---|
1112 | void (WINE_GLAPI *glTexImage1D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
|
---|
1113 | void (WINE_GLAPI *glTexImage2D) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels);
|
---|
1114 | void (WINE_GLAPI *glTexParameterf) (GLenum target, GLenum pname, GLfloat param);
|
---|
1115 | void (WINE_GLAPI *glTexParameterfv) (GLenum target, GLenum pname, const GLfloat* params);
|
---|
1116 | void (WINE_GLAPI *glTexParameteri) (GLenum target, GLenum pname, GLint param);
|
---|
1117 | void (WINE_GLAPI *glTexParameteriv) (GLenum target, GLenum pname, const GLint* params);
|
---|
1118 | void (WINE_GLAPI *glTexSubImage1D) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid* pixels);
|
---|
1119 | void (WINE_GLAPI *glTexSubImage2D) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels);
|
---|
1120 | void (WINE_GLAPI *glTranslated) (GLdouble x, GLdouble y, GLdouble z);
|
---|
1121 | void (WINE_GLAPI *glTranslatef) (GLfloat x, GLfloat y, GLfloat z);
|
---|
1122 | void (WINE_GLAPI *glVertex2d) (GLdouble x, GLdouble y);
|
---|
1123 | void (WINE_GLAPI *glVertex2dv) (const GLdouble* v);
|
---|
1124 | void (WINE_GLAPI *glVertex2f) (GLfloat x, GLfloat y);
|
---|
1125 | void (WINE_GLAPI *glVertex2fv) (const GLfloat* v);
|
---|
1126 | void (WINE_GLAPI *glVertex2i) (GLint x, GLint y);
|
---|
1127 | void (WINE_GLAPI *glVertex2iv) (const GLint* v);
|
---|
1128 | void (WINE_GLAPI *glVertex2s) (GLshort x, GLshort y);
|
---|
1129 | void (WINE_GLAPI *glVertex2sv) (const GLshort* v);
|
---|
1130 | void (WINE_GLAPI *glVertex3d) (GLdouble x, GLdouble y, GLdouble z);
|
---|
1131 | void (WINE_GLAPI *glVertex3dv) (const GLdouble* v);
|
---|
1132 | void (WINE_GLAPI *glVertex3f) (GLfloat x, GLfloat y, GLfloat z);
|
---|
1133 | void (WINE_GLAPI *glVertex3fv) (const GLfloat* v);
|
---|
1134 | void (WINE_GLAPI *glVertex3i) (GLint x, GLint y, GLint z);
|
---|
1135 | void (WINE_GLAPI *glVertex3iv) (const GLint* v);
|
---|
1136 | void (WINE_GLAPI *glVertex3s) (GLshort x, GLshort y, GLshort z);
|
---|
1137 | void (WINE_GLAPI *glVertex3sv) (const GLshort* v);
|
---|
1138 | void (WINE_GLAPI *glVertex4d) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
---|
1139 | void (WINE_GLAPI *glVertex4dv) (const GLdouble* v);
|
---|
1140 | void (WINE_GLAPI *glVertex4f) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
---|
1141 | void (WINE_GLAPI *glVertex4fv) (const GLfloat* v);
|
---|
1142 | void (WINE_GLAPI *glVertex4i) (GLint x, GLint y, GLint z, GLint w);
|
---|
1143 | void (WINE_GLAPI *glVertex4iv) (const GLint* v);
|
---|
1144 | void (WINE_GLAPI *glVertex4s) (GLshort x, GLshort y, GLshort z, GLshort w);
|
---|
1145 | void (WINE_GLAPI *glVertex4sv) (const GLshort* v);
|
---|
1146 | void (WINE_GLAPI *glVertexPointer) (GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
|
---|
1147 | void (WINE_GLAPI *glViewport) (GLint x, GLint y, GLsizei width, GLsizei height);
|
---|
1148 | void (WINE_GLAPI *glPointParameterfv) (GLenum pname, const GLfloat *params);
|
---|
1149 |
|
---|
1150 | /* glFinish and glFlush are always loaded from opengl32.dll, thus they always have
|
---|
1151 | * __stdcall calling convention
|
---|
1152 | */
|
---|
1153 | void (__stdcall *glFinish) ();
|
---|
1154 | void (__stdcall *glFlush) ();
|
---|
1155 |
|
---|
1156 | /* WGL functions */
|
---|
1157 | HGLRC (WINAPI *pwglCreateContext)(HDC);
|
---|
1158 | BOOL (WINAPI *pwglDeleteContext)(HGLRC);
|
---|
1159 | HGLRC (WINAPI *pwglGetCurrentContext)(void);
|
---|
1160 | HDC (WINAPI *pwglGetCurrentDC)(void);
|
---|
1161 | PROC (WINAPI *pwglGetProcAddress)(LPCSTR);
|
---|
1162 | BOOL (WINAPI *pwglMakeCurrent)(HDC,HGLRC);
|
---|
1163 | BOOL (WINAPI *pwglShareLists)(HGLRC,HGLRC);
|
---|
1164 |
|
---|
1165 | #define GL_FUNCS_GEN \
|
---|
1166 | USE_GL_FUNC(glAccum) \
|
---|
1167 | USE_GL_FUNC(glAlphaFunc) \
|
---|
1168 | USE_GL_FUNC(glAreTexturesResident) \
|
---|
1169 | USE_GL_FUNC(glArrayElement) \
|
---|
1170 | USE_GL_FUNC(glBegin) \
|
---|
1171 | USE_GL_FUNC(glBindTexture) \
|
---|
1172 | USE_GL_FUNC(glBitmap) \
|
---|
1173 | USE_GL_FUNC(glBlendFunc) \
|
---|
1174 | USE_GL_FUNC(glCallList) \
|
---|
1175 | USE_GL_FUNC(glCallLists) \
|
---|
1176 | USE_GL_FUNC(glClear) \
|
---|
1177 | USE_GL_FUNC(glClearAccum) \
|
---|
1178 | USE_GL_FUNC(glClearColor) \
|
---|
1179 | USE_GL_FUNC(glClearDepth) \
|
---|
1180 | USE_GL_FUNC(glClearIndex) \
|
---|
1181 | USE_GL_FUNC(glClearStencil) \
|
---|
1182 | USE_GL_FUNC(glClipPlane) \
|
---|
1183 | USE_GL_FUNC(glColor3b) \
|
---|
1184 | USE_GL_FUNC(glColor3bv) \
|
---|
1185 | USE_GL_FUNC(glColor3d) \
|
---|
1186 | USE_GL_FUNC(glColor3dv) \
|
---|
1187 | USE_GL_FUNC(glColor3f) \
|
---|
1188 | USE_GL_FUNC(glColor3fv) \
|
---|
1189 | USE_GL_FUNC(glColor3i) \
|
---|
1190 | USE_GL_FUNC(glColor3iv) \
|
---|
1191 | USE_GL_FUNC(glColor3s) \
|
---|
1192 | USE_GL_FUNC(glColor3sv) \
|
---|
1193 | USE_GL_FUNC(glColor3ub) \
|
---|
1194 | USE_GL_FUNC(glColor3ubv) \
|
---|
1195 | USE_GL_FUNC(glColor3ui) \
|
---|
1196 | USE_GL_FUNC(glColor3uiv) \
|
---|
1197 | USE_GL_FUNC(glColor3us) \
|
---|
1198 | USE_GL_FUNC(glColor3usv) \
|
---|
1199 | USE_GL_FUNC(glColor4b) \
|
---|
1200 | USE_GL_FUNC(glColor4bv) \
|
---|
1201 | USE_GL_FUNC(glColor4d) \
|
---|
1202 | USE_GL_FUNC(glColor4dv) \
|
---|
1203 | USE_GL_FUNC(glColor4f) \
|
---|
1204 | USE_GL_FUNC(glColor4fv) \
|
---|
1205 | USE_GL_FUNC(glColor4i) \
|
---|
1206 | USE_GL_FUNC(glColor4iv) \
|
---|
1207 | USE_GL_FUNC(glColor4s) \
|
---|
1208 | USE_GL_FUNC(glColor4sv) \
|
---|
1209 | USE_GL_FUNC(glColor4ub) \
|
---|
1210 | USE_GL_FUNC(glColor4ubv) \
|
---|
1211 | USE_GL_FUNC(glColor4ui) \
|
---|
1212 | USE_GL_FUNC(glColor4uiv) \
|
---|
1213 | USE_GL_FUNC(glColor4us) \
|
---|
1214 | USE_GL_FUNC(glColor4usv) \
|
---|
1215 | USE_GL_FUNC(glColorMask) \
|
---|
1216 | USE_GL_FUNC(glColorMaterial) \
|
---|
1217 | USE_GL_FUNC(glColorPointer) \
|
---|
1218 | USE_GL_FUNC(glCopyPixels) \
|
---|
1219 | USE_GL_FUNC(glCopyTexImage1D) \
|
---|
1220 | USE_GL_FUNC(glCopyTexImage2D) \
|
---|
1221 | USE_GL_FUNC(glCopyTexSubImage1D) \
|
---|
1222 | USE_GL_FUNC(glCopyTexSubImage2D) \
|
---|
1223 | USE_GL_FUNC(glCullFace) \
|
---|
1224 | USE_GL_FUNC(glDeleteLists) \
|
---|
1225 | USE_GL_FUNC(glDeleteTextures) \
|
---|
1226 | USE_GL_FUNC(glDepthFunc) \
|
---|
1227 | USE_GL_FUNC(glDepthMask) \
|
---|
1228 | USE_GL_FUNC(glDepthRange) \
|
---|
1229 | USE_GL_FUNC(glDisable) \
|
---|
1230 | USE_GL_FUNC(glDisableClientState) \
|
---|
1231 | USE_GL_FUNC(glDrawArrays) \
|
---|
1232 | USE_GL_FUNC(glDrawBuffer) \
|
---|
1233 | USE_GL_FUNC(glDrawElements) \
|
---|
1234 | USE_GL_FUNC(glDrawPixels) \
|
---|
1235 | USE_GL_FUNC(glEdgeFlag) \
|
---|
1236 | USE_GL_FUNC(glEdgeFlagPointer) \
|
---|
1237 | USE_GL_FUNC(glEdgeFlagv) \
|
---|
1238 | USE_GL_FUNC(glEnable) \
|
---|
1239 | USE_GL_FUNC(glEnableClientState) \
|
---|
1240 | USE_GL_FUNC(glEnd) \
|
---|
1241 | USE_GL_FUNC(glEndList) \
|
---|
1242 | USE_GL_FUNC(glEvalCoord1d) \
|
---|
1243 | USE_GL_FUNC(glEvalCoord1dv) \
|
---|
1244 | USE_GL_FUNC(glEvalCoord1f) \
|
---|
1245 | USE_GL_FUNC(glEvalCoord1fv) \
|
---|
1246 | USE_GL_FUNC(glEvalCoord2d) \
|
---|
1247 | USE_GL_FUNC(glEvalCoord2dv) \
|
---|
1248 | USE_GL_FUNC(glEvalCoord2f) \
|
---|
1249 | USE_GL_FUNC(glEvalCoord2fv) \
|
---|
1250 | USE_GL_FUNC(glEvalMesh1) \
|
---|
1251 | USE_GL_FUNC(glEvalMesh2) \
|
---|
1252 | USE_GL_FUNC(glEvalPoint1) \
|
---|
1253 | USE_GL_FUNC(glEvalPoint2) \
|
---|
1254 | USE_GL_FUNC(glFeedbackBuffer) \
|
---|
1255 | USE_GL_FUNC(glFogf) \
|
---|
1256 | USE_GL_FUNC(glFogfv) \
|
---|
1257 | USE_GL_FUNC(glFogi) \
|
---|
1258 | USE_GL_FUNC(glFogiv) \
|
---|
1259 | USE_GL_FUNC(glFrontFace) \
|
---|
1260 | USE_GL_FUNC(glFrustum) \
|
---|
1261 | USE_GL_FUNC(glGenLists) \
|
---|
1262 | USE_GL_FUNC(glGenTextures) \
|
---|
1263 | USE_GL_FUNC(glGetBooleanv) \
|
---|
1264 | USE_GL_FUNC(glGetClipPlane) \
|
---|
1265 | USE_GL_FUNC(glGetDoublev) \
|
---|
1266 | USE_GL_FUNC(glGetError) \
|
---|
1267 | USE_GL_FUNC(glGetFloatv) \
|
---|
1268 | USE_GL_FUNC(glGetIntegerv) \
|
---|
1269 | USE_GL_FUNC(glGetLightfv) \
|
---|
1270 | USE_GL_FUNC(glGetLightiv) \
|
---|
1271 | USE_GL_FUNC(glGetMapdv) \
|
---|
1272 | USE_GL_FUNC(glGetMapfv) \
|
---|
1273 | USE_GL_FUNC(glGetMapiv) \
|
---|
1274 | USE_GL_FUNC(glGetMaterialfv) \
|
---|
1275 | USE_GL_FUNC(glGetMaterialiv) \
|
---|
1276 | USE_GL_FUNC(glGetPixelMapfv) \
|
---|
1277 | USE_GL_FUNC(glGetPixelMapuiv) \
|
---|
1278 | USE_GL_FUNC(glGetPixelMapusv) \
|
---|
1279 | USE_GL_FUNC(glGetPointerv) \
|
---|
1280 | USE_GL_FUNC(glGetPolygonStipple) \
|
---|
1281 | USE_GL_FUNC(glGetString) \
|
---|
1282 | USE_GL_FUNC(glGetTexEnvfv) \
|
---|
1283 | USE_GL_FUNC(glGetTexEnviv) \
|
---|
1284 | USE_GL_FUNC(glGetTexGendv) \
|
---|
1285 | USE_GL_FUNC(glGetTexGenfv) \
|
---|
1286 | USE_GL_FUNC(glGetTexGeniv) \
|
---|
1287 | USE_GL_FUNC(glGetTexImage) \
|
---|
1288 | USE_GL_FUNC(glGetTexLevelParameterfv) \
|
---|
1289 | USE_GL_FUNC(glGetTexLevelParameteriv) \
|
---|
1290 | USE_GL_FUNC(glGetTexParameterfv) \
|
---|
1291 | USE_GL_FUNC(glGetTexParameteriv) \
|
---|
1292 | USE_GL_FUNC(glHint) \
|
---|
1293 | USE_GL_FUNC(glIndexMask) \
|
---|
1294 | USE_GL_FUNC(glIndexPointer) \
|
---|
1295 | USE_GL_FUNC(glIndexd) \
|
---|
1296 | USE_GL_FUNC(glIndexdv) \
|
---|
1297 | USE_GL_FUNC(glIndexf) \
|
---|
1298 | USE_GL_FUNC(glIndexfv) \
|
---|
1299 | USE_GL_FUNC(glIndexi) \
|
---|
1300 | USE_GL_FUNC(glIndexiv) \
|
---|
1301 | USE_GL_FUNC(glIndexs) \
|
---|
1302 | USE_GL_FUNC(glIndexsv) \
|
---|
1303 | USE_GL_FUNC(glIndexub) \
|
---|
1304 | USE_GL_FUNC(glIndexubv) \
|
---|
1305 | USE_GL_FUNC(glInitNames) \
|
---|
1306 | USE_GL_FUNC(glInterleavedArrays) \
|
---|
1307 | USE_GL_FUNC(glIsEnabled) \
|
---|
1308 | USE_GL_FUNC(glIsList) \
|
---|
1309 | USE_GL_FUNC(glIsTexture) \
|
---|
1310 | USE_GL_FUNC(glLightModelf) \
|
---|
1311 | USE_GL_FUNC(glLightModelfv) \
|
---|
1312 | USE_GL_FUNC(glLightModeli) \
|
---|
1313 | USE_GL_FUNC(glLightModeliv) \
|
---|
1314 | USE_GL_FUNC(glLightf) \
|
---|
1315 | USE_GL_FUNC(glLightfv) \
|
---|
1316 | USE_GL_FUNC(glLighti) \
|
---|
1317 | USE_GL_FUNC(glLightiv) \
|
---|
1318 | USE_GL_FUNC(glLineStipple) \
|
---|
1319 | USE_GL_FUNC(glLineWidth) \
|
---|
1320 | USE_GL_FUNC(glListBase) \
|
---|
1321 | USE_GL_FUNC(glLoadIdentity) \
|
---|
1322 | USE_GL_FUNC(glLoadMatrixd) \
|
---|
1323 | USE_GL_FUNC(glLoadMatrixf) \
|
---|
1324 | USE_GL_FUNC(glLoadName) \
|
---|
1325 | USE_GL_FUNC(glLogicOp) \
|
---|
1326 | USE_GL_FUNC(glMap1d) \
|
---|
1327 | USE_GL_FUNC(glMap1f) \
|
---|
1328 | USE_GL_FUNC(glMap2d) \
|
---|
1329 | USE_GL_FUNC(glMap2f) \
|
---|
1330 | USE_GL_FUNC(glMapGrid1d) \
|
---|
1331 | USE_GL_FUNC(glMapGrid1f) \
|
---|
1332 | USE_GL_FUNC(glMapGrid2d) \
|
---|
1333 | USE_GL_FUNC(glMapGrid2f) \
|
---|
1334 | USE_GL_FUNC(glMaterialf) \
|
---|
1335 | USE_GL_FUNC(glMaterialfv) \
|
---|
1336 | USE_GL_FUNC(glMateriali) \
|
---|
1337 | USE_GL_FUNC(glMaterialiv) \
|
---|
1338 | USE_GL_FUNC(glMatrixMode) \
|
---|
1339 | USE_GL_FUNC(glMultMatrixd) \
|
---|
1340 | USE_GL_FUNC(glMultMatrixf) \
|
---|
1341 | USE_GL_FUNC(glNewList) \
|
---|
1342 | USE_GL_FUNC(glNormal3b) \
|
---|
1343 | USE_GL_FUNC(glNormal3bv) \
|
---|
1344 | USE_GL_FUNC(glNormal3d) \
|
---|
1345 | USE_GL_FUNC(glNormal3dv) \
|
---|
1346 | USE_GL_FUNC(glNormal3f) \
|
---|
1347 | USE_GL_FUNC(glNormal3fv) \
|
---|
1348 | USE_GL_FUNC(glNormal3i) \
|
---|
1349 | USE_GL_FUNC(glNormal3iv) \
|
---|
1350 | USE_GL_FUNC(glNormal3s) \
|
---|
1351 | USE_GL_FUNC(glNormal3sv) \
|
---|
1352 | USE_GL_FUNC(glNormalPointer) \
|
---|
1353 | USE_GL_FUNC(glOrtho) \
|
---|
1354 | USE_GL_FUNC(glPassThrough) \
|
---|
1355 | USE_GL_FUNC(glPixelMapfv) \
|
---|
1356 | USE_GL_FUNC(glPixelMapuiv) \
|
---|
1357 | USE_GL_FUNC(glPixelMapusv) \
|
---|
1358 | USE_GL_FUNC(glPixelStoref) \
|
---|
1359 | USE_GL_FUNC(glPixelStorei) \
|
---|
1360 | USE_GL_FUNC(glPixelTransferf) \
|
---|
1361 | USE_GL_FUNC(glPixelTransferi) \
|
---|
1362 | USE_GL_FUNC(glPixelZoom) \
|
---|
1363 | USE_GL_FUNC(glPointSize) \
|
---|
1364 | USE_GL_FUNC(glPolygonMode) \
|
---|
1365 | USE_GL_FUNC(glPolygonOffset) \
|
---|
1366 | USE_GL_FUNC(glPolygonStipple) \
|
---|
1367 | USE_GL_FUNC(glPopAttrib) \
|
---|
1368 | USE_GL_FUNC(glPopClientAttrib) \
|
---|
1369 | USE_GL_FUNC(glPopMatrix) \
|
---|
1370 | USE_GL_FUNC(glPopName) \
|
---|
1371 | USE_GL_FUNC(glPrioritizeTextures) \
|
---|
1372 | USE_GL_FUNC(glPushAttrib) \
|
---|
1373 | USE_GL_FUNC(glPushClientAttrib) \
|
---|
1374 | USE_GL_FUNC(glPushMatrix) \
|
---|
1375 | USE_GL_FUNC(glPushName) \
|
---|
1376 | USE_GL_FUNC(glRasterPos2d) \
|
---|
1377 | USE_GL_FUNC(glRasterPos2dv) \
|
---|
1378 | USE_GL_FUNC(glRasterPos2f) \
|
---|
1379 | USE_GL_FUNC(glRasterPos2fv) \
|
---|
1380 | USE_GL_FUNC(glRasterPos2i) \
|
---|
1381 | USE_GL_FUNC(glRasterPos2iv) \
|
---|
1382 | USE_GL_FUNC(glRasterPos2s) \
|
---|
1383 | USE_GL_FUNC(glRasterPos2sv) \
|
---|
1384 | USE_GL_FUNC(glRasterPos3d) \
|
---|
1385 | USE_GL_FUNC(glRasterPos3dv) \
|
---|
1386 | USE_GL_FUNC(glRasterPos3f) \
|
---|
1387 | USE_GL_FUNC(glRasterPos3fv) \
|
---|
1388 | USE_GL_FUNC(glRasterPos3i) \
|
---|
1389 | USE_GL_FUNC(glRasterPos3iv) \
|
---|
1390 | USE_GL_FUNC(glRasterPos3s) \
|
---|
1391 | USE_GL_FUNC(glRasterPos3sv) \
|
---|
1392 | USE_GL_FUNC(glRasterPos4d) \
|
---|
1393 | USE_GL_FUNC(glRasterPos4dv) \
|
---|
1394 | USE_GL_FUNC(glRasterPos4f) \
|
---|
1395 | USE_GL_FUNC(glRasterPos4fv) \
|
---|
1396 | USE_GL_FUNC(glRasterPos4i) \
|
---|
1397 | USE_GL_FUNC(glRasterPos4iv) \
|
---|
1398 | USE_GL_FUNC(glRasterPos4s) \
|
---|
1399 | USE_GL_FUNC(glRasterPos4sv) \
|
---|
1400 | USE_GL_FUNC(glReadBuffer) \
|
---|
1401 | USE_GL_FUNC(glReadPixels) \
|
---|
1402 | USE_GL_FUNC(glRectd) \
|
---|
1403 | USE_GL_FUNC(glRectdv) \
|
---|
1404 | USE_GL_FUNC(glRectf) \
|
---|
1405 | USE_GL_FUNC(glRectfv) \
|
---|
1406 | USE_GL_FUNC(glRecti) \
|
---|
1407 | USE_GL_FUNC(glRectiv) \
|
---|
1408 | USE_GL_FUNC(glRects) \
|
---|
1409 | USE_GL_FUNC(glRectsv) \
|
---|
1410 | USE_GL_FUNC(glRenderMode) \
|
---|
1411 | USE_GL_FUNC(glRotated) \
|
---|
1412 | USE_GL_FUNC(glRotatef) \
|
---|
1413 | USE_GL_FUNC(glScaled) \
|
---|
1414 | USE_GL_FUNC(glScalef) \
|
---|
1415 | USE_GL_FUNC(glScissor) \
|
---|
1416 | USE_GL_FUNC(glSelectBuffer) \
|
---|
1417 | USE_GL_FUNC(glShadeModel) \
|
---|
1418 | USE_GL_FUNC(glStencilFunc) \
|
---|
1419 | USE_GL_FUNC(glStencilMask) \
|
---|
1420 | USE_GL_FUNC(glStencilOp) \
|
---|
1421 | USE_GL_FUNC(glTexCoord1d) \
|
---|
1422 | USE_GL_FUNC(glTexCoord1dv) \
|
---|
1423 | USE_GL_FUNC(glTexCoord1f) \
|
---|
1424 | USE_GL_FUNC(glTexCoord1fv) \
|
---|
1425 | USE_GL_FUNC(glTexCoord1i) \
|
---|
1426 | USE_GL_FUNC(glTexCoord1iv) \
|
---|
1427 | USE_GL_FUNC(glTexCoord1s) \
|
---|
1428 | USE_GL_FUNC(glTexCoord1sv) \
|
---|
1429 | USE_GL_FUNC(glTexCoord2d) \
|
---|
1430 | USE_GL_FUNC(glTexCoord2dv) \
|
---|
1431 | USE_GL_FUNC(glTexCoord2f) \
|
---|
1432 | USE_GL_FUNC(glTexCoord2fv) \
|
---|
1433 | USE_GL_FUNC(glTexCoord2i) \
|
---|
1434 | USE_GL_FUNC(glTexCoord2iv) \
|
---|
1435 | USE_GL_FUNC(glTexCoord2s) \
|
---|
1436 | USE_GL_FUNC(glTexCoord2sv) \
|
---|
1437 | USE_GL_FUNC(glTexCoord3d) \
|
---|
1438 | USE_GL_FUNC(glTexCoord3dv) \
|
---|
1439 | USE_GL_FUNC(glTexCoord3f) \
|
---|
1440 | USE_GL_FUNC(glTexCoord3fv) \
|
---|
1441 | USE_GL_FUNC(glTexCoord3i) \
|
---|
1442 | USE_GL_FUNC(glTexCoord3iv) \
|
---|
1443 | USE_GL_FUNC(glTexCoord3s) \
|
---|
1444 | USE_GL_FUNC(glTexCoord3sv) \
|
---|
1445 | USE_GL_FUNC(glTexCoord4d) \
|
---|
1446 | USE_GL_FUNC(glTexCoord4dv) \
|
---|
1447 | USE_GL_FUNC(glTexCoord4f) \
|
---|
1448 | USE_GL_FUNC(glTexCoord4fv) \
|
---|
1449 | USE_GL_FUNC(glTexCoord4i) \
|
---|
1450 | USE_GL_FUNC(glTexCoord4iv) \
|
---|
1451 | USE_GL_FUNC(glTexCoord4s) \
|
---|
1452 | USE_GL_FUNC(glTexCoord4sv) \
|
---|
1453 | USE_GL_FUNC(glTexCoordPointer) \
|
---|
1454 | USE_GL_FUNC(glTexEnvf) \
|
---|
1455 | USE_GL_FUNC(glTexEnvfv) \
|
---|
1456 | USE_GL_FUNC(glTexEnvi) \
|
---|
1457 | USE_GL_FUNC(glTexEnviv) \
|
---|
1458 | USE_GL_FUNC(glTexGend) \
|
---|
1459 | USE_GL_FUNC(glTexGendv) \
|
---|
1460 | USE_GL_FUNC(glTexGenf) \
|
---|
1461 | USE_GL_FUNC(glTexGenfv) \
|
---|
1462 | USE_GL_FUNC(glTexGeni) \
|
---|
1463 | USE_GL_FUNC(glTexGeniv) \
|
---|
1464 | USE_GL_FUNC(glTexImage1D) \
|
---|
1465 | USE_GL_FUNC(glTexImage2D) \
|
---|
1466 | USE_GL_FUNC(glTexParameterf) \
|
---|
1467 | USE_GL_FUNC(glTexParameterfv) \
|
---|
1468 | USE_GL_FUNC(glTexParameteri) \
|
---|
1469 | USE_GL_FUNC(glTexParameteriv) \
|
---|
1470 | USE_GL_FUNC(glTexSubImage1D) \
|
---|
1471 | USE_GL_FUNC(glTexSubImage2D) \
|
---|
1472 | USE_GL_FUNC(glTranslated) \
|
---|
1473 | USE_GL_FUNC(glTranslatef) \
|
---|
1474 | USE_GL_FUNC(glVertex2d) \
|
---|
1475 | USE_GL_FUNC(glVertex2dv) \
|
---|
1476 | USE_GL_FUNC(glVertex2f) \
|
---|
1477 | USE_GL_FUNC(glVertex2fv) \
|
---|
1478 | USE_GL_FUNC(glVertex2i) \
|
---|
1479 | USE_GL_FUNC(glVertex2iv) \
|
---|
1480 | USE_GL_FUNC(glVertex2s) \
|
---|
1481 | USE_GL_FUNC(glVertex2sv) \
|
---|
1482 | USE_GL_FUNC(glVertex3d) \
|
---|
1483 | USE_GL_FUNC(glVertex3dv) \
|
---|
1484 | USE_GL_FUNC(glVertex3f) \
|
---|
1485 | USE_GL_FUNC(glVertex3fv) \
|
---|
1486 | USE_GL_FUNC(glVertex3i) \
|
---|
1487 | USE_GL_FUNC(glVertex3iv) \
|
---|
1488 | USE_GL_FUNC(glVertex3s) \
|
---|
1489 | USE_GL_FUNC(glVertex3sv) \
|
---|
1490 | USE_GL_FUNC(glVertex4d) \
|
---|
1491 | USE_GL_FUNC(glVertex4dv) \
|
---|
1492 | USE_GL_FUNC(glVertex4f) \
|
---|
1493 | USE_GL_FUNC(glVertex4fv) \
|
---|
1494 | USE_GL_FUNC(glVertex4i) \
|
---|
1495 | USE_GL_FUNC(glVertex4iv) \
|
---|
1496 | USE_GL_FUNC(glVertex4s) \
|
---|
1497 | USE_GL_FUNC(glVertex4sv) \
|
---|
1498 | USE_GL_FUNC(glVertexPointer) \
|
---|
1499 | USE_GL_FUNC(glViewport) \
|
---|
1500 | USE_GL_FUNC(glPointParameterfv) \
|
---|
1501 |
|
---|
1502 | #define WGL_FUNCS_GEN \
|
---|
1503 | USE_WGL_FUNC(wglCreateContext) \
|
---|
1504 | USE_WGL_FUNC(wglDeleteContext) \
|
---|
1505 | USE_WGL_FUNC(wglGetCurrentContext) \
|
---|
1506 | USE_WGL_FUNC(wglGetCurrentDC) \
|
---|
1507 | USE_WGL_FUNC(wglGetProcAddress) \
|
---|
1508 | USE_WGL_FUNC(wglMakeCurrent) \
|
---|
1509 | USE_WGL_FUNC(wglShareLists)
|
---|
1510 |
|
---|
1511 |
|
---|
1512 | /****************************************************
|
---|
1513 | * OpenGL Extensions (EXT and ARB)
|
---|
1514 | * #defines and functions pointer
|
---|
1515 | ****************************************************/
|
---|
1516 |
|
---|
1517 | /* GL_ARB_color_buffer_float */
|
---|
1518 | #ifndef GL_ARB_color_buffer_float
|
---|
1519 | #define GL_RGBA_FLOAT_MODE_ARB 0x8820
|
---|
1520 | #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
|
---|
1521 | #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
|
---|
1522 | #define GL_CLAMP_READ_COLOR_ARB 0x891C
|
---|
1523 | #define GL_FIXED_ONLY_ARB 0x891D
|
---|
1524 | #endif
|
---|
1525 | typedef void (WINE_GLAPI *PGLFNCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
|
---|
1526 |
|
---|
1527 | /* GL_ARB_depth_texture */
|
---|
1528 | #ifndef GL_ARB_depth_texture
|
---|
1529 | #define GL_ARB_depth_texture 1
|
---|
1530 | #define GL_DEPTH_COMPONENT16_ARB 0x81A5
|
---|
1531 | #define GL_DEPTH_COMPONENT24_ARB 0x81A6
|
---|
1532 | #define GL_DEPTH_COMPONENT32_ARB 0x81A7
|
---|
1533 | #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
|
---|
1534 | #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
|
---|
1535 | #endif
|
---|
1536 |
|
---|
1537 | /* GL_ARB_draw_buffers */
|
---|
1538 | #ifndef GL_ARB_draw_buffers
|
---|
1539 | #define GL_ARB_draw_buffers 1
|
---|
1540 | #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
|
---|
1541 | #define GL_DRAW_BUFFER0_ARB 0x8825
|
---|
1542 | #define GL_DRAW_BUFFER1_ARB 0x8826
|
---|
1543 | #define GL_DRAW_BUFFER2_ARB 0x8827
|
---|
1544 | #define GL_DRAW_BUFFER3_ARB 0x8828
|
---|
1545 | #define GL_DRAW_BUFFER4_ARB 0x8829
|
---|
1546 | #define GL_DRAW_BUFFER5_ARB 0x882A
|
---|
1547 | #define GL_DRAW_BUFFER6_ARB 0x882B
|
---|
1548 | #define GL_DRAW_BUFFER7_ARB 0x882C
|
---|
1549 | #define GL_DRAW_BUFFER8_ARB 0x882D
|
---|
1550 | #define GL_DRAW_BUFFER9_ARB 0x882E
|
---|
1551 | #define GL_DRAW_BUFFER10_ARB 0x882F
|
---|
1552 | #define GL_DRAW_BUFFER11_ARB 0x8830
|
---|
1553 | #define GL_DRAW_BUFFER12_ARB 0x8831
|
---|
1554 | #define GL_DRAW_BUFFER13_ARB 0x8832
|
---|
1555 | #define GL_DRAW_BUFFER14_ARB 0x8833
|
---|
1556 | #define GL_DRAW_BUFFER15_ARB 0x8834
|
---|
1557 | #endif
|
---|
1558 | typedef void (WINE_GLAPI *PGLFNDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
|
---|
1559 |
|
---|
1560 | /* GL_ARB_imaging */
|
---|
1561 | #ifndef GL_ARB_imaging
|
---|
1562 | #define GL_ARB_imaging 1
|
---|
1563 | #define GL_CONSTANT_COLOR 0x8001
|
---|
1564 | #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
|
---|
1565 | #define GL_CONSTANT_ALPHA 0x8003
|
---|
1566 | #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
|
---|
1567 | #define GL_BLEND_COLOR 0x8005
|
---|
1568 | #define GL_FUNC_ADD 0x8006
|
---|
1569 | #define GL_MIN 0x8007
|
---|
1570 | #define GL_MAX 0x8008
|
---|
1571 | #define GL_BLEND_EQUATION 0x8009
|
---|
1572 | #define GL_FUNC_SUBTRACT 0x800A
|
---|
1573 | #define GL_FUNC_REVERSE_SUBTRACT 0x800B
|
---|
1574 | #define GL_CONVOLUTION_1D 0x8010
|
---|
1575 | #define GL_CONVOLUTION_2D 0x8011
|
---|
1576 | #define GL_SEPARABLE_2D 0x8012
|
---|
1577 | #define GL_CONVOLUTION_BORDER_MODE 0x8013
|
---|
1578 | #define GL_CONVOLUTION_FILTER_SCALE 0x8014
|
---|
1579 | #define GL_CONVOLUTION_FILTER_BIAS 0x8015
|
---|
1580 | #define GL_REDUCE 0x8016
|
---|
1581 | #define GL_CONVOLUTION_FORMAT 0x8017
|
---|
1582 | #define GL_CONVOLUTION_WIDTH 0x8018
|
---|
1583 | #define GL_CONVOLUTION_HEIGHT 0x8019
|
---|
1584 | #define GL_MAX_CONVOLUTION_WIDTH 0x801A
|
---|
1585 | #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
|
---|
1586 | #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
|
---|
1587 | #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
|
---|
1588 | #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
|
---|
1589 | #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
|
---|
1590 | #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
|
---|
1591 | #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
|
---|
1592 | #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
|
---|
1593 | #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
|
---|
1594 | #define GL_HISTOGRAM 0x8024
|
---|
1595 | #define GL_PROXY_HISTOGRAM 0x8025
|
---|
1596 | #define GL_HISTOGRAM_WIDTH 0x8026
|
---|
1597 | #define GL_HISTOGRAM_FORMAT 0x8027
|
---|
1598 | #define GL_HISTOGRAM_RED_SIZE 0x8028
|
---|
1599 | #define GL_HISTOGRAM_GREEN_SIZE 0x8029
|
---|
1600 | #define GL_HISTOGRAM_BLUE_SIZE 0x802A
|
---|
1601 | #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
|
---|
1602 | #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
|
---|
1603 | #define GL_HISTOGRAM_SINK 0x802D
|
---|
1604 | #define GL_MINMAX 0x802E
|
---|
1605 | #define GL_MINMAX_FORMAT 0x802F
|
---|
1606 | #define GL_MINMAX_SINK 0x8030
|
---|
1607 | #define GL_TABLE_TOO_LARGE 0x8031
|
---|
1608 | #define GL_COLOR_MATRIX 0x80B1
|
---|
1609 | #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
|
---|
1610 | #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
|
---|
1611 | #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
|
---|
1612 | #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
|
---|
1613 | #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
|
---|
1614 | #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
|
---|
1615 | #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
|
---|
1616 | #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
|
---|
1617 | #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
|
---|
1618 | #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
|
---|
1619 | #define GL_COLOR_TABLE 0x80D0
|
---|
1620 | #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
|
---|
1621 | #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
|
---|
1622 | #define GL_PROXY_COLOR_TABLE 0x80D3
|
---|
1623 | #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
|
---|
1624 | #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
|
---|
1625 | #define GL_COLOR_TABLE_SCALE 0x80D6
|
---|
1626 | #define GL_COLOR_TABLE_BIAS 0x80D7
|
---|
1627 | #define GL_COLOR_TABLE_FORMAT 0x80D8
|
---|
1628 | #define GL_COLOR_TABLE_WIDTH 0x80D9
|
---|
1629 | #define GL_COLOR_TABLE_RED_SIZE 0x80DA
|
---|
1630 | #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
|
---|
1631 | #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
|
---|
1632 | #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
|
---|
1633 | #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
|
---|
1634 | #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
|
---|
1635 | #define GL_CONSTANT_BORDER 0x8151
|
---|
1636 | #define GL_REPLICATE_BORDER 0x8153
|
---|
1637 | #define GL_CONVOLUTION_BORDER_COLOR 0x8154
|
---|
1638 | #endif
|
---|
1639 | typedef void (WINE_GLAPI *PGLFNBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
|
---|
1640 | typedef void (WINE_GLAPI *PGLFNBLENDEQUATIONPROC) (GLenum mode);
|
---|
1641 | /* GL_ARB_multitexture */
|
---|
1642 | #ifndef GL_ARB_multitexture
|
---|
1643 | #define GL_ARB_multitexture 1
|
---|
1644 | #define GL_TEXTURE0_ARB 0x84C0
|
---|
1645 | #define GL_TEXTURE1_ARB 0x84C1
|
---|
1646 | #define GL_TEXTURE2_ARB 0x84C2
|
---|
1647 | #define GL_TEXTURE3_ARB 0x84C3
|
---|
1648 | #define GL_TEXTURE4_ARB 0x84C4
|
---|
1649 | #define GL_TEXTURE5_ARB 0x84C5
|
---|
1650 | #define GL_TEXTURE6_ARB 0x84C6
|
---|
1651 | #define GL_TEXTURE7_ARB 0x84C7
|
---|
1652 | #define GL_TEXTURE8_ARB 0x84C8
|
---|
1653 | #define GL_TEXTURE9_ARB 0x84C9
|
---|
1654 | #define GL_TEXTURE10_ARB 0x84CA
|
---|
1655 | #define GL_TEXTURE11_ARB 0x84CB
|
---|
1656 | #define GL_TEXTURE12_ARB 0x84CC
|
---|
1657 | #define GL_TEXTURE13_ARB 0x84CD
|
---|
1658 | #define GL_TEXTURE14_ARB 0x84CE
|
---|
1659 | #define GL_TEXTURE15_ARB 0x84CF
|
---|
1660 | #define GL_TEXTURE16_ARB 0x84D0
|
---|
1661 | #define GL_TEXTURE17_ARB 0x84D1
|
---|
1662 | #define GL_TEXTURE18_ARB 0x84D2
|
---|
1663 | #define GL_TEXTURE19_ARB 0x84D3
|
---|
1664 | #define GL_TEXTURE20_ARB 0x84D4
|
---|
1665 | #define GL_TEXTURE21_ARB 0x84D5
|
---|
1666 | #define GL_TEXTURE22_ARB 0x84D6
|
---|
1667 | #define GL_TEXTURE23_ARB 0x84D7
|
---|
1668 | #define GL_TEXTURE24_ARB 0x84D8
|
---|
1669 | #define GL_TEXTURE25_ARB 0x84D9
|
---|
1670 | #define GL_TEXTURE26_ARB 0x84DA
|
---|
1671 | #define GL_TEXTURE27_ARB 0x84DB
|
---|
1672 | #define GL_TEXTURE28_ARB 0x84DC
|
---|
1673 | #define GL_TEXTURE29_ARB 0x84DD
|
---|
1674 | #define GL_TEXTURE30_ARB 0x84DE
|
---|
1675 | #define GL_TEXTURE31_ARB 0x84DF
|
---|
1676 | #define GL_ACTIVE_TEXTURE_ARB 0x84E0
|
---|
1677 | #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
|
---|
1678 | #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
|
---|
1679 | #endif
|
---|
1680 | typedef void (WINE_GLAPI *WINED3D_PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
|
---|
1681 | typedef void (WINE_GLAPI *WINED3D_PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
|
---|
1682 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
|
---|
1683 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
|
---|
1684 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
|
---|
1685 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
|
---|
1686 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
|
---|
1687 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
|
---|
1688 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
|
---|
1689 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
|
---|
1690 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
|
---|
1691 | typedef void (WINE_GLAPI *WINED3D_PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
|
---|
1692 |
|
---|
1693 | /* GL_ARB_texture_cube_map */
|
---|
1694 | #ifndef GL_ARB_texture_cube_map
|
---|
1695 | #define GL_ARB_texture_cube_map 1
|
---|
1696 | #define GL_NORMAL_MAP_ARB 0x8511
|
---|
1697 | #define GL_REFLECTION_MAP_ARB 0x8512
|
---|
1698 | #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
|
---|
1699 | #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
|
---|
1700 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
|
---|
1701 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
|
---|
1702 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
|
---|
1703 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
|
---|
1704 | #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
|
---|
1705 | #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
|
---|
1706 | #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
|
---|
1707 | #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
|
---|
1708 | #endif
|
---|
1709 |
|
---|
1710 | /* GL_ARB_point_parameters */
|
---|
1711 | #ifndef GL_ARB_point_parameters
|
---|
1712 | #define GL_ARB_point_parameters 1
|
---|
1713 | #define GL_POINT_SIZE_MIN_ARB 0x8126
|
---|
1714 | #define GL_POINT_SIZE_MAX_ARB 0x8127
|
---|
1715 | #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
|
---|
1716 | #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
|
---|
1717 | #endif
|
---|
1718 | typedef void (WINE_GLAPI * PGLFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
|
---|
1719 | typedef void (WINE_GLAPI * PGLFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
|
---|
1720 | /* GL_ARB_vertex_blend */
|
---|
1721 | #ifndef GL_ARB_vertex_blend
|
---|
1722 | #define GL_ARB_vertex_blend 1
|
---|
1723 | #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
|
---|
1724 | #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
|
---|
1725 | #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
|
---|
1726 | #define GL_VERTEX_BLEND_ARB 0x86A7
|
---|
1727 | #define GL_CURRENT_WEIGHT_ARB 0x86A8
|
---|
1728 | #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
|
---|
1729 | #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
|
---|
1730 | #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
|
---|
1731 | #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
|
---|
1732 | #define GL_WEIGHT_ARRAY_ARB 0x86AD
|
---|
1733 | #define GL_MODELVIEW0_ARB 0x1700
|
---|
1734 | #define GL_MODELVIEW1_ARB 0x850A
|
---|
1735 | #define GL_MODELVIEW2_ARB 0x8722
|
---|
1736 | #define GL_MODELVIEW3_ARB 0x8723
|
---|
1737 | #define GL_MODELVIEW4_ARB 0x8724
|
---|
1738 | #define GL_MODELVIEW5_ARB 0x8725
|
---|
1739 | #define GL_MODELVIEW6_ARB 0x8726
|
---|
1740 | #define GL_MODELVIEW7_ARB 0x8727
|
---|
1741 | #define GL_MODELVIEW8_ARB 0x8728
|
---|
1742 | #define GL_MODELVIEW9_ARB 0x8729
|
---|
1743 | #define GL_MODELVIEW10_ARB 0x872A
|
---|
1744 | #define GL_MODELVIEW11_ARB 0x872B
|
---|
1745 | #define GL_MODELVIEW12_ARB 0x872C
|
---|
1746 | #define GL_MODELVIEW13_ARB 0x872D
|
---|
1747 | #define GL_MODELVIEW14_ARB 0x872E
|
---|
1748 | #define GL_MODELVIEW15_ARB 0x872F
|
---|
1749 | #define GL_MODELVIEW16_ARB 0x8730
|
---|
1750 | #define GL_MODELVIEW17_ARB 0x8731
|
---|
1751 | #define GL_MODELVIEW18_ARB 0x8732
|
---|
1752 | #define GL_MODELVIEW19_ARB 0x8733
|
---|
1753 | #define GL_MODELVIEW20_ARB 0x8734
|
---|
1754 | #define GL_MODELVIEW21_ARB 0x8735
|
---|
1755 | #define GL_MODELVIEW22_ARB 0x8736
|
---|
1756 | #define GL_MODELVIEW23_ARB 0x8737
|
---|
1757 | #define GL_MODELVIEW24_ARB 0x8738
|
---|
1758 | #define GL_MODELVIEW25_ARB 0x8739
|
---|
1759 | #define GL_MODELVIEW26_ARB 0x873A
|
---|
1760 | #define GL_MODELVIEW27_ARB 0x873B
|
---|
1761 | #define GL_MODELVIEW28_ARB 0x873C
|
---|
1762 | #define GL_MODELVIEW29_ARB 0x873D
|
---|
1763 | #define GL_MODELVIEW30_ARB 0x873E
|
---|
1764 | #define GL_MODELVIEW31_ARB 0x873F
|
---|
1765 | #endif
|
---|
1766 | typedef void (WINE_GLAPI * PGLFNGLWEIGHTPOINTERARB) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
|
---|
1767 | typedef void (WINE_GLAPI * PGLFNGLWEIGHTBV) (GLint size, const GLbyte *weights);
|
---|
1768 | typedef void (WINE_GLAPI * PGLFNGLWEIGHTSV) (GLint size, const GLshort *weights);
|
---|
1769 | typedef void (WINE_GLAPI * PGLFNGLWEIGHTIV) (GLint size, const GLint *weights);
|
---|
1770 | typedef void (WINE_GLAPI * PGLFNGLWEIGHTFV) (GLint size, const GLfloat *weights);
|
---|
1771 | typedef void (WINE_GLAPI * PGLFNGLWEIGHTDV) (GLint size, const GLdouble *weights);
|
---|
1772 | typedef void (WINE_GLAPI * PGLFNGLWEIGHTUBV) (GLint size, const GLubyte *weights);
|
---|
1773 | typedef void (WINE_GLAPI * PGLFNGLWEIGHTUSV) (GLint size, const GLushort *weights);
|
---|
1774 | typedef void (WINE_GLAPI * PGLFNGLWEIGHTUIV) (GLint size, const GLuint *weights);
|
---|
1775 | typedef void (WINE_GLAPI * PGLFNGLVERTEXBLENDARB) (GLint count);
|
---|
1776 | /* GL_ARB_pixel_buffer_object */
|
---|
1777 | #ifndef GL_ARB_pixel_buffer_object
|
---|
1778 | #define GL_ARB_pixel_buffer_object 1
|
---|
1779 | #endif
|
---|
1780 | #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
|
---|
1781 | #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
|
---|
1782 | #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
|
---|
1783 | #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
|
---|
1784 | /* GL_EXT_framebuffer_object */
|
---|
1785 | #ifndef GL_EXT_framebuffer_object
|
---|
1786 | #define GL_EXT_framebuffer_object 1
|
---|
1787 | #define GL_FRAMEBUFFER_EXT 0x8D40
|
---|
1788 | #define GL_RENDERBUFFER_EXT 0x8D41
|
---|
1789 | #define GL_STENCIL_INDEX1_EXT 0x8D46
|
---|
1790 | #define GL_STENCIL_INDEX4_EXT 0x8D47
|
---|
1791 | #define GL_STENCIL_INDEX8_EXT 0x8D48
|
---|
1792 | #define GL_STENCIL_INDEX16_EXT 0x8D49
|
---|
1793 | #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
|
---|
1794 | #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
|
---|
1795 | #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
|
---|
1796 | #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
|
---|
1797 | #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
|
---|
1798 | #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
|
---|
1799 | #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
|
---|
1800 | #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
|
---|
1801 | #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
|
---|
1802 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
|
---|
1803 | #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
|
---|
1804 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
|
---|
1805 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
|
---|
1806 | #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
|
---|
1807 | #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
|
---|
1808 | #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
|
---|
1809 | #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
|
---|
1810 | #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
|
---|
1811 | #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
|
---|
1812 | #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
|
---|
1813 | #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
|
---|
1814 | #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
|
---|
1815 | #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
|
---|
1816 | #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
|
---|
1817 | #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
|
---|
1818 | #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
|
---|
1819 | #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
|
---|
1820 | #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
|
---|
1821 | #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
|
---|
1822 | #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
|
---|
1823 | #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
|
---|
1824 | #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
|
---|
1825 | #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
|
---|
1826 | #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
|
---|
1827 | #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
|
---|
1828 | #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
|
---|
1829 | #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
|
---|
1830 | #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
|
---|
1831 | #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
|
---|
1832 | #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
|
---|
1833 | #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
|
---|
1834 | #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
|
---|
1835 | #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
|
---|
1836 | #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
|
---|
1837 | #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
|
---|
1838 |
|
---|
1839 | #endif
|
---|
1840 | typedef GLboolean (WINE_GLAPI * PGLFNGLISRENDERBUFFEREXTPROC)(GLuint renderbuffer);
|
---|
1841 | typedef void (WINE_GLAPI * PGLFNGLBINDRENDERBUFFEREXTPROC)(GLenum target, GLuint renderbuffer);
|
---|
1842 | typedef void (WINE_GLAPI * PGLFNGLDELETERENDERBUFFERSEXTPROC)(GLsizei n, const GLuint *renderbuffers);
|
---|
1843 | typedef void (WINE_GLAPI * PGLFNGLGENRENDERBUFFERSEXTPROC)(GLsizei n, GLuint *renderbuffers);
|
---|
1844 | typedef void (WINE_GLAPI * PGLFNGLRENDERBUFFERSTORAGEEXTPROC)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
|
---|
1845 | typedef void (WINE_GLAPI * PGLFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)(GLenum target, GLenum pname, GLint *params);
|
---|
1846 | typedef GLboolean (WINE_GLAPI * PGLFNGLISFRAMEBUFFEREXTPROC)(GLuint framebuffer);
|
---|
1847 | typedef void (WINE_GLAPI * PGLFNGLBINDFRAMEBUFFEREXTPROC)(GLenum target, GLuint framebuffer);
|
---|
1848 | typedef void (WINE_GLAPI * PGLFNGLDELETEFRAMEBUFFERSEXTPROC)(GLsizei n, const GLuint *framebuffers);
|
---|
1849 | typedef void (WINE_GLAPI * PGLFNGLGENFRAMEBUFFERSEXTPROC)(GLsizei n, GLuint *framebuffers);
|
---|
1850 | typedef GLenum (WINE_GLAPI * PGLFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)(GLenum target);
|
---|
1851 | typedef void (WINE_GLAPI * PGLFNGLFRAMEBUFFERTEXTURE1DEXTPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
|
---|
1852 | typedef void (WINE_GLAPI * PGLFNGLFRAMEBUFFERTEXTURE2DEXTPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
|
---|
1853 | typedef void (WINE_GLAPI * PGLFNGLFRAMEBUFFERTEXTURE3DEXTPROC)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
|
---|
1854 | typedef void (WINE_GLAPI * PGLFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
|
---|
1855 | typedef void (WINE_GLAPI * PGLFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)(GLenum target, GLenum attachment, GLenum pname, GLint *params);
|
---|
1856 | typedef void (WINE_GLAPI * PGLFNGLGENERATEMIPMAPEXTPROC)(GLenum target);
|
---|
1857 | /* GL_EXT_framebuffer_blit */
|
---|
1858 | #ifndef GL_EXT_framebuffer_blit
|
---|
1859 | #define GL_EXT_framebuffer_blit 1
|
---|
1860 | #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
|
---|
1861 | #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
|
---|
1862 | #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
|
---|
1863 | #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
|
---|
1864 | #endif
|
---|
1865 | typedef void (WINE_GLAPI * PGLFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
---|
1866 |
|
---|
1867 | /* GL_EXT_framebuffer_multisample */
|
---|
1868 | #ifndef GL_EXT_framebuffer_multisample
|
---|
1869 | #define GL_EXT_framebuffer_multisample 1
|
---|
1870 | #define GL_RENDERBUFFER_SAMPLES_EXT 0x8cab
|
---|
1871 | #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8d56
|
---|
1872 | #define GL_MAX_SAMPLES_EXT 0x8d57
|
---|
1873 | #endif
|
---|
1874 | typedef void (WINE_GLAPI * PGLFNRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
|
---|
1875 |
|
---|
1876 | /* GL_EXT_secondary_color */
|
---|
1877 | #ifndef GL_EXT_secondary_color
|
---|
1878 | #define GL_EXT_secondary_color 1
|
---|
1879 | #define GL_COLOR_SUM_EXT 0x8458
|
---|
1880 | #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
|
---|
1881 | #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
|
---|
1882 | #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
|
---|
1883 | #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
|
---|
1884 | #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
|
---|
1885 | #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
|
---|
1886 | #endif
|
---|
1887 | typedef void (WINE_GLAPI * PGLFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
|
---|
1888 | typedef void (WINE_GLAPI * PGLFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
|
---|
1889 | typedef void (WINE_GLAPI * PGLFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
|
---|
1890 | typedef void (WINE_GLAPI * PGLFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
|
---|
1891 | /* GL_EXT_paletted_texture */
|
---|
1892 | #ifndef GL_EXT_paletted_texture
|
---|
1893 | #define GL_EXT_paletted_texture 1
|
---|
1894 | #define GL_COLOR_INDEX1_EXT 0x80E2
|
---|
1895 | #define GL_COLOR_INDEX2_EXT 0x80E3
|
---|
1896 | #define GL_COLOR_INDEX4_EXT 0x80E4
|
---|
1897 | #define GL_COLOR_INDEX8_EXT 0x80E5
|
---|
1898 | #define GL_COLOR_INDEX12_EXT 0x80E6
|
---|
1899 | #define GL_COLOR_INDEX16_EXT 0x80E7
|
---|
1900 | #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
|
---|
1901 | #endif
|
---|
1902 | typedef void (WINE_GLAPI * PGLFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
|
---|
1903 | /* GL_EXT_point_parameters */
|
---|
1904 | #ifndef GL_EXT_point_parameters
|
---|
1905 | #define GL_EXT_point_parameters 1
|
---|
1906 | #define GL_POINT_SIZE_MIN_EXT 0x8126
|
---|
1907 | #define GL_POINT_SIZE_MAX_EXT 0x8127
|
---|
1908 | #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
|
---|
1909 | #define GL_DISTANCE_ATTENUATION_EXT 0x8129
|
---|
1910 | #endif
|
---|
1911 | typedef void (WINE_GLAPI * PGLFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
|
---|
1912 | typedef void (WINE_GLAPI * PGLFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
|
---|
1913 | /* GL_EXT_texture3D */
|
---|
1914 | #ifndef GL_EXT_texture3D
|
---|
1915 | #define GL_EXT_texture3D 1
|
---|
1916 | #define GL_PACK_SKIP_IMAGES_EXT 0x806B
|
---|
1917 | #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
|
---|
1918 | #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
|
---|
1919 | #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
|
---|
1920 | #define GL_TEXTURE_3D_EXT 0x806F
|
---|
1921 | #define GL_PROXY_TEXTURE_3D_EXT 0x8070
|
---|
1922 | #define GL_TEXTURE_DEPTH_EXT 0x8071
|
---|
1923 | #define GL_TEXTURE_WRAP_R_EXT 0x8072
|
---|
1924 | #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
|
---|
1925 | #endif
|
---|
1926 | typedef void (WINE_GLAPI * PGLFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
|
---|
1927 | typedef void (WINE_GLAPI * PGLFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
|
---|
1928 | /* GL_EXT_texture_env_combine */
|
---|
1929 | #ifndef GL_EXT_texture_env_combine
|
---|
1930 | #define GL_EXT_texture_env_combine 1
|
---|
1931 | #define GL_COMBINE_EXT 0x8570
|
---|
1932 | #define GL_COMBINE_RGB_EXT 0x8571
|
---|
1933 | #define GL_COMBINE_ALPHA_EXT 0x8572
|
---|
1934 | #define GL_RGB_SCALE_EXT 0x8573
|
---|
1935 | #define GL_ADD_SIGNED_EXT 0x8574
|
---|
1936 | #define GL_INTERPOLATE_EXT 0x8575
|
---|
1937 | #define GL_SUBTRACT_EXT 0x84E7
|
---|
1938 | #define GL_CONSTANT_EXT 0x8576
|
---|
1939 | #define GL_PRIMARY_COLOR_EXT 0x8577
|
---|
1940 | #define GL_PREVIOUS_EXT 0x8578
|
---|
1941 | #define GL_SOURCE0_RGB_EXT 0x8580
|
---|
1942 | #define GL_SOURCE1_RGB_EXT 0x8581
|
---|
1943 | #define GL_SOURCE2_RGB_EXT 0x8582
|
---|
1944 | #define GL_SOURCE3_RGB_EXT 0x8583
|
---|
1945 | #define GL_SOURCE4_RGB_EXT 0x8584
|
---|
1946 | #define GL_SOURCE5_RGB_EXT 0x8585
|
---|
1947 | #define GL_SOURCE6_RGB_EXT 0x8586
|
---|
1948 | #define GL_SOURCE7_RGB_EXT 0x8587
|
---|
1949 | #define GL_SOURCE0_ALPHA_EXT 0x8588
|
---|
1950 | #define GL_SOURCE1_ALPHA_EXT 0x8589
|
---|
1951 | #define GL_SOURCE2_ALPHA_EXT 0x858A
|
---|
1952 | #define GL_SOURCE3_ALPHA_EXT 0x858B
|
---|
1953 | #define GL_SOURCE4_ALPHA_EXT 0x858C
|
---|
1954 | #define GL_SOURCE5_ALPHA_EXT 0x858D
|
---|
1955 | #define GL_SOURCE6_ALPHA_EXT 0x858E
|
---|
1956 | #define GL_SOURCE7_ALPHA_EXT 0x858F
|
---|
1957 | #define GL_OPERAND0_RGB_EXT 0x8590
|
---|
1958 | #define GL_OPERAND1_RGB_EXT 0x8591
|
---|
1959 | #define GL_OPERAND2_RGB_EXT 0x8592
|
---|
1960 | #define GL_OPERAND3_RGB_EXT 0x8593
|
---|
1961 | #define GL_OPERAND4_RGB_EXT 0x8594
|
---|
1962 | #define GL_OPERAND5_RGB_EXT 0x8595
|
---|
1963 | #define GL_OPERAND6_RGB_EXT 0x8596
|
---|
1964 | #define GL_OPERAND7_RGB_EXT 0x8597
|
---|
1965 | #define GL_OPERAND0_ALPHA_EXT 0x8598
|
---|
1966 | #define GL_OPERAND1_ALPHA_EXT 0x8599
|
---|
1967 | #define GL_OPERAND2_ALPHA_EXT 0x859A
|
---|
1968 | #define GL_OPERAND3_ALPHA_EXT 0x859B
|
---|
1969 | #define GL_OPERAND4_ALPHA_EXT 0x859C
|
---|
1970 | #define GL_OPERAND5_ALPHA_EXT 0x859D
|
---|
1971 | #define GL_OPERAND6_ALPHA_EXT 0x859E
|
---|
1972 | #define GL_OPERAND7_ALPHA_EXT 0x859F
|
---|
1973 | #endif
|
---|
1974 | /* GL_EXT_texture_env_dot3 */
|
---|
1975 | #ifndef GL_EXT_texture_env_dot3
|
---|
1976 | #define GL_EXT_texture_env_dot3 1
|
---|
1977 | #define GL_DOT3_RGB_EXT 0x8740
|
---|
1978 | #define GL_DOT3_RGBA_EXT 0x8741
|
---|
1979 | #endif
|
---|
1980 | /* GL_EXT_texture_lod_bias */
|
---|
1981 | #ifndef GL_EXT_texture_lod_bias
|
---|
1982 | #define GL_EXT_texture_lod_bias 1
|
---|
1983 | #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
|
---|
1984 | #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
|
---|
1985 | #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
|
---|
1986 | #endif
|
---|
1987 | /* GL_ARB_texture_border_clamp */
|
---|
1988 | #ifndef GL_ARB_texture_border_clamp
|
---|
1989 | #define GL_ARB_texture_border_clamp 1
|
---|
1990 | #define GL_CLAMP_TO_BORDER_ARB 0x812D
|
---|
1991 | #endif
|
---|
1992 | /* GL_EXT_texture_filter_anisotropic */
|
---|
1993 | #ifndef GL_EXT_texture_filter_anisotropic
|
---|
1994 | #define GL_EXT_texture_filter_anisotropic 1
|
---|
1995 | #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
|
---|
1996 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
|
---|
1997 | #endif
|
---|
1998 | /* GL_ARB_texture_mirrored_repeat (full support GL1.4) */
|
---|
1999 | #ifndef GL_ARB_texture_mirrored_repeat
|
---|
2000 | #define GL_ARB_texture_mirrored_repeat 1
|
---|
2001 | #define GL_MIRRORED_REPEAT_ARB 0x8370
|
---|
2002 | #endif
|
---|
2003 | /* GL_ATI_texture_mirror_once */
|
---|
2004 | #ifndef GL_ATI_texture_mirror_once
|
---|
2005 | #define GL_ATI_texture_mirror_once 1
|
---|
2006 | #define GL_MIRROR_CLAMP_ATI 0x8742
|
---|
2007 | #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
|
---|
2008 | #endif
|
---|
2009 | /* GL_ARB_texture_env_dot3 */
|
---|
2010 | #ifndef GL_ARB_texture_env_dot3
|
---|
2011 | #define GL_ARB_texture_env_dot3 1
|
---|
2012 | #define GL_DOT3_RGB_ARB 0x86AE
|
---|
2013 | #define GL_DOT3_RGBA_ARB 0x86AF
|
---|
2014 | #endif
|
---|
2015 | /* GL_EXT_texture_env_dot3 */
|
---|
2016 | #ifndef GL_EXT_texture_env_dot3
|
---|
2017 | #define GL_EXT_texture_env_dot3 1
|
---|
2018 | #define GL_DOT3_RGB_EXT 0x8740
|
---|
2019 | #define GL_DOT3_RGBA_EXT 0x8741
|
---|
2020 | #endif
|
---|
2021 | /* GL_EXT_texture_sRGB */
|
---|
2022 | #ifndef GL_EXT_texture_sRGB
|
---|
2023 | #define GL_EXT_texture_sRGB 1
|
---|
2024 | #define GL_SRGB_EXT 0x8C40
|
---|
2025 | #define GL_SRGB8_EXT 0x8C41
|
---|
2026 | #define GL_SRGB_ALPHA_EXT 0x8C42
|
---|
2027 | #define GL_SRGB8_ALPHA8_EXT 0x8C43
|
---|
2028 | #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
|
---|
2029 | #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
|
---|
2030 | #define GL_SLUMINANCE_EXT 0x8C46
|
---|
2031 | #define GL_SLUMINANCE8_EXT 0x8C47
|
---|
2032 | #define GL_COMPRESSED_SRGB_EXT 0x8C48
|
---|
2033 | #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
|
---|
2034 | #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
|
---|
2035 | #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
|
---|
2036 | #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
|
---|
2037 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
|
---|
2038 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
|
---|
2039 | #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
|
---|
2040 | #endif
|
---|
2041 | /* GL_ARB_texture_float */
|
---|
2042 | #ifndef GL_ARB_texture_float
|
---|
2043 | #define GL_ARB_texture_float 1
|
---|
2044 | #define GL_RGBA32F_ARB 0x8814
|
---|
2045 | #define GL_RGB32F_ARB 0x8815
|
---|
2046 | #define GL_RGBA16F_ARB 0x881A
|
---|
2047 | #define GL_RGB16F_ARB 0x881B
|
---|
2048 | #endif
|
---|
2049 | /* GL_ARB_half_float_pixel */
|
---|
2050 | #ifndef GL_ARB_half_float_pixel
|
---|
2051 | #define GL_ARB_half_float_pixel
|
---|
2052 | #define GL_HALF_FLOAT_ARB 0x140B
|
---|
2053 | #endif
|
---|
2054 | /* GL_ARB_vertex_program */
|
---|
2055 | #ifndef GL_ARB_vertex_program
|
---|
2056 | #define GL_ARB_vertex_program 1
|
---|
2057 | #define GL_VERTEX_PROGRAM_ARB 0x8620
|
---|
2058 | #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
|
---|
2059 | #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
|
---|
2060 | #define GL_COLOR_SUM_ARB 0x8458
|
---|
2061 | #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
|
---|
2062 | #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
|
---|
2063 | #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
|
---|
2064 | #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
|
---|
2065 | #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
|
---|
2066 | #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
|
---|
2067 | #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
|
---|
2068 | #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
|
---|
2069 | #define GL_PROGRAM_LENGTH_ARB 0x8627
|
---|
2070 | #define GL_PROGRAM_FORMAT_ARB 0x8876
|
---|
2071 | #define GL_PROGRAM_BINDING_ARB 0x8677
|
---|
2072 | #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
|
---|
2073 | #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
|
---|
2074 | #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
|
---|
2075 | #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
|
---|
2076 | #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
|
---|
2077 | #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
|
---|
2078 | #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
|
---|
2079 | #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
|
---|
2080 | #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
|
---|
2081 | #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
|
---|
2082 | #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
|
---|
2083 | #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
|
---|
2084 | #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
|
---|
2085 | #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
|
---|
2086 | #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
|
---|
2087 | #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
|
---|
2088 | #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
|
---|
2089 | #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
|
---|
2090 | #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
|
---|
2091 | #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
|
---|
2092 | #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
|
---|
2093 | #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
|
---|
2094 | #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
|
---|
2095 | #define GL_PROGRAM_STRING_ARB 0x8628
|
---|
2096 | #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
|
---|
2097 | #define GL_CURRENT_MATRIX_ARB 0x8641
|
---|
2098 | #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
|
---|
2099 | #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
|
---|
2100 | #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
|
---|
2101 | #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
|
---|
2102 | #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
|
---|
2103 | #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
|
---|
2104 | #define GL_MATRIX0_ARB 0x88C0
|
---|
2105 | #define GL_MATRIX1_ARB 0x88C1
|
---|
2106 | #define GL_MATRIX2_ARB 0x88C2
|
---|
2107 | #define GL_MATRIX3_ARB 0x88C3
|
---|
2108 | #define GL_MATRIX4_ARB 0x88C4
|
---|
2109 | #define GL_MATRIX5_ARB 0x88C5
|
---|
2110 | #define GL_MATRIX6_ARB 0x88C6
|
---|
2111 | #define GL_MATRIX7_ARB 0x88C7
|
---|
2112 | #define GL_MATRIX8_ARB 0x88C8
|
---|
2113 | #define GL_MATRIX9_ARB 0x88C9
|
---|
2114 | #define GL_MATRIX10_ARB 0x88CA
|
---|
2115 | #define GL_MATRIX11_ARB 0x88CB
|
---|
2116 | #define GL_MATRIX12_ARB 0x88CC
|
---|
2117 | #define GL_MATRIX13_ARB 0x88CD
|
---|
2118 | #define GL_MATRIX14_ARB 0x88CE
|
---|
2119 | #define GL_MATRIX15_ARB 0x88CF
|
---|
2120 | #define GL_MATRIX16_ARB 0x88D0
|
---|
2121 | #define GL_MATRIX17_ARB 0x88D1
|
---|
2122 | #define GL_MATRIX18_ARB 0x88D2
|
---|
2123 | #define GL_MATRIX19_ARB 0x88D3
|
---|
2124 | #define GL_MATRIX20_ARB 0x88D4
|
---|
2125 | #define GL_MATRIX21_ARB 0x88D5
|
---|
2126 | #define GL_MATRIX22_ARB 0x88D6
|
---|
2127 | #define GL_MATRIX23_ARB 0x88D7
|
---|
2128 | #define GL_MATRIX24_ARB 0x88D8
|
---|
2129 | #define GL_MATRIX25_ARB 0x88D9
|
---|
2130 | #define GL_MATRIX26_ARB 0x88DA
|
---|
2131 | #define GL_MATRIX27_ARB 0x88DB
|
---|
2132 | #define GL_MATRIX28_ARB 0x88DC
|
---|
2133 | #define GL_MATRIX29_ARB 0x88DD
|
---|
2134 | #define GL_MATRIX30_ARB 0x88DE
|
---|
2135 | #define GL_MATRIX31_ARB 0x88DF
|
---|
2136 | #endif
|
---|
2137 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
|
---|
2138 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
|
---|
2139 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
|
---|
2140 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
|
---|
2141 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
|
---|
2142 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
|
---|
2143 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
|
---|
2144 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
|
---|
2145 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
|
---|
2146 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
|
---|
2147 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
|
---|
2148 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
|
---|
2149 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
|
---|
2150 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
|
---|
2151 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
|
---|
2152 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
|
---|
2153 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
|
---|
2154 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
|
---|
2155 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
|
---|
2156 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
|
---|
2157 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
|
---|
2158 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
|
---|
2159 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
|
---|
2160 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
|
---|
2161 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
|
---|
2162 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
|
---|
2163 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
---|
2164 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
|
---|
2165 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
---|
2166 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
|
---|
2167 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
|
---|
2168 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
|
---|
2169 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
|
---|
2170 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
|
---|
2171 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
|
---|
2172 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
|
---|
2173 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
|
---|
2174 | typedef void (WINE_GLAPI * PGLFNENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
|
---|
2175 | typedef void (WINE_GLAPI * PGLFNDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
|
---|
2176 | typedef void (WINE_GLAPI * PGLFNPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
|
---|
2177 | typedef void (WINE_GLAPI * PGLFNBINDPROGRAMARBPROC) (GLenum target, GLuint program);
|
---|
2178 | typedef void (WINE_GLAPI * PGLFNDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
|
---|
2179 | typedef void (WINE_GLAPI * PGLFNGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
|
---|
2180 | typedef void (WINE_GLAPI * PGLFNPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
---|
2181 | typedef void (WINE_GLAPI * PGLFNPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
|
---|
2182 | typedef void (WINE_GLAPI * PGLFNPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
---|
2183 | typedef void (WINE_GLAPI * PGLFNPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
|
---|
2184 | typedef void (WINE_GLAPI * PGLFNPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
---|
2185 | typedef void (WINE_GLAPI * PGLFNPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
|
---|
2186 | typedef void (WINE_GLAPI * PGLFNPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
---|
2187 | typedef void (WINE_GLAPI * PGLFNPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
|
---|
2188 | typedef void (WINE_GLAPI * PGLFNGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
|
---|
2189 | typedef void (WINE_GLAPI * PGLFNGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
|
---|
2190 | typedef void (WINE_GLAPI * PGLFNGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
|
---|
2191 | typedef void (WINE_GLAPI * PGLFNGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
|
---|
2192 | typedef void (WINE_GLAPI * PGLFNGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
|
---|
2193 | typedef void (WINE_GLAPI * PGLFNGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
|
---|
2194 | typedef void (WINE_GLAPI * PGLFNGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
|
---|
2195 | typedef void (WINE_GLAPI * PGLFNGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
|
---|
2196 | typedef void (WINE_GLAPI * PGLFNGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
|
---|
2197 | typedef void (WINE_GLAPI * PGLFNGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
|
---|
2198 | typedef GLboolean (WINE_GLAPI * PGLFNISPROGRAMARBPROC) (GLuint program);
|
---|
2199 | #ifndef GL_ARB_fragment_program
|
---|
2200 | #define GL_ARB_fragment_program 1
|
---|
2201 | #define GL_FRAGMENT_PROGRAM_ARB 0x8804
|
---|
2202 | #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
|
---|
2203 | #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
|
---|
2204 | #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
|
---|
2205 | #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
|
---|
2206 | #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
|
---|
2207 | #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
|
---|
2208 | #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
|
---|
2209 | #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
|
---|
2210 | #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
|
---|
2211 | #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
|
---|
2212 | #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
|
---|
2213 | #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
|
---|
2214 | #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
|
---|
2215 | #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
|
---|
2216 | /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */
|
---|
2217 | #endif
|
---|
2218 | /* GL_ARB_multisample */
|
---|
2219 | #ifndef GL_ARB_multisample
|
---|
2220 | #define GL_ARB_multisample 1
|
---|
2221 | #define GL_MULTISAMPLE_ARB 0x809D
|
---|
2222 | #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
|
---|
2223 | #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
|
---|
2224 | #define GL_SAMPLE_COVERAGE_ARB 0x80A0
|
---|
2225 | #define GL_SAMPLE_BUFFERS_ARB 0x80A8
|
---|
2226 | #define GL_SAMPLES_ARB 0x80A9
|
---|
2227 | #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
|
---|
2228 | #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
|
---|
2229 | #define GL_MULTISAMPLE_BIT_ARB 0x20000000
|
---|
2230 | #endif
|
---|
2231 | typedef void (WINE_GLAPI * WINED3D_PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
|
---|
2232 | /* GL_ARB_vertex_buffer_object */
|
---|
2233 | #ifndef GL_ARB_vertex_buffer_object
|
---|
2234 | #define GL_ARB_vertex_buffer_object 1
|
---|
2235 | #define GL_BUFFER_SIZE_ARB 0x8764
|
---|
2236 | #define GL_BUFFER_USAGE_ARB 0x8765
|
---|
2237 | #define GL_ARRAY_BUFFER_ARB 0x8892
|
---|
2238 | #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
|
---|
2239 | #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
|
---|
2240 | #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
|
---|
2241 | #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
|
---|
2242 | #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
|
---|
2243 | #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
|
---|
2244 | #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
|
---|
2245 | #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
|
---|
2246 | #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
|
---|
2247 | #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
|
---|
2248 | #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
|
---|
2249 | #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
|
---|
2250 | #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
|
---|
2251 | #define GL_READ_ONLY_ARB 0x88B8
|
---|
2252 | #define GL_WRITE_ONLY_ARB 0x88B9
|
---|
2253 | #define GL_READ_WRITE_ARB 0x88BA
|
---|
2254 | #define GL_BUFFER_ACCESS_ARB 0x88BB
|
---|
2255 | #define GL_BUFFER_MAPPED_ARB 0x88BC
|
---|
2256 | #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
|
---|
2257 | #define GL_STREAM_DRAW_ARB 0x88E0
|
---|
2258 | #define GL_STREAM_READ_ARB 0x88E1
|
---|
2259 | #define GL_STREAM_COPY_ARB 0x88E2
|
---|
2260 | #define GL_STATIC_DRAW_ARB 0x88E4
|
---|
2261 | #define GL_STATIC_READ_ARB 0x88E5
|
---|
2262 | #define GL_STATIC_COPY_ARB 0x88E6
|
---|
2263 | #define GL_DYNAMIC_DRAW_ARB 0x88E8
|
---|
2264 | #define GL_DYNAMIC_READ_ARB 0x88E9
|
---|
2265 | #define GL_DYNAMIC_COPY_ARB 0x88EA
|
---|
2266 | #endif
|
---|
2267 | typedef void (WINE_GLAPI * PGLFNBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
|
---|
2268 | typedef void (WINE_GLAPI * PGLFNDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
|
---|
2269 | typedef void (WINE_GLAPI * PGLFNGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
|
---|
2270 | typedef GLboolean (WINE_GLAPI * PGLFNISBUFFERARBPROC) (GLuint buffer);
|
---|
2271 | typedef void (WINE_GLAPI * PGLFNBUFFERDATAARBPROC) (GLenum target, ptrdiff_t size, const GLvoid *data, GLenum usage);
|
---|
2272 | typedef void (WINE_GLAPI * PGLFNBUFFERSUBDATAARBPROC) (GLenum target, ptrdiff_t offset, ptrdiff_t size, const GLvoid *data);
|
---|
2273 | typedef void (WINE_GLAPI * PGLFNGETBUFFERSUBDATAARBPROC) (GLenum target, ptrdiff_t offset, ptrdiff_t size, GLvoid *data);
|
---|
2274 | typedef GLvoid* (WINE_GLAPI * PGLFNMAPBUFFERARBPROC) (GLenum target, GLenum access);
|
---|
2275 | typedef GLboolean (WINE_GLAPI * PGLFNUNMAPBUFFERARBPROC) (GLenum target);
|
---|
2276 | typedef void (WINE_GLAPI * PGLFNGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
|
---|
2277 | typedef void (WINE_GLAPI * PGLFNGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
|
---|
2278 | /* GL_EXT_blend_equation_separate */
|
---|
2279 | typedef void (WINE_GLAPI * PGLFNBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
|
---|
2280 | /* GL_EXT_blend_func_separate */
|
---|
2281 | #ifndef GL_EXT_blend_func_separate
|
---|
2282 | #define GL_BLEND_DST_RGB_EXT 0x80C8
|
---|
2283 | #define GL_BLEND_SRC_RGB_EXT 0x80C9
|
---|
2284 | #define GL_BLEND_DST_ALPHA_EXT 0x80CA
|
---|
2285 | #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
|
---|
2286 | #endif
|
---|
2287 | typedef void (WINE_GLAPI * PGLFNBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
|
---|
2288 | /* GL_EXT_fog_coord */
|
---|
2289 | #ifndef GL_EXT_fog_coord
|
---|
2290 | #define GL_EXT_fog_coord 1
|
---|
2291 | #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
|
---|
2292 | #define GL_FOG_COORDINATE_EXT 0x8451
|
---|
2293 | #define GL_FRAGMENT_DEPTH_EXT 0x8452
|
---|
2294 | #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
|
---|
2295 | #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
|
---|
2296 | #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
|
---|
2297 | #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
|
---|
2298 | #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
|
---|
2299 | #endif /* GL_EXT_fog_coord */
|
---|
2300 | typedef void (WINE_GLAPI * PGLFNGLFOGCOORDFEXTPROC) (GLfloat intesity);
|
---|
2301 | typedef void (WINE_GLAPI * PGLFNGLFOGCOORDFVEXTPROC) (GLfloat intesity);
|
---|
2302 | typedef void (WINE_GLAPI * PGLFNGLFOGCOORDDEXTPROC) (GLfloat intesity);
|
---|
2303 | typedef void (WINE_GLAPI * PGLFNGLFOGCOORDDVEXTPROC) (GLfloat intesity);
|
---|
2304 | typedef void (WINE_GLAPI * PGLFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, GLvoid *data);
|
---|
2305 | /* GL_ARB_shader_objects (GLSL) */
|
---|
2306 | #ifndef GL_ARB_shader_objects
|
---|
2307 | #define GL_ARB_shader_objects 1
|
---|
2308 | typedef char GLcharARB;
|
---|
2309 | typedef unsigned int GLhandleARB;
|
---|
2310 | #define GL_PROGRAM_OBJECT_ARB 0x8B40
|
---|
2311 | #define GL_OBJECT_TYPE_ARB 0x8B4E
|
---|
2312 | #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
|
---|
2313 | #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
|
---|
2314 | #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
|
---|
2315 | #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
|
---|
2316 | #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
|
---|
2317 | #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
|
---|
2318 | #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
|
---|
2319 | #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
|
---|
2320 | #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
|
---|
2321 | #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
|
---|
2322 | #define GL_SHADER_OBJECT_ARB 0x8B48
|
---|
2323 | #define GL_FLOAT_VEC2_ARB 0x8B50
|
---|
2324 | #define GL_FLOAT_VEC3_ARB 0x8B51
|
---|
2325 | #define GL_FLOAT_VEC4_ARB 0x8B52
|
---|
2326 | #define GL_INT_VEC2_ARB 0x8B53
|
---|
2327 | #define GL_INT_VEC3_ARB 0x8B54
|
---|
2328 | #define GL_INT_VEC4_ARB 0x8B55
|
---|
2329 | #define GL_BOOL_ARB 0x8B56
|
---|
2330 | #define GL_BOOL_VEC2_ARB 0x8B57
|
---|
2331 | #define GL_BOOL_VEC3_ARB 0x8B58
|
---|
2332 | #define GL_BOOL_VEC4_ARB 0x8B59
|
---|
2333 | #define GL_FLOAT_MAT2_ARB 0x8B5A
|
---|
2334 | #define GL_FLOAT_MAT3_ARB 0x8B5B
|
---|
2335 | #define GL_FLOAT_MAT4_ARB 0x8B5C
|
---|
2336 | #define GL_SAMPLER_1D_ARB 0x8B5D
|
---|
2337 | #define GL_SAMPLER_2D_ARB 0x8B5E
|
---|
2338 | #define GL_SAMPLER_3D_ARB 0x8B5F
|
---|
2339 | #define GL_SAMPLER_CUBE_ARB 0x8B60
|
---|
2340 | #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
|
---|
2341 | #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
|
---|
2342 | #define GL_SAMPLER_2D_RECT_ARB 0x8B63
|
---|
2343 | #define GL_SAMPELR_2D_RECT_SHADOW_ARB 0x8B64
|
---|
2344 | #endif
|
---|
2345 | #ifndef GL_ARB_shading_language_100
|
---|
2346 | #define GL_ARB_shading_language_100 1
|
---|
2347 | #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
|
---|
2348 | #endif
|
---|
2349 | #ifndef GL_ARB_fragment_shader
|
---|
2350 | #define GL_ARB_fragment_shader 1
|
---|
2351 | #define GL_FRAGMENT_SHADER_ARB 0x8B30
|
---|
2352 | #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
|
---|
2353 | #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
|
---|
2354 | #endif
|
---|
2355 | #ifndef GL_ARB_vertex_shader
|
---|
2356 | #define GL_ARB_vertex_shader 1
|
---|
2357 | #define GL_VERTEX_SHADER_ARB 0x8B31
|
---|
2358 | #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
|
---|
2359 | #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
|
---|
2360 | #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
|
---|
2361 | #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
|
---|
2362 | #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
|
---|
2363 | #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
|
---|
2364 | #endif
|
---|
2365 | typedef void (WINE_GLAPI * WINED3D_PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
|
---|
2366 | typedef void (WINE_GLAPI * WINED3D_PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
|
---|
2367 | typedef GLint (WINE_GLAPI * WINED3D_PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
|
---|
2368 | typedef void (WINE_GLAPI * WINED3D_PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
|
---|
2369 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
|
---|
2370 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
|
---|
2371 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
|
---|
2372 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
|
---|
2373 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
|
---|
2374 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
|
---|
2375 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
|
---|
2376 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
|
---|
2377 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
|
---|
2378 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
|
---|
2379 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
|
---|
2380 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
|
---|
2381 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
|
---|
2382 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
|
---|
2383 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
|
---|
2384 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
|
---|
2385 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
|
---|
2386 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
|
---|
2387 | typedef void (WINE_GLAPI * WINED3D_PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
|
---|
2388 | typedef void (WINE_GLAPI * WINED3D_PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
|
---|
2389 | typedef void (WINE_GLAPI * WINED3D_PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
|
---|
2390 | typedef void (WINE_GLAPI * WINED3D_PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
|
---|
2391 | typedef void (WINE_GLAPI * WINED3D_PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
|
---|
2392 | typedef GLhandleARB (WINE_GLAPI * WINED3D_PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
|
---|
2393 | typedef void (WINE_GLAPI * WINED3D_PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
|
---|
2394 | typedef void (WINE_GLAPI * WINED3D_PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
|
---|
2395 | typedef GLhandleARB (WINE_GLAPI * WINED3D_PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
|
---|
2396 | typedef void (WINE_GLAPI * WINED3D_PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
|
---|
2397 | typedef void (WINE_GLAPI * WINED3D_PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
|
---|
2398 | typedef void (WINE_GLAPI * WINED3D_PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
|
---|
2399 | typedef void (WINE_GLAPI * WINED3D_PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
|
---|
2400 | typedef void (WINE_GLAPI * WINED3D_PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
|
---|
2401 | typedef void (WINE_GLAPI * WINED3D_PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
|
---|
2402 | typedef GLhandleARB (WINE_GLAPI * WINED3D_PFNGLGETHANDLEARBPROC) (GLenum pname);
|
---|
2403 | typedef void (WINE_GLAPI * WINED3D_PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
|
---|
2404 | typedef void (WINE_GLAPI * WINED3D_PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
|
---|
2405 | typedef GLint (WINE_GLAPI * WINED3D_PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
|
---|
2406 | /* GL_ARB_pixel_buffer_object */
|
---|
2407 | #ifndef GL_ARB_pixel_buffer_object
|
---|
2408 | #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
|
---|
2409 | #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
|
---|
2410 | #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
|
---|
2411 | #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
|
---|
2412 | #endif
|
---|
2413 | /* GL_EXT_texture */
|
---|
2414 | #ifndef GL_EXT_texture
|
---|
2415 | #define GL_EXT_texture 1
|
---|
2416 | #define GL_ALPHA4_EXT 0x803B
|
---|
2417 | #define GL_ALPHA8_EXT 0x803C
|
---|
2418 | #define GL_ALPHA12_EXT 0x803D
|
---|
2419 | #define GL_ALPHA16_EXT 0x803E
|
---|
2420 | #define GL_LUMINANCE4_EXT 0x803F
|
---|
2421 | #define GL_LUMINANCE8_EXT 0x8040
|
---|
2422 | #define GL_LUMINANCE12_EXT 0x8041
|
---|
2423 | #define GL_LUMINANCE16_EXT 0x8042
|
---|
2424 | #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
|
---|
2425 | #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
|
---|
2426 | #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
|
---|
2427 | #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
|
---|
2428 | #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
|
---|
2429 | #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
|
---|
2430 | #define GL_INTENSITY_EXT 0x8049
|
---|
2431 | #define GL_INTENSITY4_EXT 0x804A
|
---|
2432 | #define GL_INTENSITY8_EXT 0x804B
|
---|
2433 | #define GL_INTENSITY12_EXT 0x804C
|
---|
2434 | #define GL_INTENSITY16_EXT 0x804D
|
---|
2435 | #define GL_RGB2_EXT 0x804E
|
---|
2436 | #define GL_RGB4_EXT 0x804F
|
---|
2437 | #define GL_RGB5_EXT 0x8050
|
---|
2438 | #define GL_RGB8_EXT 0x8051
|
---|
2439 | #define GL_RGB10_EXT 0x8052
|
---|
2440 | #define GL_RGB12_EXT 0x8053
|
---|
2441 | #define GL_RGB16_EXT 0x8054
|
---|
2442 | #define GL_RGBA2_EXT 0x8055
|
---|
2443 | #define GL_RGBA4_EXT 0x8056
|
---|
2444 | #define GL_RGB5_A1_EXT 0x8057
|
---|
2445 | #define GL_RGBA8_EXT 0x8058
|
---|
2446 | #define GL_RGB10_A2_EXT 0x8059
|
---|
2447 | #define GL_RGBA12_EXT 0x805A
|
---|
2448 | #define GL_RGBA16_EXT 0x805B
|
---|
2449 | #define GL_TEXTURE_RED_SIZE_EXT 0x805C
|
---|
2450 | #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
|
---|
2451 | #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
|
---|
2452 | #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
|
---|
2453 | #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
|
---|
2454 | #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
|
---|
2455 | #define GL_REPLACE_EXT 0x8062
|
---|
2456 | #define GL_PROXY_TEXTURE_1D_EXT 0x8063
|
---|
2457 | #define GL_PROXY_TEXTURE_2D_EXT 0x8064
|
---|
2458 | #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
|
---|
2459 | #endif
|
---|
2460 | /* GL_EXT_texture_compression_s3tc */
|
---|
2461 | #ifndef GL_EXT_texture_compression_s3tc
|
---|
2462 | #define GL_EXT_texture_compression_s3tc 1
|
---|
2463 | #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
|
---|
2464 | #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
|
---|
2465 | #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
|
---|
2466 | #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
|
---|
2467 | #endif
|
---|
2468 | typedef void (WINE_GLAPI * PGLFNCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
|
---|
2469 | typedef void (WINE_GLAPI * PGLFNCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
|
---|
2470 | typedef void (WINE_GLAPI * PGLFNCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
|
---|
2471 | typedef void (WINE_GLAPI * PGLFNCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
|
---|
2472 | typedef void (WINE_GLAPI * PGLFNCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
|
---|
2473 | typedef void (WINE_GLAPI * PGLFNCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
|
---|
2474 | typedef void (WINE_GLAPI * PGLFNGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
|
---|
2475 | /* GL_EXT_stencil_wrap */
|
---|
2476 | #ifndef GL_EXT_stencil_wrap
|
---|
2477 | #define GL_EXT_stencil_wrap 1
|
---|
2478 | #define GL_INCR_WRAP_EXT 0x8507
|
---|
2479 | #define GL_DECR_WRAP_EXT 0x8508
|
---|
2480 | #endif
|
---|
2481 |
|
---|
2482 | /* GL_NV_half_float */
|
---|
2483 | #ifndef GL_NV_half_float
|
---|
2484 | #define GL_NV_half_float 1
|
---|
2485 | typedef unsigned short GLhalfNV;
|
---|
2486 | #define GL_HALF_FLOAT_NV 0x140B
|
---|
2487 | #endif
|
---|
2488 | typedef void (WINE_GLAPI * PGLFNVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
|
---|
2489 | typedef void (WINE_GLAPI * PGLFNVERTEX2HVNVPROC) (const GLhalfNV *v);
|
---|
2490 | typedef void (WINE_GLAPI * PGLFNVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
|
---|
2491 | typedef void (WINE_GLAPI * PGLFNVERTEX3HVNVPROC) (const GLhalfNV *v);
|
---|
2492 | typedef void (WINE_GLAPI * PGLFNVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
|
---|
2493 | typedef void (WINE_GLAPI * PGLFNVERTEX4HVNVPROC) (const GLhalfNV *v);
|
---|
2494 | typedef void (WINE_GLAPI * PGLFNNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
|
---|
2495 | typedef void (WINE_GLAPI * PGLFNNORMAL3HVNVPROC) (const GLhalfNV *v);
|
---|
2496 | typedef void (WINE_GLAPI * PGLFNCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
|
---|
2497 | typedef void (WINE_GLAPI * PGLFNCOLOR3HVNVPROC) (const GLhalfNV *v);
|
---|
2498 | typedef void (WINE_GLAPI * PGLFNCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
|
---|
2499 | typedef void (WINE_GLAPI * PGLFNCOLOR4HVNVPROC) (const GLhalfNV *v);
|
---|
2500 | typedef void (WINE_GLAPI * PGLFNTEXCOORD1HNVPROC) (GLhalfNV s);
|
---|
2501 | typedef void (WINE_GLAPI * PGLFNTEXCOORD1HVNVPROC) (const GLhalfNV *v);
|
---|
2502 | typedef void (WINE_GLAPI * PGLFNTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
|
---|
2503 | typedef void (WINE_GLAPI * PGLFNTEXCOORD2HVNVPROC) (const GLhalfNV *v);
|
---|
2504 | typedef void (WINE_GLAPI * PGLFNTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
|
---|
2505 | typedef void (WINE_GLAPI * PGLFNTEXCOORD3HVNVPROC) (const GLhalfNV *v);
|
---|
2506 | typedef void (WINE_GLAPI * PGLFNTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
|
---|
2507 | typedef void (WINE_GLAPI * PGLFNTEXCOORD4HVNVPROC) (const GLhalfNV *v);
|
---|
2508 | typedef void (WINE_GLAPI * PGLFNMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
|
---|
2509 | typedef void (WINE_GLAPI * PGLFNMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
|
---|
2510 | typedef void (WINE_GLAPI * PGLFNMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
|
---|
2511 | typedef void (WINE_GLAPI * PGLFNMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
|
---|
2512 | typedef void (WINE_GLAPI * PGLFNMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
|
---|
2513 | typedef void (WINE_GLAPI * PGLFNMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
|
---|
2514 | typedef void (WINE_GLAPI * PGLFNMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
|
---|
2515 | typedef void (WINE_GLAPI * PGLFNMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
|
---|
2516 | typedef void (WINE_GLAPI * PGLFNFOGCOORDHNVPROC) (GLhalfNV fog);
|
---|
2517 | typedef void (WINE_GLAPI * PGLFNFOGCOORDHVNVPROC) (const GLhalfNV *fog);
|
---|
2518 | typedef void (WINE_GLAPI * PGLFNSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
|
---|
2519 | typedef void (WINE_GLAPI * PGLFNSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
|
---|
2520 | typedef void (WINE_GLAPI * PGLFNVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
|
---|
2521 | typedef void (WINE_GLAPI * PGLFNVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
|
---|
2522 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
|
---|
2523 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
|
---|
2524 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
|
---|
2525 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
|
---|
2526 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
|
---|
2527 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
|
---|
2528 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
|
---|
2529 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
|
---|
2530 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
|
---|
2531 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
|
---|
2532 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
|
---|
2533 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
|
---|
2534 |
|
---|
2535 | /* GL_NV_fog_distance */
|
---|
2536 | #ifndef GL_NV_fog_distance
|
---|
2537 | #define GL_NV_fog_distance 1
|
---|
2538 | #define GL_FOG_DISTANCE_MODE_NV 0x855A
|
---|
2539 | #define GL_EYE_RADIAL_NV 0x855B
|
---|
2540 | #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
|
---|
2541 | /* reuse GL_EYE_PLANE */
|
---|
2542 | #endif
|
---|
2543 | /* GL_NV_texgen_reflection */
|
---|
2544 | #ifndef GL_NV_texgen_reflection
|
---|
2545 | #define GL_NV_texgen_reflection 1
|
---|
2546 | #define GL_NORMAL_MAP_NV 0x8511
|
---|
2547 | #define GL_REFLECTION_MAP_NV 0x8512
|
---|
2548 | #endif
|
---|
2549 | /* GL_NV_texture_env_combine4 */
|
---|
2550 | #ifndef GL_NV_texture_env_combine4
|
---|
2551 | #define GL_NV_texture_env_combine4 1
|
---|
2552 | #define GL_COMBINE4_NV 0x8503
|
---|
2553 | #define GL_SOURCE3_RGB_NV 0x8583
|
---|
2554 | #define GL_SOURCE3_ALPHA_NV 0x858B
|
---|
2555 | #define GL_OPERAND3_RGB_NV 0x8593
|
---|
2556 | #define GL_OPERAND3_ALPHA_NV 0x859B
|
---|
2557 | #endif
|
---|
2558 | /* GL_NV_register_combiners */
|
---|
2559 | #ifndef GL_NV_register_combiners
|
---|
2560 | #define GL_NV_register_combiners 1
|
---|
2561 | #define GL_REGISTER_COMBINERS_NV 0x8522
|
---|
2562 | #define GL_VARIABLE_A_NV 0x8523
|
---|
2563 | #define GL_VARIABLE_B_NV 0x8524
|
---|
2564 | #define GL_VARIABLE_C_NV 0x8525
|
---|
2565 | #define GL_VARIABLE_D_NV 0x8526
|
---|
2566 | #define GL_VARIABLE_E_NV 0x8527
|
---|
2567 | #define GL_VARIABLE_F_NV 0x8528
|
---|
2568 | #define GL_VARIABLE_G_NV 0x8529
|
---|
2569 | #define GL_CONSTANT_COLOR0_NV 0x852A
|
---|
2570 | #define GL_CONSTANT_COLOR1_NV 0x852B
|
---|
2571 | #define GL_PRIMARY_COLOR_NV 0x852C
|
---|
2572 | #define GL_SECONDARY_COLOR_NV 0x852D
|
---|
2573 | #define GL_SPARE0_NV 0x852E
|
---|
2574 | #define GL_SPARE1_NV 0x852F
|
---|
2575 | #define GL_DISCARD_NV 0x8530
|
---|
2576 | #define GL_E_TIMES_F_NV 0x8531
|
---|
2577 | #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
|
---|
2578 | #define GL_UNSIGNED_IDENTITY_NV 0x8536
|
---|
2579 | #define GL_UNSIGNED_INVERT_NV 0x8537
|
---|
2580 | #define GL_EXPAND_NORMAL_NV 0x8538
|
---|
2581 | #define GL_EXPAND_NEGATE_NV 0x8539
|
---|
2582 | #define GL_HALF_BIAS_NORMAL_NV 0x853A
|
---|
2583 | #define GL_HALF_BIAS_NEGATE_NV 0x853B
|
---|
2584 | #define GL_SIGNED_IDENTITY_NV 0x853C
|
---|
2585 | #define GL_SIGNED_NEGATE_NV 0x853D
|
---|
2586 | #define GL_SCALE_BY_TWO_NV 0x853E
|
---|
2587 | #define GL_SCALE_BY_FOUR_NV 0x853F
|
---|
2588 | #define GL_SCALE_BY_ONE_HALF_NV 0x8540
|
---|
2589 | #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
|
---|
2590 | #define GL_COMBINER_INPUT_NV 0x8542
|
---|
2591 | #define GL_COMBINER_MAPPING_NV 0x8543
|
---|
2592 | #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
|
---|
2593 | #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
|
---|
2594 | #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
|
---|
2595 | #define GL_COMBINER_MUX_SUM_NV 0x8547
|
---|
2596 | #define GL_COMBINER_SCALE_NV 0x8548
|
---|
2597 | #define GL_COMBINER_BIAS_NV 0x8549
|
---|
2598 | #define GL_COMBINER_AB_OUTPUT_NV 0x854A
|
---|
2599 | #define GL_COMBINER_CD_OUTPUT_NV 0x854B
|
---|
2600 | #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
|
---|
2601 | #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
|
---|
2602 | #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
|
---|
2603 | #define GL_COLOR_SUM_CLAMP_NV 0x854F
|
---|
2604 | #define GL_COMBINER0_NV 0x8550
|
---|
2605 | #define GL_COMBINER1_NV 0x8551
|
---|
2606 | #define GL_COMBINER2_NV 0x8552
|
---|
2607 | #define GL_COMBINER3_NV 0x8553
|
---|
2608 | #define GL_COMBINER4_NV 0x8554
|
---|
2609 | #define GL_COMBINER5_NV 0x8555
|
---|
2610 | #define GL_COMBINER6_NV 0x8556
|
---|
2611 | #define GL_COMBINER7_NV 0x8557
|
---|
2612 | /* reuse GL_TEXTURE0_ARB */
|
---|
2613 | /* reuse GL_TEXTURE1_ARB */
|
---|
2614 | /* reuse GL_ZERO */
|
---|
2615 | /* reuse GL_NONE */
|
---|
2616 | /* reuse GL_FOG */
|
---|
2617 | #endif
|
---|
2618 | typedef void (WINE_GLAPI * PGLFNCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
|
---|
2619 | typedef void (WINE_GLAPI * PGLFNCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
|
---|
2620 | typedef void (WINE_GLAPI * PGLFNCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
|
---|
2621 | typedef void (WINE_GLAPI * PGLFNCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
|
---|
2622 | typedef void (WINE_GLAPI * PGLFNCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
|
---|
2623 | typedef void (WINE_GLAPI * PGLFNCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
|
---|
2624 | typedef void (WINE_GLAPI * PGLFNFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
|
---|
2625 | typedef void (WINE_GLAPI * PGLFNGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
|
---|
2626 | typedef void (WINE_GLAPI * PGLFNGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
|
---|
2627 | typedef void (WINE_GLAPI * PGLFNGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
|
---|
2628 | typedef void (WINE_GLAPI * PGLFNGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
|
---|
2629 | typedef void (WINE_GLAPI * PGLFNGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
|
---|
2630 | typedef void (WINE_GLAPI * PGLFNGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
|
---|
2631 | /* GL_NV_register_combiners2 */
|
---|
2632 | #ifndef GL_NV_register_combiners2
|
---|
2633 | #define GL_NV_register_combiners2 1
|
---|
2634 | #define GL_PER_STAGE_CONSTANTS_NV 0x8535
|
---|
2635 | #endif
|
---|
2636 | typedef void (WINE_GLAPI * PGLFNCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
|
---|
2637 | typedef void (WINE_GLAPI * PGLFNGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
|
---|
2638 | /* GL_NV_texture_shader */
|
---|
2639 | #ifndef GL_NV_texture_shader
|
---|
2640 | #define GL_NV_texture_shader 1
|
---|
2641 | #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
|
---|
2642 | #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
|
---|
2643 | #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
|
---|
2644 | #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
|
---|
2645 | #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
|
---|
2646 | #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
|
---|
2647 | #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
|
---|
2648 | #define GL_SHADER_CONSISTENT_NV 0x86DD
|
---|
2649 | #define GL_TEXTURE_SHADER_NV 0x86DE
|
---|
2650 | #define GL_SHADER_OPERATION_NV 0x86DF
|
---|
2651 | #define GL_CULL_MODES_NV 0x86E0
|
---|
2652 | #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
|
---|
2653 | #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
|
---|
2654 | #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
|
---|
2655 | #define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV
|
---|
2656 | #define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV
|
---|
2657 | #define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV
|
---|
2658 | #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
|
---|
2659 | #define GL_CONST_EYE_NV 0x86E5
|
---|
2660 | #define GL_PASS_THROUGH_NV 0x86E6
|
---|
2661 | #define GL_CULL_FRAGMENT_NV 0x86E7
|
---|
2662 | #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
|
---|
2663 | #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
|
---|
2664 | #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
|
---|
2665 | #define GL_DOT_PRODUCT_NV 0x86EC
|
---|
2666 | #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
|
---|
2667 | #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
|
---|
2668 | #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
|
---|
2669 | #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
|
---|
2670 | #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
|
---|
2671 | #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
|
---|
2672 | #define GL_HILO_NV 0x86F4
|
---|
2673 | #define GL_DSDT_NV 0x86F5
|
---|
2674 | #define GL_DSDT_MAG_NV 0x86F6
|
---|
2675 | #define GL_DSDT_MAG_VIB_NV 0x86F7
|
---|
2676 | #define GL_HILO16_NV 0x86F8
|
---|
2677 | #define GL_SIGNED_HILO_NV 0x86F9
|
---|
2678 | #define GL_SIGNED_HILO16_NV 0x86FA
|
---|
2679 | #define GL_SIGNED_RGBA_NV 0x86FB
|
---|
2680 | #define GL_SIGNED_RGBA8_NV 0x86FC
|
---|
2681 | #define GL_SIGNED_RGB_NV 0x86FE
|
---|
2682 | #define GL_SIGNED_RGB8_NV 0x86FF
|
---|
2683 | #define GL_SIGNED_LUMINANCE_NV 0x8701
|
---|
2684 | #define GL_SIGNED_LUMINANCE8_NV 0x8702
|
---|
2685 | #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
|
---|
2686 | #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
|
---|
2687 | #define GL_SIGNED_ALPHA_NV 0x8705
|
---|
2688 | #define GL_SIGNED_ALPHA8_NV 0x8706
|
---|
2689 | #define GL_SIGNED_INTENSITY_NV 0x8707
|
---|
2690 | #define GL_SIGNED_INTENSITY8_NV 0x8708
|
---|
2691 | #define GL_DSDT8_NV 0x8709
|
---|
2692 | #define GL_DSDT8_MAG8_NV 0x870A
|
---|
2693 | #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
|
---|
2694 | #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
|
---|
2695 | #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
|
---|
2696 | #define GL_HI_SCALE_NV 0x870E
|
---|
2697 | #define GL_LO_SCALE_NV 0x870F
|
---|
2698 | #define GL_DS_SCALE_NV 0x8710
|
---|
2699 | #define GL_DT_SCALE_NV 0x8711
|
---|
2700 | #define GL_MAGNITUDE_SCALE_NV 0x8712
|
---|
2701 | #define GL_VIBRANCE_SCALE_NV 0x8713
|
---|
2702 | #define GL_HI_BIAS_NV 0x8714
|
---|
2703 | #define GL_LO_BIAS_NV 0x8715
|
---|
2704 | #define GL_DS_BIAS_NV 0x8716
|
---|
2705 | #define GL_DT_BIAS_NV 0x8717
|
---|
2706 | #define GL_MAGNITUDE_BIAS_NV 0x8718
|
---|
2707 | #define GL_VIBRANCE_BIAS_NV 0x8719
|
---|
2708 | #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
|
---|
2709 | #define GL_TEXTURE_HI_SIZE_NV 0x871B
|
---|
2710 | #define GL_TEXTURE_LO_SIZE_NV 0x871C
|
---|
2711 | #define GL_TEXTURE_DS_SIZE_NV 0x871D
|
---|
2712 | #define GL_TEXTURE_DT_SIZE_NV 0x871E
|
---|
2713 | #define GL_TEXTURE_MAG_SIZE_NV 0x871F
|
---|
2714 | #endif
|
---|
2715 | /* GL_NV_texture_shader2 */
|
---|
2716 | #ifndef GL_NV_texture_shader2
|
---|
2717 | #define GL_NV_texture_shader2 1
|
---|
2718 | #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
|
---|
2719 | #endif
|
---|
2720 | /* GL_NV_texture_shader3 */
|
---|
2721 | #ifndef GL_NV_texture_shader3
|
---|
2722 | #define GL_NV_texture_shader3 1
|
---|
2723 | #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
|
---|
2724 | #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
|
---|
2725 | #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
|
---|
2726 | #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
|
---|
2727 | #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
|
---|
2728 | #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
|
---|
2729 | #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
|
---|
2730 | #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
|
---|
2731 | #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
|
---|
2732 | #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
|
---|
2733 | #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
|
---|
2734 | #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
|
---|
2735 | #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
|
---|
2736 | #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
|
---|
2737 | #define GL_HILO8_NV 0x885E
|
---|
2738 | #define GL_SIGNED_HILO8_NV 0x885F
|
---|
2739 | #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
|
---|
2740 | #endif
|
---|
2741 | /* GL_ATI_texture_env_combine3 */
|
---|
2742 | #ifndef GL_ATI_texture_env_combine3
|
---|
2743 | #define GL_ATI_texture_env_combine3 1
|
---|
2744 | #define GL_MODULATE_ADD_ATI 0x8744
|
---|
2745 | #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
|
---|
2746 | #define GL_MODULATE_SUBTRACT_ATI 0x8746
|
---|
2747 | /* #define ONE */
|
---|
2748 | /* #define ZERO */
|
---|
2749 | #endif
|
---|
2750 |
|
---|
2751 | /**
|
---|
2752 | * Point sprites
|
---|
2753 | */
|
---|
2754 | /* GL_ARB_point_sprite */
|
---|
2755 | #ifndef GL_ARB_point_sprite
|
---|
2756 | #define GL_ARB_point_sprite 1
|
---|
2757 | #define GL_POINT_SPRITE_ARB 0x8861
|
---|
2758 | #define GL_COORD_REPLACE_ARB 0x8862
|
---|
2759 | #endif
|
---|
2760 | /**
|
---|
2761 | * @TODO: GL_NV_point_sprite
|
---|
2762 | */
|
---|
2763 |
|
---|
2764 | /**
|
---|
2765 | * Occlusion Queries
|
---|
2766 | */
|
---|
2767 | /* GL_ARB_occlusion_query */
|
---|
2768 | #ifndef GL_ARB_occlusion_query
|
---|
2769 | #define GL_ARB_occlusion_query 1
|
---|
2770 | #define GL_SAMPLES_PASSED_ARB 0x8914
|
---|
2771 | #define GL_QUERY_COUNTER_BITS_ARB 0x8864
|
---|
2772 | #define GL_CURRENT_QUERY_ARB 0x8865
|
---|
2773 | #define GL_QUERY_RESULT_ARB 0x8866
|
---|
2774 | #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
|
---|
2775 | #endif
|
---|
2776 | typedef void (WINE_GLAPI * PGLFNGENQUERIESARBPROC) (GLsizei n, GLuint *queries);
|
---|
2777 | typedef void (WINE_GLAPI * PGLFNDELETEQUERIESARBPROC) (GLsizei n, const GLuint *queries);
|
---|
2778 | typedef GLboolean (WINE_GLAPI * PGLFNISQUERYARBPROC) (GLuint query);
|
---|
2779 | typedef void (WINE_GLAPI * PGLFNBEGINQUERYARBPROC) (GLenum target, GLuint query);
|
---|
2780 | typedef void (WINE_GLAPI * PGLFNENDQUERYARBPROC) (GLenum target);
|
---|
2781 | typedef void (WINE_GLAPI * PGLFNGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
|
---|
2782 | typedef void (WINE_GLAPI * PGLFNGETQUERYOBJECTIVARBPROC) (GLuint query, GLenum pname, GLint *params);
|
---|
2783 | typedef void (WINE_GLAPI * PGLFNGETQUERYOBJECTUIVARBPROC) (GLuint query, GLenum pname, GLuint *params);
|
---|
2784 | /* GL_HP_occlusion_test isn't complete, but it's constants are used by GL_NV_occlusion_query */
|
---|
2785 | #ifndef GL_HP_occlusion_test
|
---|
2786 | #define GL_HP_occlusion_test 1
|
---|
2787 | #define GL_OCCLUSION_TEST_HP 0x8165
|
---|
2788 | #define GL_OCCLUSION_TEST_RESULT_HP 0x8165
|
---|
2789 | #endif
|
---|
2790 | /* GL_NV_occlusion_query */
|
---|
2791 | #ifndef GL_NV_occlusion_query
|
---|
2792 | #define GL_NV_occlusion_query 1
|
---|
2793 | #define GL_PIXEL_COUNTER_BITS_NV 0x8864
|
---|
2794 | #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
|
---|
2795 | #define GL_PIXEL_COUNT_NV 0x8866
|
---|
2796 | #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
|
---|
2797 | #endif
|
---|
2798 | typedef void (WINE_GLAPI * PGLFNGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
|
---|
2799 | typedef void (WINE_GLAPI * PGLFNDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
|
---|
2800 | typedef GLboolean (WINE_GLAPI * PGLFNISOCCLUSIONQUERYNVPROC) (GLuint id);
|
---|
2801 | typedef void (WINE_GLAPI * PGLFNBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
|
---|
2802 | typedef void (WINE_GLAPI * PGLFNENDOCCLUSIONQUERYNVPROC) (void);
|
---|
2803 | typedef void (WINE_GLAPI * PGLFNGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
|
---|
2804 | typedef void (WINE_GLAPI * PGLFNGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
|
---|
2805 | /* GL_EXT_stencil_two_side */
|
---|
2806 | #ifndef GL_EXT_stencil_two_side
|
---|
2807 | #define GL_EXT_stencil_two_side 1
|
---|
2808 | #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
|
---|
2809 | #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
|
---|
2810 | #endif
|
---|
2811 | typedef void (WINE_GLAPI * PGLFNACTIVESTENCILFACEEXTPROC) (GLenum face);
|
---|
2812 | /* GL_ATI_separate_stencil */
|
---|
2813 | #ifndef GL_ATI_separate_stencil
|
---|
2814 | #define GL_ATI_separate_stencil 1
|
---|
2815 | #define GL_STENCIL_BACK_FUNC_ATI 0x8800
|
---|
2816 | #define GL_STENCIL_BACK_FAIL_ATI 0x8801
|
---|
2817 | #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
|
---|
2818 | #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
|
---|
2819 | #endif
|
---|
2820 | typedef void (WINE_GLAPI * PGLFNSTENCILOPSEPARATEATIPROC) (GLenum, GLenum, GLenum, GLenum);
|
---|
2821 | typedef void (WINE_GLAPI * PGLFNSTENCILFUNCSEPARATEATIPROC) (GLenum, GLenum, GLint, GLuint);
|
---|
2822 | /* GL_NV_fence */
|
---|
2823 | #ifndef GL_NV_fence
|
---|
2824 | #define GL_NV_fence 1
|
---|
2825 | #define GL_ALL_COMPLETED_NV 0x84F2
|
---|
2826 | #define GL_FENCE_STATUS_NV 0x84F3
|
---|
2827 | #define GL_FENCE_CONDITION_NV 0x84F4
|
---|
2828 | #endif
|
---|
2829 | typedef void (WINE_GLAPI * PGLFNGENFENCESNVPROC) (GLsizei, GLuint *);
|
---|
2830 | typedef void (WINE_GLAPI * PGLFNDELETEFENCESNVPROC) (GLuint, const GLuint *);
|
---|
2831 | typedef void (WINE_GLAPI * PGLFNSETFENCENVPROC) (GLuint, GLenum);
|
---|
2832 | typedef GLboolean (WINE_GLAPI * PGLFNTESTFENCENVPROC) (GLuint);
|
---|
2833 | typedef void (WINE_GLAPI * PGLFNFINISHFENCENVPROC) (GLuint);
|
---|
2834 | typedef GLboolean (WINE_GLAPI * PGLFNISFENCENVPROC) (GLuint);
|
---|
2835 | typedef void (WINE_GLAPI * PGLFNGETFENCEIVNVPROC) (GLuint, GLenum, GLint *);
|
---|
2836 | /* GL_APPLE_fence */
|
---|
2837 | #ifndef GL_APPLE_fence
|
---|
2838 | #define GL_APPLE_fence 1
|
---|
2839 | #define GL_DRAW_PIXELS_APPLE 0x8A0A
|
---|
2840 | #define GL_FENCE_APPLE 0x84F3
|
---|
2841 | #endif
|
---|
2842 | typedef void (WINE_GLAPI * PGLFNGENFENCESAPPLEPROC) (GLsizei, GLuint *);
|
---|
2843 | typedef void (WINE_GLAPI * PGLFNDELETEFENCESAPPLEPROC) (GLuint, const GLuint *);
|
---|
2844 | typedef void (WINE_GLAPI * PGLFNSETFENCEAPPLEPROC) (GLuint);
|
---|
2845 | typedef GLboolean (WINE_GLAPI * PGLFNTESTFENCEAPPLEPROC) (GLuint);
|
---|
2846 | typedef void (WINE_GLAPI * PGLFNFINISHFENCEAPPLEPROC) (GLuint);
|
---|
2847 | typedef GLboolean (WINE_GLAPI * PGLFNISFENCEAPPLEPROC) (GLuint);
|
---|
2848 | typedef GLboolean (WINE_GLAPI * PGLFNTESTOBJECTAPPLEPROC) (GLenum, GLuint);
|
---|
2849 | typedef void (WINE_GLAPI * PGLFNFINISHOBJECTAPPLEPROC) (GLenum, GLuint);
|
---|
2850 | /* GL_APPLE_client_storage */
|
---|
2851 | #ifndef GL_APPLE_client_storage
|
---|
2852 | #define GL_APPLE_client_storage 1
|
---|
2853 | #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
|
---|
2854 | #endif
|
---|
2855 | /* GLX_SGI_video_sync */
|
---|
2856 | typedef int (WINE_GLAPI * PGLXFNGETVIDEOSYNCSGIPROC) (unsigned int *);
|
---|
2857 | typedef int (WINE_GLAPI * PGLXFNWAITVIDEOSYNCSGIPROC) (int, int, unsigned int *);
|
---|
2858 |
|
---|
2859 | /* GL_SGIS_generate_mipmap */
|
---|
2860 | #ifndef GLX_SGIS_generate_mipmap
|
---|
2861 | #define GL_GENERATE_MIPMAP_SGIS 0x8191
|
---|
2862 | #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
|
---|
2863 | #define GLX_SGIS_generate_mipmap
|
---|
2864 | #endif
|
---|
2865 |
|
---|
2866 | /* GL_NV_depth_clamp */
|
---|
2867 | #ifndef GL_NV_depth_clamp
|
---|
2868 | #define GL_DEPTH_CLAMP_NV 0x864F
|
---|
2869 | #endif
|
---|
2870 |
|
---|
2871 | /* GL_APPLE_flush_render */
|
---|
2872 | typedef void (WINE_GLAPI * PGLFNFLUSHRENDERAPPLEPROC) (void);
|
---|
2873 | typedef void (WINE_GLAPI * PGLFNFINISHRENDERAPPLEPROC) (void);
|
---|
2874 |
|
---|
2875 | /* GL_APPLE_ycbcr_422 */
|
---|
2876 | #ifndef GL_APPLE_ycbcr_422
|
---|
2877 | #define GL_APPLE_ycbcr_422
|
---|
2878 | #define GL_YCBCR_422_APPLE 0x85B9
|
---|
2879 | #define UNSIGNED_SHORT_8_8_APPLE 0x85BA
|
---|
2880 | #define UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
|
---|
2881 | #endif
|
---|
2882 |
|
---|
2883 | /* GL_ARB_texture_rectangle */
|
---|
2884 | #ifndef GL_ARB_texture_rectangle
|
---|
2885 | #define GL_ARB_texture_rectangle
|
---|
2886 | #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
|
---|
2887 | #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
|
---|
2888 | #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
|
---|
2889 | #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
|
---|
2890 | #define GL_SAMPLER_2D_RECT_ARB 0x8B63
|
---|
2891 | #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
|
---|
2892 | #endif
|
---|
2893 |
|
---|
2894 | /* GL_APPLE_float_pixels */
|
---|
2895 | #ifndef GL_APPLE_float_pixels
|
---|
2896 | #define GL_APPLE_float_pixels
|
---|
2897 | #define GL_HALF_APPLE 0x140B
|
---|
2898 | #define GL_COLOR_FLOAT_APPLE 0x8A0F
|
---|
2899 | #define GL_RGBA_FLOAT32_APPLE 0x8814
|
---|
2900 | #define GL_RGB_FLOAT32_APPLE 0x8815
|
---|
2901 | #define GL_ALPHA_FLOAT32_APPLE 0x8816
|
---|
2902 | #define GL_INTENSITY_FLOAT32_APPLE 0x8817
|
---|
2903 | #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
|
---|
2904 | #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
|
---|
2905 | #define GL_RGBA_FLOAT16_APPLE 0x881A
|
---|
2906 | #define GL_RGB_FLOAT16_APPLE 0x881B
|
---|
2907 | #define GL_ALPHA_FLOAT16_APPLE 0x881C
|
---|
2908 | #define GL_INTENSITY_FLOAT16_APPLE 0x881D
|
---|
2909 | #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
|
---|
2910 | #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
|
---|
2911 | #endif
|
---|
2912 |
|
---|
2913 | /* GL_EXT_gpu_program_parameters */
|
---|
2914 | #ifndef GL_EXT_gpu_program_parameters
|
---|
2915 | #define GL_EXT_gpu_program_parameters
|
---|
2916 | typedef void (WINE_GLAPI * PGLFNPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const float *params);
|
---|
2917 | typedef void (WINE_GLAPI * PGLFNPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const float *params);
|
---|
2918 | #endif
|
---|
2919 |
|
---|
2920 | /* GL_NV_light_max_exponent */
|
---|
2921 | #ifndef GL_NV_light_max_exponent
|
---|
2922 | #define GL_NV_light_max_exponent
|
---|
2923 | #define GL_MAX_SHININESS_NV 0x8504
|
---|
2924 | #define GL_MAX_SPOT_EXPONENT_NV 0x8505
|
---|
2925 | #endif
|
---|
2926 |
|
---|
2927 | /* GL_ATI_fragment_shader */
|
---|
2928 | #ifndef GL_ATI_fragment_shader
|
---|
2929 | #define GL_ATI_fragment_shader
|
---|
2930 | typedef GLuint (WINE_GLAPI *PGLFNGENFRAGMENTSHADERSATI) (GLuint range);
|
---|
2931 | typedef void (WINE_GLAPI *PGLFNBINDFRAGMENTSHADERATI) (GLuint id);
|
---|
2932 | typedef void (WINE_GLAPI *PGLFNDELETEFRAGMENTSHADERATI) (GLuint id);
|
---|
2933 | typedef void (WINE_GLAPI *PGLFNBEGINFRAGMENTSHADERATI) ();
|
---|
2934 | typedef void (WINE_GLAPI *PGLFNENDFRAGMENTSHADERATI) ();
|
---|
2935 | typedef void (WINE_GLAPI *PGLFNPASSTEXCOORDATI) (GLuint dst, GLuint coord, GLenum swizzle);
|
---|
2936 | typedef void (WINE_GLAPI *PGLFNSAMPLEMAPATI) (GLuint dst, GLuint interp, GLenum swizzle);
|
---|
2937 | typedef void (WINE_GLAPI *PGLFNCOLORFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMask,
|
---|
2938 | GLuint dstMod, GLuint arg1, GLuint arg1Rep,
|
---|
2939 | GLuint arg1Mod);
|
---|
2940 | typedef void (WINE_GLAPI *PGLFNCOLORFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMask,
|
---|
2941 | GLuint dstMod, GLuint arg1, GLuint arg1Rep,
|
---|
2942 | GLuint arg1Mod, GLuint arg2, GLuint arg2Rep,
|
---|
2943 | GLuint arg2Mod);
|
---|
2944 | typedef void (WINE_GLAPI *PGLFNCOLORFRAGMENTOP3ATI) (GLenum op, GLuint dst, GLuint dstMask,
|
---|
2945 | GLuint dstMod, GLuint arg1, GLuint arg1Rep,
|
---|
2946 | GLuint arg1Mod, GLuint arg2, GLuint arg2Rep,
|
---|
2947 | GLuint arg2Mod, GLuint arg3, GLuint arg3Rep,
|
---|
2948 | GLuint arg3Mod);
|
---|
2949 | typedef void (WINE_GLAPI *PGLFNALPHAFRAGMENTOP1ATI) (GLenum op, GLuint dst, GLuint dstMod,
|
---|
2950 | GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
|
---|
2951 | typedef void (WINE_GLAPI *PGLFNALPHAFRAGMENTOP2ATI) (GLenum op, GLuint dst, GLuint dstMod,
|
---|
2952 | GLuint arg1, GLuint arg1Rep, GLuint arg1Mod,
|
---|
2953 | GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
|
---|
2954 | typedef void (WINE_GLAPI *PGLFNALPHAFRAGMENTOP3ATI) (GLenum op, GLuint dst, GLuint dstMod,
|
---|
2955 | GLuint arg1, GLuint arg1Rep, GLuint arg1Mod,
|
---|
2956 | GLuint arg2, GLuint arg2Rep, GLuint arg2Mod,
|
---|
2957 | GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
|
---|
2958 | typedef void (WINE_GLAPI *PGLFNSETFRAGMENTSHADERCONSTANTATI) (GLuint dst, const GLfloat *value);
|
---|
2959 | #define GL_FRAGMENT_SHADER_ATI 0x8920
|
---|
2960 | #define GL_REG_0_ATI 0x8921
|
---|
2961 | #define GL_REG_1_ATI 0x8922
|
---|
2962 | #define GL_REG_2_ATI 0x8923
|
---|
2963 | #define GL_REG_3_ATI 0x8924
|
---|
2964 | #define GL_REG_4_ATI 0x8925
|
---|
2965 | #define GL_REG_5_ATI 0x8926
|
---|
2966 | #define GL_CON_0_ATI 0x8941
|
---|
2967 | #define GL_CON_1_ATI 0x8942
|
---|
2968 | #define GL_CON_2_ATI 0x8943
|
---|
2969 | #define GL_CON_3_ATI 0x8944
|
---|
2970 | #define GL_CON_4_ATI 0x8945
|
---|
2971 | #define GL_CON_5_ATI 0x8946
|
---|
2972 | #define GL_CON_6_ATI 0x8947
|
---|
2973 | #define GL_CON_7_ATI 0x8948
|
---|
2974 | #define GL_MOV_ATI 0x8961
|
---|
2975 | #define GL_ADD_ATI 0x8963
|
---|
2976 | #define GL_MUL_ATI 0x8964
|
---|
2977 | #define GL_SUB_ATI 0x8965
|
---|
2978 | #define GL_DOT3_ATI 0x8966
|
---|
2979 | #define GL_DOT4_ATI 0x8967
|
---|
2980 | #define GL_MAD_ATI 0x8968
|
---|
2981 | #define GL_LERP_ATI 0x8969
|
---|
2982 | #define GL_CND_ATI 0x896A
|
---|
2983 | #define GL_CND0_ATI 0x896B
|
---|
2984 | #define GL_DOT2_ADD_ATI 0x896C
|
---|
2985 | #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
|
---|
2986 | #define GL_SWIZZLE_STR_ATI 0x8976
|
---|
2987 | #define GL_SWIZZLE_STQ_ATI 0x8977
|
---|
2988 | #define GL_SWIZZLE_STR_DR_ATI 0x8978
|
---|
2989 | #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
|
---|
2990 | #define GL_RED_BIT_ATI 0x00000001
|
---|
2991 | #define GL_GREEN_BIT_ATI 0x00000002
|
---|
2992 | #define GL_BLUE_BIT_ATI 0x00000004
|
---|
2993 | #define GL_2X_BIT_ATI 0x00000001
|
---|
2994 | #define GL_4X_BIT_ATI 0x00000002
|
---|
2995 | #define GL_8X_BIT_ATI 0x00000004
|
---|
2996 | #define GL_HALF_BIT_ATI 0x00000008
|
---|
2997 | #define GL_QUARTER_BIT_ATI 0x00000010
|
---|
2998 | #define GL_EIGHTH_BIT_ATI 0x00000020
|
---|
2999 | #define GL_SATURATE_BIT_ATI 0x00000040
|
---|
3000 | #define GL_2X_BIT_ATI 0x00000001
|
---|
3001 | #define GL_COMP_BIT_ATI 0x00000002
|
---|
3002 | #define GL_NEGATE_BIT_ATI 0x00000004
|
---|
3003 | #define GL_BIAS_BIT_ATI 0x00000008
|
---|
3004 | #endif
|
---|
3005 | /* GL_ATI_texture_compression_3dc */
|
---|
3006 | #ifndef GL_ATI_texture_compression_3dc
|
---|
3007 | #define GL_ATI_texture_compression_3dc
|
---|
3008 | #define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837
|
---|
3009 | #endif
|
---|
3010 | /* GL_EXT_texture_compression_rgtc */
|
---|
3011 | #ifndef GL_EXT_texture_compression_rgtc
|
---|
3012 | #define GL_EXT_texture_compression_rgtc
|
---|
3013 | #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
|
---|
3014 | #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
|
---|
3015 | #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
|
---|
3016 | #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
|
---|
3017 | #endif
|
---|
3018 |
|
---|
3019 | /* GL_VERSION_2_0 */
|
---|
3020 | #ifndef GL_VERSION_2_0
|
---|
3021 | #define GL_VERSION_2_0 1
|
---|
3022 | #define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION
|
---|
3023 | #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
|
---|
3024 | #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
|
---|
3025 | #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
|
---|
3026 | #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
|
---|
3027 | #define GL_CURRENT_VERTEX_ATTRIB 0x8626
|
---|
3028 | #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
|
---|
3029 | #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
|
---|
3030 | #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
|
---|
3031 | #define GL_STENCIL_BACK_FUNC 0x8800
|
---|
3032 | #define GL_STENCIL_BACK_FAIL 0x8801
|
---|
3033 | #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
|
---|
3034 | #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
|
---|
3035 | #define GL_MAX_DRAW_BUFFERS 0x8824
|
---|
3036 | #define GL_DRAW_BUFFER0 0x8825
|
---|
3037 | #define GL_DRAW_BUFFER1 0x8826
|
---|
3038 | #define GL_DRAW_BUFFER2 0x8827
|
---|
3039 | #define GL_DRAW_BUFFER3 0x8828
|
---|
3040 | #define GL_DRAW_BUFFER4 0x8829
|
---|
3041 | #define GL_DRAW_BUFFER5 0x882A
|
---|
3042 | #define GL_DRAW_BUFFER6 0x882B
|
---|
3043 | #define GL_DRAW_BUFFER7 0x882C
|
---|
3044 | #define GL_DRAW_BUFFER8 0x882D
|
---|
3045 | #define GL_DRAW_BUFFER9 0x882E
|
---|
3046 | #define GL_DRAW_BUFFER10 0x882F
|
---|
3047 | #define GL_DRAW_BUFFER11 0x8830
|
---|
3048 | #define GL_DRAW_BUFFER12 0x8831
|
---|
3049 | #define GL_DRAW_BUFFER13 0x8832
|
---|
3050 | #define GL_DRAW_BUFFER14 0x8833
|
---|
3051 | #define GL_DRAW_BUFFER15 0x8834
|
---|
3052 | #define GL_BLEND_EQUATION_ALPHA 0x883D
|
---|
3053 | #define GL_POINT_SPRITE 0x8861
|
---|
3054 | #define GL_COORD_REPLACE 0x8862
|
---|
3055 | #define GL_MAX_VERTEX_ATTRIBS 0x8869
|
---|
3056 | #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
|
---|
3057 | #define GL_MAX_TEXTURE_COORDS 0x8871
|
---|
3058 | #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
|
---|
3059 | #define GL_FRAGMENT_SHADER 0x8B30
|
---|
3060 | #define GL_VERTEX_SHADER 0x8B31
|
---|
3061 | #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
|
---|
3062 | #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
|
---|
3063 | #define GL_MAX_VARYING_FLOATS 0x8B4B
|
---|
3064 | #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
|
---|
3065 | #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
|
---|
3066 | #define GL_SHADER_TYPE 0x8B4F
|
---|
3067 | #define GL_FLOAT_VEC2 0x8B50
|
---|
3068 | #define GL_FLOAT_VEC3 0x8B51
|
---|
3069 | #define GL_FLOAT_VEC4 0x8B52
|
---|
3070 | #define GL_INT_VEC2 0x8B53
|
---|
3071 | #define GL_INT_VEC3 0x8B54
|
---|
3072 | #define GL_INT_VEC4 0x8B55
|
---|
3073 | #define GL_BOOL 0x8B56
|
---|
3074 | #define GL_BOOL_VEC2 0x8B57
|
---|
3075 | #define GL_BOOL_VEC3 0x8B58
|
---|
3076 | #define GL_BOOL_VEC4 0x8B59
|
---|
3077 | #define GL_FLOAT_MAT2 0x8B5A
|
---|
3078 | #define GL_FLOAT_MAT3 0x8B5B
|
---|
3079 | #define GL_FLOAT_MAT4 0x8B5C
|
---|
3080 | #define GL_SAMPLER_1D 0x8B5D
|
---|
3081 | #define GL_SAMPLER_2D 0x8B5E
|
---|
3082 | #define GL_SAMPLER_3D 0x8B5F
|
---|
3083 | #define GL_SAMPLER_CUBE 0x8B60
|
---|
3084 | #define GL_SAMPLER_1D_SHADOW 0x8B61
|
---|
3085 | #define GL_SAMPLER_2D_SHADOW 0x8B62
|
---|
3086 | #define GL_DELETE_STATUS 0x8B80
|
---|
3087 | #define GL_COMPILE_STATUS 0x8B81
|
---|
3088 | #define GL_LINK_STATUS 0x8B82
|
---|
3089 | #define GL_VALIDATE_STATUS 0x8B83
|
---|
3090 | #define GL_INFO_LOG_LENGTH 0x8B84
|
---|
3091 | #define GL_ATTACHED_SHADERS 0x8B85
|
---|
3092 | #define GL_ACTIVE_UNIFORMS 0x8B86
|
---|
3093 | #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
|
---|
3094 | #define GL_SHADER_SOURCE_LENGTH 0x8B88
|
---|
3095 | #define GL_ACTIVE_ATTRIBUTES 0x8B89
|
---|
3096 | #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
|
---|
3097 | #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
|
---|
3098 | #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
|
---|
3099 | #define GL_CURRENT_PROGRAM 0x8B8D
|
---|
3100 | #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
|
---|
3101 | #define GL_LOWER_LEFT 0x8CA1
|
---|
3102 | #define GL_UPPER_LEFT 0x8CA2
|
---|
3103 | #define GL_STENCIL_BACK_REF 0x8CA3
|
---|
3104 | #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
|
---|
3105 | #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
|
---|
3106 | typedef char GLchar;
|
---|
3107 | #endif
|
---|
3108 | typedef void (WINE_GLAPI * PGLFNBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
|
---|
3109 | typedef void (WINE_GLAPI * PGLFNDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
|
---|
3110 | typedef void (WINE_GLAPI * PGLFNSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
|
---|
3111 | typedef void (WINE_GLAPI * PGLFNSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
|
---|
3112 | typedef void (WINE_GLAPI * PGLFNSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
|
---|
3113 | typedef void (WINE_GLAPI * PGLFNATTACHSHADERPROC) (GLuint program, GLuint shader);
|
---|
3114 | typedef void (WINE_GLAPI * PGLFNBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
|
---|
3115 | typedef void (WINE_GLAPI * PGLFNCOMPILESHADERPROC) (GLuint shader);
|
---|
3116 | typedef GLuint (WINE_GLAPI * PGLFNCREATEPROGRAMPROC) (void);
|
---|
3117 | typedef GLuint (WINE_GLAPI * PGLFNCREATESHADERPROC) (GLenum type);
|
---|
3118 | typedef void (WINE_GLAPI * PGLFNDELETEPROGRAMPROC) (GLuint program);
|
---|
3119 | typedef void (WINE_GLAPI * PGLFNDELETESHADERPROC) (GLuint shader);
|
---|
3120 | typedef void (WINE_GLAPI * PGLFNDETACHSHADERPROC) (GLuint program, GLuint shader);
|
---|
3121 | typedef void (WINE_GLAPI * PGLFNDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
|
---|
3122 | typedef void (WINE_GLAPI * PGLFNENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
|
---|
3123 | typedef void (WINE_GLAPI * PGLFNGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
|
---|
3124 | typedef void (WINE_GLAPI * PGLFNGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
|
---|
3125 | typedef void (WINE_GLAPI * PGLFNGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
|
---|
3126 | typedef GLint (WINE_GLAPI * PGLFNGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
|
---|
3127 | typedef void (WINE_GLAPI * PGLFNGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
|
---|
3128 | typedef void (WINE_GLAPI * PGLFNGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
|
---|
3129 | typedef void (WINE_GLAPI * PGLFNGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
|
---|
3130 | typedef void (WINE_GLAPI * PGLFNGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
|
---|
3131 | typedef void (WINE_GLAPI * PGLFNGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
|
---|
3132 | typedef GLint (WINE_GLAPI * PGLFNGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
|
---|
3133 | typedef void (WINE_GLAPI * PGLFNGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
|
---|
3134 | typedef void (WINE_GLAPI * PGLFNGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
|
---|
3135 | typedef void (WINE_GLAPI * PGLFNGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
|
---|
3136 | typedef void (WINE_GLAPI * PGLFNGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
|
---|
3137 | typedef void (WINE_GLAPI * PGLFNGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
|
---|
3138 | typedef void (WINE_GLAPI * PGLFNGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
|
---|
3139 | typedef GLboolean (WINE_GLAPI * PGLFNISPROGRAMPROC) (GLuint program);
|
---|
3140 | typedef GLboolean (WINE_GLAPI * PGLFNISSHADERPROC) (GLuint shader);
|
---|
3141 | typedef void (WINE_GLAPI * PGLFNLINKPROGRAMPROC) (GLuint program);
|
---|
3142 | typedef void (WINE_GLAPI * PGLFNSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
|
---|
3143 | typedef void (WINE_GLAPI * PGLFNUSEPROGRAMPROC) (GLuint program);
|
---|
3144 | typedef void (WINE_GLAPI * PGLFNUNIFORM1FPROC) (GLint location, GLfloat v0);
|
---|
3145 | typedef void (WINE_GLAPI * PGLFNUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
|
---|
3146 | typedef void (WINE_GLAPI * PGLFNUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
|
---|
3147 | typedef void (WINE_GLAPI * PGLFNUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
|
---|
3148 | typedef void (WINE_GLAPI * PGLFNUNIFORM1IPROC) (GLint location, GLint v0);
|
---|
3149 | typedef void (WINE_GLAPI * PGLFNUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
|
---|
3150 | typedef void (WINE_GLAPI * PGLFNUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
|
---|
3151 | typedef void (WINE_GLAPI * PGLFNUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
|
---|
3152 | typedef void (WINE_GLAPI * PGLFNUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
|
---|
3153 | typedef void (WINE_GLAPI * PGLFNUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
|
---|
3154 | typedef void (WINE_GLAPI * PGLFNUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
|
---|
3155 | typedef void (WINE_GLAPI * PGLFNUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
|
---|
3156 | typedef void (WINE_GLAPI * PGLFNUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
|
---|
3157 | typedef void (WINE_GLAPI * PGLFNUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
|
---|
3158 | typedef void (WINE_GLAPI * PGLFNUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
|
---|
3159 | typedef void (WINE_GLAPI * PGLFNUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
|
---|
3160 | typedef void (WINE_GLAPI * PGLFNUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
|
---|
3161 | typedef void (WINE_GLAPI * PGLFNUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
|
---|
3162 | typedef void (WINE_GLAPI * PGLFNUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
|
---|
3163 | typedef void (WINE_GLAPI * PGLFNVALIDATEPROGRAMPROC) (GLuint program);
|
---|
3164 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
|
---|
3165 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
|
---|
3166 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
|
---|
3167 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
|
---|
3168 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
|
---|
3169 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
|
---|
3170 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
|
---|
3171 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
|
---|
3172 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
|
---|
3173 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
|
---|
3174 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
|
---|
3175 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
|
---|
3176 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
|
---|
3177 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
|
---|
3178 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
|
---|
3179 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
|
---|
3180 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
|
---|
3181 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
|
---|
3182 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
|
---|
3183 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
|
---|
3184 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
|
---|
3185 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
|
---|
3186 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
|
---|
3187 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
|
---|
3188 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
|
---|
3189 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
|
---|
3190 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
---|
3191 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
|
---|
3192 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
---|
3193 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
|
---|
3194 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
|
---|
3195 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
|
---|
3196 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
|
---|
3197 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
|
---|
3198 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
|
---|
3199 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
|
---|
3200 | typedef void (WINE_GLAPI * PGLFNVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
|
---|
3201 |
|
---|
3202 |
|
---|
3203 | /****************************************************
|
---|
3204 | * OpenGL Official Version
|
---|
3205 | * defines
|
---|
3206 | ****************************************************/
|
---|
3207 | /* GL_VERSION_1_3 */
|
---|
3208 | #if !defined(GL_DOT3_RGBA)
|
---|
3209 | # define GL_DOT3_RGBA 0x8741
|
---|
3210 | #endif
|
---|
3211 | #if !defined(GL_SUBTRACT)
|
---|
3212 | # define GL_SUBTRACT 0x84E7
|
---|
3213 | #endif
|
---|
3214 |
|
---|
3215 |
|
---|
3216 | /****************************************************
|
---|
3217 | * Enumerated types
|
---|
3218 | ****************************************************/
|
---|
3219 | typedef enum _GL_Vendors {
|
---|
3220 | VENDOR_WINE = 0x0,
|
---|
3221 | VENDOR_MESA = 0x1,
|
---|
3222 | VENDOR_ATI = 0x1002,
|
---|
3223 | VENDOR_NVIDIA = 0x10de,
|
---|
3224 | VENDOR_INTEL = 0x8086
|
---|
3225 | } GL_Vendors;
|
---|
3226 |
|
---|
3227 | typedef enum _GL_Cards {
|
---|
3228 | CARD_WINE = 0x0,
|
---|
3229 |
|
---|
3230 | CARD_ATI_RAGE_128PRO = 0x5246,
|
---|
3231 | CARD_ATI_RADEON_7200 = 0x5144,
|
---|
3232 | CARD_ATI_RADEON_8500 = 0x514c,
|
---|
3233 | CARD_ATI_RADEON_9500 = 0x4144,
|
---|
3234 | CARD_ATI_RADEON_X700 = 0x5e4c,
|
---|
3235 | CARD_ATI_RADEON_X1600 = 0x71c2,
|
---|
3236 | CARD_ATI_RADEON_HD2300 = 0x7210,
|
---|
3237 | CARD_ATI_RADEON_HD2600 = 0x9581,
|
---|
3238 | CARD_ATI_RADEON_HD2900 = 0x9400,
|
---|
3239 | CARD_ATI_RADEON_HD3200 = 0x9620,
|
---|
3240 |
|
---|
3241 | CARD_NVIDIA_RIVA_128 = 0x0018,
|
---|
3242 | CARD_NVIDIA_RIVA_TNT = 0x0020,
|
---|
3243 | CARD_NVIDIA_RIVA_TNT2 = 0x0028,
|
---|
3244 | CARD_NVIDIA_GEFORCE = 0x0100,
|
---|
3245 | CARD_NVIDIA_GEFORCE2_MX = 0x0110,
|
---|
3246 | CARD_NVIDIA_GEFORCE2 = 0x0150,
|
---|
3247 | CARD_NVIDIA_GEFORCE3 = 0x0200,
|
---|
3248 | CARD_NVIDIA_GEFORCE4_MX = 0x0170,
|
---|
3249 | CARD_NVIDIA_GEFORCE4_TI4200 = 0x0253,
|
---|
3250 | CARD_NVIDIA_GEFORCEFX_5200 = 0x0320,
|
---|
3251 | CARD_NVIDIA_GEFORCEFX_5600 = 0x0312,
|
---|
3252 | CARD_NVIDIA_GEFORCEFX_5800 = 0x0302,
|
---|
3253 | CARD_NVIDIA_GEFORCE_6200 = 0x014f,
|
---|
3254 | CARD_NVIDIA_GEFORCE_6600GT = 0x0140,
|
---|
3255 | CARD_NVIDIA_GEFORCE_6800 = 0x0041,
|
---|
3256 | CARD_NVIDIA_GEFORCE_7400 = 0x01d8,
|
---|
3257 | CARD_NVIDIA_GEFORCE_7300 = 0x01d7, /* GeForce Go 7300 */
|
---|
3258 | CARD_NVIDIA_GEFORCE_7600 = 0x0391,
|
---|
3259 | CARD_NVIDIA_GEFORCE_7800GT = 0x0092,
|
---|
3260 | CARD_NVIDIA_GEFORCE_8300GS = 0x0423,
|
---|
3261 | CARD_NVIDIA_GEFORCE_8600GT = 0x0402,
|
---|
3262 | CARD_NVIDIA_GEFORCE_8600MGT = 0x0407,
|
---|
3263 | CARD_NVIDIA_GEFORCE_8800GTS = 0x0193,
|
---|
3264 | CARD_NVIDIA_GEFORCE_9600GT = 0x0622,
|
---|
3265 | CARD_NVIDIA_GEFORCE_9800GT = 0x0614,
|
---|
3266 | CARD_NVIDIA_GEFORCE_GTX280 = 0x05e1,
|
---|
3267 |
|
---|
3268 | CARD_INTEL_845G = 0x2562,
|
---|
3269 | CARD_INTEL_I830G = 0x3577,
|
---|
3270 | CARD_INTEL_I855G = 0x3582,
|
---|
3271 | CARD_INTEL_I865G = 0x2572,
|
---|
3272 | CARD_INTEL_I915G = 0x2582,
|
---|
3273 | CARD_INTEL_I915GM = 0x2592,
|
---|
3274 | CARD_INTEL_I945GM = 0x27a2, /* Same as GMA 950?? */
|
---|
3275 | } GL_Cards;
|
---|
3276 |
|
---|
3277 | #define WINE_DEFAULT_VIDMEM 64*1024*1024
|
---|
3278 |
|
---|
3279 | typedef enum _GL_VSVersion {
|
---|
3280 | VS_VERSION_NOT_SUPPORTED = 0x0,
|
---|
3281 | VS_VERSION_10 = 0x10,
|
---|
3282 | VS_VERSION_11 = 0x11,
|
---|
3283 | VS_VERSION_20 = 0x20,
|
---|
3284 | VS_VERSION_30 = 0x30,
|
---|
3285 | /*Force 32-bits*/
|
---|
3286 | VS_VERSION_FORCE_DWORD = 0x7FFFFFFF
|
---|
3287 | } GL_VSVersion;
|
---|
3288 |
|
---|
3289 | typedef enum _GL_PSVersion {
|
---|
3290 | PS_VERSION_NOT_SUPPORTED = 0x0,
|
---|
3291 | PS_VERSION_10 = 0x10,
|
---|
3292 | PS_VERSION_11 = 0x11,
|
---|
3293 | PS_VERSION_12 = 0x12,
|
---|
3294 | PS_VERSION_13 = 0x13,
|
---|
3295 | PS_VERSION_14 = 0x14,
|
---|
3296 | PS_VERSION_20 = 0x20,
|
---|
3297 | PS_VERSION_30 = 0x30,
|
---|
3298 | /*Force 32-bits*/
|
---|
3299 | PS_VERSION_FORCE_DWORD = 0x7FFFFFFF
|
---|
3300 | } GL_PSVersion;
|
---|
3301 |
|
---|
3302 | #define MAKEDWORD_VERSION(maj, min) ((maj & 0x0000FFFF) << 16) | (min & 0x0000FFFF)
|
---|
3303 |
|
---|
3304 | /* OpenGL Supported Extensions (ARB and EXT) */
|
---|
3305 | typedef enum _GL_SupportedExt {
|
---|
3306 | /* ARB */
|
---|
3307 | ARB_COLOR_BUFFER_FLOAT,
|
---|
3308 | ARB_DRAW_BUFFERS,
|
---|
3309 | ARB_FRAGMENT_PROGRAM,
|
---|
3310 | ARB_FRAGMENT_SHADER,
|
---|
3311 | ARB_IMAGING,
|
---|
3312 | ARB_MULTISAMPLE,
|
---|
3313 | ARB_MULTITEXTURE,
|
---|
3314 | ARB_OCCLUSION_QUERY,
|
---|
3315 | ARB_POINT_PARAMETERS,
|
---|
3316 | ARB_PIXEL_BUFFER_OBJECT,
|
---|
3317 | ARB_POINT_SPRITE,
|
---|
3318 | ARB_TEXTURE_COMPRESSION,
|
---|
3319 | ARB_TEXTURE_CUBE_MAP,
|
---|
3320 | ARB_TEXTURE_ENV_ADD,
|
---|
3321 | ARB_TEXTURE_ENV_COMBINE,
|
---|
3322 | ARB_TEXTURE_ENV_DOT3,
|
---|
3323 | ARB_TEXTURE_FLOAT,
|
---|
3324 | ARB_HALF_FLOAT_PIXEL,
|
---|
3325 | ARB_TEXTURE_BORDER_CLAMP,
|
---|
3326 | ARB_TEXTURE_MIRRORED_REPEAT,
|
---|
3327 | ARB_TEXTURE_NON_POWER_OF_TWO,
|
---|
3328 | ARB_TEXTURE_RECTANGLE,
|
---|
3329 | ARB_VERTEX_PROGRAM,
|
---|
3330 | ARB_VERTEX_BLEND,
|
---|
3331 | ARB_VERTEX_BUFFER_OBJECT,
|
---|
3332 | ARB_VERTEX_SHADER,
|
---|
3333 | ARB_SHADER_OBJECTS,
|
---|
3334 | /* EXT */
|
---|
3335 | EXT_BLEND_COLOR,
|
---|
3336 | EXT_BLEND_MINMAX,
|
---|
3337 | EXT_BLEND_EQUATION_SEPARATE,
|
---|
3338 | EXT_BLEND_FUNC_SEPARATE,
|
---|
3339 | EXT_FOG_COORD,
|
---|
3340 | EXT_FRAMEBUFFER_OBJECT,
|
---|
3341 | EXT_FRAMEBUFFER_BLIT,
|
---|
3342 | EXT_FRAMEBUFFER_MULTISAMPLE,
|
---|
3343 | EXT_PALETTED_TEXTURE,
|
---|
3344 | EXT_PIXEL_BUFFER_OBJECT,
|
---|
3345 | EXT_POINT_PARAMETERS,
|
---|
3346 | EXT_SECONDARY_COLOR,
|
---|
3347 | EXT_STENCIL_TWO_SIDE,
|
---|
3348 | EXT_STENCIL_WRAP,
|
---|
3349 | EXT_TEXTURE3D,
|
---|
3350 | EXT_TEXTURE_COMPRESSION_S3TC,
|
---|
3351 | EXT_TEXTURE_COMPRESSION_RGTC,
|
---|
3352 | EXT_TEXTURE_FILTER_ANISOTROPIC,
|
---|
3353 | EXT_TEXTURE_LOD,
|
---|
3354 | EXT_TEXTURE_LOD_BIAS,
|
---|
3355 | EXT_TEXTURE_ENV_ADD,
|
---|
3356 | EXT_TEXTURE_ENV_COMBINE,
|
---|
3357 | EXT_TEXTURE_ENV_DOT3,
|
---|
3358 | EXT_TEXTURE_SRGB,
|
---|
3359 | EXT_GPU_PROGRAM_PARAMETERS,
|
---|
3360 | /* NVIDIA */
|
---|
3361 | NV_HALF_FLOAT,
|
---|
3362 | NV_FOG_DISTANCE,
|
---|
3363 | NV_FRAGMENT_PROGRAM,
|
---|
3364 | NV_FRAGMENT_PROGRAM2,
|
---|
3365 | NV_OCCLUSION_QUERY,
|
---|
3366 | NV_REGISTER_COMBINERS,
|
---|
3367 | NV_REGISTER_COMBINERS2,
|
---|
3368 | NV_TEXGEN_REFLECTION,
|
---|
3369 | NV_TEXTURE_ENV_COMBINE4,
|
---|
3370 | NV_TEXTURE_SHADER,
|
---|
3371 | NV_TEXTURE_SHADER2,
|
---|
3372 | NV_TEXTURE_SHADER3,
|
---|
3373 | NV_VERTEX_PROGRAM,
|
---|
3374 | NV_VERTEX_PROGRAM1_1,
|
---|
3375 | NV_VERTEX_PROGRAM2,
|
---|
3376 | NV_VERTEX_PROGRAM3,
|
---|
3377 | NV_FENCE,
|
---|
3378 | NV_DEPTH_CLAMP,
|
---|
3379 | NV_LIGHT_MAX_EXPONENT,
|
---|
3380 | /* ATI */
|
---|
3381 | ATI_SEPARATE_STENCIL,
|
---|
3382 | ATI_TEXTURE_ENV_COMBINE3,
|
---|
3383 | ATI_TEXTURE_MIRROR_ONCE,
|
---|
3384 | EXT_VERTEX_SHADER,
|
---|
3385 | ATI_FRAGMENT_SHADER,
|
---|
3386 | ATI_TEXTURE_COMPRESSION_3DC,
|
---|
3387 | /* APPLE */
|
---|
3388 | APPLE_FENCE,
|
---|
3389 | APPLE_CLIENT_STORAGE,
|
---|
3390 | APPLE_FLUSH_RENDER,
|
---|
3391 | APPLE_YCBCR_422,
|
---|
3392 | APPLE_FLOAT_PIXELS,
|
---|
3393 | /* SGI */
|
---|
3394 | SGI_VIDEO_SYNC,
|
---|
3395 | SGIS_GENERATE_MIPMAP,
|
---|
3396 |
|
---|
3397 | /* Internally used */
|
---|
3398 | WINE_NORMALIZED_TEXRECT,
|
---|
3399 |
|
---|
3400 | /* WGL extensions */
|
---|
3401 | WGL_ARB_PBUFFER,
|
---|
3402 | WGL_WINE_PIXEL_FORMAT_PASSTHROUGH,
|
---|
3403 |
|
---|
3404 | OPENGL_SUPPORTED_EXT_END
|
---|
3405 | } GL_SupportedExt;
|
---|
3406 |
|
---|
3407 |
|
---|
3408 | /****************************************************
|
---|
3409 | * #Defines
|
---|
3410 | ****************************************************/
|
---|
3411 | #define GL_EXT_FUNCS_GEN \
|
---|
3412 | /** ARB Extensions **/ \
|
---|
3413 | /* GL_ARB_color_buffer_float */ \
|
---|
3414 | USE_GL_FUNC(PGLFNCLAMPCOLORARBPROC, glClampColorARB, ARB_COLOR_BUFFER_FLOAT, NULL )\
|
---|
3415 | /* GL_ARB_draw_buffers */ \
|
---|
3416 | USE_GL_FUNC(PGLFNDRAWBUFFERSARBPROC, glDrawBuffersARB, ARB_DRAW_BUFFERS, NULL )\
|
---|
3417 | /* GL_ARB_imaging, GL_EXT_blend_minmax */ \
|
---|
3418 | USE_GL_FUNC(PGLFNBLENDCOLORPROC, glBlendColorEXT, EXT_BLEND_COLOR, NULL )\
|
---|
3419 | USE_GL_FUNC(PGLFNBLENDEQUATIONPROC, glBlendEquationEXT, EXT_BLEND_MINMAX, NULL )\
|
---|
3420 | /* GL_ARB_multisample */ \
|
---|
3421 | USE_GL_FUNC(WINED3D_PFNGLSAMPLECOVERAGEARBPROC, glSampleCoverageARB, ARB_MULTISAMPLE, NULL )\
|
---|
3422 | /* GL_ARB_multitexture */ \
|
---|
3423 | USE_GL_FUNC(WINED3D_PFNGLACTIVETEXTUREARBPROC, glActiveTextureARB, ARB_MULTITEXTURE, NULL )\
|
---|
3424 | USE_GL_FUNC(WINED3D_PFNGLCLIENTACTIVETEXTUREARBPROC, glClientActiveTextureARB, ARB_MULTITEXTURE, NULL )\
|
---|
3425 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD1FARBPROC, glMultiTexCoord1fARB, ARB_MULTITEXTURE, NULL )\
|
---|
3426 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD1FVARBPROC, glMultiTexCoord1fvARB, ARB_MULTITEXTURE, NULL )\
|
---|
3427 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD2FARBPROC, glMultiTexCoord2fARB, ARB_MULTITEXTURE, NULL )\
|
---|
3428 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD2FVARBPROC, glMultiTexCoord2fvARB, ARB_MULTITEXTURE, NULL )\
|
---|
3429 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD3FARBPROC, glMultiTexCoord3fARB, ARB_MULTITEXTURE, NULL )\
|
---|
3430 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD3FVARBPROC, glMultiTexCoord3fvARB, ARB_MULTITEXTURE, NULL )\
|
---|
3431 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD4FARBPROC, glMultiTexCoord4fARB, ARB_MULTITEXTURE, NULL )\
|
---|
3432 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD4FVARBPROC, glMultiTexCoord4fvARB, ARB_MULTITEXTURE, NULL )\
|
---|
3433 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD2SVARBPROC, glMultiTexCoord2svARB, ARB_MULTITEXTURE, NULL )\
|
---|
3434 | USE_GL_FUNC(WINED3D_PFNGLMULTITEXCOORD4SVARBPROC, glMultiTexCoord4svARB, ARB_MULTITEXTURE, NULL )\
|
---|
3435 | /* GL_ARB_occlusion_query */ \
|
---|
3436 | USE_GL_FUNC(PGLFNGENQUERIESARBPROC, glGenQueriesARB, ARB_OCCLUSION_QUERY, NULL )\
|
---|
3437 | USE_GL_FUNC(PGLFNDELETEQUERIESARBPROC, glDeleteQueriesARB, ARB_OCCLUSION_QUERY, NULL )\
|
---|
3438 | USE_GL_FUNC(PGLFNBEGINQUERYARBPROC, glBeginQueryARB, ARB_OCCLUSION_QUERY, NULL )\
|
---|
3439 | USE_GL_FUNC(PGLFNENDQUERYARBPROC, glEndQueryARB, ARB_OCCLUSION_QUERY, NULL )\
|
---|
3440 | USE_GL_FUNC(PGLFNGETQUERYOBJECTIVARBPROC, glGetQueryObjectivARB, ARB_OCCLUSION_QUERY, NULL )\
|
---|
3441 | USE_GL_FUNC(PGLFNGETQUERYOBJECTUIVARBPROC, glGetQueryObjectuivARB, ARB_OCCLUSION_QUERY, NULL )\
|
---|
3442 | /* GL_ARB_point_parameters */ \
|
---|
3443 | USE_GL_FUNC(PGLFNGLPOINTPARAMETERFARBPROC, glPointParameterfARB, ARB_POINT_PARAMETERS, NULL )\
|
---|
3444 | USE_GL_FUNC(PGLFNGLPOINTPARAMETERFVARBPROC, glPointParameterfvARB, ARB_POINT_PARAMETERS, NULL )\
|
---|
3445 | /* GL_ARB_texture_compression */ \
|
---|
3446 | USE_GL_FUNC(PGLFNCOMPRESSEDTEXIMAGE2DPROC, glCompressedTexImage2DARB, ARB_TEXTURE_COMPRESSION,NULL )\
|
---|
3447 | USE_GL_FUNC(PGLFNCOMPRESSEDTEXIMAGE3DPROC, glCompressedTexImage3DARB, ARB_TEXTURE_COMPRESSION,NULL )\
|
---|
3448 | USE_GL_FUNC(PGLFNCOMPRESSEDTEXSUBIMAGE2DPROC, glCompressedTexSubImage2DARB, ARB_TEXTURE_COMPRESSION,NULL )\
|
---|
3449 | USE_GL_FUNC(PGLFNCOMPRESSEDTEXSUBIMAGE3DPROC, glCompressedTexSubImage3DARB, ARB_TEXTURE_COMPRESSION,NULL )\
|
---|
3450 | USE_GL_FUNC(PGLFNGETCOMPRESSEDTEXIMAGEPROC, glGetCompressedTexImageARB, ARB_TEXTURE_COMPRESSION,NULL )\
|
---|
3451 | /* GL_ARB_vertex_blend */ \
|
---|
3452 | USE_GL_FUNC(PGLFNGLWEIGHTPOINTERARB, glWeightPointerARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3453 | USE_GL_FUNC(PGLFNGLWEIGHTBV, glWeightbvARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3454 | USE_GL_FUNC(PGLFNGLWEIGHTSV, glWeightsvARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3455 | USE_GL_FUNC(PGLFNGLWEIGHTIV, glWeightivARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3456 | USE_GL_FUNC(PGLFNGLWEIGHTFV, glWeightfvARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3457 | USE_GL_FUNC(PGLFNGLWEIGHTDV, glWeightdvARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3458 | USE_GL_FUNC(PGLFNGLWEIGHTUBV, glWeightubvARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3459 | USE_GL_FUNC(PGLFNGLWEIGHTUSV, glWeightusvARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3460 | USE_GL_FUNC(PGLFNGLWEIGHTUIV, glWeightuivARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3461 | USE_GL_FUNC(PGLFNGLVERTEXBLENDARB, glVertexBlendARB, ARB_VERTEX_BLEND, NULL )\
|
---|
3462 | /* GL_ARB_vertex_buffer_object */ \
|
---|
3463 | USE_GL_FUNC(PGLFNBINDBUFFERARBPROC, glBindBufferARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3464 | USE_GL_FUNC(PGLFNDELETEBUFFERSARBPROC, glDeleteBuffersARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3465 | USE_GL_FUNC(PGLFNGENBUFFERSARBPROC, glGenBuffersARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3466 | USE_GL_FUNC(PGLFNISBUFFERARBPROC, glIsBufferARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3467 | USE_GL_FUNC(PGLFNBUFFERDATAARBPROC, glBufferDataARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3468 | USE_GL_FUNC(PGLFNBUFFERSUBDATAARBPROC, glBufferSubDataARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3469 | USE_GL_FUNC(PGLFNGETBUFFERSUBDATAARBPROC, glGetBufferSubDataARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3470 | USE_GL_FUNC(PGLFNMAPBUFFERARBPROC, glMapBufferARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3471 | USE_GL_FUNC(PGLFNUNMAPBUFFERARBPROC, glUnmapBufferARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3472 | USE_GL_FUNC(PGLFNGETBUFFERPARAMETERIVARBPROC, glGetBufferParameterivARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3473 | USE_GL_FUNC(PGLFNGETBUFFERPOINTERVARBPROC, glGetBufferPointervARB, ARB_VERTEX_BUFFER_OBJECT,NULL)\
|
---|
3474 | /** EXT Extensions **/ \
|
---|
3475 | /* GL_EXT_blend_equation_separate */ \
|
---|
3476 | USE_GL_FUNC(PGLFNBLENDFUNCSEPARATEEXTPROC, glBlendFuncSeparateEXT, EXT_BLEND_FUNC_SEPARATE, NULL)\
|
---|
3477 | /* GL_EXT_blend_func_separate */ \
|
---|
3478 | USE_GL_FUNC(PGLFNBLENDEQUATIONSEPARATEEXTPROC, glBlendEquationSeparateEXT, EXT_BLEND_EQUATION_SEPARATE, NULL)\
|
---|
3479 | /* GL_EXT_fog_coord */ \
|
---|
3480 | USE_GL_FUNC(PGLFNGLFOGCOORDFEXTPROC, glFogCoordfEXT, EXT_FOG_COORD, NULL )\
|
---|
3481 | USE_GL_FUNC(PGLFNGLFOGCOORDFVEXTPROC, glFogCoordfvEXT, EXT_FOG_COORD, NULL )\
|
---|
3482 | USE_GL_FUNC(PGLFNGLFOGCOORDDEXTPROC, glFogCoorddEXT, EXT_FOG_COORD, NULL )\
|
---|
3483 | USE_GL_FUNC(PGLFNGLFOGCOORDDVEXTPROC, glFogCoordvEXT, EXT_FOG_COORD, NULL )\
|
---|
3484 | USE_GL_FUNC(PGLFNGLFOGCOORDPOINTEREXTPROC, glFogCoordPointerEXT, EXT_FOG_COORD, NULL )\
|
---|
3485 | /* GL_EXT_framebuffer_object */ \
|
---|
3486 | USE_GL_FUNC(PGLFNGLISRENDERBUFFEREXTPROC, glIsRenderbufferEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3487 | USE_GL_FUNC(PGLFNGLBINDRENDERBUFFEREXTPROC, glBindRenderbufferEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3488 | USE_GL_FUNC(PGLFNGLDELETERENDERBUFFERSEXTPROC, glDeleteRenderbuffersEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3489 | USE_GL_FUNC(PGLFNGLGENRENDERBUFFERSEXTPROC, glGenRenderbuffersEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3490 | USE_GL_FUNC(PGLFNGLRENDERBUFFERSTORAGEEXTPROC, glRenderbufferStorageEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3491 | USE_GL_FUNC(PGLFNGLISFRAMEBUFFEREXTPROC, glIsFramebufferEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3492 | USE_GL_FUNC(PGLFNGLBINDFRAMEBUFFEREXTPROC, glBindFramebufferEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3493 | USE_GL_FUNC(PGLFNGLDELETEFRAMEBUFFERSEXTPROC, glDeleteFramebuffersEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3494 | USE_GL_FUNC(PGLFNGLGENFRAMEBUFFERSEXTPROC, glGenFramebuffersEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3495 | USE_GL_FUNC(PGLFNGLCHECKFRAMEBUFFERSTATUSEXTPROC, glCheckFramebufferStatusEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3496 | USE_GL_FUNC(PGLFNGLFRAMEBUFFERTEXTURE1DEXTPROC, glFramebufferTexture1DEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3497 | USE_GL_FUNC(PGLFNGLFRAMEBUFFERTEXTURE2DEXTPROC, glFramebufferTexture2DEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3498 | USE_GL_FUNC(PGLFNGLFRAMEBUFFERTEXTURE3DEXTPROC, glFramebufferTexture3DEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3499 | USE_GL_FUNC(PGLFNGLFRAMEBUFFERRENDERBUFFEREXTPROC, glFramebufferRenderbufferEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3500 | USE_GL_FUNC(PGLFNGLGENERATEMIPMAPEXTPROC, glGenerateMipmapEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3501 | USE_GL_FUNC(PGLFNGLGETRENDERBUFFERPARAMETERIVEXTPROC, glGetRenderbufferParameterivEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3502 | USE_GL_FUNC(PGLFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC, glGetFramebufferAttachmentParameterivEXT, EXT_FRAMEBUFFER_OBJECT, NULL )\
|
---|
3503 | /* GL_EXT_framebuffer_blit */ \
|
---|
3504 | USE_GL_FUNC(PGLFNGLBLITFRAMEBUFFEREXTPROC, glBlitFramebufferEXT, EXT_FRAMEBUFFER_BLIT, NULL )\
|
---|
3505 | /* GL_EXT_framebuffer_multisample */ \
|
---|
3506 | USE_GL_FUNC(PGLFNRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC, glRenderbufferStorageMultisampleEXT, EXT_FRAMEBUFFER_MULTISAMPLE, NULL )\
|
---|
3507 | /* GL_EXT_paletted_texture */ \
|
---|
3508 | USE_GL_FUNC(PGLFNGLCOLORTABLEEXTPROC, glColorTableEXT, EXT_PALETTED_TEXTURE, NULL )\
|
---|
3509 | /* GL_EXT_point_parameters */ \
|
---|
3510 | USE_GL_FUNC(PGLFNGLPOINTPARAMETERFEXTPROC, glPointParameterfEXT, EXT_POINT_PARAMETERS, NULL )\
|
---|
3511 | USE_GL_FUNC(PGLFNGLPOINTPARAMETERFVEXTPROC, glPointParameterfvEXT, EXT_POINT_PARAMETERS, NULL )\
|
---|
3512 | /* GL_EXT_secondary_color */ \
|
---|
3513 | USE_GL_FUNC(PGLFNGLSECONDARYCOLOR3UBEXTPROC, glSecondaryColor3ubEXT, EXT_SECONDARY_COLOR, NULL )\
|
---|
3514 | USE_GL_FUNC(PGLFNGLSECONDARYCOLOR3FEXTPROC, glSecondaryColor3fEXT, EXT_SECONDARY_COLOR, NULL )\
|
---|
3515 | USE_GL_FUNC(PGLFNGLSECONDARYCOLOR3FVEXTPROC, glSecondaryColor3fvEXT, EXT_SECONDARY_COLOR, NULL )\
|
---|
3516 | USE_GL_FUNC(PGLFNGLSECONDARYCOLORPOINTEREXTPROC, glSecondaryColorPointerEXT, EXT_SECONDARY_COLOR, NULL )\
|
---|
3517 | /* GL_EXT_texture3D */ \
|
---|
3518 | USE_GL_FUNC(PGLFNGLTEXIMAGE3DEXTPROC, glTexImage3DEXT, EXT_TEXTURE3D, glTexImage3D)\
|
---|
3519 | USE_GL_FUNC(PGLFNGLTEXSUBIMAGE3DEXTPROC, glTexSubImage3DEXT, EXT_TEXTURE3D, glTexSubImage3D)\
|
---|
3520 | /* GL_ARB_vertex_program */ \
|
---|
3521 | USE_GL_FUNC(PGLFNGENPROGRAMSARBPROC, glGenProgramsARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3522 | USE_GL_FUNC(PGLFNBINDPROGRAMARBPROC, glBindProgramARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3523 | USE_GL_FUNC(PGLFNPROGRAMSTRINGARBPROC, glProgramStringARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3524 | USE_GL_FUNC(PGLFNDELETEPROGRAMSARBPROC, glDeleteProgramsARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3525 | USE_GL_FUNC(PGLFNPROGRAMENVPARAMETER4FVARBPROC, glProgramEnvParameter4fvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3526 | USE_GL_FUNC(PGLFNPROGRAMLOCALPARAMETER4FVARBPROC, glProgramLocalParameter4fvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3527 | USE_GL_FUNC(PGLFNVERTEXATTRIBPOINTERARBPROC, glVertexAttribPointerARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3528 | USE_GL_FUNC(PGLFNENABLEVERTEXATTRIBARRAYARBPROC, glEnableVertexAttribArrayARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3529 | USE_GL_FUNC(PGLFNDISABLEVERTEXATTRIBARRAYARBPROC, glDisableVertexAttribArrayARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3530 | USE_GL_FUNC(PGLFNVERTEXATTRIB1DARBPROC, glVertexAttrib1dARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3531 | USE_GL_FUNC(PGLFNVERTEXATTRIB1DVARBPROC, glVertexAttrib1dvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3532 | USE_GL_FUNC(PGLFNVERTEXATTRIB1FARBPROC, glVertexAttrib1fARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3533 | USE_GL_FUNC(PGLFNVERTEXATTRIB1FVARBPROC, glVertexAttrib1fvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3534 | USE_GL_FUNC(PGLFNVERTEXATTRIB1SARBPROC, glVertexAttrib1sARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3535 | USE_GL_FUNC(PGLFNVERTEXATTRIB1SVARBPROC, glVertexAttrib1svARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3536 | USE_GL_FUNC(PGLFNVERTEXATTRIB2DARBPROC, glVertexAttrib2dARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3537 | USE_GL_FUNC(PGLFNVERTEXATTRIB2DVARBPROC, glVertexAttrib2dvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3538 | USE_GL_FUNC(PGLFNVERTEXATTRIB2FARBPROC, glVertexAttrib2fARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3539 | USE_GL_FUNC(PGLFNVERTEXATTRIB2FVARBPROC, glVertexAttrib2fvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3540 | USE_GL_FUNC(PGLFNVERTEXATTRIB2SARBPROC, glVertexAttrib2sARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3541 | USE_GL_FUNC(PGLFNVERTEXATTRIB2SVARBPROC, glVertexAttrib2svARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3542 | USE_GL_FUNC(PGLFNVERTEXATTRIB3DARBPROC, glVertexAttrib3dARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3543 | USE_GL_FUNC(PGLFNVERTEXATTRIB3DVARBPROC, glVertexAttrib3dvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3544 | USE_GL_FUNC(PGLFNVERTEXATTRIB3FARBPROC, glVertexAttrib3fARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3545 | USE_GL_FUNC(PGLFNVERTEXATTRIB3FVARBPROC, glVertexAttrib3fvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3546 | USE_GL_FUNC(PGLFNVERTEXATTRIB3SARBPROC, glVertexAttrib3sARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3547 | USE_GL_FUNC(PGLFNVERTEXATTRIB3SVARBPROC, glVertexAttrib3svARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3548 | USE_GL_FUNC(PGLFNVERTEXATTRIB4NBVARBPROC, glVertexAttrib4NbvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3549 | USE_GL_FUNC(PGLFNVERTEXATTRIB4NIVARBPROC, glVertexAttrib4NivARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3550 | USE_GL_FUNC(PGLFNVERTEXATTRIB4NSVARBPROC, glVertexAttrib4NsvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3551 | USE_GL_FUNC(PGLFNVERTEXATTRIB4NUBARBPROC, glVertexAttrib4NubARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3552 | USE_GL_FUNC(PGLFNVERTEXATTRIB4NUBVARBPROC, glVertexAttrib4NubvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3553 | USE_GL_FUNC(PGLFNVERTEXATTRIB4NUIVARBPROC, glVertexAttrib4NuivARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3554 | USE_GL_FUNC(PGLFNVERTEXATTRIB4NUSVARBPROC, glVertexAttrib4NusvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3555 | USE_GL_FUNC(PGLFNVERTEXATTRIB4BVARBPROC, glVertexAttrib4bvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3556 | USE_GL_FUNC(PGLFNVERTEXATTRIB4DARBPROC, glVertexAttrib4dARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3557 | USE_GL_FUNC(PGLFNVERTEXATTRIB4DVARBPROC, glVertexAttrib4dvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3558 | USE_GL_FUNC(PGLFNVERTEXATTRIB4FARBPROC, glVertexAttrib4fARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3559 | USE_GL_FUNC(PGLFNVERTEXATTRIB4FVARBPROC, glVertexAttrib4fvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3560 | USE_GL_FUNC(PGLFNVERTEXATTRIB4IVARBPROC, glVertexAttrib4ivARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3561 | USE_GL_FUNC(PGLFNVERTEXATTRIB4SARBPROC, glVertexAttrib4sARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3562 | USE_GL_FUNC(PGLFNVERTEXATTRIB4SVARBPROC, glVertexAttrib4svARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3563 | USE_GL_FUNC(PGLFNVERTEXATTRIB4UBVARBPROC, glVertexAttrib4ubvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3564 | USE_GL_FUNC(PGLFNVERTEXATTRIB4UIVARBPROC, glVertexAttrib4uivARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3565 | USE_GL_FUNC(PGLFNVERTEXATTRIB4USVARBPROC, glVertexAttrib4usvARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3566 | USE_GL_FUNC(PGLFNGETPROGRAMIVARBPROC, glGetProgramivARB, ARB_VERTEX_PROGRAM, NULL )\
|
---|
3567 | /* GL_ARB_shader_objects */ \
|
---|
3568 | USE_GL_FUNC(WINED3D_PFNGLGETOBJECTPARAMETERIVARBPROC, glGetObjectParameterivARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3569 | USE_GL_FUNC(WINED3D_PFNGLGETOBJECTPARAMETERFVARBPROC, glGetObjectParameterfvARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3570 | USE_GL_FUNC(WINED3D_PFNGLGETUNIFORMLOCATIONARBPROC, glGetUniformLocationARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3571 | USE_GL_FUNC(WINED3D_PFNGLGETACTIVEUNIFORMARBPROC, glGetActiveUniformARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3572 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM1IARBPROC, glUniform1iARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3573 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM2IARBPROC, glUniform2iARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3574 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM3IARBPROC, glUniform3iARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3575 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM4IARBPROC, glUniform4iARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3576 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM1IARBPROC, glUniform1fARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3577 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM2FARBPROC, glUniform2fARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3578 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM3FARBPROC, glUniform3fARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3579 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM4FARBPROC, glUniform4fARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3580 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM1FVARBPROC, glUniform1fvARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3581 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM2FVARBPROC, glUniform2fvARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3582 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM3FVARBPROC, glUniform3fvARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3583 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM4FVARBPROC, glUniform4fvARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3584 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM1IVARBPROC, glUniform1ivARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3585 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM2IVARBPROC, glUniform2ivARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3586 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM3IVARBPROC, glUniform3ivARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3587 | USE_GL_FUNC(WINED3D_PFNGLUNIFORM4IVARBPROC, glUniform4ivARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3588 | USE_GL_FUNC(WINED3D_PFNGLUNIFORMMATRIX2FVARBPROC, glUniformMatrix2fvARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3589 | USE_GL_FUNC(WINED3D_PFNGLUNIFORMMATRIX3FVARBPROC, glUniformMatrix3fvARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3590 | USE_GL_FUNC(WINED3D_PFNGLUNIFORMMATRIX4FVARBPROC, glUniformMatrix4fvARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3591 | USE_GL_FUNC(WINED3D_PFNGLGETUNIFORMFVARBPROC, glGetUniform4fvARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3592 | USE_GL_FUNC(WINED3D_PFNGLGETUNIFORMIVARBPROC, glGetUniform4ivARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3593 | USE_GL_FUNC(WINED3D_PFNGLGETINFOLOGARBPROC, glGetInfoLogARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3594 | USE_GL_FUNC(WINED3D_PFNGLUSEPROGRAMOBJECTARBPROC, glUseProgramObjectARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3595 | USE_GL_FUNC(WINED3D_PFNGLCREATESHADEROBJECTARBPROC, glCreateShaderObjectARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3596 | USE_GL_FUNC(WINED3D_PFNGLSHADERSOURCEARBPROC, glShaderSourceARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3597 | USE_GL_FUNC(WINED3D_PFNGLCOMPILESHADERARBPROC, glCompileShaderARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3598 | USE_GL_FUNC(WINED3D_PFNGLCREATEPROGRAMOBJECTARBPROC, glCreateProgramObjectARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3599 | USE_GL_FUNC(WINED3D_PFNGLATTACHOBJECTARBPROC, glAttachObjectARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3600 | USE_GL_FUNC(WINED3D_PFNGLLINKPROGRAMARBPROC, glLinkProgramARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3601 | USE_GL_FUNC(WINED3D_PFNGLDETACHOBJECTARBPROC, glDetachObjectARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3602 | USE_GL_FUNC(WINED3D_PFNGLDELETEOBJECTARBPROC, glDeleteObjectARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3603 | USE_GL_FUNC(WINED3D_PFNGLVALIDATEPROGRAMARBPROC, glValidateProgramARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3604 | USE_GL_FUNC(WINED3D_PFNGLGETATTACHEDOBJECTSARBPROC, glGetAttachedObjectsARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3605 | USE_GL_FUNC(WINED3D_PFNGLGETHANDLEARBPROC, glGetHandleARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3606 | USE_GL_FUNC(WINED3D_PFNGLGETSHADERSOURCEARBPROC, glGetShaderSourceARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3607 | USE_GL_FUNC(WINED3D_PFNGLBINDATTRIBLOCATIONARBPROC, glBindAttribLocationARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3608 | USE_GL_FUNC(WINED3D_PFNGLGETATTRIBLOCATIONARBPROC, glGetAttribLocationARB, ARB_SHADER_OBJECTS, NULL )\
|
---|
3609 | /* GL_EXT_stencil_two_side */ \
|
---|
3610 | USE_GL_FUNC(PGLFNACTIVESTENCILFACEEXTPROC, glActiveStencilFaceEXT, EXT_STENCIL_TWO_SIDE, NULL )\
|
---|
3611 | /* GL_ATI_separate_stencil */ \
|
---|
3612 | USE_GL_FUNC(PGLFNSTENCILOPSEPARATEATIPROC, glStencilOpSeparateATI, ATI_SEPARATE_STENCIL, NULL )\
|
---|
3613 | USE_GL_FUNC(PGLFNSTENCILFUNCSEPARATEATIPROC, glStencilFuncSeparateATI, ATI_SEPARATE_STENCIL, NULL )\
|
---|
3614 | /* GL_NV_half_float */ \
|
---|
3615 | USE_GL_FUNC(PGLFNVERTEX2HNVPROC, glVertex2hNV, NV_HALF_FLOAT, NULL )\
|
---|
3616 | USE_GL_FUNC(PGLFNVERTEX2HVNVPROC, glVertex2hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3617 | USE_GL_FUNC(PGLFNVERTEX3HNVPROC, glVertex3hNV, NV_HALF_FLOAT, NULL )\
|
---|
3618 | USE_GL_FUNC(PGLFNVERTEX3HVNVPROC, glVertex3hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3619 | USE_GL_FUNC(PGLFNVERTEX4HNVPROC, glVertex4hNV, NV_HALF_FLOAT, NULL )\
|
---|
3620 | USE_GL_FUNC(PGLFNVERTEX4HVNVPROC, glVertex4hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3621 | USE_GL_FUNC(PGLFNNORMAL3HNVPROC, glNormal3hNV, NV_HALF_FLOAT, NULL )\
|
---|
3622 | USE_GL_FUNC(PGLFNNORMAL3HVNVPROC, glNormal3hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3623 | USE_GL_FUNC(PGLFNCOLOR3HNVPROC, glColor3hNV, NV_HALF_FLOAT, NULL )\
|
---|
3624 | USE_GL_FUNC(PGLFNCOLOR3HVNVPROC, glColor3hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3625 | USE_GL_FUNC(PGLFNCOLOR4HNVPROC, glColor4hNV, NV_HALF_FLOAT, NULL )\
|
---|
3626 | USE_GL_FUNC(PGLFNCOLOR4HVNVPROC, glColor4hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3627 | USE_GL_FUNC(PGLFNTEXCOORD1HNVPROC, glTexCoord1hNV, NV_HALF_FLOAT, NULL )\
|
---|
3628 | USE_GL_FUNC(PGLFNTEXCOORD1HVNVPROC, glTexCoord1hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3629 | USE_GL_FUNC(PGLFNTEXCOORD2HNVPROC, glTexCoord2hNV, NV_HALF_FLOAT, NULL )\
|
---|
3630 | USE_GL_FUNC(PGLFNTEXCOORD2HVNVPROC, glTexCoord2hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3631 | USE_GL_FUNC(PGLFNTEXCOORD3HNVPROC, glTexCoord3hNV, NV_HALF_FLOAT, NULL )\
|
---|
3632 | USE_GL_FUNC(PGLFNTEXCOORD3HVNVPROC, glTexCoord3hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3633 | USE_GL_FUNC(PGLFNTEXCOORD4HNVPROC, glTexCoord4hNV, NV_HALF_FLOAT, NULL )\
|
---|
3634 | USE_GL_FUNC(PGLFNTEXCOORD4HVNVPROC, glTexCoord4hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3635 | USE_GL_FUNC(PGLFNMULTITEXCOORD1HNVPROC, glMultiTexCoord1hNV, NV_HALF_FLOAT, NULL )\
|
---|
3636 | USE_GL_FUNC(PGLFNMULTITEXCOORD1HVNVPROC, glMultiTexCoord1hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3637 | USE_GL_FUNC(PGLFNMULTITEXCOORD2HNVPROC, glMultiTexCoord2hNV, NV_HALF_FLOAT, NULL )\
|
---|
3638 | USE_GL_FUNC(PGLFNMULTITEXCOORD2HVNVPROC, glMultiTexCoord2hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3639 | USE_GL_FUNC(PGLFNMULTITEXCOORD3HNVPROC, glMultiTexCoord3hNV, NV_HALF_FLOAT, NULL )\
|
---|
3640 | USE_GL_FUNC(PGLFNMULTITEXCOORD3HVNVPROC, glMultiTexCoord3hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3641 | USE_GL_FUNC(PGLFNMULTITEXCOORD4HNVPROC, glMultiTexCoord4hNV, NV_HALF_FLOAT, NULL )\
|
---|
3642 | USE_GL_FUNC(PGLFNMULTITEXCOORD4HVNVPROC, glMultiTexCoord4hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3643 | USE_GL_FUNC(PGLFNFOGCOORDHNVPROC, glFogCoordhNV, NV_HALF_FLOAT, NULL )\
|
---|
3644 | USE_GL_FUNC(PGLFNFOGCOORDHVNVPROC, glFogCoordhvNV, NV_HALF_FLOAT, NULL )\
|
---|
3645 | USE_GL_FUNC(PGLFNSECONDARYCOLOR3HNVPROC, glSecondaryColor3hNV, NV_HALF_FLOAT, NULL )\
|
---|
3646 | USE_GL_FUNC(PGLFNSECONDARYCOLOR3HVNVPROC, glSecondaryColor3hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3647 | USE_GL_FUNC(PGLFNVERTEXWEIGHTHNVPROC, glVertexWeighthNV, NV_HALF_FLOAT, NULL )\
|
---|
3648 | USE_GL_FUNC(PGLFNVERTEXWEIGHTHVNVPROC, glVertexWeighthvNV, NV_HALF_FLOAT, NULL )\
|
---|
3649 | USE_GL_FUNC(PGLFNVERTEXATTRIB1HNVPROC, glVertexAttrib1hNV, NV_HALF_FLOAT, NULL )\
|
---|
3650 | USE_GL_FUNC(PGLFNVERTEXATTRIB1HVNVPROC, glVertexAttrib1hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3651 | USE_GL_FUNC(PGLFNVERTEXATTRIB2HNVPROC, glVertexAttrib2hNV, NV_HALF_FLOAT, NULL )\
|
---|
3652 | USE_GL_FUNC(PGLFNVERTEXATTRIB2HVNVPROC, glVertexAttrib2hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3653 | USE_GL_FUNC(PGLFNVERTEXATTRIB3HNVPROC, glVertexAttrib3hNV, NV_HALF_FLOAT, NULL )\
|
---|
3654 | USE_GL_FUNC(PGLFNVERTEXATTRIB3HVNVPROC, glVertexAttrib3hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3655 | USE_GL_FUNC(PGLFNVERTEXATTRIB4HNVPROC, glVertexAttrib4hNV, NV_HALF_FLOAT, NULL )\
|
---|
3656 | USE_GL_FUNC(PGLFNVERTEXATTRIB4HVNVPROC, glVertexAttrib4hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3657 | USE_GL_FUNC(PGLFNVERTEXATTRIBS1HVNVPROC, glVertexAttribs1hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3658 | USE_GL_FUNC(PGLFNVERTEXATTRIBS2HVNVPROC, glVertexAttribs2hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3659 | USE_GL_FUNC(PGLFNVERTEXATTRIBS3HVNVPROC, glVertexAttribs3hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3660 | USE_GL_FUNC(PGLFNVERTEXATTRIBS4HVNVPROC, glVertexAttribs4hvNV, NV_HALF_FLOAT, NULL )\
|
---|
3661 | /* GL_NV_register_combiners */ \
|
---|
3662 | USE_GL_FUNC(PGLFNCOMBINERINPUTNVPROC, glCombinerInputNV, NV_REGISTER_COMBINERS, NULL )\
|
---|
3663 | USE_GL_FUNC(PGLFNCOMBINEROUTPUTNVPROC, glCombinerOutputNV, NV_REGISTER_COMBINERS, NULL )\
|
---|
3664 | USE_GL_FUNC(PGLFNCOMBINERPARAMETERFNVPROC, glCombinerParameterfNV, NV_REGISTER_COMBINERS, NULL )\
|
---|
3665 | USE_GL_FUNC(PGLFNCOMBINERPARAMETERFVNVPROC, glCombinerParameterfvNV, NV_REGISTER_COMBINERS, NULL )\
|
---|
3666 | USE_GL_FUNC(PGLFNCOMBINERPARAMETERINVPROC, glCombinerParameteriNV, NV_REGISTER_COMBINERS, NULL )\
|
---|
3667 | USE_GL_FUNC(PGLFNCOMBINERPARAMETERIVNVPROC, glCombinerParameterivNV, NV_REGISTER_COMBINERS, NULL )\
|
---|
3668 | USE_GL_FUNC(PGLFNFINALCOMBINERINPUTNVPROC, glFinalCombinerInputNV, NV_REGISTER_COMBINERS, NULL )\
|
---|
3669 | /* GL_NV_fence */ \
|
---|
3670 | USE_GL_FUNC(PGLFNGENFENCESNVPROC, glGenFencesNV, NV_FENCE, NULL )\
|
---|
3671 | USE_GL_FUNC(PGLFNDELETEFENCESNVPROC, glDeleteFencesNV, NV_FENCE, NULL )\
|
---|
3672 | USE_GL_FUNC(PGLFNSETFENCENVPROC, glSetFenceNV, NV_FENCE, NULL )\
|
---|
3673 | USE_GL_FUNC(PGLFNTESTFENCENVPROC, glTestFenceNV, NV_FENCE, NULL )\
|
---|
3674 | USE_GL_FUNC(PGLFNFINISHFENCENVPROC, glFinishFenceNV, NV_FENCE, NULL )\
|
---|
3675 | USE_GL_FUNC(PGLFNISFENCENVPROC, glIsFenceNV, NV_FENCE, NULL )\
|
---|
3676 | USE_GL_FUNC(PGLFNGETFENCEIVNVPROC, glGetFenceivNV, NV_FENCE, NULL )\
|
---|
3677 | /* GL_APPLE_fence */ \
|
---|
3678 | USE_GL_FUNC(PGLFNGENFENCESAPPLEPROC, glGenFencesAPPLE, APPLE_FENCE, NULL )\
|
---|
3679 | USE_GL_FUNC(PGLFNDELETEFENCESAPPLEPROC, glDeleteFencesAPPLE, APPLE_FENCE, NULL )\
|
---|
3680 | USE_GL_FUNC(PGLFNSETFENCEAPPLEPROC, glSetFenceAPPLE, APPLE_FENCE, NULL )\
|
---|
3681 | USE_GL_FUNC(PGLFNTESTFENCEAPPLEPROC, glTestFenceAPPLE, APPLE_FENCE, NULL )\
|
---|
3682 | USE_GL_FUNC(PGLFNFINISHFENCEAPPLEPROC, glFinishFenceAPPLE, APPLE_FENCE, NULL )\
|
---|
3683 | USE_GL_FUNC(PGLFNISFENCEAPPLEPROC, glIsFenceAPPLE, APPLE_FENCE, NULL )\
|
---|
3684 | USE_GL_FUNC(PGLFNTESTOBJECTAPPLEPROC, glTestObjectAPPLE, APPLE_FENCE, NULL )\
|
---|
3685 | USE_GL_FUNC(PGLFNFINISHOBJECTAPPLEPROC, glFinishObjectAPPLE, APPLE_FENCE, NULL )\
|
---|
3686 | /* GLX_SGI_video_sync */ \
|
---|
3687 | USE_GL_FUNC(PGLXFNGETVIDEOSYNCSGIPROC, glXGetVideoSyncSGI, SGI_VIDEO_SYNC, NULL )\
|
---|
3688 | USE_GL_FUNC(PGLXFNWAITVIDEOSYNCSGIPROC, glXWaitVideoSyncSGI, SGI_VIDEO_SYNC, NULL )\
|
---|
3689 | /* GL_APPLE_flush_render */ \
|
---|
3690 | USE_GL_FUNC(PGLFNFLUSHRENDERAPPLEPROC, glFlushRenderApple, APPLE_FLUSH_RENDER, NULL )\
|
---|
3691 | USE_GL_FUNC(PGLFNFINISHRENDERAPPLEPROC, glFinishRenderApple, APPLE_FLUSH_RENDER, NULL )\
|
---|
3692 | /* GL_EXT_gpu_program_parameters */ \
|
---|
3693 | USE_GL_FUNC(PGLFNPROGRAMENVPARAMETERS4FVEXTPROC, glProgramEnvParameters4fvEXT, EXT_GPU_PROGRAM_PARAMETERS,NULL )\
|
---|
3694 | USE_GL_FUNC(PGLFNPROGRAMLOCALPARAMETERS4FVEXTPROC, glProgramLocalParameters4fvEXT, EXT_GPU_PROGRAM_PARAMETERS,NULL )\
|
---|
3695 | /* GL_ATI_fragment_shader */ \
|
---|
3696 | USE_GL_FUNC(PGLFNGENFRAGMENTSHADERSATI, glGenFragmentShadersATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3697 | USE_GL_FUNC(PGLFNBINDFRAGMENTSHADERATI, glBindFragmentShaderATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3698 | USE_GL_FUNC(PGLFNDELETEFRAGMENTSHADERATI, glDeleteFragmentShaderATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3699 | USE_GL_FUNC(PGLFNBEGINFRAGMENTSHADERATI, glBeginFragmentShaderATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3700 | USE_GL_FUNC(PGLFNENDFRAGMENTSHADERATI, glEndFragmentShaderATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3701 | USE_GL_FUNC(PGLFNPASSTEXCOORDATI, glPassTexCoordATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3702 | USE_GL_FUNC(PGLFNSAMPLEMAPATI, glSampleMapATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3703 | USE_GL_FUNC(PGLFNCOLORFRAGMENTOP1ATI, glColorFragmentOp1ATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3704 | USE_GL_FUNC(PGLFNCOLORFRAGMENTOP2ATI, glColorFragmentOp2ATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3705 | USE_GL_FUNC(PGLFNCOLORFRAGMENTOP3ATI, glColorFragmentOp3ATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3706 | USE_GL_FUNC(PGLFNALPHAFRAGMENTOP1ATI, glAlphaFragmentOp1ATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3707 | USE_GL_FUNC(PGLFNALPHAFRAGMENTOP2ATI, glAlphaFragmentOp2ATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3708 | USE_GL_FUNC(PGLFNALPHAFRAGMENTOP3ATI, glAlphaFragmentOp3ATI, ATI_FRAGMENT_SHADER, NULL )\
|
---|
3709 | USE_GL_FUNC(PGLFNSETFRAGMENTSHADERCONSTANTATI, glSetFragmentShaderConstantATI, ATI_FRAGMENT_SHADER, NULL )
|
---|
3710 |
|
---|
3711 | /****************************************************
|
---|
3712 | * OpenGL WGL defines and functions pointer
|
---|
3713 | ****************************************************/
|
---|
3714 |
|
---|
3715 | /* WGL_ARB_extensions_string */
|
---|
3716 | typedef const char * (WINAPI * WINED3D_PFNWGLGETEXTENSIONSSTRINGARBPROC) (HDC hdc);
|
---|
3717 | /* WGL_ARB_multisample */
|
---|
3718 | #ifndef WGL_ARB_multisample
|
---|
3719 | #define WGL_SAMPLE_BUFFERS_ARB 0x2041
|
---|
3720 | #define WGL_SAMPLES_ARB 0x2042
|
---|
3721 | #endif
|
---|
3722 | /* WGL_ARB_pixel_format */
|
---|
3723 | #ifndef WGL_ARB_pixel_format
|
---|
3724 | #define WGL_ARB_pixel_format 1
|
---|
3725 | #define WGL_NUMBER_PIXEL_FORMATS_ARB 0x2000
|
---|
3726 | #define WGL_DRAW_TO_WINDOW_ARB 0x2001
|
---|
3727 | #define WGL_DRAW_TO_BITMAP_ARB 0x2002
|
---|
3728 | #define WGL_ACCELERATION_ARB 0x2003
|
---|
3729 | #define WGL_NEED_PALETTE_ARB 0x2004
|
---|
3730 | #define WGL_NEED_SYSTEM_PALETTE_ARB 0x2005
|
---|
3731 | #define WGL_SWAP_LAYER_BUFFERS_ARB 0x2006
|
---|
3732 | #define WGL_SWAP_METHOD_ARB 0x2007
|
---|
3733 | #define WGL_NUMBER_OVERLAYS_ARB 0x2008
|
---|
3734 | #define WGL_NUMBER_UNDERLAYS_ARB 0x2009
|
---|
3735 | #define WGL_TRANSPARENT_ARB 0x200A
|
---|
3736 | #define WGL_TRANSPARENT_RED_VALUE_ARB 0x2037
|
---|
3737 | #define WGL_TRANSPARENT_GREEN_VALUE_ARB 0x2038
|
---|
3738 | #define WGL_TRANSPARENT_BLUE_VALUE_ARB 0x2039
|
---|
3739 | #define WGL_TRANSPARENT_ALPHA_VALUE_ARB 0x203A
|
---|
3740 | #define WGL_TRANSPARENT_INDEX_VALUE_ARB 0x203B
|
---|
3741 | #define WGL_SHARE_DEPTH_ARB 0x200C
|
---|
3742 | #define WGL_SHARE_STENCIL_ARB 0x200D
|
---|
3743 | #define WGL_SHARE_ACCUM_ARB 0x200E
|
---|
3744 | #define WGL_SUPPORT_GDI_ARB 0x200F
|
---|
3745 | #define WGL_SUPPORT_OPENGL_ARB 0x2010
|
---|
3746 | #define WGL_DOUBLE_BUFFER_ARB 0x2011
|
---|
3747 | #define WGL_STEREO_ARB 0x2012
|
---|
3748 | #define WGL_PIXEL_TYPE_ARB 0x2013
|
---|
3749 | #define WGL_COLOR_BITS_ARB 0x2014
|
---|
3750 | #define WGL_RED_BITS_ARB 0x2015
|
---|
3751 | #define WGL_RED_SHIFT_ARB 0x2016
|
---|
3752 | #define WGL_GREEN_BITS_ARB 0x2017
|
---|
3753 | #define WGL_GREEN_SHIFT_ARB 0x2018
|
---|
3754 | #define WGL_BLUE_BITS_ARB 0x2019
|
---|
3755 | #define WGL_BLUE_SHIFT_ARB 0x201A
|
---|
3756 | #define WGL_ALPHA_BITS_ARB 0x201B
|
---|
3757 | #define WGL_ALPHA_SHIFT_ARB 0x201C
|
---|
3758 | #define WGL_ACCUM_BITS_ARB 0x201D
|
---|
3759 | #define WGL_ACCUM_RED_BITS_ARB 0x201E
|
---|
3760 | #define WGL_ACCUM_GREEN_BITS_ARB 0x201F
|
---|
3761 | #define WGL_ACCUM_BLUE_BITS_ARB 0x2020
|
---|
3762 | #define WGL_ACCUM_ALPHA_BITS_ARB 0x2021
|
---|
3763 | #define WGL_DEPTH_BITS_ARB 0x2022
|
---|
3764 | #define WGL_STENCIL_BITS_ARB 0x2023
|
---|
3765 | #define WGL_AUX_BUFFERS_ARB 0x2024
|
---|
3766 | #define WGL_NO_ACCELERATION_ARB 0x2025
|
---|
3767 | #define WGL_GENERIC_ACCELERATION_ARB 0x2026
|
---|
3768 | #define WGL_FULL_ACCELERATION_ARB 0x2027
|
---|
3769 | #define WGL_SWAP_EXCHANGE_ARB 0x2028
|
---|
3770 | #define WGL_SWAP_COPY_ARB 0x2029
|
---|
3771 | #define WGL_SWAP_UNDEFINED_ARB 0x202A
|
---|
3772 | #define WGL_TYPE_RGBA_ARB 0x202B
|
---|
3773 | #define WGL_TYPE_COLORINDEX_ARB 0x202C
|
---|
3774 | #endif
|
---|
3775 | typedef BOOL (WINAPI * WINED3D_PFNWGLGETPIXELFORMATATTRIBIVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, int *piValues);
|
---|
3776 | typedef BOOL (WINAPI * WINED3D_PFNWGLGETPIXELFORMATATTRIBFVARBPROC) (HDC hdc, int iPixelFormat, int iLayerPlane, UINT nAttributes, const int *piAttributes, FLOAT *pfValues);
|
---|
3777 | typedef BOOL (WINAPI * WINED3D_PFNWGLCHOOSEPIXELFORMATARBPROC) (HDC hdc, const int *piAttribIList, const FLOAT *pfAttribFList, UINT nMaxFormats, int *piFormats, UINT *nNumFormats);
|
---|
3778 | /* WGL_ARB_make_current_read */
|
---|
3779 | typedef BOOL (WINAPI * WINED3D_PFNWGLMAKECONTEXTCURRENTARBPROC) (HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
|
---|
3780 | typedef HDC (WINAPI * WINED3D_PFNWGLGETCURRENTREADDCARBPROC) (void);
|
---|
3781 | /* WGL_ARB_pbuffer */
|
---|
3782 | #ifndef WGL_ARB_pbuffer
|
---|
3783 | #define WGL_ARB_pbuffer 1
|
---|
3784 | #define WGL_DRAW_TO_PBUFFER_ARB 0x202D
|
---|
3785 | #define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
|
---|
3786 | #define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
|
---|
3787 | #define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
|
---|
3788 | #define WGL_PBUFFER_LARGEST_ARB 0x2033
|
---|
3789 | #define WGL_PBUFFER_WIDTH_ARB 0x2034
|
---|
3790 | #define WGL_PBUFFER_HEIGHT_ARB 0x2035
|
---|
3791 | #define WGL_PBUFFER_LOST_ARB 0x2036
|
---|
3792 | #endif
|
---|
3793 | DECLARE_HANDLE(HPBUFFERARB);
|
---|
3794 | typedef HPBUFFERARB (WINAPI * WINED3D_PFNWGLCREATEPBUFFERARBPROC) (HDC hDC, int iPixelFormat, int iWidth, int iHeight, const int *piAttribList);
|
---|
3795 | typedef HDC (WINAPI * WINED3D_PFNWGLGETPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer);
|
---|
3796 | typedef int (WINAPI * WINED3D_PFNWGLRELEASEPBUFFERDCARBPROC) (HPBUFFERARB hPbuffer, HDC hDC);
|
---|
3797 | typedef BOOL (WINAPI * WINED3D_PFNWGLDESTROYPBUFFERARBPROC) (HPBUFFERARB hPbuffer);
|
---|
3798 | typedef BOOL (WINAPI * WINED3D_PFNWGLQUERYPBUFFERARBPROC) (HPBUFFERARB hPbuffer, int iAttribute, int *piValue);
|
---|
3799 | #ifndef WGL_ARB_pixel_format_float
|
---|
3800 | #define WGL_ARB_pixel_format_float 1
|
---|
3801 | #define WGL_TYPE_RGBA_FLOAT_ARB 0x21A0
|
---|
3802 | #endif
|
---|
3803 | /* WGL_WINE_pixel_format_passthrough */
|
---|
3804 | typedef BOOL (WINAPI * WINED3D_PFNWGLSETPIXELFORMATWINE) (HDC hdc, int iPixelFormat, const PIXELFORMATDESCRIPTOR* ppfd);
|
---|
3805 |
|
---|
3806 | #define WGL_EXT_FUNCS_GEN \
|
---|
3807 | USE_GL_FUNC(WINED3D_PFNWGLGETEXTENSIONSSTRINGARBPROC, wglGetExtensionsStringARB, 0, NULL) \
|
---|
3808 | USE_GL_FUNC(WINED3D_PFNWGLGETPIXELFORMATATTRIBIVARBPROC, wglGetPixelFormatAttribivARB, 0, NULL) \
|
---|
3809 | USE_GL_FUNC(WINED3D_PFNWGLGETPIXELFORMATATTRIBFVARBPROC, wglGetPixelFormatAttribfvARB, 0, NULL) \
|
---|
3810 | USE_GL_FUNC(WINED3D_PFNWGLCHOOSEPIXELFORMATARBPROC, wglChoosePixelFormatARB, 0, NULL) \
|
---|
3811 | USE_GL_FUNC(WINED3D_PFNWGLMAKECONTEXTCURRENTARBPROC, wglMakeContextCurrentARB, 0, NULL) \
|
---|
3812 | USE_GL_FUNC(WINED3D_PFNWGLGETCURRENTREADDCARBPROC, wglGetCurrentReadDCARB, 0, NULL) \
|
---|
3813 | USE_GL_FUNC(WINED3D_PFNWGLCREATEPBUFFERARBPROC, wglCreatePbufferARB, 0, NULL) \
|
---|
3814 | USE_GL_FUNC(WINED3D_PFNWGLGETPBUFFERDCARBPROC, wglGetPbufferDCARB, 0, NULL) \
|
---|
3815 | USE_GL_FUNC(WINED3D_PFNWGLRELEASEPBUFFERDCARBPROC, wglReleasePbufferDCARB, 0, NULL) \
|
---|
3816 | USE_GL_FUNC(WINED3D_PFNWGLDESTROYPBUFFERARBPROC, wglDestroyPbufferARB, 0, NULL) \
|
---|
3817 | USE_GL_FUNC(WINED3D_PFNWGLQUERYPBUFFERARBPROC, wglQueryPbufferARB, 0, NULL) \
|
---|
3818 | USE_GL_FUNC(WINED3D_PFNWGLSETPIXELFORMATWINE, wglSetPixelFormatWINE, 0, NULL)
|
---|
3819 |
|
---|
3820 |
|
---|
3821 | /****************************************************
|
---|
3822 | * Structures
|
---|
3823 | ****************************************************/
|
---|
3824 |
|
---|
3825 | typedef struct _WINED3DGLTYPE {
|
---|
3826 | int d3dType;
|
---|
3827 | GLint size;
|
---|
3828 | GLenum glType;
|
---|
3829 | GLboolean normalized;
|
---|
3830 | int typesize;
|
---|
3831 | } WINED3DGLTYPE;
|
---|
3832 |
|
---|
3833 | #define USE_GL_FUNC(type, pfn, ext, replace) type pfn;
|
---|
3834 | typedef struct _WineD3D_GL_Info {
|
---|
3835 |
|
---|
3836 | DWORD glx_version;
|
---|
3837 | DWORD gl_version;
|
---|
3838 |
|
---|
3839 | GL_Vendors gl_vendor;
|
---|
3840 | GL_Cards gl_card;
|
---|
3841 | UINT vidmem;
|
---|
3842 | DWORD driver_version;
|
---|
3843 | DWORD driver_version_hipart;
|
---|
3844 | CHAR gl_renderer[255];
|
---|
3845 | /**
|
---|
3846 | * CAPS Constants
|
---|
3847 | */
|
---|
3848 | UINT max_buffers;
|
---|
3849 | UINT max_lights;
|
---|
3850 | UINT max_textures;
|
---|
3851 | UINT max_texture_stages;
|
---|
3852 | UINT max_fragment_samplers;
|
---|
3853 | UINT max_vertex_samplers;
|
---|
3854 | UINT max_combined_samplers;
|
---|
3855 | UINT max_sampler_stages;
|
---|
3856 | UINT max_clipplanes;
|
---|
3857 | UINT max_texture_size;
|
---|
3858 | UINT max_texture3d_size;
|
---|
3859 | float max_pointsize, max_pointsizemin;
|
---|
3860 | UINT max_blends;
|
---|
3861 | UINT max_anisotropy;
|
---|
3862 | UINT max_glsl_varyings;
|
---|
3863 | float max_shininess;
|
---|
3864 |
|
---|
3865 | unsigned max_vshader_constantsF;
|
---|
3866 | unsigned max_pshader_constantsF;
|
---|
3867 |
|
---|
3868 | unsigned vs_arb_constantsF;
|
---|
3869 | unsigned vs_arb_max_instructions;
|
---|
3870 | unsigned vs_arb_max_temps;
|
---|
3871 | unsigned ps_arb_constantsF;
|
---|
3872 | unsigned ps_arb_max_instructions;
|
---|
3873 | unsigned ps_arb_max_temps;
|
---|
3874 | unsigned vs_glsl_constantsF;
|
---|
3875 | unsigned ps_glsl_constantsF;
|
---|
3876 |
|
---|
3877 | GL_PSVersion ps_arb_version;
|
---|
3878 | GL_PSVersion ps_nv_version;
|
---|
3879 |
|
---|
3880 | GL_VSVersion vs_arb_version;
|
---|
3881 | GL_VSVersion vs_nv_version;
|
---|
3882 | GL_VSVersion vs_ati_version;
|
---|
3883 |
|
---|
3884 | BOOL arb_vs_offset_limit;
|
---|
3885 | BOOL set_texcoord_w;
|
---|
3886 |
|
---|
3887 | BOOL supported[OPENGL_SUPPORTED_EXT_END + 1];
|
---|
3888 |
|
---|
3889 | /** OpenGL EXT and ARB functions ptr */
|
---|
3890 | GL_EXT_FUNCS_GEN
|
---|
3891 | /** OpenGL WGL functions ptr */
|
---|
3892 | WGL_EXT_FUNCS_GEN
|
---|
3893 |
|
---|
3894 | struct GlPixelFormatDesc *gl_formats;
|
---|
3895 |
|
---|
3896 | /* Vertex data types */
|
---|
3897 | WINED3DGLTYPE glTypeLookup[WINED3DDECLTYPE_UNUSED];
|
---|
3898 | } WineD3D_GL_Info;
|
---|
3899 | #undef USE_GL_FUNC
|
---|
3900 |
|
---|
3901 | #endif /* __WINE_WINED3D_GL */
|
---|