Coin: gl.h Source File

| Coin3D is Free Software, published under the BSD 3-clause license. | https://coin3d.github.io https://www.kongsberg.com/en/kogt/

gl.h
1#ifndef COIN_GL_H
2#define COIN_GL_H
3
4/**************************************************************************\
5 * Copyright (c) Kongsberg Oil & Gas Technologies AS
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions are
10 * met:
11 *
12 * Redistributions of source code must retain the above copyright notice,
13 * this list of conditions and the following disclaimer.
14 *
15 * Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 *
19 * Neither the name of the copyright holder nor the names of its
20 * contributors may be used to endorse or promote products derived from
21 * this software without specific prior written permission.
22 *
23 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27 * HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34\**************************************************************************/
35
36/* This header file is supposed to take care of all operating system
37 * dependent anomalies connected to the gl.h include file. */
38
39/**********************************************************************/
40
41/* This define is at least needed before inclusion of the header files
42 that are part of NVidia's Linux drivers v41.91. Without it, none of
43 the extension and OpenGL 1.1+ function prototypes will be set
44 up. */
45#define GL_GLEXT_PROTOTYPES 1
46
47#include <Inventor/system/gl-headers.h>
48
49/**********************************************************************/
50
51/*
52 Some systems have very old gl.h files, and other systems include
53 extension enums which we want to use if we run-time detect the
54 extension function calls to be available, so we just define these
55 values here if not defined already.
56*/
57
58/* Note: GL_CLAMP_TO_EDGE_EXT and GL_CLAMP_TO_EDGE_SGIS have the same
59 enum values as GL_CLAMP_TO_EDGE. We only use the "real" enum
60 name. */
61
62#ifndef GL_CLAMP_TO_EDGE
63#define GL_CLAMP_TO_EDGE 0x812F
64#endif /* !GL_CLAMP_TO_EDGE */
65
66#ifndef GL_CLAMP_TO_BORDER
67#define GL_CLAMP_TO_BORDER 0x812D
68#endif /* GL_CLAMP_TO_BORDER */
69
70/* Define for the REPLACE texture model (OpenGL 1.1). */
71#ifndef GL_REPLACE
72#define GL_REPLACE 0x1E01
73#endif /* !GL_REPLACE */
74
75/* Note: all following enums also have an *_EXT version with the same
76 enum value as the "real" enum. We only use the "real" enum name in
77 Coin code. */
78
79#ifndef GL_MAX_3D_TEXTURE_SIZE
80#define GL_MAX_3D_TEXTURE_SIZE 0x8073
81#endif /* !GL_MAX_3D_TEXTURE_SIZE */
82#ifndef GL_PACK_IMAGE_HEIGHT
83#define GL_PACK_IMAGE_HEIGHT 0x806C
84#endif /* !GL_PACK_IMAGE_HEIGHT */
85#ifndef GL_PACK_SKIP_IMAGES
86#define GL_PACK_SKIP_IMAGES 0x806B
87#endif /* !GL_PACK_SKIP_IMAGES */
88#ifndef GL_PROXY_TEXTURE_2D
89#define GL_PROXY_TEXTURE_2D 0x8064
90#endif /* !GL_PROXY_TEXTURE_2D */
91#ifndef GL_PROXY_TEXTURE_3D
92#define GL_PROXY_TEXTURE_3D 0x8070
93#endif /* !GL_PROXY_TEXTURE_3D */
94#ifndef GL_TEXTURE_3D
95#define GL_TEXTURE_3D 0x806F
96#endif /* !GL_TEXTURE_3D */
97#ifndef GL_TEXTURE_DEPTH
98#define GL_TEXTURE_DEPTH 0x8071
99#endif /* !GL_TEXTURE_DEPTH */
100#ifndef GL_TEXTURE_WRAP_R
101#define GL_TEXTURE_WRAP_R 0x8072
102#endif /* !GL_TEXTURE_WRAP_R */
103#ifndef GL_UNPACK_IMAGE_HEIGHT
104#define GL_UNPACK_IMAGE_HEIGHT 0x806E
105#endif /* !GL_UNPACK_IMAGE_HEIGHT */
106#ifndef GL_UNPACK_SKIP_IMAGES
107#define GL_UNPACK_SKIP_IMAGES 0x806D
108#endif /* !GL_UNPACK_SKIP_IMAGES */
109#ifndef GL_COLOR_TABLE_WIDTH
110#define GL_COLOR_TABLE_WIDTH 0x80D9
111#endif /* !GL_COLOR_TABLE_WIDTH */
112
113/* OpenGL multitexture defines. For now we just define for maximum sixteen units */
114#ifndef GL_TEXTURE0
115#define GL_TEXTURE0 0x84C0
116#endif /* !GL_TEXTURE0 */
117#ifndef GL_TEXTURE1
118#define GL_TEXTURE1 0x84C1
119#endif /* !GL_TEXTURE1 */
120#ifndef GL_TEXTURE2
121#define GL_TEXTURE2 0x84C2
122#endif /* !GL_TEXTURE2 */
123#ifndef GL_TEXTURE3
124#define GL_TEXTURE3 0x84C3
125#endif /* !GL_TEXTURE3 */
126#ifndef GL_TEXTURE4
127#define GL_TEXTURE4 0x84C4
128#endif /* !GL_TEXTURE4 */
129#ifndef GL_TEXTURE5
130#define GL_TEXTURE5 0x84C5
131#endif /* !GL_TEXTURE5 */
132#ifndef GL_TEXTURE6
133#define GL_TEXTURE6 0x84C6
134#endif /* !GL_TEXTURE6 */
135#ifndef GL_TEXTURE7
136#define GL_TEXTURE7 0x84C7
137#endif /* !GL_TEXTURE7 */
138#ifndef GL_TEXTURE8
139#define GL_TEXTURE8 0x84C8
140#endif /* !GL_TEXTURE8 */
141#ifndef GL_TEXTURE9
142#define GL_TEXTURE9 0x84C9
143#endif /* !GL_TEXTURE9 */
144#ifndef GL_TEXTURE10
145#define GL_TEXTURE10 0x84CA
146#endif /* !GL_TEXTURE10 */
147#ifndef GL_TEXTURE11
148#define GL_TEXTURE11 0x84CB
149#endif /* !GL_TEXTURE11 */
150#ifndef GL_TEXTURE12
151#define GL_TEXTURE12 0x84CC
152#endif /* !GL_TEXTURE12 */
153#ifndef GL_TEXTURE13
154#define GL_TEXTURE13 0x84CD
155#endif /* !GL_TEXTURE13 */
156#ifndef GL_TEXTURE14
157#define GL_TEXTURE14 0x84CE
158#endif /* !GL_TEXTURE14 */
159#ifndef GL_TEXTURE15
160#define GL_TEXTURE15 0x84CF
161#endif /* !GL_TEXTURE15 */
162
163#ifndef GL_MAX_TEXTURE_UNITS
164#define GL_MAX_TEXTURE_UNITS 0x84E2
165#endif /* !GL_MAX_TEXTURE_UNITS */
166#ifndef GL_ACTIVE_TEXTURE
167#define GL_ACTIVE_TEXTURE 0x84E0
168#endif /* !GL_ACTIVE_TEXTURE */
169#ifndef GL_CLIENT_ACTIVE_TEXTURE
170#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
171#endif /* !GL_CLIENT_ACTIVE_TEXTURE */
172/* A define from the old EXT_polygon_offset from SGI. This define at
173 least missing from Microsoft's OpenGL 1.1 SDK. */
174#ifndef GL_POLYGON_OFFSET_EXT
175#define GL_POLYGON_OFFSET_EXT 0x8037
176#endif /* !GL_POLYGON_OFFSET_EXT */
177
178/* color table extension defines */
179
180#ifndef GL_COLOR_TABLE
181#define GL_COLOR_TABLE 0x80D0
182#endif /* !GL_COLOR_TABLE */
183
184#ifndef GL_COLOR_INDEX1_EXT
185#define GL_COLOR_INDEX1_EXT 0x80E2
186#endif /* !GL_COLOR_INDEX1_EXT */
187
188#ifndef GL_COLOR_INDEX2_EXT
189#define GL_COLOR_INDEX2_EXT 0x80E3
190#endif /* !GL_COLOR_INDEX2_EXT */
191
192#ifndef GL_COLOR_INDEX4_EXT
193#define GL_COLOR_INDEX4_EXT 0x80E4
194#endif /* !GL_COLOR_INDEX4_EXT */
195
196#ifndef GL_COLOR_INDEX8_EXT
197#define GL_COLOR_INDEX8_EXT 0x80E5
198#endif /* !GL_COLOR_INDEX8_EXT */
199
200#ifndef GL_COLOR_INDEX12_EXT
201#define GL_COLOR_INDEX12_EXT 0x80E6
202#endif /* !GL_COLOR_INDEX12_EXT */
203
204#ifndef GL_COLOR_INDEX16_EXT
205#define GL_COLOR_INDEX16_EXT 0x80E7
206#endif /* !GL_COLOR_INDEX16_EXT */
207
208#ifndef GL_COLOR_TABLE_FORMAT_EXT
209#define GL_COLOR_TABLE_FORMAT_EXT 0x80D8
210#endif /* !GL_COLOR_TABLE_FORMAT_EXT */
211
212#ifndef GL_COLOR_TABLE_RED_SIZE_EXT
213#define GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA
214#endif /* !GL_COLOR_TABLE_RED_SIZE_EXT */
215
216#ifndef GL_COLOR_TABLE_GREEN_SIZE_EXT
217#define GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB
218#endif /* !GL_COLOR_TABLE_GREEN_SIZE_EXT */
219
220#ifndef GL_COLOR_TABLE_BLUE_SIZE_EXT
221#define GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC
222#endif /* !GL_COLOR_TABLE_BLUE_SIZE_EXT */
223
224#ifndef GL_COLOR_TABLE_ALPHA_SIZE_EXT
225#define GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD
226#endif /* !GL_COLOR_TABLE_ALPHA_SIZE_EXT */
227
228#ifndef GL_COLOR_TABLE_LUMINANCE_SIZE_EXT
229#define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE
230#endif /* !GL_COLOR_TABLE_LUMINANCE_SIZE_EXT */
231
232#ifndef GL_COLOR_TABLE_INTENSITY_SIZE_EXT
233#define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF
234#endif /* !GL_COLOR_TABLE_INTENSITY_SIZE_EXT */
235
236#ifndef GL_TEXTURE_INDEX_SIZE_EXT
237#define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
238#endif /* !GL_TEXTURE_INDEX_SIZE_EXT */
239
240/* texture compression extension defines */
241
242#ifndef GL_COMPRESSED_ALPHA_ARB
243#define GL_COMPRESSED_ALPHA_ARB 0x84E9
244#endif /* !GL_COMPRESSED_ALPHA_ARB */
245
246#ifndef GL_COMPRESSED_LUMINANCE_ARB
247#define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
248#endif /* !GL_COMPRESSED_LUMINANCE_ARB */
249
250#ifndef GL_COMPRESSED_LUMINANCE_ALPHA_ARB
251#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
252#endif /* !GL_COMPRESSED_LUMINANCE_ALPHA_ARB */
253
254#ifndef GL_COMPRESSED_INTENSITY_ARB
255#define GL_COMPRESSED_INTENSITY_ARB 0x84EC
256#endif /* !GL_COMPRESSED_INTENSITY_ARB */
257
258#ifndef GL_COMPRESSED_RGB_ARB
259#define GL_COMPRESSED_RGB_ARB 0x84ED
260#endif /* !GL_COMPRESSED_RGB_ARB */
261
262#ifndef GL_COMPRESSED_RGBA_ARB
263#define GL_COMPRESSED_RGBA_ARB 0x84EE
264#endif /* !GL_COMPRESSED_RGBA_ARB */
265
266#ifndef GL_TEXTURE_COMPRESSION_HINT_ARB
267#define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
268#endif /* !GL_TEXTURE_COMPRESSION_HINT_ARB */
269
270#ifndef GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB
271#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
272#endif /* !GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB */
273
274#ifndef GL_TEXTURE_COMPRESSED_ARB
275#define GL_TEXTURE_COMPRESSED_ARB 0x86A1
276#endif /* !GL_TEXTURE_COMPRESSED_ARB */
277
278#ifndef GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB
279#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
280#endif /* !GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB */
281
282#ifndef GL_COMPRESSED_TEXTURE_FORMATS_ARB
283#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
284#endif /* !GL_COMPRESSED_TEXTURE_FORMATS_ARB */
285
286/* ARB_depth_texture */
287#ifndef GL_DEPTH_COMPONENT16
288#define GL_DEPTH_COMPONENT16 0x81A5
289#endif /* GL_DEPTH_COMPONENT16 */
290#ifndef GL_DEPTH_COMPONENT24
291#define GL_DEPTH_COMPONENT24 0x81A6
292#endif /* GL_DEPTH_COMPONENT24 */
293#ifndef GL_DEPTH_COMPONENT32
294#define GL_DEPTH_COMPONENT32 0x81A7
295#endif /* GL_DEPTH_COMPONENT32 */
296#ifndef GL_TEXTURE_DEPTH_SIZE
297#define GL_TEXTURE_DEPTH_SIZE 0x884A
298#endif /* GL_TEXTURE_DEPTH_SIZE */
299#ifndef GL_DEPTH_TEXTURE_MODE
300#define GL_DEPTH_TEXTURE_MODE 0x884B
301#endif /* GL_DEPTH_TEXTURE_MODE */
302
303/* Texture pixel formats (OpenGL 1.1) */
304
305#ifndef GL_R3_G3_B2
306#define GL_R3_G3_B2 0x2A10
307#endif /* GL_R3_G3_B2 */
308#ifndef GL_RGB4
309#define GL_RGB4 0x804F
310#endif /* GL_RGB4 */
311#ifndef GL_RGB5
312#define GL_RGB5 0x8050
313#endif /* GL_RGB5 */
314#ifndef GL_RGB8
315#define GL_RGB8 0x8051
316#endif /* GL_RGB8 */
317#ifndef GL_RGB10
318#define GL_RGB10 0x8052
319#endif /* GL_RGB10 */
320#ifndef GL_RGB12
321#define GL_RGB12 0x8053
322#endif /* GL_RGB12 */
323#ifndef GL_RGB16
324#define GL_RGB16 0x8054
325#endif /* GL_RGB16 */
326#ifndef GL_RGBA2
327#define GL_RGBA2 0x8055
328#endif /* GL_RGBA2 */
329#ifndef GL_RGBA4
330#define GL_RGBA4 0x8056
331#endif /* GL_RGBA4 */
332#ifndef GL_RGB5_A1
333#define GL_RGB5_A1 0x8057
334#endif /* GL_RGB5_A1 */
335#ifndef GL_RGBA8
336#define GL_RGBA8 0x8058
337#endif /* GL_RGBA8 */
338#ifndef GL_RGB10_A2
339#define GL_RGB10_A2 0x8059
340#endif /* GL_RGB10_A2 */
341#ifndef GL_RGBA12
342#define GL_RGBA12 0x805A
343#endif /* GL_RGBA12 */
344#ifndef GL_RGBA16
345#define GL_RGBA16 0x805B
346#endif /* GL_RGBA16 */
347#ifndef GL_BGR
348#define GL_BGR 0x80E0
349#endif /* GL_BGR */
350
351/* Floating point texture formats (ARB_texture_float) */
352
353#ifndef GL_RGBA32F_ARB
354#define GL_RGBA32F_ARB 0x8814
355#endif /* GL_RGBA32F_ARB */
356#ifndef GL_RGB32F_ARB
357#define GL_RGB32F_ARB 0x8815
358#endif /* GL_RGB32F_ARB */
359#ifndef GL_ALPHA32F_ARB
360#define GL_ALPHA32F_ARB 0x8816
361#endif /* GL_ALPHA32F_ARB */
362#ifndef GL_INTENSITY32F_ARB
363#define GL_INTENSITY32F_ARB 0x8817
364#endif /* GL_INTENSITY32F_ARB */
365#ifndef GL_LUMINANCE32F_ARB
366#define GL_LUMINANCE32F_ARB 0x8818
367#endif /* GL_LUMINANCE32F_ARB */
368#ifndef GL_LUMINANCE_ALPHA32F_ARB
369#define GL_LUMINANCE_ALPHA32F_ARB 0x8819
370#endif /* GL_LUMINANCE_ALPHA32F_ARB */
371#ifndef GL_RGBA16F_ARB
372#define GL_RGBA16F_ARB 0x881A
373#endif /* GL_RGBA16F_ARB */
374#ifndef GL_RGB16F_ARB
375#define GL_RGB16F_ARB 0x881B
376#endif /* GL_RGB16F_ARB */
377#ifndef GL_ALPHA16F_ARB
378#define GL_ALPHA16F_ARB 0x881C
379#endif /* GL_ALPHA16F_ARB */
380#ifndef GL_INTENSITY16F_ARB
381#define GL_INTENSITY16F_ARB 0x881D
382#endif /* GL_INTENSITY16F_ARB */
383#ifndef GL_LUMINANCE16F_ARB
384#define GL_LUMINANCE16F_ARB 0x881E
385#endif /* GL_LUMINANCE16F_ARB */
386#ifndef GL_LUMINANCE_ALPHA16F_ARB
387#define GL_LUMINANCE_ALPHA16F_ARB 0x881F
388#endif /* GL_LUMINANCE_ALPHA16F_ARB */
389
390#ifndef GL_RGBA16_EXT
391#define GL_RGBA16_EXT 0x805B
392#endif /* GL_RGBA16_EXT */
393
394
395/* Shadow-related */
396
397/* FIXME: consider if we should change the code that uses these. 20070316 pederb. */
398/* (Why? --mortene.) */
399
400/*
401
402 We need to decide if we're going to use the _ARB versions of the
403 defines or if we're going to just skip using the _ARB postfix. Most (all?)
404 example code are using the _ARB postfix, so it might be a bit confusing if
405 the OpenGL code in Coin doesn't use it.
406
407 I feel we should supply the _ARB versions of the defines, since
408 that's what everybody is using, and glext.h (supplied by Mesa and
409 nVidia) also use _ARB. The problem is when an ARB is taken in as
410 part of the OpenGL standard. We then might have to supply both
411 versions of the defines.
412
413 pederb, 20070326
414*/
415
416#ifndef GL_TEXTURE_COMPARE_MODE
417#define GL_TEXTURE_COMPARE_MODE 0x884C
418#endif /* GL_TEXTURE_COMPARE_MODE */
419#ifndef GL_TEXTURE_COMPARE_FUNC
420#define GL_TEXTURE_COMPARE_FUNC 0x884D
421#endif /* GL_TEXTURE_COMPARE_FUNC */
422#ifndef GL_COMPARE_R_TO_TEXTURE
423#define GL_COMPARE_R_TO_TEXTURE 0x884E
424#endif /* GL_COMPARE_R_TO_TEXTURE */
425
426/* glBlendEquation defines */
427#ifndef GL_MIN
428#define GL_MIN 0x8007
429#endif /* GL_MIN */
430#ifndef GL_MAX
431#define GL_MAX 0x8008
432#endif /* GL_MAX */
433#ifndef GL_FUNC_ADD
434#define GL_FUNC_ADD 0x8006
435#endif /* GL_FUNC_ADD */
436#ifndef GL_FUNC_SUBTRACT
437#define GL_FUNC_SUBTRACT 0x800A
438#endif /* GL_FUNC_SUBTRACT */
439#ifndef GL_FUNC_REVERSE_SUBTRACT
440#define GL_FUNC_REVERSE_SUBTRACT 0x800B
441#endif /* GL_FUNC_REVERSE_SUBTRACT */
442
443/* glVertexArray defines */
444#ifndef GL_VERTEX_ARRAY
445#define GL_VERTEX_ARRAY 0x8074
446#endif /* GL_VERTEX_ARRAY */
447#ifndef GL_NORMAL_ARRAY
448#define GL_NORMAL_ARRAY 0x8075
449#endif /* GL_NORMAL_ARRAY */
450#ifndef GL_COLOR_ARRAY
451#define GL_COLOR_ARRAY 0x8076
452#endif /* GL_COLOR_ARRAY */
453#ifndef GL_INDEX_ARRAY
454#define GL_INDEX_ARRAY 0x8077
455#endif /* GL_INDEX_ARRAY */
456#ifndef GL_TEXTURE_COORD_ARRAY
457#define GL_TEXTURE_COORD_ARRAY 0x8078
458#endif /* GL_TEXTURE_COORD_ARRAY */
459#ifndef GL_V3F
460#define GL_V3F 0x2A21
461#endif /* GL_V3F */
462#ifndef GL_C4UB_V3F
463#define GL_C4UB_V3F 0x2A23
464#endif /* GL_C4UB_V3F */
465#ifndef GL_C3F_V3F
466#define GL_C3F_V3F 0x2A24
467#endif /* GL_C3F_V3F */
468#ifndef GL_N3F_V3F
469#define GL_N3F_V3F 0x2A25
470#endif /* GL_N3F_V3F */
471#ifndef GL_C4F_N3F_V3F
472#define GL_C4F_N3F_V3F 0x2A26
473#endif /* GL_C4F_N3F_V3F */
474#ifndef GL_T2F_V3F
475#define GL_T2F_V3F 0x2A27
476#endif /* GL_T2F_V3F */
477#ifndef GL_T2F_C4UB_V3F
478#define GL_T2F_C4UB_V3F 0x2A29
479#endif /* GL_T2F_C4UB_V3F */
480#ifndef GL_T2F_C3F_V3F
481#define GL_T2F_C3F_V3F 0x2A2A
482#endif /* GL_T2F_C3F_V3F */
483#ifndef GL_T2F_N3F_V3F
484#define GL_T2F_N3F_V3F 0x2A2B
485#endif /* GL_T2F_N3F_V3F */
486#ifndef GL_T2F_C4F_N3F_V3F
487#define GL_T2F_C4F_N3F_V3F 0x2A2C
488#endif /* GL_T2F_C4F_N3F_V3F */
489
490/* glVertexArrayRangeNV defines */
491#ifndef GL_VERTEX_ARRAY_RANGE_NV
492#define GL_VERTEX_ARRAY_RANGE_NV 0x851D
493#endif /* GL_VERTEX_ARRAY_RANGE_NV */
494#ifndef GL_VERTEX_ARRAY_RANGE_LENGTH_NV
495#define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
496#endif /* GL_VERTEX_ARRAY_RANGE_LENGTH_NV */
497#ifndef GL_VERTEX_ARRAY_RANGE_VALID_NV
498#define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
499#endif /* GL_VERTEX_ARRAY_RANGE_VALID_NV */
500#ifndef GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV
501#define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
502#endif /* GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV */
503#ifndef GL_VERTEX_ARRAY_RANGE_POINTER_NV
504#define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
505#endif /* GL_VERTEX_ARRAY_RANGE_POINTER_NV */
506
507/* some glVertexBufferObject defines */
508#ifndef GL_ARRAY_BUFFER
509#define GL_ARRAY_BUFFER 0x8892
510#endif /* GL_ARRAY_BUFFER */
511#ifndef GL_ELEMENT_ARRAY_BUFFER
512#define GL_ELEMENT_ARRAY_BUFFER 0x8893
513#endif /* GL_ELEMENT_ARRAY_BUFFER */
514#ifndef GL_READ_ONLY
515#define GL_READ_ONLY 0x88B8
516#endif /* GL_READ_ONLY */
517#ifndef GL_WRITE_ONLY
518#define GL_WRITE_ONLY 0x88B9
519#endif /* GL_WRITE_ONLY */
520#ifndef GL_READ_WRITE
521#define GL_READ_WRITE 0x88BA
522#endif /* GL_READ_WRITE */
523#ifndef GL_BUFFER_ACCESS
524#define GL_BUFFER_ACCESS 0x88BB
525#endif /* GL_BUFFER_ACCESS */
526#ifndef GL_BUFFER_MAPPED
527#define GL_BUFFER_MAPPED 0x88BC
528#endif /* GL_BUFFER_MAPPED */
529#ifndef GL_BUFFER_MAP_POINTER
530#define GL_BUFFER_MAP_POINTER 0x88BD
531#endif /* GL_BUFFER_MAP_POINTER */
532#ifndef GL_STREAM_DRAW
533#define GL_STREAM_DRAW 0x88E0
534#endif /* GL_STREAM_DRAW */
535#ifndef GL_STREAM_READ
536#define GL_STREAM_READ 0x88E1
537#endif /* GL_STREAM_READ */
538#ifndef GL_STREAM_COPY
539#define GL_STREAM_COPY 0x88E2
540#endif /* GL_STREAM_COPY */
541#ifndef GL_STATIC_DRAW
542#define GL_STATIC_DRAW 0x88E4
543#endif /* GL_STATIC_DRAW */
544#ifndef GL_STATIC_READ
545#define GL_STATIC_READ 0x88E5
546#endif /* GL_STATIC_READ */
547#ifndef GL_STATIC_COPY
548#define GL_STATIC_COPY 0x88E6
549#endif /* GL_STATIC_COPY */
550#ifndef GL_DYNAMIC_DRAW
551#define GL_DYNAMIC_DRAW 0x88E8
552#endif /* GL_DYNAMIC_DRAW */
553#ifndef GL_DYNAMIC_READ
554#define GL_DYNAMIC_READ 0x88E9
555#endif /* GL_DYNAMIC_READ */
556#ifndef GL_DYNAMIC_COPY
557#define GL_DYNAMIC_COPY 0x88EA
558#endif /* GL_DYNAMIC_COPY */
559
560
561/* NViDIA GL_NV_register_combiners extension */
562#ifndef GL_REGISTER_COMBINERS_NV
563#define GL_REGISTER_COMBINERS_NV 0x8522
564#endif /* GL_REGISTER_COMBINERS_NV */
565#ifndef GL_COMBINER0_NV
566#define GL_COMBINER0_NV 0x8550
567#endif /* GL_COMBINER0_NV */
568#ifndef GL_COMBINER1_NV
569#define GL_COMBINER1_NV 0x8551
570#endif /* GL_COMBINER1_NV */
571#ifndef GL_COMBINER2_NV
572#define GL_COMBINER2_NV 0x8552
573#endif /* GL_COMBINER2_NV */
574#ifndef GL_COMBINER3_NV
575#define GL_COMBINER3_NV 0x8553
576#endif /* GL_COMBINER3_NV */
577#ifndef GL_COMBINER4_NV
578#define GL_COMBINER4_NV 0x8554
579#endif /* GL_COMBINER4_NV */
580#ifndef GL_COMBINER5_NV
581#define GL_COMBINER5_NV 0x8555
582#endif /* GL_COMBINER5_NV */
583#ifndef GL_COMBINER6_NV
584#define GL_COMBINER6_NV 0x8556
585#endif /* GL_COMBINER6_NV */
586#ifndef GL_COMBINER7_NV
587#define GL_COMBINER7_NV 0x8557
588#endif /* GL_COMBINER7_NV */
589#ifndef GL_VARIABLE_A_NV
590#define GL_VARIABLE_A_NV 0x8523
591#endif /* GL_VARIABLE_A_NV */
592#ifndef GL_VARIABLE_B_NV
593#define GL_VARIABLE_B_NV 0x8524
594#endif /* GL_VARIABLE_B_NV */
595#ifndef GL_VARIABLE_C_NV
596#define GL_VARIABLE_C_NV 0x8525
597#endif /* GL_VARIABLE_C_NV */
598#ifndef GL_VARIABLE_D_NV
599#define GL_VARIABLE_D_NV 0x8526
600#endif /* GL_VARIABLE_D_NV */
601#ifndef GL_VARIABLE_E_NV
602#define GL_VARIABLE_E_NV 0x8527
603#endif /* GL_VARIABLE_E_NV */
604#ifndef GL_VARIABLE_F_NV
605#define GL_VARIABLE_F_NV 0x8528
606#endif /* GL_VARIABLE_F_NV */
607#ifndef GL_VARIABLE_G_NV
608#define GL_VARIABLE_G_NV 0x8529
609#endif /* GL_VARIABLE_G_NV */
610#ifndef GL_CONSTANT_COLOR0_NV
611#define GL_CONSTANT_COLOR0_NV 0x852A
612#endif /* GL_CONSTANT_COLOR0_NV */
613#ifndef GL_CONSTANT_COLOR1_NV
614#define GL_CONSTANT_COLOR1_NV 0x852B
615#endif /* GL_CONSTANT_COLOR1_NV */
616#ifndef GL_PRIMARY_COLOR_NV
617#define GL_PRIMARY_COLOR_NV 0x852C
618#endif /* GL_PRIMARY_COLOR_NV */
619#ifndef GL_SECONDARY_COLOR_NV
620#define GL_SECONDARY_COLOR_NV 0x852D
621#endif /* GL_SECONDARY_COLOR_NV */
622#ifndef GL_SPARE0_NV
623#define GL_SPARE0_NV 0x852E
624#endif /* GL_SPARE0_NV */
625#ifndef GL_SPARE1_NV
626#define GL_SPARE1_NV 0x852F
627#endif /* GL_SPARE1_NV */
628#ifndef GL_UNSIGNED_IDENTITY_NV
629#define GL_UNSIGNED_IDENTITY_NV 0x8536
630#endif /* GL_UNSIGNED_IDENTITY_NV */
631#ifndef GL_UNSIGNED_INVERT_NV
632#define GL_UNSIGNED_INVERT_NV 0x8537
633#endif /* GL_UNSIGNED_INVERT_NV */
634#ifndef GL_EXPAND_NORMAL_NV
635#define GL_EXPAND_NORMAL_NV 0x8538
636#endif /* GL_EXPAND_NORMAL_NV */
637#ifndef GL_EXPAND_NEGATE_NV
638#define GL_EXPAND_NEGATE_NV 0x8539
639#endif /* GL_EXPAND_NEGATE_NV */
640#ifndef GL_HALF_BIAS_NORMAL_NV
641#define GL_HALF_BIAS_NORMAL_NV 0x853A
642#endif /* GL_HALF_BIAS_NORMAL_NV */
643#ifndef GL_HALF_BIAS_NEGATE_NV
644#define GL_HALF_BIAS_NEGATE_NV 0x853B
645#endif /* GL_HALF_BIAS_NEGATE_NV */
646#ifndef GL_SIGNED_IDENTITY_NV
647#define GL_SIGNED_IDENTITY_NV 0x853C
648#endif /* GL_SIGNED_IDENTITY_NV */
649#ifndef GL_SIGNED_NEGATE_NV
650#define GL_SIGNED_NEGATE_NV 0x853D
651#endif /* GL_SIGNED_NEGATE_NV */
652#ifndef GL_E_TIMES_F_NV
653#define GL_E_TIMES_F_NV 0x8531
654#endif /* GL_E_TIMES_F_NV */
655#ifndef GL_SPARE0_PLUS_SECONDARY_COLOR_NV
656#define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
657#endif /* GL_SPARE0_PLUS_SECONDARY_COLOR_NV */
658#ifndef GL_SCALE_BY_TWO_NV
659#define GL_SCALE_BY_TWO_NV 0x853E
660#endif /* GL_SCALE_BY_TWO_NV */
661#ifndef GL_SCALE_BY_FOUR_NV
662#define GL_SCALE_BY_FOUR_NV 0x853F
663#endif /* GL_SCALE_BY_FOUR_NV */
664#ifndef GL_SCALE_BY_ONE_HALF_NV
665#define GL_SCALE_BY_ONE_HALF_NV 0x8540
666#endif /* GL_SCALE_BY_ONE_HALF_NV */
667#ifndef GL_BIAS_BY_NEGATIVE_ONE_HALF_NV
668#define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
669#endif /* GL_BIAS_BY_NEGATIVE_ONE_HALF_NV */
670#ifndef GL_DISCARD_NV
671#define GL_DISCARD_NV 0x8530
672#endif /* GL_DISCARD_NV */
673#ifndef GL_COMBINER_INPUT_NV
674#define GL_COMBINER_INPUT_NV 0x8542
675#endif /* GL_COMBINER_INPUT_NV */
676#ifndef GL_COMBINER_MAPPING_NV
677#define GL_COMBINER_MAPPING_NV 0x8543
678#endif /* GL_COMBINER_MAPPING_NV */
679#ifndef GL_COMBINER_COMPONENT_USAGE_NV
680#define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
681#endif /* GL_COMBINER_COMPONENT_USAGE_NV */
682#ifndef GL_COMBINER_AB_DOT_PRODUCT_NV
683#define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
684#endif /* GL_COMBINER_AB_DOT_PRODUCT_NV */
685#ifndef GL_COMBINER_CD_DOT_PRODUCT_NV
686#define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
687#endif /* GL_COMBINER_CD_DOT_PRODUCT_NV */
688#ifndef GL_COMBINER_MUX_SUM_NV
689#define GL_COMBINER_MUX_SUM_NV 0x8547
690#endif /* GL_COMBINER_MUX_SUM_NV */
691#ifndef GL_COMBINER_SCALE_NV
692#define GL_COMBINER_SCALE_NV 0x8548
693#endif /* GL_COMBINER_SCALE_NV */
694#ifndef GL_COMBINER_BIAS_NV
695#define GL_COMBINER_BIAS_NV 0x8549
696#endif /* GL_COMBINER_BIAS_NV */
697#ifndef GL_COMBINER_AB_OUTPUT_NV
698#define GL_COMBINER_AB_OUTPUT_NV 0x854A
699#endif /* GL_COMBINER_AB_OUTPUT_NV */
700#ifndef GL_COMBINER_CD_OUTPUT_NV
701#define GL_COMBINER_CD_OUTPUT_NV 0x854B
702#endif /* GL_COMBINER_CD_OUTPUT_NV */
703#ifndef GL_COMBINER_SUM_OUTPUT_NV
704#define GL_COMBINER_SUM_OUTPUT_NV 0x854C
705#endif /* GL_COMBINER_SUM_OUTPUT_NV */
706#ifndef GL_MAX_GENERAL_COMBINERS_NV
707#define GL_MAX_GENERAL_COMBINERS_NV 0x854D
708#endif /* GL_MAX_GENERAL_COMBINERS_NV */
709#ifndef GL_NUM_GENERAL_COMBINERS_NV
710#define GL_NUM_GENERAL_COMBINERS_NV 0x854E
711#endif /* GL_NUM_GENERAL_COMBINERS_NV */
712#ifndef GL_COLOR_SUM_CLAMP_NV
713#define GL_COLOR_SUM_CLAMP_NV 0x854F
714#endif /* GL_COLOR_SUM_CLAMP_NV */
715
716/* NViDIA GL_NV_texture_rectangle extension */
717#ifndef GL_TEXTURE_RECTANGLE_NV
718#define GL_TEXTURE_RECTANGLE_NV 0x84F5
719#endif /* GL_TEXTURE_RECTANGLE_NV */
720#ifndef GL_TEXTURE_BINDING_RECTANGLE_NV
721#define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
722#endif /* GL_TEXTURE_BINDING_RECTANGLE_NV */
723#ifndef GL_PROXY_TEXTURE_RECTANGLE_NV
724#define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
725#endif /* GL_PROXY_TEXTURE_RECTANGLE_NV */
726#ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_NV
727#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
728#endif /* GL_MAX_RECTANGLE_TEXTURE_SIZE_NV */
729
730/* GL_EXT_texture_rectangle */
731#ifndef GL_TEXTURE_RECTANGLE_EXT
732#define GL_TEXTURE_RECTANGLE_EXT 0x84F5
733#endif /* GL_TEXTURE_RECTANGLE_EXT */
734#ifndef GL_TEXTURE_BINDING_RECTANGLE_EXT
735#define GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6
736#endif /* GL_TEXTURE_BINDING_RECTANGLE_EXT */
737#ifndef GL_PROXY_TEXTURE_RECTANGLE_EXT
738#define GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7
739#endif /* GL_PROXY_TEXTURE_RECTANGLE_EXT */
740#ifndef GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT
741#define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8
742#endif /* GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT */
743
744/* NViDIA GL_NV_texture_shader extension */
745#ifndef GL_OFFSET_TEXTURE_RECTANGLE_NV
746#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
747#endif /* GL_OFFSET_TEXTURE_RECTANGLE_NV */
748#ifndef GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV
749#define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
750#endif /* GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV */
751#ifndef GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV
752#define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
753#endif /* GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV */
754#ifndef GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV
755#define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
756#endif /* GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV */
757#ifndef GL_UNSIGNED_INT_S8_S8_8_8_NV
758#define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
759#endif /* GL_UNSIGNED_INT_S8_S8_8_8_NV */
760#ifndef GL_UNSIGNED_INT_8_8_S8_S8_REV_NV
761#define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
762#endif /* GL_UNSIGNED_INT_8_8_S8_S8_REV_NV */
763#ifndef GL_DSDT_MAG_INTENSITY_NV
764#define GL_DSDT_MAG_INTENSITY_NV 0x86DC
765#endif /* GL_DSDT_MAG_INTENSITY_NV */
766#ifndef GL_SHADER_CONSISTENT_NV
767#define GL_SHADER_CONSISTENT_NV 0x86DD
768#endif /* GL_SHADER_CONSISTENT_NV */
769#ifndef GL_TEXTURE_SHADER_NV
770#define GL_TEXTURE_SHADER_NV 0x86DE
771#endif /* GL_TEXTURE_SHADER_NV */
772#ifndef GL_SHADER_OPERATION_NV
773#define GL_SHADER_OPERATION_NV 0x86DF
774#endif /* GL_SHADER_OPERATION_NV */
775#ifndef GL_CULL_MODES_NV
776#define GL_CULL_MODES_NV 0x86E0
777#endif /* GL_CULL_MODES_NV */
778#ifndef GL_OFFSET_TEXTURE_MATRIX_NV
779#define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
780#endif /* GL_OFFSET_TEXTURE_MATRIX_NV */
781#ifndef GL_OFFSET_TEXTURE_SCALE_NV
782#define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
783#endif /* GL_OFFSET_TEXTURE_SCALE_NV */
784#ifndef GL_OFFSET_TEXTURE_BIAS_NV
785#define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
786#endif /* GL_OFFSET_TEXTURE_BIAS_NV */
787#ifndef GL_OFFSET_TEXTURE_2D_MATRIX_NV
788#define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV
789#endif /* GL_OFFSET_TEXTURE_2D_MATRIX_NV */
790#ifndef GL_OFFSET_TEXTURE_2D_SCALE_NV
791#define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV
792#endif /* GL_OFFSET_TEXTURE_2D_SCALE_NV */
793#ifndef GL_OFFSET_TEXTURE_2D_BIAS_NV
794#define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV
795#endif /* GL_OFFSET_TEXTURE_2D_BIAS_NV */
796#ifndef GL_PREVIOUS_TEXTURE_INPUT_NV
797#define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
798#endif /* GL_PREVIOUS_TEXTURE_INPUT_NV */
799#ifndef GL_CONST_EYE_NV
800#define GL_CONST_EYE_NV 0x86E5
801#endif /* GL_CONST_EYE_NV */
802#ifndef GL_PASS_THROUGH_NV
803#define GL_PASS_THROUGH_NV 0x86E6
804#endif /* GL_PASS_THROUGH_NV */
805#ifndef GL_CULL_FRAGMENT_NV
806#define GL_CULL_FRAGMENT_NV 0x86E7
807#endif /* GL_CULL_FRAGMENT_NV */
808#ifndef GL_OFFSET_TEXTURE_2D_NV
809#define GL_OFFSET_TEXTURE_2D_NV 0x86E8
810#endif /* GL_OFFSET_TEXTURE_2D_NV */
811#ifndef GL_DEPENDENT_AR_TEXTURE_2D_NV
812#define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
813#endif /* GL_DEPENDENT_AR_TEXTURE_2D_NV */
814#ifndef GL_DEPENDENT_GB_TEXTURE_2D_NV
815#define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
816#endif /* GL_DEPENDENT_GB_TEXTURE_2D_NV */
817#ifndef GL_DOT_PRODUCT_NV
818#define GL_DOT_PRODUCT_NV 0x86EC
819#endif /* GL_DOT_PRODUCT_NV */
820#ifndef GL_DOT_PRODUCT_DEPTH_REPLACE_NV
821#define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
822#endif /* GL_DOT_PRODUCT_DEPTH_REPLACE_NV */
823#ifndef GL_DOT_PRODUCT_TEXTURE_2D_NV
824#define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
825#endif /* GL_DOT_PRODUCT_TEXTURE_2D_NV */
826#ifndef GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV
827#define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
828#endif /* GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV */
829#ifndef GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV
830#define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
831#endif /* GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV */
832#ifndef GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV
833#define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
834#endif /* GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV */
835#ifndef GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV
836#define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
837#endif /* GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV */
838#ifndef GL_HILO_NV
839#define GL_HILO_NV 0x86F4
840#endif /* GL_HILO_NV */
841#ifndef GL_DSDT_NV
842#define GL_DSDT_NV 0x86F5
843#endif /* GL_DSDT_NV */
844#ifndef GL_DSDT_MAG_NV
845#define GL_DSDT_MAG_NV 0x86F6
846#endif /* GL_DSDT_MAG_NV */
847#ifndef GL_DSDT_MAG_VIB_NV
848#define GL_DSDT_MAG_VIB_NV 0x86F7
849#endif /* GL_DSDT_MAG_VIB_NV */
850#ifndef GL_HILO16_NV
851#define GL_HILO16_NV 0x86F8
852#endif /* GL_HILO16_NV */
853#ifndef GL_SIGNED_HILO_NV
854#define GL_SIGNED_HILO_NV 0x86F9
855#endif /* GL_SIGNED_HILO_NV */
856#ifndef GL_SIGNED_HILO16_NV
857#define GL_SIGNED_HILO16_NV 0x86FA
858#endif /* GL_SIGNED_HILO16_NV */
859#ifndef GL_SIGNED_RGBA_NV
860#define GL_SIGNED_RGBA_NV 0x86FB
861#endif /* GL_SIGNED_RGBA_NV */
862#ifndef GL_SIGNED_RGBA8_NV
863#define GL_SIGNED_RGBA8_NV 0x86FC
864#endif /* GL_SIGNED_RGBA8_NV */
865#ifndef GL_SIGNED_RGB_NV
866#define GL_SIGNED_RGB_NV 0x86FE
867#endif /* GL_SIGNED_RGB_NV */
868#ifndef GL_SIGNED_RGB8_NV
869#define GL_SIGNED_RGB8_NV 0x86FF
870#endif /* GL_SIGNED_RGB8_NV */
871#ifndef GL_SIGNED_LUMINANCE_NV
872#define GL_SIGNED_LUMINANCE_NV 0x8701
873#endif /* GL_SIGNED_LUMINANCE_NV */
874#ifndef GL_SIGNED_LUMINANCE8_NV
875#define GL_SIGNED_LUMINANCE8_NV 0x8702
876#endif /* GL_SIGNED_LUMINANCE8_NV */
877#ifndef GL_SIGNED_LUMINANCE_ALPHA_NV
878#define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
879#endif /* GL_SIGNED_LUMINANCE_ALPHA_NV */
880#ifndef GL_SIGNED_LUMINANCE8_ALPHA8_NV
881#define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
882#endif /* GL_SIGNED_LUMINANCE8_ALPHA8_NV */
883#ifndef GL_SIGNED_ALPHA_NV
884#define GL_SIGNED_ALPHA_NV 0x8705
885#endif /* GL_SIGNED_ALPHA_NV */
886#ifndef GL_SIGNED_ALPHA8_NV
887#define GL_SIGNED_ALPHA8_NV 0x8706
888#endif /* GL_SIGNED_ALPHA8_NV */
889#ifndef GL_SIGNED_INTENSITY_NV
890#define GL_SIGNED_INTENSITY_NV 0x8707
891#endif /* GL_SIGNED_INTENSITY_NV */
892#ifndef GL_SIGNED_INTENSITY8_NV
893#define GL_SIGNED_INTENSITY8_NV 0x8708
894#endif /* GL_SIGNED_INTENSITY8_NV */
895#ifndef GL_DSDT8_NV
896#define GL_DSDT8_NV 0x8709
897#endif /* GL_DSDT8_NV */
898#ifndef GL_DSDT8_MAG8_NV
899#define GL_DSDT8_MAG8_NV 0x870A
900#endif /* GL_DSDT8_MAG8_NV */
901#ifndef GL_DSDT8_MAG8_INTENSITY8_NV
902#define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
903#endif /* GL_DSDT8_MAG8_INTENSITY8_NV */
904#ifndef GL_SIGNED_RGB_UNSIGNED_ALPHA_NV
905#define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
906#endif /* GL_SIGNED_RGB_UNSIGNED_ALPHA_NV */
907#ifndef GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV
908#define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
909#endif /* GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV */
910#ifndef GL_HI_SCALE_NV
911#define GL_HI_SCALE_NV 0x870E
912#endif /* GL_HI_SCALE_NV */
913#ifndef GL_LO_SCALE_NV
914#define GL_LO_SCALE_NV 0x870F
915#endif /* GL_LO_SCALE_NV */
916#ifndef GL_DS_SCALE_NV
917#define GL_DS_SCALE_NV 0x8710
918#endif /* GL_DS_SCALE_NV */
919#ifndef GL_DT_SCALE_NV
920#define GL_DT_SCALE_NV 0x8711
921#endif /* GL_DT_SCALE_NV */
922#ifndef GL_MAGNITUDE_SCALE_NV
923#define GL_MAGNITUDE_SCALE_NV 0x8712
924#endif /* GL_MAGNITUDE_SCALE_NV */
925#ifndef GL_VIBRANCE_SCALE_NV
926#define GL_VIBRANCE_SCALE_NV 0x8713
927#endif /* GL_VIBRANCE_SCALE_NV */
928#ifndef GL_HI_BIAS_NV
929#define GL_HI_BIAS_NV 0x8714
930#endif /* GL_HI_BIAS_NV */
931#ifndef GL_LO_BIAS_NV
932#define GL_LO_BIAS_NV 0x8715
933#endif /* GL_LO_BIAS_NV */
934#ifndef GL_DS_BIAS_NV
935#define GL_DS_BIAS_NV 0x8716
936#endif /* GL_DS_BIAS_NV */
937#ifndef GL_DT_BIAS_NV
938#define GL_DT_BIAS_NV 0x8717
939#endif /* GL_DT_BIAS_NV */
940#ifndef GL_MAGNITUDE_BIAS_NV
941#define GL_MAGNITUDE_BIAS_NV 0x8718
942#endif /* GL_MAGNITUDE_BIAS_NV */
943#ifndef GL_VIBRANCE_BIAS_NV
944#define GL_VIBRANCE_BIAS_NV 0x8719
945#endif /* GL_VIBRANCE_BIAS_NV */
946#ifndef GL_TEXTURE_BORDER_VALUES_NV
947#define GL_TEXTURE_BORDER_VALUES_NV 0x871A
948#endif /* GL_TEXTURE_BORDER_VALUES_NV */
949#ifndef GL_TEXTURE_HI_SIZE_NV
950#define GL_TEXTURE_HI_SIZE_NV 0x871B
951#endif /* GL_TEXTURE_HI_SIZE_NV */
952#ifndef GL_TEXTURE_LO_SIZE_NV
953#define GL_TEXTURE_LO_SIZE_NV 0x871C
954#endif /* GL_TEXTURE_LO_SIZE_NV */
955#ifndef GL_TEXTURE_DS_SIZE_NV
956#define GL_TEXTURE_DS_SIZE_NV 0x871D
957#endif /* GL_TEXTURE_DS_SIZE_NV */
958#ifndef GL_TEXTURE_DT_SIZE_NV
959#define GL_TEXTURE_DT_SIZE_NV 0x871E
960#endif /* GL_TEXTURE_DT_SIZE_NV */
961#ifndef GL_TEXTURE_MAG_SIZE_NV
962#define GL_TEXTURE_MAG_SIZE_NV 0x871F
963#endif /* GL_TEXTURE_MAG_SIZE_NV */
964
965
966/* GL cube map defines */
967#ifndef GL_NORMAL_MAP
968#define GL_NORMAL_MAP 0x8511
969#endif
971#ifndef GL_REFLECTION_MAP
972#define GL_REFLECTION_MAP 0x8512
973#endif /* !GL_REFLECTION_MAP */
974
975#ifndef GL_TEXTURE_CUBE_MAP
976#define GL_TEXTURE_CUBE_MAP 0x8513
977#endif /* !GL_TEXTURE_CUBE_MAP */
978
979#ifndef GL_TEXTURE_BINDING_CUBE_MAP
980#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
981#endif /* !GL_TEXTURE_BINDING_CUBE_MAP */
982
983#ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_X
984#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
985#endif
987#ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_X
988#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
989#endif
991#ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Y
992#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
993#endif
995#ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
996#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
997#endif
999#ifndef GL_TEXTURE_CUBE_MAP_POSITIVE_Z
1000#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
1001#endif
1003#ifndef GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
1004#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
1005#endif
1007#ifndef GL_MAX_CUBE_MAP_TEXTURE_SIZE
1008#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
1009#endif
1011/* OpenGL texture combine (ARB_texture_env_combine) */
1012#ifndef GL_COMBINE
1013#define GL_COMBINE 0x8570
1014#endif /* !GL_COMBINE */
1015
1016#ifndef GL_COMBINE_RGB
1017#define GL_COMBINE_RGB 0x8571
1018#endif /* !GL_COMBINE_RGB */
1019
1020#ifndef GL_COMBINE_ALPHA
1021#define GL_COMBINE_ALPHA 0x8572
1022#endif /* !GL_COMBINE_ALPHA */
1023
1024#ifndef GL_RGB_SCALE
1025#define GL_RGB_SCALE 0x8573
1026#endif /* !GL_RGB_SCALE */
1027
1028#ifndef GL_ADD_SIGNED
1029#define GL_ADD_SIGNED 0x8574
1030#endif /* !GL_ADD_SIGNED */
1031
1032#ifndef GL_INTERPOLATE
1033#define GL_INTERPOLATE 0x8575
1034#endif /* !GL_INTERPOLATE */
1035
1036#ifndef GL_CONSTANT
1037#define GL_CONSTANT 0x8576
1038#endif /* !GL_CONSTANT */
1039
1040#ifndef GL_PRIMARY_COLOR
1041#define GL_PRIMARY_COLOR 0x8577
1042#endif /* !GL_PRIMARY_COLOR */
1043
1044#ifndef GL_PREVIOUS
1045#define GL_PREVIOUS 0x8578
1046#endif /* !GL_PREVIOUS */
1047
1048#ifndef GL_SOURCE0_RGB
1049#define GL_SOURCE0_RGB 0x8580
1050#endif /* !GL_SOURCE0_RGB */
1051
1052#ifndef GL_SOURCE1_RGB
1053#define GL_SOURCE1_RGB 0x8581
1054#endif /* !GL_SOURCE1_RGB */
1055
1056#ifndef GL_SOURCE2_RGB
1057#define GL_SOURCE2_RGB 0x8582
1058#endif /* !GL_SOURCE2_RGB */
1059
1060#ifndef GL_SOURCE0_ALPHA
1061#define GL_SOURCE0_ALPHA 0x8588
1062#endif /* !GL_SOURCE0_ALPHA */
1063
1064#ifndef GL_SOURCE1_ALPHA
1065#define GL_SOURCE1_ALPHA 0x8589
1066#endif /* !GL_SOURCE1_ALPHA */
1067
1068#ifndef GL_SOURCE2_ALPHA
1069#define GL_SOURCE2_ALPHA 0x858A
1070#endif /* !GL_SOURCE2_ALPHA */
1071
1072#ifndef GL_OPERAND0_RGB
1073#define GL_OPERAND0_RGB 0x8590
1074#endif /* !GL_OPERAND0_RGB */
1075
1076#ifndef GL_OPERAND1_RGB
1077#define GL_OPERAND1_RGB 0x8591
1078#endif /* !GL_OPERAND1_RGB */
1079
1080#ifndef GL_OPERAND2_RGB
1081#define GL_OPERAND2_RGB 0x8592
1082#endif /* !GL_OPERAND2_RGB */
1083
1084#ifndef GL_OPERAND0_ALPHA
1085#define GL_OPERAND0_ALPHA 0x8598
1086#endif /* !GL_OPERAND0_ALPHA */
1087
1088#ifndef GL_OPERAND1_ALPHA
1089#define GL_OPERAND1_ALPHA 0x8599
1090#endif /* !GL_OPERAND1_ALPHA */
1091
1092#ifndef GL_OPERAND2_ALPHA
1093#define GL_OPERAND2_ALPHA 0x859A
1094#endif /* !GL_OPERAND2_ALPHA */
1095
1096#ifndef GL_SUBTRACT
1097#define GL_SUBTRACT 0x84E7
1098#endif /* !GL_SUBTRACT */
1099
1100/* ARB_texture_env_dot3 */
1101#ifndef GL_DOT3_RGB
1102#define GL_DOT3_RGB 0x86AE
1103#endif /* !GL_DOT3_RGB */
1104
1105#ifndef GL_DOT3_RGBA
1106#define GL_DOT3_RGBA 0x86AF
1107#endif /* !GL_DOT3_RGBA */
1108
1109/* SGIS_generate_mipmap */
1110#ifndef GL_GENERATE_MIPMAP_SGIS
1111#define GL_GENERATE_MIPMAP_SGIS 0x8191
1112#endif /* !GL_GENERATE_MIPMAP_SGIS */
1113
1114#ifndef GL_GENERATE_MIPMAP_HINT_SGIS
1115#define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
1116#endif /* !GL_GENERATE_MIPMAP_HINT_SGIS */
1117
1118/* GL_ARB_fragment_program */
1119#ifndef GL_FRAGMENT_PROGRAM_ARB
1120#define GL_FRAGMENT_PROGRAM_ARB 0x8804
1121#endif /* GL_FRAGMENT_PROGRAM_ARB */
1122#ifndef GL_PROGRAM_FORMAT_ASCII_ARB
1123#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
1124#endif /* GL_PROGRAM_FORMAT_ASCII_ARB */
1125#ifndef GL_PROGRAM_LENGTH_ARB
1126#define GL_PROGRAM_LENGTH_ARB 0x8627
1127#endif /* GL_PROGRAM_LENGTH_ARB */
1128#ifndef GL_PROGRAM_FORMAT_ARB
1129#define GL_PROGRAM_FORMAT_ARB 0x8876
1130#endif /* GL_PROGRAM_FORMAT_ARB */
1131#ifndef GL_PROGRAM_BINDING_ARB
1132#define GL_PROGRAM_BINDING_ARB 0x8677
1133#endif /* GL_PROGRAM_BINDING_ARB */
1134#ifndef GL_PROGRAM_INSTRUCTIONS_ARB
1135#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
1136#endif /* GL_PROGRAM_INSTRUCTIONS_ARB */
1137#ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB
1138#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
1139#endif /* GL_MAX_PROGRAM_INSTRUCTIONS_ARB */
1140#ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
1141#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
1142#endif /* GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
1143#ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
1144#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
1145#endif /* GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
1146#ifndef GL_PROGRAM_TEMPORARIES_ARB
1147#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
1148#endif /* GL_PROGRAM_TEMPORARIES_ARB */
1149#ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB
1150#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
1151#endif /* GL_MAX_PROGRAM_TEMPORARIES_ARB */
1152#ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB
1153#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
1154#endif /* GL_PROGRAM_NATIVE_TEMPORARIES_ARB */
1155#ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
1156#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
1157#endif /* GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB */
1158#ifndef GL_PROGRAM_PARAMETERS_ARB
1159#define GL_PROGRAM_PARAMETERS_ARB 0x88A8
1160#endif /* GL_PROGRAM_PARAMETERS_ARB */
1161#ifndef GL_MAX_PROGRAM_PARAMETERS_ARB
1162#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
1163#endif /* GL_MAX_PROGRAM_PARAMETERS_ARB */
1164#ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB
1165#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
1166#endif /* GL_PROGRAM_NATIVE_PARAMETERS_ARB */
1167#ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
1168#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
1169#endif /* GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB */
1170#ifndef GL_PROGRAM_ATTRIBS_ARB
1171#define GL_PROGRAM_ATTRIBS_ARB 0x88AC
1172#endif /* GL_PROGRAM_ATTRIBS_ARB */
1173#ifndef GL_MAX_PROGRAM_ATTRIBS_ARB
1174#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
1175#endif /* GL_MAX_PROGRAM_ATTRIBS_ARB */
1176#ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB
1177#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
1178#endif /* GL_PROGRAM_NATIVE_ATTRIBS_ARB */
1179#ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
1180#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
1181#endif /* GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB */
1182#ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
1183#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
1184#endif /* GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB */
1185#ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
1186#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
1187#endif /* GL_MAX_PROGRAM_ENV_PARAMETERS_ARB */
1188#ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
1189#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
1190#endif /* GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB */
1191#ifndef GL_PROGRAM_ALU_INSTRUCTIONS_ARB
1192#define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
1193#endif /* GL_PROGRAM_ALU_INSTRUCTIONS_ARB */
1194#ifndef GL_PROGRAM_TEX_INSTRUCTIONS_ARB
1195#define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
1196#endif /* GL_PROGRAM_TEX_INSTRUCTIONS_ARB */
1197#ifndef GL_PROGRAM_TEX_INDIRECTIONS_ARB
1198#define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
1199#endif /* GL_PROGRAM_TEX_INDIRECTIONS_ARB */
1200#ifndef GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
1201#define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
1202#endif /* GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
1203#ifndef GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
1204#define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
1205#endif /* GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
1206#ifndef GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
1207#define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
1208#endif /* GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
1209#ifndef GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB
1210#define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
1211#endif /* GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB */
1212#ifndef GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB
1213#define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
1214#endif /* GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB */
1215#ifndef GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB
1216#define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
1217#endif /* GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB */
1218#ifndef GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB
1219#define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
1220#endif /* GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB */
1221#ifndef GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB
1222#define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
1223#endif /* GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB */
1224#ifndef GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB
1225#define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
1226#endif /* GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB */
1227#ifndef GL_PROGRAM_STRING_ARB
1228#define GL_PROGRAM_STRING_ARB 0x8628
1229#endif /* GL_PROGRAM_STRING_ARB */
1230#ifndef GL_PROGRAM_ERROR_POSITION_ARB
1231#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
1232#endif /* GL_PROGRAM_ERROR_POSITION_ARB */
1233#ifndef GL_CURRENT_MATRIX_ARB
1234#define GL_CURRENT_MATRIX_ARB 0x8641
1235#endif /* GL_CURRENT_MATRIX_ARB */
1236#ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB
1237#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
1238#endif /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
1239#ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB
1240#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
1241#endif /* GL_CURRENT_MATRIX_STACK_DEPTH_ARB */
1242#ifndef GL_MAX_PROGRAM_MATRICES_ARB
1243#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
1244#endif /* GL_MAX_PROGRAM_MATRICES_ARB */
1245#ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
1246#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
1247#endif /* GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB */
1248#ifndef GL_MAX_TEXTURE_COORDS_ARB
1249#define GL_MAX_TEXTURE_COORDS_ARB 0x8871
1250#endif /* GL_MAX_TEXTURE_COORDS_ARB */
1251#ifndef GL_MAX_TEXTURE_IMAGE_UNITS_ARB
1252#define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
1253#endif /* GL_MAX_TEXTURE_IMAGE_UNITS_ARB */
1254#ifndef GL_PROGRAM_ERROR_STRING_ARB
1255#define GL_PROGRAM_ERROR_STRING_ARB 0x8874
1256#endif /* GL_PROGRAM_ERROR_STRING_ARB */
1257#ifndef GL_MATRIX0_ARB
1258#define GL_MATRIX0_ARB 0x88C0
1259#endif /* GL_MATRIX0_ARB */
1260#ifndef GL_MATRIX1_ARB
1261#define GL_MATRIX1_ARB 0x88C1
1262#endif /* GL_MATRIX1_ARB */
1263#ifndef GL_MATRIX2_ARB
1264#define GL_MATRIX2_ARB 0x88C2
1265#endif /* GL_MATRIX2_ARB */
1266#ifndef GL_MATRIX3_ARB
1267#define GL_MATRIX3_ARB 0x88C3
1268#endif /* GL_MATRIX3_ARB */
1269#ifndef GL_MATRIX4_ARB
1270#define GL_MATRIX4_ARB 0x88C4
1271#endif /* GL_MATRIX4_ARB */
1272#ifndef GL_MATRIX5_ARB
1273#define GL_MATRIX5_ARB 0x88C5
1274#endif /* GL_MATRIX5_ARB */
1275#ifndef GL_MATRIX6_ARB
1276#define GL_MATRIX6_ARB 0x88C6
1277#endif /* GL_MATRIX6_ARB */
1278#ifndef GL_MATRIX7_ARB
1279#define GL_MATRIX7_ARB 0x88C7
1280#endif /* GL_MATRIX7_ARB */
1281#ifndef GL_MATRIX8_ARB
1282#define GL_MATRIX8_ARB 0x88C8
1283#endif /* GL_MATRIX8_ARB */
1284#ifndef GL_MATRIX9_ARB
1285#define GL_MATRIX9_ARB 0x88C9
1286#endif /* GL_MATRIX9_ARB */
1287#ifndef GL_MATRIX10_ARB
1288#define GL_MATRIX10_ARB 0x88CA
1289#endif /* GL_MATRIX10_ARB */
1290#ifndef GL_MATRIX11_ARB
1291#define GL_MATRIX11_ARB 0x88CB
1292#endif /* GL_MATRIX11_ARB */
1293#ifndef GL_MATRIX12_ARB
1294#define GL_MATRIX12_ARB 0x88CC
1295#endif /* GL_MATRIX12_ARB */
1296#ifndef GL_MATRIX13_ARB
1297#define GL_MATRIX13_ARB 0x88CD
1298#endif /* GL_MATRIX13_ARB */
1299#ifndef GL_MATRIX14_ARB
1300#define GL_MATRIX14_ARB 0x88CE
1301#endif /* GL_MATRIX14_ARB */
1302#ifndef GL_MATRIX15_ARB
1303#define GL_MATRIX15_ARB 0x88CF
1304#endif /* GL_MATRIX15_ARB */
1305#ifndef GL_MATRIX16_ARB
1306#define GL_MATRIX16_ARB 0x88D0
1307#endif /* GL_MATRIX16_ARB */
1308#ifndef GL_MATRIX17_ARB
1309#define GL_MATRIX17_ARB 0x88D1
1310#endif /* GL_MATRIX17_ARB */
1311#ifndef GL_MATRIX18_ARB
1312#define GL_MATRIX18_ARB 0x88D2
1313#endif /* GL_MATRIX18_ARB */
1314#ifndef GL_MATRIX19_ARB
1315#define GL_MATRIX19_ARB 0x88D3
1316#endif /* GL_MATRIX19_ARB */
1317#ifndef GL_MATRIX20_ARB
1318#define GL_MATRIX20_ARB 0x88D4
1319#endif /* GL_MATRIX20_ARB */
1320#ifndef GL_MATRIX21_ARB
1321#define GL_MATRIX21_ARB 0x88D5
1322#endif /* GL_MATRIX21_ARB */
1323#ifndef GL_MATRIX22_ARB
1324#define GL_MATRIX22_ARB 0x88D6
1325#endif /* GL_MATRIX22_ARB */
1326#ifndef GL_MATRIX23_ARB
1327#define GL_MATRIX23_ARB 0x88D7
1328#endif /* GL_MATRIX23_ARB */
1329#ifndef GL_MATRIX24_ARB
1330#define GL_MATRIX24_ARB 0x88D8
1331#endif /* GL_MATRIX24_ARB */
1332#ifndef GL_MATRIX25_ARB
1333#define GL_MATRIX25_ARB 0x88D9
1334#endif /* GL_MATRIX25_ARB */
1335#ifndef GL_MATRIX26_ARB
1336#define GL_MATRIX26_ARB 0x88DA
1337#endif /* GL_MATRIX26_ARB */
1338#ifndef GL_MATRIX27_ARB
1339#define GL_MATRIX27_ARB 0x88DB
1340#endif /* GL_MATRIX27_ARB */
1341#ifndef GL_MATRIX28_ARB
1342#define GL_MATRIX28_ARB 0x88DC
1343#endif /* GL_MATRIX28_ARB */
1344#ifndef GL_MATRIX29_ARB
1345#define GL_MATRIX29_ARB 0x88DD
1346#endif /* GL_MATRIX29_ARB */
1347#ifndef GL_MATRIX30_ARB
1348#define GL_MATRIX30_ARB 0x88DE
1349#endif /* GL_MATRIX30_ARB */
1350#ifndef GL_MATRIX31_ARB
1351#define GL_MATRIX31_ARB 0x88DF
1352#endif /* GL_MATRIX31_ARB */
1353
1354
1355/* GL_ARB_vertex_program */
1356#ifndef GL_VERTEX_PROGRAM_ARB
1357#define GL_VERTEX_PROGRAM_ARB 0x8620
1358#endif /* GL_VERTEX_PROGRAM_ARB */
1359#ifndef GL_VERTEX_PROGRAM_POINT_SIZE_ARB
1360#define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
1361#endif /* GL_VERTEX_PROGRAM_POINT_SIZE_ARB */
1362#ifndef GL_VERTEX_PROGRAM_TWO_SIDE_ARB
1363#define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
1364#endif /* GL_VERTEX_PROGRAM_TWO_SIDE_ARB */
1365#ifndef GL_COLOR_SUM_ARB
1366#define GL_COLOR_SUM_ARB 0x8458
1367#endif /* GL_COLOR_SUM_ARB */
1368#ifndef GL_PROGRAM_FORMAT_ASCII_ARB
1369#define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
1370#endif /* GL_PROGRAM_FORMAT_ASCII_ARB */
1371#ifndef GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB
1372#define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
1373#endif /* GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB */
1374#ifndef GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB
1375#define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
1376#endif /* GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB */
1377#ifndef GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB
1378#define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
1379#endif /* GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB */
1380#ifndef GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB
1381#define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
1382#endif /* GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB */
1383#ifndef GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB
1384#define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
1385#endif /* GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB */
1386#ifndef GL_CURRENT_VERTEX_ATTRIB_ARB
1387#define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
1388#endif /* GL_CURRENT_VERTEX_ATTRIB_ARB */
1389#ifndef GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB
1390#define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
1391#endif /* GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB */
1392#ifndef GL_PROGRAM_LENGTH_ARB
1393#define GL_PROGRAM_LENGTH_ARB 0x8627
1394#endif /* GL_PROGRAM_LENGTH_ARB */
1395#ifndef GL_PROGRAM_FORMAT_ARB
1396#define GL_PROGRAM_FORMAT_ARB 0x8876
1397#endif /* GL_PROGRAM_FORMAT_ARB */
1398#ifndef GL_PROGRAM_BINDING_ARB
1399#define GL_PROGRAM_BINDING_ARB 0x8677
1400#endif /* GL_PROGRAM_BINDING_ARB */
1401#ifndef GL_PROGRAM_INSTRUCTIONS_ARB
1402#define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
1403#endif /* GL_PROGRAM_INSTRUCTIONS_ARB */
1404#ifndef GL_MAX_PROGRAM_INSTRUCTIONS_ARB
1405#define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
1406#endif /* GL_MAX_PROGRAM_INSTRUCTIONS_ARB */
1407#ifndef GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB
1408#define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
1409#endif /* GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
1410#ifndef GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB
1411#define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
1412#endif /* GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB */
1413#ifndef GL_PROGRAM_TEMPORARIES_ARB
1414#define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
1415#endif /* GL_PROGRAM_TEMPORARIES_ARB */
1416#ifndef GL_MAX_PROGRAM_TEMPORARIES_ARB
1417#define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
1418#endif /* GL_MAX_PROGRAM_TEMPORARIES_ARB */
1419#ifndef GL_PROGRAM_NATIVE_TEMPORARIES_ARB
1420#define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
1421#endif /* GL_PROGRAM_NATIVE_TEMPORARIES_ARB */
1422#ifndef GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB
1423#define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
1424#endif /* GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB */
1425#ifndef GL_PROGRAM_PARAMETERS_ARB
1426#define GL_PROGRAM_PARAMETERS_ARB 0x88A8
1427#endif /* GL_PROGRAM_PARAMETERS_ARB */
1428#ifndef GL_MAX_PROGRAM_PARAMETERS_ARB
1429#define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
1430#endif /* GL_MAX_PROGRAM_PARAMETERS_ARB */
1431#ifndef GL_PROGRAM_NATIVE_PARAMETERS_ARB
1432#define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
1433#endif /* GL_PROGRAM_NATIVE_PARAMETERS_ARB */
1434#ifndef GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB
1435#define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
1436#endif /* GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB */
1437#ifndef GL_PROGRAM_ATTRIBS_ARB
1438#define GL_PROGRAM_ATTRIBS_ARB 0x88AC
1439#endif /* GL_PROGRAM_ATTRIBS_ARB */
1440#ifndef GL_MAX_PROGRAM_ATTRIBS_ARB
1441#define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
1442#endif /* GL_MAX_PROGRAM_ATTRIBS_ARB */
1443#ifndef GL_PROGRAM_NATIVE_ATTRIBS_ARB
1444#define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
1445#endif /* GL_PROGRAM_NATIVE_ATTRIBS_ARB */
1446#ifndef GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB
1447#define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
1448#endif /* GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB */
1449#ifndef GL_PROGRAM_ADDRESS_REGISTERS_ARB
1450#define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
1451#endif /* GL_PROGRAM_ADDRESS_REGISTERS_ARB */
1452#ifndef GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB
1453#define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
1454#endif /* GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB */
1455#ifndef GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
1456#define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
1457#endif /* GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
1458#ifndef GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB
1459#define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
1460#endif /* GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB */
1461#ifndef GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB
1462#define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
1463#endif /* GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB */
1464#ifndef GL_MAX_PROGRAM_ENV_PARAMETERS_ARB
1465#define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
1466#endif /* GL_MAX_PROGRAM_ENV_PARAMETERS_ARB */
1467#ifndef GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB
1468#define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
1469#endif /* GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB */
1470#ifndef GL_PROGRAM_STRING_ARB
1471#define GL_PROGRAM_STRING_ARB 0x8628
1472#endif /* GL_PROGRAM_STRING_ARB */
1473#ifndef GL_PROGRAM_ERROR_POSITION_ARB
1474#define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
1475#endif /* GL_PROGRAM_ERROR_POSITION_ARB */
1476#ifndef GL_CURRENT_MATRIX_ARB
1477#define GL_CURRENT_MATRIX_ARB 0x8641
1478#endif /* GL_CURRENT_MATRIX_ARB */
1479#ifndef GL_TRANSPOSE_CURRENT_MATRIX_ARB
1480#define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
1481#endif /* GL_TRANSPOSE_CURRENT_MATRIX_ARB */
1482#ifndef GL_CURRENT_MATRIX_STACK_DEPTH_ARB
1483#define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
1484#endif /* GL_CURRENT_MATRIX_STACK_DEPTH_ARB */
1485#ifndef GL_MAX_VERTEX_ATTRIBS_ARB
1486#define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
1487#endif /* GL_MAX_VERTEX_ATTRIBS_ARB */
1488#ifndef GL_MAX_PROGRAM_MATRICES_ARB
1489#define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
1490#endif /* GL_MAX_PROGRAM_MATRICES_ARB */
1491#ifndef GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB
1492#define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
1493#endif /* GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB */
1494
1495/* misc shaders */
1496#ifndef GL_VERTEX_SHADER_ARB
1497#define GL_VERTEX_SHADER_ARB 0x8B31
1498#endif /* GL_VERTEX_SHADER_ARB */
1499#ifndef GL_FRAGMENT_SHADER_ARB
1500#define GL_FRAGMENT_SHADER_ARB 0x8B30
1501#endif /* GL_FRAGMENT_SHADER_ARB */
1502#ifndef GL_OBJECT_ACTIVE_UNIFORMS_ARB
1503#define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
1504#endif /* GL_OBJECT_ACTIVE_UNIFORMS_ARB */
1505
1506/* GL_EXT_geometry_shader4 (geometry shaders) */
1507#ifndef GL_GEOMETRY_SHADER_EXT
1508#define GL_GEOMETRY_SHADER_EXT 0x8DD9
1509#endif /* GL_GEOMETRY_SHADER_EXT */
1510
1511#ifndef GL_GEOMETRY_VERTICES_OUT_EXT
1512#define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
1513#endif // GL_GEOMETRY_VERTICES_OUT_EXT
1514
1515#ifndef GL_GEOMETRY_INPUT_TYPE_EXT
1516#define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
1517#endif // GL_GEOMETRY_INPUT_TYPE_EXT
1518
1519#ifndef GL_GEOMETRY_OUTPUT_TYPE_EXT
1520#define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
1521#endif // GL_GEOMETRY_OUTPUT_TYPE_EXT
1522
1523#ifndef GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT
1524#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
1525#endif // GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT
1526
1527#ifndef GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT
1528#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
1529#endif // GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT
1530
1531#ifndef GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT
1532#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
1533#endif // GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT
1534
1535#ifndef GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT
1536#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
1537#endif // GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT
1538
1539#ifndef GL_MAX_VERTEX_VARYING_COMPONENTS_EXT
1540#define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
1541#endif // GL_MAX_VERTEX_VARYING_COMPONENTS_EXT
1542
1543#ifndef GL_MAX_VARYING_COMPONENTS_EXT
1544#define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
1545#endif // GL_MAX_VARYING_COMPONENTS_EXT
1546
1547#ifndef GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT
1548#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
1549#endif // GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT
1550
1551
1552/* GL_ARB_shader_objects */
1553#ifndef GL_INT_VEC2_ARB
1554#define GL_INT_VEC2_ARB 0x8B53
1555#endif /* GL_INT_VEC2_ARB */
1556#ifndef GL_INT_VEC3_ARB
1557#define GL_INT_VEC3_ARB 0x8B54
1558#endif /* GL_INT_VEC3_ARB */
1559#ifndef GL_INT_VEC4_ARB
1560#define GL_INT_VEC4_ARB 0x8B55
1561#endif /* GL_INT_VEC4_ARB */
1562#ifndef GL_FLOAT_VEC2_ARB
1563#define GL_FLOAT_VEC2_ARB 0x8B50
1564#endif /* GL_FLOAT_VEC2_ARB */
1565#ifndef GL_FLOAT_VEC3_ARB
1566#define GL_FLOAT_VEC3_ARB 0x8B51
1567#endif /* GL_FLOAT_VEC3_ARB */
1568#ifndef GL_FLOAT_VEC4_ARB
1569#define GL_FLOAT_VEC4_ARB 0x8B52
1570#endif /* GL_FLOAT_VEC4_ARB */
1571#ifndef GL_FLOAT_MAT2_ARB
1572#define GL_FLOAT_MAT2_ARB 0x8B5A
1573#endif /* GL_FLOAT_MAT2_ARB */
1574#ifndef GL_FLOAT_MAT3_ARB
1575#define GL_FLOAT_MAT3_ARB 0x8B5B
1576#endif /* GL_FLOAT_MAT3_ARB */
1577#ifndef GL_FLOAT_MAT4_ARB
1578#define GL_FLOAT_MAT4_ARB 0x8B5C
1579#endif /* GL_FLOAT_MAT4_ARB */
1580#ifndef GL_SAMPLER_1D_ARB
1581#define GL_SAMPLER_1D_ARB 0x8B5D
1582#endif /* GL_SAMPLER_1D_ARB */
1583#ifndef GL_SAMPLER_2D_ARB
1584#define GL_SAMPLER_2D_ARB 0x8B5E
1585#endif /* GL_SAMPLER_2D_ARB */
1586#ifndef GL_SAMPLER_3D_ARB
1587#define GL_SAMPLER_3D_ARB 0x8B5F
1588#endif /* GL_SAMPLER_3D_ARB */
1589#ifndef GL_SAMPLER_CUBE_ARB
1590#define GL_SAMPLER_CUBE_ARB 0x8B60
1591#endif /* GL_SAMPLER_CUBE_ARB */
1592#ifndef GL_SAMPLER_1D_SHADOW_ARB
1593#define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
1594#endif /* GL_SAMPLER_1D_SHADOW_ARB */
1595#ifndef GL_SAMPLER_2D_SHADOW_ARB
1596#define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
1597#endif /* GL_SAMPLER_2D_SHADOW_ARB */
1598#ifndef GL_SAMPLER_2D_RECT_ARB
1599#define GL_SAMPLER_2D_RECT_ARB 0x8B63
1600#endif /* GL_SAMPLER_2D_RECT_ARB */
1601#ifndef GL_SAMPLER_2D_RECT_SHADOW_ARB
1602#define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
1603#endif /* GL_SAMPLER_2D_RECT_SHADOW_ARB */
1604
1605#ifndef GL_OBJECT_COMPILE_STATUS_ARB
1606#define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
1607#endif /* GL_OBJECT_COMPILE_STATUS_ARB */
1608#ifndef GL_OBJECT_INFO_LOG_LENGTH_ARB
1609#define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
1610#endif /* GL_OBJECT_INFO_LOG_LENGTH_ARB */
1611#ifndef GL_OBJECT_LINK_STATUS_ARB
1612#define GL_OBJECT_LINK_STATUS_ARB 0x8B82
1613#endif /* GL_OBJECT_LINK_STATUS_ARB */
1614
1615/* GL_EXT_texture_filter_anisotropic */
1616#ifndef GL_TEXTURE_MAX_ANISOTROPY_EXT
1617#define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
1618#endif /* GL_TEXTURE_MAX_ANISOTROPY_EXT */
1619
1620#ifndef GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT
1621#define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
1622#endif /* GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT */
1623
1624/* GL_ARB_occlusion_query */
1625#ifndef GL_SAMPLES_PASSED
1626#define GL_SAMPLES_PASSED 0x8914
1627#endif /* GL_SAMPLES_PASSED */
1628
1629#ifndef GL_QUERY_COUNTER_BITS
1630#define GL_QUERY_COUNTER_BITS 0x8864
1631#endif /* GL_QUERY_COUNTER_BITS */
1632
1633#ifndef GL_CURRENT_QUERY
1634#define GL_CURRENT_QUERY 0x8865
1635#endif /* GL_CURRENT_QUERY */
1636
1637#ifndef GL_QUERY_RESULT
1638#define GL_QUERY_RESULT 0x8866
1639#endif /* GL_QUERY_RESULT */
1640
1641#ifndef GL_QUERY_RESULT_AVAILABLE
1642#define GL_QUERY_RESULT_AVAILABLE 0x8867
1643#endif /* GL_QUERY_RESULT_AVAILABLE */
1644
1645
1646/* glClientPush/PopAttrib() defines */
1647#ifndef GL_CLIENT_PIXEL_STORE_BIT
1648#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
1649#endif /* GL_CLIENT_PIXEL_STORE_BIT */
1650
1651#ifndef GL_CLIENT_VERTEX_ARRAY_BIT
1652#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
1653#endif /* GL_CLIENT_VERTEX_ARRAY_BIT */
1654
1655#ifndef GL_CLIENT_ALL_ATTRIB_BITS
1656#define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF
1657#endif /* GL_CLIENT_ALL_ATTRIB_BITS */
1658
1659#ifndef GL_ALL_CLIENT_ATTRIB_BITS
1660#define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF
1661#endif /* GL_ALL_CLIENT_ATTRIB_BITS */
1662
1663/* EXT_framebuffer_object */
1664#ifndef GL_INVALID_FRAMEBUFFER_OPERATION_EXT
1665#define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
1666#endif /* GL_INVALID_FRAMEBUFFER_OPERATION_EXT */
1667#ifndef GL_MAX_RENDERBUFFER_SIZE_EXT
1668#define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
1669#endif /* GL_MAX_RENDERBUFFER_SIZE_EXT */
1670#ifndef GL_FRAMEBUFFER_BINDING_EXT
1671#define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
1672#endif /* GL_FRAMEBUFFER_BINDING_EXT */
1673#ifndef GL_RENDERBUFFER_BINDING_EXT
1674#define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
1675#endif /* GL_RENDERBUFFER_BINDING_EXT */
1676#ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT
1677#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
1678#endif /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT */
1679#ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT
1680#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
1681#endif /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT */
1682#ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT
1683#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
1684#endif /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT */
1685#ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT
1686#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
1687#endif /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT */
1688#ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT
1689#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
1690#endif /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT */
1691#ifndef GL_FRAMEBUFFER_COMPLETE_EXT
1692#define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
1693#endif /* GL_FRAMEBUFFER_COMPLETE_EXT */
1694#ifndef GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT
1695#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
1696#endif /* GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT */
1697#ifndef GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT
1698#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
1699#endif /* GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT */
1700#ifndef GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT
1701#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8
1702#endif /* GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT */
1703#ifndef GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT
1704#define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
1705#endif /* GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT */
1706#ifndef GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT
1707#define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
1708#endif /* GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT */
1709#ifndef GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
1710#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
1711#endif /* GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT */
1712#ifndef GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT
1713#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
1714#endif /* GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT */
1715#ifndef GL_FRAMEBUFFER_UNSUPPORTED_EXT
1716#define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
1717#endif /* GL_FRAMEBUFFER_UNSUPPORTED_EXT */
1718#ifndef GL_MAX_COLOR_ATTACHMENTS_EXT
1719#define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
1720#endif /* GL_MAX_COLOR_ATTACHMENTS_EXT */
1721#ifndef GL_COLOR_ATTACHMENT0_EXT
1722#define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
1723#endif /* GL_COLOR_ATTACHMENT0_EXT */
1724#ifndef GL_COLOR_ATTACHMENT1_EXT
1725#define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
1726#endif /* GL_COLOR_ATTACHMENT1_EXT */
1727#ifndef GL_COLOR_ATTACHMENT2_EXT
1728#define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
1729#endif /* GL_COLOR_ATTACHMENT2_EXT */
1730#ifndef GL_COLOR_ATTACHMENT3_EXT
1731#define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
1732#endif /* GL_COLOR_ATTACHMENT3_EXT */
1733#ifndef GL_COLOR_ATTACHMENT4_EXT
1734#define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
1735#endif /* GL_COLOR_ATTACHMENT4_EXT */
1736#ifndef GL_COLOR_ATTACHMENT5_EXT
1737#define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
1738#endif /* GL_COLOR_ATTACHMENT5_EXT */
1739#ifndef GL_COLOR_ATTACHMENT6_EXT
1740#define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
1741#endif /* GL_COLOR_ATTACHMENT6_EXT */
1742#ifndef GL_COLOR_ATTACHMENT7_EXT
1743#define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
1744#endif /* GL_COLOR_ATTACHMENT7_EXT */
1745#ifndef GL_COLOR_ATTACHMENT8_EXT
1746#define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
1747#endif /* GL_COLOR_ATTACHMENT8_EXT */
1748#ifndef GL_COLOR_ATTACHMENT9_EXT
1749#define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
1750#endif /* GL_COLOR_ATTACHMENT9_EXT */
1751#ifndef GL_COLOR_ATTACHMENT10_EXT
1752#define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
1753#endif /* GL_COLOR_ATTACHMENT10_EXT */
1754#ifndef GL_COLOR_ATTACHMENT11_EXT
1755#define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
1756#endif /* GL_COLOR_ATTACHMENT11_EXT */
1757#ifndef GL_COLOR_ATTACHMENT12_EXT
1758#define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
1759#endif /* GL_COLOR_ATTACHMENT12_EXT */
1760#ifndef GL_COLOR_ATTACHMENT13_EXT
1761#define GL_COLOR_ATTACHMENT13_EXT 0x8CED
1762#endif /* GL_COLOR_ATTACHMENT13_EXT */
1763#ifndef GL_COLOR_ATTACHMENT14_EXT
1764#define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
1765#endif /* GL_COLOR_ATTACHMENT14_EXT */
1766#ifndef GL_COLOR_ATTACHMENT15_EXT
1767#define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
1768#endif /* GL_COLOR_ATTACHMENT15_EXT */
1769#ifndef GL_DEPTH_ATTACHMENT_EXT
1770#define GL_DEPTH_ATTACHMENT_EXT 0x8D00
1771#endif /* GL_DEPTH_ATTACHMENT_EXT */
1772#ifndef GL_STENCIL_ATTACHMENT_EXT
1773#define GL_STENCIL_ATTACHMENT_EXT 0x8D20
1774#endif /* GL_STENCIL_ATTACHMENT_EXT */
1775#ifndef GL_FRAMEBUFFER_EXT
1776#define GL_FRAMEBUFFER_EXT 0x8D40
1777#endif /* GL_FRAMEBUFFER_EXT */
1778#ifndef GL_RENDERBUFFER_EXT
1779#define GL_RENDERBUFFER_EXT 0x8D41
1780#endif /* GL_RENDERBUFFER_EXT */
1781#ifndef GL_RENDERBUFFER_WIDTH_EXT
1782#define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
1783#endif /* GL_RENDERBUFFER_WIDTH_EXT */
1784#ifndef GL_RENDERBUFFER_HEIGHT_EXT
1785#define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
1786#endif /* GL_RENDERBUFFER_HEIGHT_EXT */
1787#ifndef GL_RENDERBUFFER_INTERNAL_FORMAT_EXT
1788#define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
1789#endif /* GL_RENDERBUFFER_INTERNAL_FORMAT_EXT */
1790#ifndef GL_STENCIL_INDEX1_EXT
1791#define GL_STENCIL_INDEX1_EXT 0x8D46
1792#endif /* GL_STENCIL_INDEX1_EXT */
1793#ifndef GL_STENCIL_INDEX4_EXT
1794#define GL_STENCIL_INDEX4_EXT 0x8D47
1795#endif /* GL_STENCIL_INDEX4_EXT */
1796#ifndef GL_STENCIL_INDEX8_EXT
1797#define GL_STENCIL_INDEX8_EXT 0x8D48
1798#endif /* GL_STENCIL_INDEX8_EXT */
1799#ifndef GL_STENCIL_INDEX16_EXT
1800#define GL_STENCIL_INDEX16_EXT 0x8D49
1801#endif /* GL_STENCIL_INDEX16_EXT */
1802#ifndef GL_RENDERBUFFER_RED_SIZE_EXT
1803#define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
1804#endif /* GL_RENDERBUFFER_RED_SIZE_EXT */
1805#ifndef GL_RENDERBUFFER_GREEN_SIZE_EXT
1806#define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
1807#endif /* GL_RENDERBUFFER_GREEN_SIZE_EXT */
1808#ifndef GL_RENDERBUFFER_BLUE_SIZE_EXT
1809#define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
1810#endif /* GL_RENDERBUFFER_BLUE_SIZE_EXT */
1811#ifndef GL_RENDERBUFFER_ALPHA_SIZE_EXT
1812#define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
1813#endif /* GL_RENDERBUFFER_ALPHA_SIZE_EXT */
1814#ifndef GL_RENDERBUFFER_DEPTH_SIZE_EXT
1815#define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
1816#endif /* GL_RENDERBUFFER_DEPTH_SIZE_EXT */
1817#ifndef GL_RENDERBUFFER_STENCIL_SIZE_EXT
1818#define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
1819#endif /* GL_RENDERBUFFER_STENCIL_SIZE_EXT */
1820
1821/* ARB_framebuffer_object or OpenGL 3.0*/
1822#ifndef GL_INVALID_FRAMEBUFFER_OPERATION
1823#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
1824#endif /* GL_INVALID_FRAMEBUFFER_OPERATION */
1825#ifndef GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING
1826#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
1827#endif /* GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
1828#ifndef GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE
1829#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
1830#endif /* GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
1831#ifndef GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE
1832#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
1833#endif /* GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
1834#ifndef GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE
1835#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
1836#endif /* GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
1837#ifndef GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE
1838#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
1839#endif /* GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
1840#ifndef GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE
1841#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
1842#endif /* GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
1843#ifndef GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE
1844#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
1845#endif /* GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
1846#ifndef GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE
1847#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
1848#endif /* GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
1849#ifndef GL_DEPTH_STENCIL
1850#define GL_DEPTH_STENCIL 0x84F9
1851#endif /* GL_DEPTH_STENCIL */
1852#ifndef GL_UNSIGNED_INT_24_
1853#define GL_UNSIGNED_INT_24_ 0x84FA
1854#endif /* GL_UNSIGNED_INT_24_ */
1855#ifndef GL_DEPTH24_STENCIL8
1856#define GL_DEPTH24_STENCIL8 0x88F0
1857#endif /* GL_DEPTH24_STENCIL8 */
1858#ifndef GL_TEXTURE_STENCIL_SIZE
1859#define GL_TEXTURE_STENCIL_SIZE 0x88F1
1860#endif /* GL_TEXTURE_STENCIL_SIZE */
1861#ifndef GL_SRGB
1862#define GL_SRGB 0x8C40
1863#endif /* GL_SRGB */
1864#ifndef GL_UNSIGNED_NORMALIZED
1865#define GL_UNSIGNED_NORMALIZED 0x8C17
1866#endif /* GL_UNSIGNED_NORMALIZED */
1867#ifndef GL_FRAMEBUFFER_DEFAULT
1868#define GL_FRAMEBUFFER_DEFAULT 0x8218
1869#endif /* GL_FRAMEBUFFER_DEFAULT */
1870#ifndef GL_FRAMEBUFFER_UNDEFINED
1871#define GL_FRAMEBUFFER_UNDEFINED 0x8219
1872#endif /* GL_FRAMEBUFFER_UNDEFINED */
1873#ifndef GL_DEPTH_STENCIL_ATTACHMENT
1874#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
1875#endif /* GL_DEPTH_STENCIL_ATTACHMENT */
1876#ifndef GL_INDEX
1877#define GL_INDEX 0x8222
1878#endif /* GL_INDEX */
1879#ifndef GL_MAX_RENDERBUFFER_SIZE
1880#define GL_MAX_RENDERBUFFER_SIZE 0x84E8
1881#endif /* GL_MAX_RENDERBUFFER_SIZE */
1882#ifndef GL_FRAMEBUFFER_BINDING
1883#define GL_FRAMEBUFFER_BINDING 0x8CA6
1884#endif /* GL_FRAMEBUFFER_BINDING */
1885#ifndef GL_DRAW_FRAMEBUFFER_BINDING
1886#define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
1887#endif /* GL_DRAW_FRAMEBUFFER_BINDING */
1888#ifndef GL_RENDERBUFFER_BINDING
1889#define GL_RENDERBUFFER_BINDING 0x8CA7
1890#endif /* GL_RENDERBUFFER_BINDING */
1891#ifndef GL_READ_FRAMEBUFFER
1892#define GL_READ_FRAMEBUFFER 0x8CA8
1893#endif /* GL_READ_FRAMEBUFFER */
1894#ifndef GL_DRAW_FRAMEBUFFER
1895#define GL_DRAW_FRAMEBUFFER 0x8CA9
1896#endif /* GL_DRAW_FRAMEBUFFER */
1897#ifndef GL_READ_FRAMEBUFFER_BINDING
1898#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
1899#endif /* GL_READ_FRAMEBUFFER_BINDING */
1900#ifndef GL_RENDERBUFFER_SAMPLES
1901#define GL_RENDERBUFFER_SAMPLES 0x8CAB
1902#endif /* GL_RENDERBUFFER_SAMPLES */
1903#ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE
1904#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
1905#endif /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
1906#ifndef GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME
1907#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
1908#endif /* GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
1909#ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL
1910#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
1911#endif /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
1912#ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE
1913#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
1914#endif /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
1915#ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER
1916#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
1917#endif /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
1918#ifndef GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET
1919#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET 0x8CD4
1920#endif /* GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET */
1921#ifndef GL_FRAMEBUFFER_COMPLETE
1922#define GL_FRAMEBUFFER_COMPLETE 0x8CD5
1923#endif /* GL_FRAMEBUFFER_COMPLETE */
1924#ifndef GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
1925#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
1926#endif /* GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
1927#ifndef GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT
1928#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
1929#endif /* GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
1930#ifndef GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT
1931#define GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT 0x8CD8
1932#endif /* GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT */
1933#ifndef GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER
1934#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
1935#endif /* GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
1936#ifndef GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER
1937#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
1938#endif /* GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
1939#ifndef GL_FRAMEBUFFER_UNSUPPORTED
1940#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
1941#endif /* GL_FRAMEBUFFER_UNSUPPORTED */
1942#ifndef GL_MAX_COLOR_ATTACHMENTS
1943#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
1944#endif /* GL_MAX_COLOR_ATTACHMENTS */
1945#ifndef GL_COLOR_ATTACHMENT0
1946#define GL_COLOR_ATTACHMENT0 0x8CE0
1947#endif /* GL_COLOR_ATTACHMENT0 */
1948#ifndef GL_COLOR_ATTACHMENT1
1949#define GL_COLOR_ATTACHMENT1 0x8CE1
1950#endif /* GL_COLOR_ATTACHMENT1 */
1951#ifndef GL_COLOR_ATTACHMENT2
1952#define GL_COLOR_ATTACHMENT2 0x8CE2
1953#endif /* GL_COLOR_ATTACHMENT2 */
1954#ifndef GL_COLOR_ATTACHMENT3
1955#define GL_COLOR_ATTACHMENT3 0x8CE3
1956#endif /* GL_COLOR_ATTACHMENT3 */
1957#ifndef GL_COLOR_ATTACHMENT4
1958#define GL_COLOR_ATTACHMENT4 0x8CE4
1959#endif /* GL_COLOR_ATTACHMENT4 */
1960#ifndef GL_COLOR_ATTACHMENT5
1961#define GL_COLOR_ATTACHMENT5 0x8CE5
1962#endif /* GL_COLOR_ATTACHMENT5 */
1963#ifndef GL_COLOR_ATTACHMENT6
1964#define GL_COLOR_ATTACHMENT6 0x8CE6
1965#endif /* GL_COLOR_ATTACHMENT6 */
1966#ifndef GL_COLOR_ATTACHMENT7
1967#define GL_COLOR_ATTACHMENT7 0x8CE7
1968#endif /* GL_COLOR_ATTACHMENT7 */
1969#ifndef GL_COLOR_ATTACHMENT8
1970#define GL_COLOR_ATTACHMENT8 0x8CE8
1971#endif /* GL_COLOR_ATTACHMENT8 */
1972#ifndef GL_COLOR_ATTACHMENT9
1973#define GL_COLOR_ATTACHMENT9 0x8CE9
1974#endif /* GL_COLOR_ATTACHMENT9 */
1975#ifndef GL_COLOR_ATTACHMENT10
1976#define GL_COLOR_ATTACHMENT10 0x8CEA
1977#endif /* GL_COLOR_ATTACHMENT10 */
1978#ifndef GL_COLOR_ATTACHMENT11
1979#define GL_COLOR_ATTACHMENT11 0x8CEB
1980#endif /* GL_COLOR_ATTACHMENT11 */
1981#ifndef GL_COLOR_ATTACHMENT12
1982#define GL_COLOR_ATTACHMENT12 0x8CEC
1983#endif /* GL_COLOR_ATTACHMENT12 */
1984#ifndef GL_COLOR_ATTACHMENT13
1985#define GL_COLOR_ATTACHMENT13 0x8CED
1986#endif /* GL_COLOR_ATTACHMENT13 */
1987#ifndef GL_COLOR_ATTACHMENT14
1988#define GL_COLOR_ATTACHMENT14 0x8CEE
1989#endif /* GL_COLOR_ATTACHMENT14 */
1990#ifndef GL_COLOR_ATTACHMENT15
1991#define GL_COLOR_ATTACHMENT15 0x8CEF
1992#endif /* GL_COLOR_ATTACHMENT15 */
1993#ifndef GL_DEPTH_ATTACHMENT
1994#define GL_DEPTH_ATTACHMENT 0x8D00
1995#endif /* GL_DEPTH_ATTACHMENT */
1996#ifndef GL_STENCIL_ATTACHMENT
1997#define GL_STENCIL_ATTACHMENT 0x8D20
1998#endif /* GL_STENCIL_ATTACHMENT */
1999#ifndef GL_FRAMEBUFFER
2000#define GL_FRAMEBUFFER 0x8D40
2001#endif /* GL_FRAMEBUFFER */
2002#ifndef GL_RENDERBUFFER
2003#define GL_RENDERBUFFER 0x8D41
2004#endif /* GL_RENDERBUFFER */
2005#ifndef GL_RENDERBUFFER_WIDTH
2006#define GL_RENDERBUFFER_WIDTH 0x8D42
2007#endif /* GL_RENDERBUFFER_WIDTH */
2008#ifndef GL_RENDERBUFFER_HEIGHT
2009#define GL_RENDERBUFFER_HEIGHT 0x8D43
2010#endif /* GL_RENDERBUFFER_HEIGHT */
2011#ifndef GL_RENDERBUFFER_INTERNAL_FORMAT
2012#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
2013#endif /* GL_RENDERBUFFER_INTERNAL_FORMAT */
2014#ifndef GL_STENCIL_INDEX1
2015#define GL_STENCIL_INDEX1 0x8D46
2016#endif /* GL_STENCIL_INDEX1 */
2017#ifndef GL_STENCIL_INDEX4
2018#define GL_STENCIL_INDEX4 0x8D47
2019#endif /* GL_STENCIL_INDEX4 */
2020#ifndef GL_STENCIL_INDEX8
2021#define GL_STENCIL_INDEX8 0x8D48
2022#endif /* GL_STENCIL_INDEX8 */
2023#ifndef GL_STENCIL_INDEX16
2024#define GL_STENCIL_INDEX16 0x8D49
2025#endif /* GL_STENCIL_INDEX16 */
2026#ifndef GL_RENDERBUFFER_RED_SIZE
2027#define GL_RENDERBUFFER_RED_SIZE 0x8D50
2028#endif /* GL_RENDERBUFFER_RED_SIZE */
2029#ifndef GL_RENDERBUFFER_GREEN_SIZE
2030#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
2031#endif /* GL_RENDERBUFFER_GREEN_SIZE */
2032#ifndef GL_RENDERBUFFER_BLUE_SIZE
2033#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
2034#endif /* GL_RENDERBUFFER_BLUE_SIZE */
2035#ifndef GL_RENDERBUFFER_ALPHA_SIZE
2036#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
2037#endif /* GL_RENDERBUFFER_ALPHA_SIZE */
2038#ifndef GL_RENDERBUFFER_DEPTH_SIZE
2039#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
2040#endif /* GL_RENDERBUFFER_DEPTH_SIZE */
2041#ifndef GL_RENDERBUFFER_STENCIL_SIZE
2042#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
2043#endif /* GL_RENDERBUFFER_STENCIL_SIZE */
2044#ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE
2045#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
2046#endif /* GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
2047#ifndef GL_MAX_SAMPLES
2048#define GL_MAX_SAMPLES 0x8D57
2049#endif /* GL_MAX_SAMPLES */
2050
2051/*
2052From OpenGL3.0 the glGetString (GL_EXTENSIONS) call is deprecated.
2053This is replaced by glGetStringi. However, to find the number of strings
2054it is necessary to call glGetIntegerv (GL_NUM_EXTENSIONS, &n)
2055Therefore we define the value for GL_NUM_EXTENSIONS here
2056*/
2057#ifndef GL_NUM_EXTENSIONS
2058#define GL_NUM_EXTENSIONS 0x821D
2059#endif /* GL_NUM_EXTENSIONS */
2060
2061/*** GL enums, end ****************************************************/
2062/**********************************************************************/
2063
2064/* GLX enums that might not be available on all systems. */
2065
2066/* These were new for GLX 1.3 */
2067
2068#ifndef GLX_PBUFFER_WIDTH
2069#define GLX_PBUFFER_WIDTH 0x8041
2070#endif /* GLX_PBUFFER_WIDTH */
2071
2072#ifndef GLX_PBUFFER_HEIGHT
2073#define GLX_PBUFFER_HEIGHT 0x8040
2074#endif /* GLX_PBUFFER_HEIGHT */
2075
2076#ifndef GLX_DRAWABLE_TYPE
2077#define GLX_DRAWABLE_TYPE 0x8010
2078#endif /* GLX_DRAWABLE_TYPE */
2079
2080#ifndef GLX_RENDER_TYPE
2081#define GLX_RENDER_TYPE 0x8011
2082#endif /* GLX_RENDER_TYPE */
2083
2084#ifndef GLX_RGBA_TYPE
2085#define GLX_RGBA_TYPE 0x8014
2086#endif /* GLX_RGBA_TYPE */
2087
2088#ifndef GLX_RGBA_BIT
2089#define GLX_RGBA_BIT 0x00000001
2090#endif /* GLX_RGBA_BIT */
2091
2092#ifndef GLX_PBUFFER_BIT
2093#define GLX_PBUFFER_BIT 0x00000004
2094#endif /* GLX_PBUFFER_BIT */
2095
2096/* These are also from GLX 1.3, and they have the same values in the
2097 GLX_SGIX_pbuffer extension (with name suffix _SGIX): */
2098
2099#ifndef GLX_MAX_PBUFFER_WIDTH
2100#define GLX_MAX_PBUFFER_WIDTH 0x8016
2101#endif /* GLX_MAX_PBUFFER_WIDTH */
2102
2103#ifndef GLX_MAX_PBUFFER_HEIGHT
2104#define GLX_MAX_PBUFFER_HEIGHT 0x8017
2105#endif /* GLX_MAX_PBUFFER_HEIGHT */
2106
2107#ifndef GLX_MAX_PBUFFER_PIXELS
2108#define GLX_MAX_PBUFFER_PIXELS 0x8018
2109#endif /* GLX_MAX_PBUFFER_PIXELS */
2110
2111/*** GLX enums, end ***************************************************/
2112/**********************************************************************/
2113
2114
2115/* GLU enums we use are duplicated, because we should be able to
2116 compile without GLU and then pick it up and use it at run-time on
2117 some systems. */
2118
2119/* gluGetString */
2120#ifndef GLU_VERSION
2121#define GLU_VERSION 100800
2122#endif /* ! GLU_VERSION */
2123#ifndef GLU_EXTENSIONS
2124#define GLU_EXTENSIONS 100801
2125#endif /* ! GLU_EXTENSIONS */
2126
2127/* NurbsDisplay */
2128#ifndef GLU_OUTLINE_POLYGON
2129#define GLU_OUTLINE_POLYGON 100240
2130#endif /* ! GLU_OUTLINE_POLYGON */
2131#ifndef GLU_OUTLINE_PATCH
2132#define GLU_OUTLINE_PATCH 100241
2133#endif /* ! GLU_OUTLINE_PATCH */
2134
2135/* NurbsCallback */
2136#ifndef GLU_NURBS_ERROR
2137#define GLU_NURBS_ERROR 100103
2138#endif /* ! GLU_NURBS_ERROR */
2139#ifndef GLU_ERROR
2140#define GLU_ERROR 100103
2141#endif /* ! GLU_ERROR */
2142#ifndef GLU_NURBS_BEGIN
2143#define GLU_NURBS_BEGIN 100164
2144#endif /* ! GLU_NURBS_BEGIN */
2145#ifndef GLU_NURBS_VERTEX
2146#define GLU_NURBS_VERTEX 100165
2147#endif /* ! GLU_NURBS_VERTEX */
2148#ifndef GLU_NURBS_NORMAL
2149#define GLU_NURBS_NORMAL 100166
2150#endif /* ! GLU_NURBS_NORMAL */
2151#ifndef GLU_NURBS_COLOR
2152#define GLU_NURBS_COLOR 100167
2153#endif /* ! GLU_NURBS_COLOR */
2154#ifndef GLU_NURBS_TEXTURE_COORD
2155#define GLU_NURBS_TEXTURE_COORD 100168
2156#endif /* ! GLU_NURBS_TEXTURE_COORD */
2157#ifndef GLU_NURBS_END
2158#define GLU_NURBS_END 100169
2159#endif /* ! GLU_NURBS_END */
2160#ifndef GLU_NURBS_BEGIN_DATA
2161#define GLU_NURBS_BEGIN_DATA 100170
2162#endif /* ! GLU_NURBS_BEGIN_DATA */
2163#ifndef GLU_NURBS_VERTEX_DATA
2164#define GLU_NURBS_VERTEX_DATA 100171
2165#endif /* ! GLU_NURBS_VERTEX_DATA */
2166#ifndef GLU_NURBS_NORMAL_DATA
2167#define GLU_NURBS_NORMAL_DATA 100172
2168#endif /* ! GLU_NURBS_NORMAL_DATA */
2169#ifndef GLU_NURBS_COLOR_DATA
2170#define GLU_NURBS_COLOR_DATA 100173
2171#endif /* ! GLU_NURBS_COLOR_DATA */
2172#ifndef GLU_NURBS_TEXTURE_COORD_DATA
2173#define GLU_NURBS_TEXTURE_COORD_DATA 100174
2174#endif /* ! GLU_NURBS_TEXTURE_COORD_DATA */
2175#ifndef GLU_NURBS_END_DATA
2176#define GLU_NURBS_END_DATA 100175
2177#endif /* ! GLU_NURBS_END_DATA */
2178
2179/* NurbsProperty */
2180#ifndef GLU_AUTO_LOAD_MATRIX
2181#define GLU_AUTO_LOAD_MATRIX 100200
2182#endif /* ! GLU_AUTO_LOAD_MATRIX */
2183#ifndef GLU_CULLING
2184#define GLU_CULLING 100201
2185#endif /* ! GLU_CULLING */
2186#ifndef GLU_SAMPLING_TOLERANCE
2187#define GLU_SAMPLING_TOLERANCE 100203
2188#endif /* ! GLU_SAMPLING_TOLERANCE */
2189#ifndef GLU_DISPLAY_MODE
2190#define GLU_DISPLAY_MODE 100204
2191#endif /* ! GLU_DISPLAY_MODE */
2192#ifndef GLU_PARAMETRIC_TOLERANCE
2193#define GLU_PARAMETRIC_TOLERANCE 100202
2194#endif /* ! GLU_PARAMETRIC_TOLERANCE */
2195#ifndef GLU_SAMPLING_METHOD
2196#define GLU_SAMPLING_METHOD 100205
2197#endif /* ! GLU_SAMPLING_METHOD */
2198#ifndef GLU_U_STEP
2199#define GLU_U_STEP 100206
2200#endif /* ! GLU_U_STEP */
2201#ifndef GLU_V_STEP
2202#define GLU_V_STEP 100207
2203#endif /* ! GLU_V_STEP */
2204#ifndef GLU_NURBS_MODE
2205#define GLU_NURBS_MODE 100160
2206#endif /* ! GLU_NURBS_MODE */
2207#ifndef GLU_NURBS_TESSELLATOR
2208#define GLU_NURBS_TESSELLATOR 100161
2209#endif /* ! GLU_NURBS_TESSELLATOR */
2210#ifndef GLU_NURBS_RENDERER
2211#define GLU_NURBS_RENDERER 100162
2212#endif /* ! GLU_NURBS_RENDERER */
2213
2214/* NurbsSampling */
2215#ifndef GLU_OBJECT_PARAMETRIC_ERROR
2216#define GLU_OBJECT_PARAMETRIC_ERROR 100208
2217#endif /* ! GLU_OBJECT_PARAMETRIC_ERROR */
2218#ifndef GLU_OBJECT_PATH_LENGTH
2219#define GLU_OBJECT_PATH_LENGTH 100209
2220#endif /* ! GLU_OBJECT_PATH_LENGTH */
2221#ifndef GLU_PATH_LENGTH
2222#define GLU_PATH_LENGTH 100215
2223#endif /* ! GLU_PATH_LENGTH */
2224#ifndef GLU_PARAMETRIC_ERROR
2225#define GLU_PARAMETRIC_ERROR 100216
2226#endif /* ! GLU_PARAMETRIC_ERROR */
2227#ifndef GLU_DOMAIN_DISTANCE
2228#define GLU_DOMAIN_DISTANCE 100217
2229#endif /* ! GLU_DOMAIN_DISTANCE */
2230
2231/* NurbsTrim */
2232#ifndef GLU_MAP1_TRIM_2
2233#define GLU_MAP1_TRIM_2 100210
2234#endif /* ! GLU_MAP1_TRIM_2 */
2235#ifndef GLU_MAP1_TRIM_3
2236#define GLU_MAP1_TRIM_3 100211
2237#endif /* ! GLU_MAP1_TRIM_3 */
2238
2239/* QuadricDrawStyle */
2240#ifndef GLU_POINT
2241#define GLU_POINT 100010
2242#endif /* ! GLU_POINT */
2243#ifndef GLU_LINE
2244#define GLU_LINE 100011
2245#endif /* ! GLU_LINE */
2246#ifndef GLU_FILL
2247#define GLU_FILL 100012
2248#endif /* ! GLU_FILL */
2249#ifndef GLU_SILHOUETTE
2250#define GLU_SILHOUETTE 100013
2251#endif /* ! GLU_SILHOUETTE */
2252
2253/* Tessellator */
2254#ifndef GLU_TESS_BEGIN
2255#define GLU_TESS_BEGIN 100100
2256#endif /* ! GLU_TESS_BEGIN */
2257#ifndef GLU_TESS_VERTEX
2258#define GLU_TESS_VERTEX 100101
2259#endif /* ! GLU_TESS_VERTEX */
2260#ifndef GLU_TESS_END
2261#define GLU_TESS_END 100102
2262#endif /* ! GLU_TESS_END */
2263#ifndef GLU_TESS_ERROR
2264#define GLU_TESS_ERROR 100103
2265#endif /* ! GLU_TESS_ERROR */
2266#ifndef GLU_TESS_COMBINE
2267#define GLU_TESS_COMBINE 100105
2268#endif /* ! GLU_TESS_COMBINE */
2269#ifndef GLU_TESS_BEGIN_DATA
2270#define GLU_TESS_BEGIN_DATA 100106
2271#endif /* ! GLU_TESS_BEGIN_DATA */
2272#ifndef GLU_TESS_VERTEX_DATA
2273#define GLU_TESS_VERTEX_DATA 100107
2274#endif /* ! GLU_TESS_VERTEX_DATA */
2275#ifndef GLU_TESS_END_DATA
2276#define GLU_TESS_END_DATA 100108
2277#endif /* ! GLU_TESS_END_DATA */
2278#ifndef GLU_TESS_ERROR_DATA
2279#define GLU_TESS_ERROR_DATA 100109
2280#endif /* ! GLU_TESS_ERROR_DATA */
2281
2282#ifndef GLU_TESS_MISSING_BEGIN_POLYGON
2283#define GLU_TESS_MISSING_BEGIN_POLYGON 100151
2284#endif /* ! GLU_TESS_MISSING_BEGIN_POLYGON */
2285#ifndef GLU_TESS_MISSING_BEGIN_CONTOUR
2286#define GLU_TESS_MISSING_BEGIN_CONTOUR 100152
2287#endif /* ! GLU_TESS_MISSING_BEGIN_CONTOUR */
2288#ifndef GLU_TESS_MISSING_END_POLYGON
2289#define GLU_TESS_MISSING_END_POLYGON 100153
2290#endif /* ! GLU_TESS_MISSING_END_POLYGON */
2291#ifndef GLU_TESS_MISSING_END_CONTOUR
2292#define GLU_TESS_MISSING_END_CONTOUR 100154
2293#endif /* ! GLU_TESS_MISSING_END_CONTOUR */
2294#ifndef GLU_TESS_NEED_COMBINE_CALLBACK
2295#define GLU_TESS_NEED_COMBINE_CALLBACK 100156
2296#endif /* ! GLU_TESS_NEED_COMBINE_CALLBACK */
2297
2298/*** GLU enums, end ***************************************************/
2299/**********************************************************************/
2300
2301/* WGL enums that might not be available on the system. */
2302
2303#ifndef WGL_COLOR_BITS_ARB
2304#define WGL_COLOR_BITS_ARB 0x2014
2305#endif /* WGL_COLOR_BITS_ARB */
2306#ifndef WGL_ALPHA_BITS_ARB
2307#define WGL_ALPHA_BITS_ARB 0x201B
2308#endif /* WGL_ALPHA_BITS_ARB */
2309#ifndef WGL_DEPTH_BITS_ARB
2310#define WGL_DEPTH_BITS_ARB 0x2022
2311#endif /* WGL_DEPTH_BITS_ARB */
2312#ifndef WGL_STENCIL_BITS_ARB
2313#define WGL_STENCIL_BITS_ARB 0x2023
2314#endif /* WGL_STENCIL_BITS_ARB */
2315#ifndef WGL_DRAW_TO_PBUFFER_ARB
2316#define WGL_DRAW_TO_PBUFFER_ARB 0x202D
2317#endif /* WGL_DRAW_TO_PBUFFER_ARB */
2318#ifndef WGL_PBUFFER_WIDTH_ARB
2319#define WGL_PBUFFER_WIDTH_ARB 0x2034
2320#endif /* WGL_PBUFFER_WIDTH_ARB */
2321#ifndef WGL_PBUFFER_HEIGHT_ARB
2322#define WGL_PBUFFER_HEIGHT_ARB 0x2035
2323#endif /* WGL_PBUFFER_HEIGHT_ARB */
2324
2325/* WGL_ARB_render_texture */
2326#ifndef WGL_BIND_TO_TEXTURE_RGB_ARB
2327#define WGL_BIND_TO_TEXTURE_RGB_ARB 0x2070
2328#endif /* WGL_BIND_TO_TEXTURE_RGB_ARB */
2329
2330#ifndef WGL_BIND_TO_TEXTURE_RGBA_ARB
2331#define WGL_BIND_TO_TEXTURE_RGBA_ARB 0x2071
2332#endif /* WGL_BIND_TO_TEXTURE_RGBA_ARB */
2333
2334#ifndef WGL_TEXTURE_FORMAT_ARB
2335#define WGL_TEXTURE_FORMAT_ARB 0x2072
2336#endif /* WGL_TEXTURE_FORMAT_ARB */
2337
2338#ifndef WGL_TEXTURE_TARGET_ARB
2339#define WGL_TEXTURE_TARGET_ARB 0x2073
2340#endif /* WGL_TEXTURE_TARGET_ARB */
2341
2342#ifndef WGL_MIPMAP_TEXTURE_ARB
2343#define WGL_MIPMAP_TEXTURE_ARB 0x2074
2344#endif /* WGL_MIPMAP_TEXTURE_ARB */
2345
2346#ifndef WGL_TEXTURE_RGB_ARB
2347#define WGL_TEXTURE_RGB_ARB 0x2075
2348#endif /* WGL_TEXTURE_RGB_ARB */
2349
2350#ifndef WGL_TEXTURE_RGBA_ARB
2351#define WGL_TEXTURE_RGBA_ARB 0x2076
2352#endif /* WGL_TEXTURE_RGBA_ARB */
2353
2354#ifndef WGL_NO_TEXTURE_ARB
2355#define WGL_NO_TEXTURE_ARB 0x2077
2356#endif /* WGL_NO_TEXTURE_ARB */
2357
2358#ifndef WGL_TEXTURE_CUBE_MAP_ARB
2359#define WGL_TEXTURE_CUBE_MAP_ARB 0x2078
2360#endif /* WGL_TEXTURE_CUBE_MAP_ARB */
2361
2362#ifndef WGL_TEXTURE_1D_ARB
2363#define WGL_TEXTURE_1D_ARB 0x2079
2364#endif /* WGL_TEXTURE_1D_ARB */
2365
2366#ifndef WGL_TEXTURE_2D_ARB
2367#define WGL_TEXTURE_2D_ARB 0x207A
2368#endif /* WGL_TEXTURE_2D_ARB */
2369
2370#ifndef WGL_MIPMAP_LEVEL_ARB
2371#define WGL_MIPMAP_LEVEL_ARB 0x207B
2372#endif /* WGL_MIPMAP_LEVEL_ARB */
2373
2374#ifndef WGL_FRONT_LEFT_ARB
2375#define WGL_FRONT_LEFT_ARB 0x2083
2376#endif /* WGL_FRONT_LEFT_ARB */
2377
2378#ifndef WGL_FRONT_RIGHT_ARB
2379#define WGL_FRONT_RIGHT_ARB 0x2084
2380#endif /* WGL_FRONT_RIGHT_ARB */
2381
2382#ifndef WGL_BACK_LEFT_ARB
2383#define WGL_BACK_LEFT_ARB 0x2085
2384#endif /* WGL_BACK_LEFT_ARB */
2385
2386#ifndef WGL_BACK_RIGHT_ARB
2387#define WGL_BACK_RIGHT_ARB 0x2086
2388#endif /* WGL_BACK_RIGHT_ARB */
2389
2390#ifndef WGL_MAX_PBUFFER_PIXELS_ARB
2391#define WGL_MAX_PBUFFER_PIXELS_ARB 0x202E
2392#endif /* WGL_MAX_PBUFFER_PIXELS_ARB */
2393
2394#ifndef WGL_MAX_PBUFFER_WIDTH_ARB
2395#define WGL_MAX_PBUFFER_WIDTH_ARB 0x202F
2396#endif /* WGL_MAX_PBUFFER_WIDTH_ARB */
2397
2398#ifndef WGL_MAX_PBUFFER_HEIGHT_ARB
2399#define WGL_MAX_PBUFFER_HEIGHT_ARB 0x2030
2400#endif /* WGL_MAX_PBUFFER_HEIGHT_ARB */
2401
2402/* Note: the above also exists in *_EXT variants. They have the same
2403 values. So we only bother with the *_ARB names, as they can be used
2404 in place of the *_EXT names. */
2405
2406/*** WGL enums, end ***************************************************/
2407/**********************************************************************/
2408
2409#endif /* ! COIN_GL_H */