1afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
2afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Mesa 3-D graphics library
3d33c315d9e32584dea12cea683795b498a9f5ecaBrian Paul * Version:  7.6
4afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg *
59305cba6a7dfe539e5c3b01f7b16fcf60cf20900Brian Paul * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
6d33c315d9e32584dea12cea683795b498a9f5ecaBrian Paul * Copyright (C) 2009  VMware, Inc.  All Rights Reserved.
7afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg *
8afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Permission is hereby granted, free of charge, to any person obtaining a
9afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * copy of this software and associated documentation files (the "Software"),
10afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * to deal in the Software without restriction, including without limitation
11afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * the rights to use, copy, modify, merge, publish, distribute, sublicense,
12afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * and/or sell copies of the Software, and to permit persons to whom the
13afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Software is furnished to do so, subject to the following conditions:
14afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg *
15afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * The above copyright notice and this permission notice shall be included
16afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * in all copies or substantial portions of the Software.
17afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg *
18afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
21afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
22afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
24afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
25afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
26afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
27e23e2759fc67973c0d2e3318f79837f88f8bad0dBrian Paul#ifndef __gl_h_
28e23e2759fc67973c0d2e3318f79837f88f8bad0dBrian Paul#define __gl_h_
29afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
30afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#if defined(USE_MGL_NAMESPACE)
31afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#include "gl_mangle.h"
32afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif
33afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
34afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
3508f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul/**********************************************************************
36d6643331ab1a2215338be19177296d255170c798Kendall Bennett * Begin system-specific stuff. Do not do any of this when building
37d6643331ab1a2215338be19177296d255170c798Kendall Bennett * for SciTech SNAP, as this is all done before this header file is
38d6643331ab1a2215338be19177296d255170c798Kendall Bennett * included.
3908f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul */
40d6643331ab1a2215338be19177296d255170c798Kendall Bennett#if !defined(__SCITECH_SNAP__)
4191b6a4aa901e09b395cf6d81ed29dfe281dbc9f7Brian Paul
42afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#if defined(__BEOS__)
43afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#include <stdlib.h>     /* to get some BeOS-isms */
44afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif
45afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
46afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#if !defined(OPENSTEP) && (defined(NeXT) || defined(NeXT_PDO))
47afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define OPENSTEP
48afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif
49afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
502743def830bc1dc3bedb302f13db3d65dc4705d7Brian Paul#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__)
5108f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#define __WIN32__
52afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif
53afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
542743def830bc1dc3bedb302f13db3d65dc4705d7Brian Paul#if !defined(OPENSTEP) && (defined(__WIN32__) && !defined(__CYGWIN__))
5583889ffd970a807074d834849677fd233c031dc7Brian Paul#  if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */
56ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul#    define GLAPI __declspec(dllexport)
5783889ffd970a807074d834849677fd233c031dc7Brian Paul#  elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */
58ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul#    define GLAPI __declspec(dllimport)
59ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul#  else /* for use with static link lib build of Win32 edition only */
60ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul#    define GLAPI extern
61ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul#  endif /* _STATIC_MESA support */
62e4f3770690129dc1ea683fadbe07f1fbc49cf271Jonathan White#  if defined(__MINGW32__) && defined(GL_NO_STDCALL) || defined(UNDER_CE)  /* The generated DLLs by MingW with STDCALL are not compatible with the ones done by Microsoft's compilers */
6376fb8089103e9dba9aaa7232c86d864d5874a08fZhang#    define GLAPIENTRY
6476fb8089103e9dba9aaa7232c86d864d5874a08fZhang#  else
6576fb8089103e9dba9aaa7232c86d864d5874a08fZhang#    define GLAPIENTRY __stdcall
6676fb8089103e9dba9aaa7232c86d864d5874a08fZhang#  endif
676b869d4fe19dc0ed35bdd17c843f25553e9e887cBrian Paul#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */
686b869d4fe19dc0ed35bdd17c843f25553e9e887cBrian Paul#  define GLAPI extern
696b869d4fe19dc0ed35bdd17c843f25553e9e887cBrian Paul#  define GLAPIENTRY __stdcall
70cbb2b4149ba26ee26f73f53e9b2aa960d9e5862cTom Fogal#elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
71d084982240bafba0169c4a6cacf02d45d6cfd8c1Adam Jackson#  define GLAPI __attribute__((visibility("default")))
72d084982240bafba0169c4a6cacf02d45d6cfd8c1Adam Jackson#  define GLAPIENTRY
73b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#endif /* WIN32 && !CYGWIN */
74afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
75473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul#if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__)
76473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul#  define PRAGMA_EXPORT_SUPPORTED		1
77473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul#endif
78473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul
793e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz/*
803e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * WINDOWS: Include windows.h here to define APIENTRY.
813e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * It is also useful when applications include this file by
823e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * including only glut.h, since glut.h depends on windows.h.
833e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * Applications needing to include windows.h with parms other
843e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * than "WIN32_LEAN_AND_MEAN" may include windows.h before
853e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * glut.h or gl.h.
863e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz */
873e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
8833f44b93d26a1d0c2c15a2613b07510825bc1d54José Fonseca#ifndef WIN32_LEAN_AND_MEAN
893e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz#define WIN32_LEAN_AND_MEAN 1
9033f44b93d26a1d0c2c15a2613b07510825bc1d54José Fonseca#endif
913e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz#include <windows.h>
923e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz#endif
93afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
9408f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#if defined(macintosh) && PRAGMA_IMPORT_SUPPORTED
9508f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#pragma import on
96afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif
97391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul
98b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#ifndef GLAPI
99b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#define GLAPI extern
100b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#endif
101b653aaede5abf39f91f9d1152bb411572950184fBrian Paul
102b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#ifndef GLAPIENTRY
103b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#define GLAPIENTRY
104b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#endif
105b653aaede5abf39f91f9d1152bb411572950184fBrian Paul
106391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#ifndef APIENTRY
107391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define APIENTRY GLAPIENTRY
108391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#endif
109b653aaede5abf39f91f9d1152bb411572950184fBrian Paul
110db21f1c84f32d4bd7696774acb86f5480f5138cdKarl Schultz/* "P" suffix to be used for a pointer to a function */
111b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#ifndef APIENTRYP
112d6643331ab1a2215338be19177296d255170c798Kendall Bennett#define APIENTRYP APIENTRY *
113b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#endif
114faf4059aa8cc477732eaebffe2af2d3ace10d043Alan Hourihane
115faf4059aa8cc477732eaebffe2af2d3ace10d043Alan Hourihane#ifndef GLAPIENTRYP
116f82c775fff7974ef9537332cdb5ade70703ba38cAlan Hourihane#define GLAPIENTRYP GLAPIENTRY *
117faf4059aa8cc477732eaebffe2af2d3ace10d043Alan Hourihane#endif
118391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul
119391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#ifdef CENTERLINE_CLPP
120391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define signed
121391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#endif
122391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul
123473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul#if defined(PRAGMA_EXPORT_SUPPORTED)
124391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#pragma export on
125391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#endif
126473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul
127d6643331ab1a2215338be19177296d255170c798Kendall Bennett#endif /* !__SCITECH_SNAP__ */
12808f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul/*
12908f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul * End system-specific stuff.
13008f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul **********************************************************************/
13108f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul
132afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
133afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
13408f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#ifdef __cplusplus
13508f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paulextern "C" {
136afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif
137afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
138afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
139afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
140afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define GL_VERSION_1_1   1
141391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_VERSION_1_2   1
142391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_VERSION_1_3   1
143391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_ARB_imaging   1
144afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
145fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
146afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
147fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul * Datatypes
148afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
149fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned int	GLenum;
150fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned char	GLboolean;
151fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned int	GLbitfield;
152fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef void		GLvoid;
153fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef signed char	GLbyte;		/* 1-byte signed */
154fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef short		GLshort;	/* 2-byte signed */
155fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef int		GLint;		/* 4-byte signed */
156fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned char	GLubyte;	/* 1-byte unsigned */
157fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned short	GLushort;	/* 2-byte unsigned */
158fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned int	GLuint;		/* 4-byte unsigned */
159fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef int		GLsizei;	/* 4-byte signed */
160fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef float		GLfloat;	/* single precision float */
161fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef float		GLclampf;	/* single precision float in [0,1] */
162fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef double		GLdouble;	/* double precision float */
163fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef double		GLclampd;	/* double precision float in [0,1] */
164afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
165fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
166fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
167fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/*
168fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul * Constants
169afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
170afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
171fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Boolean values */
172fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FALSE				0x0
173fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TRUE					0x1
174fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
175fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Data types */
176fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BYTE					0x1400
177fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNSIGNED_BYTE			0x1401
178fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SHORT				0x1402
179fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNSIGNED_SHORT			0x1403
180fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INT					0x1404
181fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNSIGNED_INT				0x1405
182fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FLOAT				0x1406
183fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_2_BYTES				0x1407
184fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_3_BYTES				0x1408
185fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_4_BYTES				0x1409
186199972cef06476d308c62c9b21f1ccffeb72cdb6Brian Paul#define GL_DOUBLE				0x140A
187fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
188fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Primitives */
189fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINTS				0x0000
190fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINES				0x0001
191fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_LOOP				0x0002
192fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_STRIP				0x0003
193fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TRIANGLES				0x0004
194fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TRIANGLE_STRIP			0x0005
195fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TRIANGLE_FAN				0x0006
196fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_QUADS				0x0007
197fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_QUAD_STRIP				0x0008
198fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON				0x0009
199fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
200fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Vertex Arrays */
201fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY				0x8074
202fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMAL_ARRAY				0x8075
203fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY				0x8076
204fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_ARRAY				0x8077
205fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY			0x8078
206fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EDGE_FLAG_ARRAY			0x8079
207fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY_SIZE			0x807A
208fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY_TYPE			0x807B
209fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY_STRIDE			0x807C
210fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMAL_ARRAY_TYPE			0x807E
211fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMAL_ARRAY_STRIDE			0x807F
212fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY_SIZE			0x8081
213fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY_TYPE			0x8082
214fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY_STRIDE			0x8083
215fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_ARRAY_TYPE			0x8085
216fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_ARRAY_STRIDE			0x8086
217fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY_SIZE		0x8088
218fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY_TYPE		0x8089
219fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY_STRIDE		0x808A
220fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EDGE_FLAG_ARRAY_STRIDE		0x808C
221fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY_POINTER			0x808E
222fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMAL_ARRAY_POINTER			0x808F
223fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY_POINTER			0x8090
224fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_ARRAY_POINTER			0x8091
225fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY_POINTER		0x8092
226fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EDGE_FLAG_ARRAY_POINTER		0x8093
227fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_V2F					0x2A20
228fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_V3F					0x2A21
229fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_C4UB_V2F				0x2A22
230fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_C4UB_V3F				0x2A23
231fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_C3F_V3F				0x2A24
232fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_N3F_V3F				0x2A25
233fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_C4F_N3F_V3F				0x2A26
234fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_V3F				0x2A27
235fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T4F_V4F				0x2A28
236fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_C4UB_V3F				0x2A29
237fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_C3F_V3F				0x2A2A
238fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_N3F_V3F				0x2A2B
239fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_C4F_N3F_V3F			0x2A2C
240fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T4F_C4F_N3F_V4F			0x2A2D
241fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
242fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Matrix Mode */
243fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MATRIX_MODE				0x0BA0
244fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MODELVIEW				0x1700
245fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROJECTION				0x1701
246fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE				0x1702
247fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
248fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Points */
249fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SMOOTH				0x0B10
250fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SIZE				0x0B11
251fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SIZE_GRANULARITY 		0x0B13
252fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SIZE_RANGE			0x0B12
253fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
254fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Lines */
255fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_SMOOTH				0x0B20
256fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_STIPPLE				0x0B24
257fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_STIPPLE_PATTERN			0x0B25
258fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_STIPPLE_REPEAT			0x0B26
259fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_WIDTH				0x0B21
260fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_WIDTH_GRANULARITY		0x0B23
261fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_WIDTH_RANGE			0x0B22
262fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
263fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Polygons */
264fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT				0x1B00
265fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE					0x1B01
266fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FILL					0x1B02
267fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CW					0x0900
268fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CCW					0x0901
269fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT				0x0404
270fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BACK					0x0405
271fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_MODE				0x0B40
272fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_SMOOTH			0x0B41
273fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_STIPPLE			0x0B42
274fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EDGE_FLAG				0x0B43
275fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CULL_FACE				0x0B44
276fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CULL_FACE_MODE			0x0B45
277fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT_FACE				0x0B46
278fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_FACTOR		0x8038
279fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_UNITS			0x2A00
280fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_POINT			0x2A01
281fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_LINE			0x2A02
282fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_FILL			0x8037
283fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
284fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Display Lists */
285fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COMPILE				0x1300
286fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COMPILE_AND_EXECUTE			0x1301
287fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIST_BASE				0x0B32
288fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIST_INDEX				0x0B33
289fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIST_MODE				0x0B30
290fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
291fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Depth buffer */
292fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NEVER				0x0200
293fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LESS					0x0201
2940056c5e40d7c5702420f314fa4f68159e5a64cd6Brian Paul#define GL_EQUAL				0x0202
295fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LEQUAL				0x0203
296fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREATER				0x0204
297fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NOTEQUAL				0x0205
2980056c5e40d7c5702420f314fa4f68159e5a64cd6Brian Paul#define GL_GEQUAL				0x0206
299fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALWAYS				0x0207
300fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_TEST				0x0B71
301fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_BITS				0x0D56
302fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_CLEAR_VALUE			0x0B73
303fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_FUNC				0x0B74
304fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_RANGE				0x0B70
305fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_WRITEMASK			0x0B72
306fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_COMPONENT			0x1902
307fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
308fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Lighting */
309fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHTING				0x0B50
310fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT0				0x4000
311fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT1				0x4001
312fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT2				0x4002
313fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT3				0x4003
314fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT4				0x4004
315fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT5				0x4005
316fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT6				0x4006
317fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT7				0x4007
318fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPOT_EXPONENT			0x1205
319fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPOT_CUTOFF				0x1206
320fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CONSTANT_ATTENUATION			0x1207
321fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINEAR_ATTENUATION			0x1208
322fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_QUADRATIC_ATTENUATION		0x1209
323fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AMBIENT				0x1200
324fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DIFFUSE				0x1201
325fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPECULAR				0x1202
326fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SHININESS				0x1601
327fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EMISSION				0x1600
328fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POSITION				0x1203
329fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPOT_DIRECTION			0x1204
330fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AMBIENT_AND_DIFFUSE			0x1602
331fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_INDEXES			0x1603
332fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT_MODEL_TWO_SIDE			0x0B52
333fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT_MODEL_LOCAL_VIEWER		0x0B51
334fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT_MODEL_AMBIENT			0x0B53
335fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT_AND_BACK			0x0408
336fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SHADE_MODEL				0x0B54
337fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FLAT					0x1D00
338fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SMOOTH				0x1D01
339fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_MATERIAL			0x0B57
340fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_MATERIAL_FACE			0x0B55
341fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_MATERIAL_PARAMETER		0x0B56
342fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMALIZE				0x0BA1
343fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
344fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* User clipping planes */
345fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE0				0x3000
346fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE1				0x3001
347fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE2				0x3002
348fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE3				0x3003
349fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE4				0x3004
350fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE5				0x3005
351fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
352fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Accumulation buffer */
353fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_RED_BITS			0x0D58
354fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_GREEN_BITS			0x0D59
355fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_BLUE_BITS			0x0D5A
356fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_ALPHA_BITS			0x0D5B
357fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_CLEAR_VALUE			0x0B80
358fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM				0x0100
359fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ADD					0x0104
360fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LOAD					0x0101
361fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MULT					0x0103
362fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RETURN				0x0102
363fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
364fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Alpha testing */
365fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_TEST				0x0BC0
366fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_TEST_REF			0x0BC2
367fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_TEST_FUNC			0x0BC1
368fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
369fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Blending */
370fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLEND				0x0BE2
371fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLEND_SRC				0x0BE1
372fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLEND_DST				0x0BE0
373fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ZERO					0x0
374fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ONE					0x1
375fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SRC_COLOR				0x0300
376fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ONE_MINUS_SRC_COLOR			0x0301
377fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SRC_ALPHA				0x0302
378fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ONE_MINUS_SRC_ALPHA			0x0303
379fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DST_ALPHA				0x0304
380fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ONE_MINUS_DST_ALPHA			0x0305
381df4fd765d5244cc09f18f6b0371909e7bf13be87Brian Paul#define GL_DST_COLOR				0x0306
382df4fd765d5244cc09f18f6b0371909e7bf13be87Brian Paul#define GL_ONE_MINUS_DST_COLOR			0x0307
383fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SRC_ALPHA_SATURATE			0x0308
384fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
385fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Render Mode */
386fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FEEDBACK				0x1C01
387fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RENDER				0x1C00
388fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SELECT				0x1C02
389fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
390fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Feedback */
391fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_2D					0x0600
392fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_3D					0x0601
393fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_3D_COLOR				0x0602
394fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_3D_COLOR_TEXTURE			0x0603
395fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_4D_COLOR_TEXTURE			0x0604
396fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_TOKEN				0x0701
397fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_TOKEN				0x0702
398fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_RESET_TOKEN			0x0707
399fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_TOKEN			0x0703
400fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BITMAP_TOKEN				0x0704
401fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DRAW_PIXEL_TOKEN			0x0705
402fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COPY_PIXEL_TOKEN			0x0706
403fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PASS_THROUGH_TOKEN			0x0700
404fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FEEDBACK_BUFFER_POINTER		0x0DF0
405fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FEEDBACK_BUFFER_SIZE			0x0DF1
406fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FEEDBACK_BUFFER_TYPE			0x0DF2
407fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
408fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Selection */
409fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SELECTION_BUFFER_POINTER		0x0DF3
410fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SELECTION_BUFFER_SIZE		0x0DF4
411fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
412fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Fog */
413fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG					0x0B60
414fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_MODE				0x0B65
415fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_DENSITY				0x0B62
416fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_COLOR				0x0B66
417fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_INDEX				0x0B61
418fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_START				0x0B63
419fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_END				0x0B64
420fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINEAR				0x2601
421fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EXP					0x0800
422fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EXP2					0x0801
423fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
424fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Logic Ops */
425fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LOGIC_OP				0x0BF1
426fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_LOGIC_OP			0x0BF1
427fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_LOGIC_OP			0x0BF2
428fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LOGIC_OP_MODE			0x0BF0
429fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLEAR				0x1500
430fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SET					0x150F
431fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COPY					0x1503
432fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COPY_INVERTED			0x150C
433fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NOOP					0x1505
434fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INVERT				0x150A
435fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AND					0x1501
436fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NAND					0x150E
437fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OR					0x1507
438fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NOR					0x1508
439fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_XOR					0x1506
440fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EQUIV				0x1509
441fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AND_REVERSE				0x1502
442fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AND_INVERTED				0x1504
443fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OR_REVERSE				0x150B
444fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OR_INVERTED				0x150D
445fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
446fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Stencil */
447fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_BITS				0x0D57
448bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_STENCIL_TEST				0x0B90
449bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_STENCIL_CLEAR_VALUE			0x0B91
450fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_FUNC				0x0B92
451fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_VALUE_MASK			0x0B93
452fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_FAIL				0x0B94
453fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_PASS_DEPTH_FAIL		0x0B95
454bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_STENCIL_PASS_DEPTH_PASS		0x0B96
455bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_STENCIL_REF				0x0B97
456bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_STENCIL_WRITEMASK			0x0B98
457fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_INDEX			0x1901
458fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_KEEP					0x1E00
459fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_REPLACE				0x1E01
460fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INCR					0x1E02
461fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DECR					0x1E03
462fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
463fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Buffers, Pixel Drawing/Reading */
464fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NONE					0x0
465fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LEFT					0x0406
466fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RIGHT				0x0407
467fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/*GL_FRONT					0x0404 */
468fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/*GL_BACK					0x0405 */
469fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/*GL_FRONT_AND_BACK				0x0408 */
470fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT_LEFT				0x0400
471fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT_RIGHT				0x0401
472fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BACK_LEFT				0x0402
473fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BACK_RIGHT				0x0403
474fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX0					0x0409
475fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX1					0x040A
476fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX2					0x040B
477fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX3					0x040C
478fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_INDEX				0x1900
479fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RED					0x1903
480fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREEN				0x1904
481fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLUE					0x1905
482fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA				0x1906
483fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE				0x1909
484fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE_ALPHA			0x190A
485fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_BITS				0x0D55
486fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RED_BITS				0x0D52
487fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREEN_BITS				0x0D53
488fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLUE_BITS				0x0D54
489fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_BITS				0x0D51
490fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SUBPIXEL_BITS			0x0D50
491fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX_BUFFERS				0x0C00
492fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_READ_BUFFER				0x0C02
493fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DRAW_BUFFER				0x0C01
494fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DOUBLEBUFFER				0x0C32
495fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STEREO				0x0C33
496fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BITMAP				0x1A00
497fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR				0x1800
498fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH				0x1801
499fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL				0x1802
500fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DITHER				0x0BD0
501fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB					0x1907
502fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA					0x1908
503fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
504fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Implementation limits */
505fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_LIST_NESTING			0x0B31
506fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_EVAL_ORDER			0x0D30
507fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_LIGHTS				0x0D31
508fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_CLIP_PLANES			0x0D32
509fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_TEXTURE_SIZE			0x0D33
510fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_PIXEL_MAP_TABLE			0x0D34
511bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_MAX_ATTRIB_STACK_DEPTH		0x0D35
512bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_MAX_MODELVIEW_STACK_DEPTH		0x0D36
513bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_MAX_NAME_STACK_DEPTH			0x0D37
514bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_MAX_PROJECTION_STACK_DEPTH		0x0D38
515bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_MAX_TEXTURE_STACK_DEPTH		0x0D39
516fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_VIEWPORT_DIMS			0x0D3A
517fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH	0x0D3B
518fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
519fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Gets */
520fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ATTRIB_STACK_DEPTH			0x0BB0
521fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIENT_ATTRIB_STACK_DEPTH		0x0BB1
522fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_CLEAR_VALUE			0x0C22
523fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_WRITEMASK			0x0C23
524fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_INDEX			0x0B01
525fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_COLOR			0x0B00
526fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_NORMAL			0x0B02
527fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_COLOR			0x0B04
528fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_DISTANCE		0x0B09
529fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_INDEX			0x0B05
530fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_POSITION		0x0B07
531fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_TEXTURE_COORDS	0x0B06
532fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_POSITION_VALID	0x0B08
533fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_TEXTURE_COORDS		0x0B03
534fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_CLEAR_VALUE			0x0C20
535fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_MODE				0x0C30
536fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_WRITEMASK			0x0C21
537fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MODELVIEW_MATRIX			0x0BA6
538fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MODELVIEW_STACK_DEPTH		0x0BA3
539fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NAME_STACK_DEPTH			0x0D70
540fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROJECTION_MATRIX			0x0BA7
541fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROJECTION_STACK_DEPTH		0x0BA4
542fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RENDER_MODE				0x0C40
543fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA_MODE				0x0C31
544fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_MATRIX			0x0BA8
545fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_STACK_DEPTH			0x0BA5
546fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VIEWPORT				0x0BA2
547fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
548fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Evaluators */
549fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUTO_NORMAL				0x0D80
550fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_COLOR_4				0x0D90
551fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_INDEX				0x0D91
552fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_NORMAL				0x0D92
553fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_TEXTURE_COORD_1			0x0D93
554fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_TEXTURE_COORD_2			0x0D94
555fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_TEXTURE_COORD_3			0x0D95
556fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_TEXTURE_COORD_4			0x0D96
557fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_VERTEX_3			0x0D97
558fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_VERTEX_4			0x0D98
559fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_COLOR_4				0x0DB0
560fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_INDEX				0x0DB1
561fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_NORMAL				0x0DB2
562fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_TEXTURE_COORD_1			0x0DB3
563fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_TEXTURE_COORD_2			0x0DB4
564fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_TEXTURE_COORD_3			0x0DB5
565fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_TEXTURE_COORD_4			0x0DB6
566fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_VERTEX_3			0x0DB7
567fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_VERTEX_4			0x0DB8
56874df2ef732abba668ca784190617023419c0b965Brian Paul#define GL_MAP1_GRID_DOMAIN			0x0DD0
56974df2ef732abba668ca784190617023419c0b965Brian Paul#define GL_MAP1_GRID_SEGMENTS			0x0DD1
57074df2ef732abba668ca784190617023419c0b965Brian Paul#define GL_MAP2_GRID_DOMAIN			0x0DD2
57174df2ef732abba668ca784190617023419c0b965Brian Paul#define GL_MAP2_GRID_SEGMENTS			0x0DD3
572fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COEFF				0x0A00
573fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ORDER				0x0A01
574bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_DOMAIN				0x0A02
575fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
576fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Hints */
577fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PERSPECTIVE_CORRECTION_HINT		0x0C50
578fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SMOOTH_HINT			0x0C51
579bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_LINE_SMOOTH_HINT			0x0C52
580fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_SMOOTH_HINT			0x0C53
581bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_FOG_HINT				0x0C54
582fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DONT_CARE				0x1100
583fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FASTEST				0x1101
584fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NICEST				0x1102
585fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
586fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Scissor box */
587fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SCISSOR_BOX				0x0C10
588bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_SCISSOR_TEST				0x0C11
589fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
590fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Pixel Mode / Transfer */
591fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP_COLOR				0x0D10
592fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP_STENCIL				0x0D11
593fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_SHIFT				0x0D12
594fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_OFFSET				0x0D13
595fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RED_SCALE				0x0D14
596fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RED_BIAS				0x0D15
597fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREEN_SCALE				0x0D18
598fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREEN_BIAS				0x0D19
599fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLUE_SCALE				0x0D1A
600fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLUE_BIAS				0x0D1B
601fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_SCALE				0x0D1C
602fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_BIAS				0x0D1D
603fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_SCALE				0x0D1E
604fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_BIAS				0x0D1F
605fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_S_TO_S_SIZE		0x0CB1
606fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_I_SIZE		0x0CB0
607fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_R_SIZE		0x0CB2
608fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_G_SIZE		0x0CB3
609fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_B_SIZE		0x0CB4
610fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_A_SIZE		0x0CB5
611fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_R_TO_R_SIZE		0x0CB6
612fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_G_TO_G_SIZE		0x0CB7
613fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_B_TO_B_SIZE		0x0CB8
614fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_A_TO_A_SIZE		0x0CB9
615fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_S_TO_S			0x0C71
616fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_I			0x0C70
617fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_R			0x0C72
618fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_G			0x0C73
619fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_B			0x0C74
620fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_A			0x0C75
621fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_R_TO_R			0x0C76
622fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_G_TO_G			0x0C77
623fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_B_TO_B			0x0C78
624fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_A_TO_A			0x0C79
625fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_ALIGNMENT			0x0D05
626fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_LSB_FIRST			0x0D01
627fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_ROW_LENGTH			0x0D02
628fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_SKIP_PIXELS			0x0D04
629fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_SKIP_ROWS			0x0D03
630fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_SWAP_BYTES			0x0D00
631fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_ALIGNMENT			0x0CF5
632fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_LSB_FIRST			0x0CF1
633fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_ROW_LENGTH			0x0CF2
634fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_SKIP_PIXELS			0x0CF4
635fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_SKIP_ROWS			0x0CF3
636fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_SWAP_BYTES			0x0CF0
637fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ZOOM_X				0x0D16
638fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ZOOM_Y				0x0D17
639fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
640fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Texture mapping */
641fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_ENV				0x2300
642fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_ENV_MODE			0x2200
643fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_1D				0x0DE0
644fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_2D				0x0DE1
645fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_WRAP_S			0x2802
646fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_WRAP_T			0x2803
647fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_MAG_FILTER			0x2800
648fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_MIN_FILTER			0x2801
649fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_ENV_COLOR			0x2201
650fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GEN_S			0x0C60
651fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GEN_T			0x0C61
652912c4ec6dfda03d06b6edc59cf62f1a61f22ee29Brian Paul#define GL_TEXTURE_GEN_R			0x0C62
653912c4ec6dfda03d06b6edc59cf62f1a61f22ee29Brian Paul#define GL_TEXTURE_GEN_Q			0x0C63
654fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GEN_MODE			0x2500
655fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BORDER_COLOR			0x1004
656fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_WIDTH			0x1000
657fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_HEIGHT			0x1001
658fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BORDER			0x1005
659fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COMPONENTS			0x1003
660fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_RED_SIZE			0x805C
661fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GREEN_SIZE			0x805D
662fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BLUE_SIZE			0x805E
663fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_ALPHA_SIZE			0x805F
664fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_LUMINANCE_SIZE		0x8060
665fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_INTENSITY_SIZE		0x8061
666fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NEAREST_MIPMAP_NEAREST		0x2700
667fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NEAREST_MIPMAP_LINEAR		0x2702
668fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINEAR_MIPMAP_NEAREST		0x2701
669fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINEAR_MIPMAP_LINEAR			0x2703
670fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OBJECT_LINEAR			0x2401
671fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OBJECT_PLANE				0x2501
672fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EYE_LINEAR				0x2400
673fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EYE_PLANE				0x2502
674fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPHERE_MAP				0x2402
675fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DECAL				0x2101
676fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MODULATE				0x2100
677fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NEAREST				0x2600
678fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_REPEAT				0x2901
679fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLAMP				0x2900
680fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_S					0x2000
681fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T					0x2001
682fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_R					0x2002
683fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_Q					0x2003
684fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
685a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul/* Utility */
686a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_VENDOR				0x1F00
687a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_RENDERER				0x1F01
688a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_VERSION				0x1F02
689a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_EXTENSIONS				0x1F03
690a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul
691a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul/* Errors */
692a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_NO_ERROR 				0x0
693a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_INVALID_ENUM				0x0500
694bd0bfd1dc2430d80a7563ae2af0667633277ab00Brian Paul#define GL_INVALID_VALUE			0x0501
695a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_INVALID_OPERATION			0x0502
696a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_STACK_OVERFLOW			0x0503
697a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_STACK_UNDERFLOW			0x0504
698a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_OUT_OF_MEMORY			0x0505
699a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul
700a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul/* glPush/PopAttrib bits */
701a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_CURRENT_BIT				0x00000001
702a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_POINT_BIT				0x00000002
703a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_LINE_BIT				0x00000004
704a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_POLYGON_BIT				0x00000008
705a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_POLYGON_STIPPLE_BIT			0x00000010
706a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_PIXEL_MODE_BIT			0x00000020
707a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_LIGHTING_BIT				0x00000040
708a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_FOG_BIT				0x00000080
709a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_DEPTH_BUFFER_BIT			0x00000100
710a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_ACCUM_BUFFER_BIT			0x00000200
711a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_STENCIL_BUFFER_BIT			0x00000400
712a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_VIEWPORT_BIT				0x00000800
713a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_TRANSFORM_BIT			0x00001000
714a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_ENABLE_BIT				0x00002000
715a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_COLOR_BUFFER_BIT			0x00004000
716a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_HINT_BIT				0x00008000
717a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_EVAL_BIT				0x00010000
718a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_LIST_BIT				0x00020000
719a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_TEXTURE_BIT				0x00040000
720a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_SCISSOR_BIT				0x00080000
721a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_ALL_ATTRIB_BITS			0x000FFFFF
722a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul
723a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul
724a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul/* OpenGL 1.1 */
725fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROXY_TEXTURE_1D			0x8063
726fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROXY_TEXTURE_2D			0x8064
727fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_PRIORITY			0x8066
728fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_RESIDENT			0x8067
729fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BINDING_1D			0x8068
730fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BINDING_2D			0x8069
731fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_INTERNAL_FORMAT		0x1003
732fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA4				0x803B
733fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA8				0x803C
734fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA12				0x803D
735fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA16				0x803E
736fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE4				0x803F
737fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE8				0x8040
738fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE12				0x8041
739fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE16				0x8042
740fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE4_ALPHA4			0x8043
741fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE6_ALPHA2			0x8044
742fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE8_ALPHA8			0x8045
743fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE12_ALPHA4			0x8046
744fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE12_ALPHA12			0x8047
745fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE16_ALPHA16			0x8048
746fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY				0x8049
747fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY4				0x804A
748fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY8				0x804B
749fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY12				0x804C
750fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY16				0x804D
751fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_R3_G3_B2				0x2A10
752fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB4					0x804F
753fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB5					0x8050
754fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB8					0x8051
755fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB10				0x8052
756fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB12				0x8053
757fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB16				0x8054
758fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA2				0x8055
759fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA4				0x8056
760fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB5_A1				0x8057
761fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA8				0x8058
762fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB10_A2				0x8059
763fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA12				0x805A
764fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA16				0x805B
765a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_CLIENT_PIXEL_STORE_BIT		0x00000001
766a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_CLIENT_VERTEX_ARRAY_BIT		0x00000002
767a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_ALL_CLIENT_ATTRIB_BITS 		0xFFFFFFFF
768a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_CLIENT_ALL_ATTRIB_BITS 		0xFFFFFFFF
769afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
770fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul
771473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul
772afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
773afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Miscellaneous
774afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
775afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
776afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClearIndex( GLfloat c );
777afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
778a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha );
779afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
780afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClear( GLbitfield mask );
781afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
782afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexMask( GLuint mask );
783afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
784a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha );
785afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
786afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glAlphaFunc( GLenum func, GLclampf ref );
787afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
788afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor );
789afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
790afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLogicOp( GLenum opcode );
791afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
792afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCullFace( GLenum mode );
793afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
794afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFrontFace( GLenum mode );
795afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
796afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPointSize( GLfloat size );
797afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
798afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLineWidth( GLfloat width );
799afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
800afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLineStipple( GLint factor, GLushort pattern );
801afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
802afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPolygonMode( GLenum face, GLenum mode );
803afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
804afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPolygonOffset( GLfloat factor, GLfloat units );
805afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
806afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPolygonStipple( const GLubyte *mask );
807afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
808afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetPolygonStipple( GLubyte *mask );
809afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
810afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEdgeFlag( GLboolean flag );
811afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
812afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEdgeFlagv( const GLboolean *flag );
813afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
814a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height);
815afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
816afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClipPlane( GLenum plane, const GLdouble *equation );
817afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
818afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetClipPlane( GLenum plane, GLdouble *equation );
819afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
820afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDrawBuffer( GLenum mode );
821afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
822afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glReadBuffer( GLenum mode );
823afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
824afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEnable( GLenum cap );
825afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
826afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDisable( GLenum cap );
827afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
828afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLboolean GLAPIENTRY glIsEnabled( GLenum cap );
829afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
830afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
831afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEnableClientState( GLenum cap );  /* 1.1 */
832afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
833afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDisableClientState( GLenum cap );  /* 1.1 */
834afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
835afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
836afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetBooleanv( GLenum pname, GLboolean *params );
837afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
838afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetDoublev( GLenum pname, GLdouble *params );
839afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
840afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetFloatv( GLenum pname, GLfloat *params );
841afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
842afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetIntegerv( GLenum pname, GLint *params );
843afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
844afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
845afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPushAttrib( GLbitfield mask );
846afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
847afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPopAttrib( void );
848afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
849afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
850afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPushClientAttrib( GLbitfield mask );  /* 1.1 */
851afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
852afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPopClientAttrib( void );  /* 1.1 */
853afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
854afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
855afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLint GLAPIENTRY glRenderMode( GLenum mode );
856afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
857afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLenum GLAPIENTRY glGetError( void );
858afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
859db21f1c84f32d4bd7696774acb86f5480f5138cdKarl SchultzGLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name );
860afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
861afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFinish( void );
862afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
863afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFlush( void );
864afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
865afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode );
866afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
867afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
868afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
869afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Depth Buffer
870afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
871afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
872afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClearDepth( GLclampd depth );
873afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
874afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDepthFunc( GLenum func );
875afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
876afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDepthMask( GLboolean flag );
877afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
878afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val );
879afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
880afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
881afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
882afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Accumulation Buffer
883afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
884afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
885a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
886afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
887afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glAccum( GLenum op, GLfloat value );
888afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
889afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
890afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
891afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Transformation
892afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
893afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
894afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMatrixMode( GLenum mode );
895afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
896afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glOrtho( GLdouble left, GLdouble right,
897afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                 GLdouble bottom, GLdouble top,
898afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                 GLdouble near_val, GLdouble far_val );
899afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
900afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFrustum( GLdouble left, GLdouble right,
901afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                   GLdouble bottom, GLdouble top,
902afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                   GLdouble near_val, GLdouble far_val );
903afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
904afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glViewport( GLint x, GLint y,
905afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLsizei width, GLsizei height );
906afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
907afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPushMatrix( void );
908afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
909afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPopMatrix( void );
910afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
911afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLoadIdentity( void );
912afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
913afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLoadMatrixd( const GLdouble *m );
914afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLoadMatrixf( const GLfloat *m );
915afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
916afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMultMatrixd( const GLdouble *m );
917afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMultMatrixf( const GLfloat *m );
918afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
919afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRotated( GLdouble angle,
920afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                   GLdouble x, GLdouble y, GLdouble z );
921afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRotatef( GLfloat angle,
922afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                   GLfloat x, GLfloat y, GLfloat z );
923afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
924afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z );
925afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z );
926afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
927afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z );
928afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z );
929afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
930afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
931afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
932afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Display Lists
933afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
934afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
935afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLboolean GLAPIENTRY glIsList( GLuint list );
936afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
937afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range );
938afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
939afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLuint GLAPIENTRY glGenLists( GLsizei range );
940afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
941afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNewList( GLuint list, GLenum mode );
942afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
943afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEndList( void );
944afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
945afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCallList( GLuint list );
946afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
947afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCallLists( GLsizei n, GLenum type,
948afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                     const GLvoid *lists );
949afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
950afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glListBase( GLuint base );
951afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
952afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
953afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
954afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Drawing Functions
955afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
956afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
957afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glBegin( GLenum mode );
958afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
959afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEnd( void );
960afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
961afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
962afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2d( GLdouble x, GLdouble y );
963afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2f( GLfloat x, GLfloat y );
964afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2i( GLint x, GLint y );
965afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y );
966afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
967afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z );
968afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z );
969afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3i( GLint x, GLint y, GLint z );
970afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z );
971afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
972afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
973afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
974afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w );
975afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w );
976afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
977afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2dv( const GLdouble *v );
978afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2fv( const GLfloat *v );
979afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2iv( const GLint *v );
980afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2sv( const GLshort *v );
981afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
982afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3dv( const GLdouble *v );
983afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3fv( const GLfloat *v );
984afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3iv( const GLint *v );
985afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3sv( const GLshort *v );
986afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
987afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4dv( const GLdouble *v );
988afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4fv( const GLfloat *v );
989afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4iv( const GLint *v );
990afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4sv( const GLshort *v );
991afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
992afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
993afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz );
994afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz );
995afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz );
996afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3i( GLint nx, GLint ny, GLint nz );
997afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz );
998afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
999afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v );
1000afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3dv( const GLdouble *v );
1001afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3fv( const GLfloat *v );
1002afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3iv( const GLint *v );
1003afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3sv( const GLshort *v );
1004afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1005afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1006afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexd( GLdouble c );
1007afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexf( GLfloat c );
1008afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexi( GLint c );
1009afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexs( GLshort c );
1010afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexub( GLubyte c );  /* 1.1 */
1011afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1012afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexdv( const GLdouble *c );
1013afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexfv( const GLfloat *c );
1014afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexiv( const GLint *c );
1015afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexsv( const GLshort *c );
1016afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexubv( const GLubyte *c );  /* 1.1 */
1017afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1018afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue );
1019afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue );
1020afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue );
1021afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3i( GLint red, GLint green, GLint blue );
1022afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3s( GLshort red, GLshort green, GLshort blue );
1023afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue );
1024afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue );
1025afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3us( GLushort red, GLushort green, GLushort blue );
1026afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1027afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green,
1028afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                   GLbyte blue, GLbyte alpha );
1029afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4d( GLdouble red, GLdouble green,
1030afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                   GLdouble blue, GLdouble alpha );
1031afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green,
1032afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                   GLfloat blue, GLfloat alpha );
1033afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4i( GLint red, GLint green,
1034afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                   GLint blue, GLint alpha );
1035afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4s( GLshort red, GLshort green,
1036afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                   GLshort blue, GLshort alpha );
1037afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4ub( GLubyte red, GLubyte green,
1038afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLubyte blue, GLubyte alpha );
1039afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4ui( GLuint red, GLuint green,
1040afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLuint blue, GLuint alpha );
1041afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4us( GLushort red, GLushort green,
1042afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLushort blue, GLushort alpha );
1043afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1044afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1045afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3bv( const GLbyte *v );
1046afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3dv( const GLdouble *v );
1047afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3fv( const GLfloat *v );
1048afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3iv( const GLint *v );
1049afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3sv( const GLshort *v );
1050afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3ubv( const GLubyte *v );
1051afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3uiv( const GLuint *v );
1052afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3usv( const GLushort *v );
1053afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1054afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4bv( const GLbyte *v );
1055afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4dv( const GLdouble *v );
1056afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4fv( const GLfloat *v );
1057afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4iv( const GLint *v );
1058afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4sv( const GLshort *v );
1059afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4ubv( const GLubyte *v );
1060afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4uiv( const GLuint *v );
1061afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4usv( const GLushort *v );
1062afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1063afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1064afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1d( GLdouble s );
1065afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1f( GLfloat s );
1066afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1i( GLint s );
1067afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1s( GLshort s );
1068afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1069afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2d( GLdouble s, GLdouble t );
1070afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2f( GLfloat s, GLfloat t );
1071afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2i( GLint s, GLint t );
1072afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2s( GLshort s, GLshort t );
1073afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1074afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r );
1075afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r );
1076afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3i( GLint s, GLint t, GLint r );
1077afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r );
1078afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1079afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q );
1080afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q );
1081afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q );
1082afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q );
1083afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1084afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1dv( const GLdouble *v );
1085afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1fv( const GLfloat *v );
1086afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1iv( const GLint *v );
1087afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1sv( const GLshort *v );
1088afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1089afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2dv( const GLdouble *v );
1090afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2fv( const GLfloat *v );
1091afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2iv( const GLint *v );
1092afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2sv( const GLshort *v );
1093afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1094afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3dv( const GLdouble *v );
1095afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3fv( const GLfloat *v );
1096afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3iv( const GLint *v );
1097afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3sv( const GLshort *v );
1098afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1099afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4dv( const GLdouble *v );
1100afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4fv( const GLfloat *v );
1101afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4iv( const GLint *v );
1102afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4sv( const GLshort *v );
1103afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1104afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1105afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2d( GLdouble x, GLdouble y );
1106afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2f( GLfloat x, GLfloat y );
1107afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2i( GLint x, GLint y );
1108afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2s( GLshort x, GLshort y );
1109afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1110afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z );
1111afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z );
1112afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3i( GLint x, GLint y, GLint z );
1113afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z );
1114afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1115afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w );
1116afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w );
1117afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w );
1118afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w );
1119afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1120afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2dv( const GLdouble *v );
1121afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2fv( const GLfloat *v );
1122afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2iv( const GLint *v );
1123afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2sv( const GLshort *v );
1124afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1125afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3dv( const GLdouble *v );
1126afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3fv( const GLfloat *v );
1127afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3iv( const GLint *v );
1128afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3sv( const GLshort *v );
1129afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1130afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4dv( const GLdouble *v );
1131afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4fv( const GLfloat *v );
1132afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4iv( const GLint *v );
1133afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4sv( const GLshort *v );
1134afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1135afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1136afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 );
1137afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 );
1138afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 );
1139afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 );
1140afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1141afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1142afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 );
1143afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 );
1144afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 );
1145afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 );
1146afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1147afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1148afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
1149afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Vertex Arrays  (1.1)
1150afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
1151afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1152afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type,
1153afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                       GLsizei stride, const GLvoid *ptr );
1154afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1155afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride,
1156afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                       const GLvoid *ptr );
1157afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1158afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type,
1159afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                      GLsizei stride, const GLvoid *ptr );
1160afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1161afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride,
1162afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                      const GLvoid *ptr );
1163afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1164afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type,
1165afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                         GLsizei stride, const GLvoid *ptr );
1166afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1167afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr );
1168afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1169645c1cef13475db0db6433574807ee01ff0ceb28Brian PaulGLAPI void GLAPIENTRY glGetPointerv( GLenum pname, GLvoid **params );
1170afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1171afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glArrayElement( GLint i );
1172afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1173afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count );
1174afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1175afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDrawElements( GLenum mode, GLsizei count,
1176afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                      GLenum type, const GLvoid *indices );
1177afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1178afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride,
1179afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                           const GLvoid *pointer );
1180afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1181afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
1182afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Lighting
1183afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
1184afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1185afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glShadeModel( GLenum mode );
1186afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1187afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightf( GLenum light, GLenum pname, GLfloat param );
1188afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLighti( GLenum light, GLenum pname, GLint param );
1189afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightfv( GLenum light, GLenum pname,
1190afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                 const GLfloat *params );
1191afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightiv( GLenum light, GLenum pname,
1192afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                 const GLint *params );
1193afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1194afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetLightfv( GLenum light, GLenum pname,
1195afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLfloat *params );
1196afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetLightiv( GLenum light, GLenum pname,
1197afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLint *params );
1198afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1199afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightModelf( GLenum pname, GLfloat param );
1200afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightModeli( GLenum pname, GLint param );
1201afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightModelfv( GLenum pname, const GLfloat *params );
1202afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightModeliv( GLenum pname, const GLint *params );
1203afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1204afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param );
1205afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMateriali( GLenum face, GLenum pname, GLint param );
1206afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params );
1207afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params );
1208afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1209afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params );
1210afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params );
1211afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1212afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColorMaterial( GLenum face, GLenum mode );
1213afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1214afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1215afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
1216afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Raster functions
1217afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
1218afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1219afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor );
1220afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1221afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelStoref( GLenum pname, GLfloat param );
1222afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param );
1223afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1224afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param );
1225afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param );
1226afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
12279d73b81068182b72e332b762786d3e89f8dcac71Brian PaulGLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLsizei mapsize,
1228afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    const GLfloat *values );
12299d73b81068182b72e332b762786d3e89f8dcac71Brian PaulGLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLsizei mapsize,
1230afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                     const GLuint *values );
12319d73b81068182b72e332b762786d3e89f8dcac71Brian PaulGLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLsizei mapsize,
1232afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                     const GLushort *values );
1233afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1234afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values );
1235afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetPixelMapuiv( GLenum map, GLuint *values );
1236afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetPixelMapusv( GLenum map, GLushort *values );
1237afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1238afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height,
1239afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                GLfloat xorig, GLfloat yorig,
1240afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                GLfloat xmove, GLfloat ymove,
1241afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                const GLubyte *bitmap );
1242afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1243afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glReadPixels( GLint x, GLint y,
1244afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLsizei width, GLsizei height,
1245afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLenum format, GLenum type,
1246afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLvoid *pixels );
1247afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1248afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height,
1249afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLenum format, GLenum type,
1250afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    const GLvoid *pixels );
1251afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1252afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCopyPixels( GLint x, GLint y,
1253afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLsizei width, GLsizei height,
1254afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLenum type );
1255afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1256afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
1257afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Stenciling
1258afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
1259afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1260afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask );
1261afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1262afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glStencilMask( GLuint mask );
1263afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1264afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass );
1265afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1266afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClearStencil( GLint s );
1267afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1268afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1269afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1270afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/*
1271afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Texture mapping
1272afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */
1273afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1274afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param );
1275afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param );
1276afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param );
1277afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1278afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params );
1279afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params );
1280afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params );
1281afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1282afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params );
1283afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params );
1284afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params );
1285afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1286afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1287afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param );
1288afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param );
1289afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1290afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params );
1291afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params );
1292afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1293afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params );
1294afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params );
1295afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1296afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1297afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param );
1298afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param );
1299afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1300afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexParameterfv( GLenum target, GLenum pname,
1301afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                          const GLfloat *params );
1302afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexParameteriv( GLenum target, GLenum pname,
1303afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                          const GLint *params );
1304afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1305afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexParameterfv( GLenum target,
1306afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                           GLenum pname, GLfloat *params);
1307afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexParameteriv( GLenum target,
1308afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                           GLenum pname, GLint *params );
1309afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1310afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexLevelParameterfv( GLenum target, GLint level,
1311afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                                GLenum pname, GLfloat *params );
1312afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexLevelParameteriv( GLenum target, GLint level,
1313afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                                GLenum pname, GLint *params );
1314afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1315afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1316afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level,
1317afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLint internalFormat,
1318afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLsizei width, GLint border,
1319afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    GLenum format, GLenum type,
1320afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg                                    const GLvoid *pixels );
1321afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg
1322afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexImage2D( GLenum target, GLint level,