doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
glimp_glenum.h
Go to the documentation of this file.
1 /*
2 ===========================================================================
3 
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
6 
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
8 
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 Doom 3 Source Code 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
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
21 
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
23 
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
25 
26 ===========================================================================
27 */
28 DEF(GL_FALSE)
29 DEF(GL_TRUE)
30 DEF(GL_BYTE)
31 DEF(GL_UNSIGNED_BYTE)
32 DEF(GL_SHORT)
33 DEF(GL_UNSIGNED_SHORT)
34 DEF(GL_INT)
35 DEF(GL_UNSIGNED_INT)
36 DEF(GL_FLOAT)
37 DEF(GL_DOUBLE)
40 DEF(GL_TEXTURE_2D)
41 DEF(GL_BLEND)
42 DEF(GL_DEPTH_TEST)
43 DEF(GL_CULL_FACE)
44 DEF(GL_CLIP_PLANE0)
45 DEF(GL_COLOR_ARRAY)
46 DEF(GL_TEXTURE_COORD_ARRAY)
47 DEF(GL_VERTEX_ARRAY)
48 DEF(GL_ALPHA_TEST)
49 DEF(GL_TEXTURE_GEN_S)
50 DEF(GL_TEXTURE_GEN_T)
51 DEF(GL_TEXTURE_GEN_R)
52 DEF(GL_TEXTURE_GEN_Q)
53 DEF(GL_STENCIL_TEST)
54 DEF(GL_POLYGON_OFFSET_FILL)
55 DEF(GL_TRIANGLES)
56 DEF(GL_TRIANGLE_STRIP)
57 DEF(GL_TRIANGLE_FAN)
58 DEF(GL_QUADS)
59 DEF(GL_QUAD_STRIP)
60 DEF(GL_POLYGON)
61 DEF(GL_POINTS)
62 DEF(GL_LINES)
63 DEF(GL_LINE_STRIP)
64 DEF(GL_LINE_LOOP)
65 DEF(GL_ALWAYS)
66 DEF(GL_NEVER)
67 DEF(GL_LEQUAL)
68 DEF(GL_LESS)
69 DEF(GL_EQUAL)
70 DEF(GL_GREATER)
71 DEF(GL_GEQUAL)
72 DEF(GL_NOTEQUAL)
73 DEF(GL_ONE)
74 DEF(GL_ZERO)
75 DEF(GL_SRC_ALPHA)
76 DEF(GL_ONE_MINUS_SRC_ALPHA)
77 DEF(GL_DST_COLOR)
78 DEF(GL_ONE_MINUS_DST_COLOR)
79 DEF(GL_DST_ALPHA)
80 DEF(GL_MODELVIEW)
81 DEF(GL_PROJECTION)
82 DEF(GL_TEXTURE)
83 DEF(GL_NONE)
84 DEF(GL_FRONT_LEFT)
85 DEF(GL_FRONT_RIGHT)
86 DEF(GL_BACK_LEFT)
87 DEF(GL_BACK_RIGHT)
88 DEF(GL_FRONT)
89 DEF(GL_BACK)
90 DEF(GL_LEFT)
91 DEF(GL_RIGHT)
92 DEF(GL_FRONT_AND_BACK)
93 DEF(GL_AUX0)
94 DEF(GL_AUX1)
95 DEF(GL_AUX2)
96 DEF(GL_AUX3)
97 DEF(GL_CURRENT_COLOR)
98 DEF(GL_CURRENT_INDEX)
99 DEF(GL_CURRENT_NORMAL)
100 DEF(GL_CURRENT_TEXTURE_COORDS)
101 DEF(GL_CURRENT_RASTER_COLOR)
102 DEF(GL_CURRENT_RASTER_INDEX)
103 DEF(GL_CURRENT_RASTER_TEXTURE_COORDS)
104 DEF(GL_CURRENT_RASTER_POSITION)
105 DEF(GL_CURRENT_RASTER_POSITION_VALID)
106 DEF(GL_CURRENT_RASTER_DISTANCE)
107 DEF(GL_POINT_SMOOTH)
108 DEF(GL_POINT_SIZE)
109 DEF(GL_POINT_SIZE_RANGE)
110 DEF(GL_POINT_SIZE_GRANULARITY)
111 DEF(GL_LINE_SMOOTH)
112 DEF(GL_LINE_WIDTH)
113 DEF(GL_LINE_WIDTH_RANGE)
114 DEF(GL_LINE_WIDTH_GRANULARITY)
115 DEF(GL_LINE_STIPPLE)
116 DEF(GL_LINE_STIPPLE_PATTERN)
117 DEF(GL_LINE_STIPPLE_REPEAT)
118 DEF(GL_LIST_MODE)
119 DEF(GL_MAX_LIST_NESTING)
120 DEF(GL_LIST_BASE)
121 DEF(GL_LIST_INDEX)
122 DEF(GL_POLYGON_MODE)
123 DEF(GL_POLYGON_SMOOTH)
124 DEF(GL_POLYGON_STIPPLE)
125 DEF(GL_EDGE_FLAG)
126 DEF(GL_CULL_FACE)
127 DEF(GL_CULL_FACE_MODE)
128 DEF(GL_FRONT_FACE)
129 DEF(GL_LIGHTING)
130 DEF(GL_LIGHT_MODEL_LOCAL_VIEWER)
131 DEF(GL_LIGHT_MODEL_TWO_SIDE)
132 DEF(GL_LIGHT_MODEL_AMBIENT)
133 DEF(GL_SHADE_MODEL)
134 DEF(GL_COLOR_MATERIAL_FACE)
135 DEF(GL_COLOR_MATERIAL_PARAMETER)
136 DEF(GL_COLOR_MATERIAL)
137 DEF(GL_FOG)
138 DEF(GL_FOG_INDEX)
139 DEF(GL_FOG_DENSITY)
140 DEF(GL_FOG_START)
141 DEF(GL_FOG_END)
142 DEF(GL_FOG_MODE)
143 DEF(GL_FOG_COLOR)
144 DEF(GL_DEPTH_RANGE)
145 DEF(GL_DEPTH_TEST)
146 DEF(GL_DEPTH_WRITEMASK)
147 DEF(GL_DEPTH_CLEAR_VALUE)
148 DEF(GL_DEPTH_FUNC)
149 DEF(GL_ACCUM_CLEAR_VALUE)
150 DEF(GL_STENCIL_TEST)
151 DEF(GL_STENCIL_CLEAR_VALUE)
152 DEF(GL_STENCIL_FUNC)
153 DEF(GL_STENCIL_VALUE_MASK)
154 DEF(GL_STENCIL_FAIL)
155 DEF(GL_STENCIL_PASS_DEPTH_FAIL)
156 DEF(GL_STENCIL_PASS_DEPTH_PASS)
157 DEF(GL_STENCIL_REF)
158 DEF(GL_STENCIL_WRITEMASK)
159 DEF(GL_MATRIX_MODE)
160 DEF(GL_NORMALIZE)
161 DEF(GL_VIEWPORT)
162 DEF(GL_MODELVIEW_STACK_DEPTH)
163 DEF(GL_PROJECTION_STACK_DEPTH)
164 DEF(GL_TEXTURE_STACK_DEPTH)
165 DEF(GL_MODELVIEW_MATRIX)
166 DEF(GL_PROJECTION_MATRIX)
167 DEF(GL_TEXTURE_MATRIX)
168 DEF(GL_ATTRIB_STACK_DEPTH)
169 DEF(GL_CLIENT_ATTRIB_STACK_DEPTH)
170 DEF(GL_ALPHA_TEST)
171 DEF(GL_ALPHA_TEST_FUNC)
172 DEF(GL_ALPHA_TEST_REF)
173 DEF(GL_DITHER)
174 DEF(GL_BLEND_DST)
175 DEF(GL_BLEND_SRC)
176 DEF(GL_BLEND)
177 DEF(GL_LOGIC_OP_MODE)
178 DEF(GL_INDEX_LOGIC_OP)
179 DEF(GL_COLOR_LOGIC_OP)
180 DEF(GL_AUX_BUFFERS)
181 DEF(GL_DRAW_BUFFER)
182 DEF(GL_READ_BUFFER)
183 DEF(GL_SCISSOR_BOX)
184 DEF(GL_SCISSOR_TEST)
185 DEF(GL_INDEX_CLEAR_VALUE)
186 DEF(GL_INDEX_WRITEMASK)
187 DEF(GL_COLOR_CLEAR_VALUE)
188 DEF(GL_COLOR_WRITEMASK)
189 DEF(GL_INDEX_MODE)
190 DEF(GL_RGBA_MODE)
191 DEF(GL_DOUBLEBUFFER)
192 DEF(GL_STEREO)
193 DEF(GL_RENDER_MODE)
194 DEF(GL_PERSPECTIVE_CORRECTION_HINT)
195 DEF(GL_POINT_SMOOTH_HINT)
196 DEF(GL_LINE_SMOOTH_HINT)
197 DEF(GL_POLYGON_SMOOTH_HINT)
198 DEF(GL_FOG_HINT)
199 DEF(GL_TEXTURE_GEN_S)
200 DEF(GL_TEXTURE_GEN_T)
201 DEF(GL_TEXTURE_GEN_R)
202 DEF(GL_TEXTURE_GEN_Q)
203 DEF(GL_PIXEL_MAP_I_TO_I)
204 DEF(GL_PIXEL_MAP_S_TO_S)
205 DEF(GL_PIXEL_MAP_I_TO_R)
206 DEF(GL_PIXEL_MAP_I_TO_G)
207 DEF(GL_PIXEL_MAP_I_TO_B)
208 DEF(GL_PIXEL_MAP_I_TO_A)
209 DEF(GL_PIXEL_MAP_R_TO_R)
210 DEF(GL_PIXEL_MAP_G_TO_G)
211 DEF(GL_PIXEL_MAP_B_TO_B)
212 DEF(GL_PIXEL_MAP_A_TO_A)
213 DEF(GL_PIXEL_MAP_I_TO_I_SIZE)
214 DEF(GL_PIXEL_MAP_S_TO_S_SIZE)
215 DEF(GL_PIXEL_MAP_I_TO_R_SIZE)
216 DEF(GL_PIXEL_MAP_I_TO_G_SIZE)
217 DEF(GL_PIXEL_MAP_I_TO_B_SIZE)
218 DEF(GL_PIXEL_MAP_I_TO_A_SIZE)
219 DEF(GL_PIXEL_MAP_R_TO_R_SIZE)
220 DEF(GL_PIXEL_MAP_G_TO_G_SIZE)
221 DEF(GL_PIXEL_MAP_B_TO_B_SIZE)
222 DEF(GL_PIXEL_MAP_A_TO_A_SIZE)
223 DEF(GL_UNPACK_SWAP_BYTES)
224 DEF(GL_UNPACK_LSB_FIRST)
225 DEF(GL_UNPACK_ROW_LENGTH)
226 DEF(GL_UNPACK_SKIP_ROWS)
227 DEF(GL_UNPACK_SKIP_PIXELS)
228 DEF(GL_UNPACK_ALIGNMENT)
229 DEF(GL_PACK_SWAP_BYTES)
230 DEF(GL_PACK_LSB_FIRST)
231 DEF(GL_PACK_ROW_LENGTH)
232 DEF(GL_PACK_SKIP_ROWS)
233 DEF(GL_PACK_SKIP_PIXELS)
234 DEF(GL_PACK_ALIGNMENT)
235 DEF(GL_MAP_COLOR)
236 DEF(GL_MAP_STENCIL)
237 DEF(GL_INDEX_SHIFT)
238 DEF(GL_INDEX_OFFSET)
239 DEF(GL_RED_SCALE)
240 DEF(GL_RED_BIAS)
241 DEF(GL_ZOOM_X)
242 DEF(GL_ZOOM_Y)
243 DEF(GL_GREEN_SCALE)
244 DEF(GL_GREEN_BIAS)
245 DEF(GL_BLUE_SCALE)
246 DEF(GL_BLUE_BIAS)
247 DEF(GL_ALPHA_SCALE)
248 DEF(GL_ALPHA_BIAS)
249 DEF(GL_DEPTH_SCALE)
250 DEF(GL_DEPTH_BIAS)
251 DEF(GL_MAX_EVAL_ORDER)
252 DEF(GL_MAX_LIGHTS)
253 DEF(GL_MAX_CLIP_PLANES)
254 DEF(GL_MAX_TEXTURE_SIZE)
255 DEF(GL_MAX_PIXEL_MAP_TABLE)
256 DEF(GL_MAX_ATTRIB_STACK_DEPTH)
257 DEF(GL_MAX_MODELVIEW_STACK_DEPTH)
258 DEF(GL_MAX_NAME_STACK_DEPTH)
259 DEF(GL_MAX_PROJECTION_STACK_DEPTH)
260 DEF(GL_MAX_TEXTURE_STACK_DEPTH)
261 DEF(GL_MAX_VIEWPORT_DIMS)
262 DEF(GL_MAX_CLIENT_ATTRIB_STACK_DEPTH)
263 DEF(GL_SUBPIXEL_BITS)
264 DEF(GL_INDEX_BITS)
265 DEF(GL_RED_BITS)
266 DEF(GL_GREEN_BITS)
267 DEF(GL_BLUE_BITS)
268 DEF(GL_ALPHA_BITS)
269 DEF(GL_DEPTH_BITS)
270 DEF(GL_STENCIL_BITS)
271 DEF(GL_ACCUM_RED_BITS)
272 DEF(GL_ACCUM_GREEN_BITS)
273 DEF(GL_ACCUM_BLUE_BITS)
274 DEF(GL_ACCUM_ALPHA_BITS)
275 DEF(GL_NAME_STACK_DEPTH)
276 DEF(GL_AUTO_NORMAL)
277 DEF(GL_MAP1_COLOR_4)
278 DEF(GL_MAP1_INDEX)
279 DEF(GL_MAP1_NORMAL)
280 DEF(GL_MAP1_TEXTURE_COORD_1)
281 DEF(GL_MAP1_TEXTURE_COORD_2)
282 DEF(GL_MAP1_TEXTURE_COORD_3)
283 DEF(GL_MAP1_TEXTURE_COORD_4)
284 DEF(GL_MAP1_VERTEX_3)
285 DEF(GL_MAP1_VERTEX_4)
286 DEF(GL_MAP2_COLOR_4)
287 DEF(GL_MAP2_INDEX)
288 DEF(GL_MAP2_NORMAL)
289 DEF(GL_MAP2_TEXTURE_COORD_1)
290 DEF(GL_MAP2_TEXTURE_COORD_2)
291 DEF(GL_MAP2_TEXTURE_COORD_3)
292 DEF(GL_MAP2_TEXTURE_COORD_4)
293 DEF(GL_MAP2_VERTEX_3)
294 DEF(GL_MAP2_VERTEX_4)
295 DEF(GL_MAP1_GRID_DOMAIN)
296 DEF(GL_MAP1_GRID_SEGMENTS)
297 DEF(GL_MAP2_GRID_DOMAIN)
298 DEF(GL_MAP2_GRID_SEGMENTS)
299 DEF(GL_TEXTURE_1D)
300 DEF(GL_TEXTURE_2D)
301 DEF(GL_FEEDBACK_BUFFER_POINTER)
302 DEF(GL_FEEDBACK_BUFFER_SIZE)
303 DEF(GL_FEEDBACK_BUFFER_TYPE)
304 DEF(GL_SELECTION_BUFFER_POINTER)
305 DEF(GL_SELECTION_BUFFER_SIZE)
306 DEF(GL_COLOR)
307 DEF(GL_DEPTH)
308 DEF(GL_STENCIL)
309 DEF(GL_COLOR_INDEX)
310 DEF(GL_STENCIL_INDEX)
311 DEF(GL_DEPTH_COMPONENT)
312 DEF(GL_RED)
313 DEF(GL_GREEN)
314 DEF(GL_BLUE)
315 DEF(GL_ALPHA)
316 DEF(GL_RGB)
317 DEF(GL_RGBA)
318 DEF(GL_LUMINANCE)
319 DEF(GL_LUMINANCE_ALPHA)
320 DEF(GL_PIXEL_MAP_I_TO_I)
321 DEF(GL_PIXEL_MAP_S_TO_S)
322 DEF(GL_PIXEL_MAP_I_TO_R)
323 DEF(GL_PIXEL_MAP_I_TO_G)
324 DEF(GL_PIXEL_MAP_I_TO_B)
325 DEF(GL_PIXEL_MAP_I_TO_A)
326 DEF(GL_PIXEL_MAP_R_TO_R)
327 DEF(GL_PIXEL_MAP_G_TO_G)
328 DEF(GL_PIXEL_MAP_B_TO_B)
329 DEF(GL_PIXEL_MAP_A_TO_A)
330 DEF(GL_UNPACK_SWAP_BYTES)
331 DEF(GL_UNPACK_LSB_FIRST)
332 DEF(GL_UNPACK_ROW_LENGTH)
333 DEF(GL_UNPACK_SKIP_ROWS)
334 DEF(GL_UNPACK_SKIP_PIXELS)
335 DEF(GL_UNPACK_ALIGNMENT)
336 DEF(GL_PACK_SWAP_BYTES)
337 DEF(GL_PACK_LSB_FIRST)
338 DEF(GL_PACK_ROW_LENGTH)
339 DEF(GL_PACK_SKIP_ROWS)
340 DEF(GL_PACK_SKIP_PIXELS)
341 DEF(GL_PACK_ALIGNMENT)
342 DEF(GL_MAP_COLOR)
343 DEF(GL_MAP_STENCIL)
344 DEF(GL_INDEX_SHIFT)
345 DEF(GL_INDEX_OFFSET)
346 DEF(GL_RED_SCALE)
347 DEF(GL_RED_BIAS)
348 DEF(GL_GREEN_SCALE)
349 DEF(GL_GREEN_BIAS)
350 DEF(GL_BLUE_SCALE)
351 DEF(GL_BLUE_BIAS)
352 DEF(GL_ALPHA_SCALE)
353 DEF(GL_ALPHA_BIAS)
354 DEF(GL_DEPTH_SCALE)
355 DEF(GL_DEPTH_BIAS)
356 DEF(GL_BITMAP)
357 DEF(GL_BYTE)
358 DEF(GL_UNSIGNED_BYTE)
359 DEF(GL_SHORT)
360 DEF(GL_UNSIGNED_SHORT)
361 DEF(GL_INT)
362 DEF(GL_UNSIGNED_INT)
363 DEF(GL_FLOAT)
364 DEF(GL_POINT)
365 DEF(GL_LINE)
366 DEF(GL_FILL)
367 DEF(GL_RENDER)
368 DEF(GL_FEEDBACK)
369 DEF(GL_SELECT)
370 DEF(GL_FLAT)
371 DEF(GL_SMOOTH)
372 DEF(GL_ZERO)
373 DEF(GL_KEEP)
374 DEF(GL_REPLACE)
375 DEF(GL_INCR)
376 DEF(GL_DECR)
377 DEF(GL_INVERT)
378 DEF(GL_VENDOR)
379 DEF(GL_RENDERER)
380 DEF(GL_VERSION)
381 DEF(GL_EXTENSIONS)
382 DEF(GL_S)
383 DEF(GL_T)
384 DEF(GL_R)
385 DEF(GL_Q)
386 DEF(GL_SHORT)
387 DEF(GL_INT)
388 DEF(GL_FLOAT)
389 DEF(GL_DOUBLE)
390 DEF(GL_MODULATE)
391 DEF(GL_DECAL)
392 DEF(GL_BLEND)
393 DEF(GL_REPLACE)
394 DEF(GL_TEXTURE_ENV_MODE)
395 DEF(GL_TEXTURE_ENV_COLOR)
396 DEF(GL_TEXTURE_ENV)
397 DEF(GL_EYE_LINEAR)
398 DEF(GL_OBJECT_LINEAR)
399 DEF(GL_SPHERE_MAP)
400 DEF(GL_TEXTURE_GEN_MODE)
401 DEF(GL_OBJECT_PLANE)
402 DEF(GL_EYE_PLANE)
403 DEF(GL_NEAREST)
404 DEF(GL_LINEAR)
405 DEF(GL_NEAREST)
406 DEF(GL_LINEAR)
407 DEF(GL_NEAREST_MIPMAP_NEAREST)
408 DEF(GL_LINEAR_MIPMAP_NEAREST)
409 DEF(GL_NEAREST_MIPMAP_LINEAR)
410 DEF(GL_LINEAR_MIPMAP_LINEAR)
411 DEF(GL_TEXTURE_MAG_FILTER)
412 DEF(GL_TEXTURE_MIN_FILTER)
413 DEF(GL_TEXTURE_WRAP_S)
414 DEF(GL_TEXTURE_WRAP_T)
415 DEF(GL_TEXTURE_BORDER_COLOR)
416 DEF(GL_TEXTURE_PRIORITY)
417 DEF(GL_TEXTURE_1D)
418 DEF(GL_TEXTURE_2D)
419 DEF(GL_PROXY_TEXTURE_1D)
420 DEF(GL_PROXY_TEXTURE_2D)
421 DEF(GL_CLAMP)
422 DEF(GL_REPEAT)
423 DEF(GL_SHORT)
424 DEF(GL_INT)
425 DEF(GL_FLOAT)
426 DEF(GL_DOUBLE)
427 DEF(GL_CLIENT_PIXEL_STORE_BIT)
428 DEF(GL_CLIENT_VERTEX_ARRAY_BIT)
429 /* DEF(GL_CLIENT_ALL_ATTRIB_BITS) */
430 DEF(GL_POLYGON_OFFSET_FACTOR)
431 DEF(GL_POLYGON_OFFSET_UNITS)
432 DEF(GL_POLYGON_OFFSET_POINT)
433 DEF(GL_POLYGON_OFFSET_LINE)
434 DEF(GL_POLYGON_OFFSET_FILL)
#define DEF(x)
Definition: win_qgl.cpp:756
#define GL_TEXTURE_3D
Definition: glext.h:71
#define GL_TEXTURE_CUBE_MAP_EXT
Definition: glext.h:1723