gl.h revision 2c7336af4e92f29599c04822fcbd4db12a4c5cc5
1afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 2afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Mesa 3-D graphics library 3bf4c23d00fd2cc96336745430ceec89dbeacaeadBrian Paul * Version: 6.3 4afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * 55d5100aabcb1e9a740f1e69e8b01743b1c1d3ccdBrian Paul * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. 6afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * 7afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Permission is hereby granted, free of charge, to any person obtaining a 8afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * copy of this software and associated documentation files (the "Software"), 9afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * to deal in the Software without restriction, including without limitation 10afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 11afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * and/or sell copies of the Software, and to permit persons to whom the 12afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Software is furnished to do so, subject to the following conditions: 13afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * 14afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * The above copyright notice and this permission notice shall be included 15afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * in all copies or substantial portions of the Software. 16afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * 17afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 18afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 20afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 21afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 22afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 24afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 25afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 26e23e2759fc67973c0d2e3318f79837f88f8bad0dBrian Paul#ifndef __gl_h_ 27e23e2759fc67973c0d2e3318f79837f88f8bad0dBrian Paul#define __gl_h_ 28afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 29afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#if defined(USE_MGL_NAMESPACE) 30afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#include "gl_mangle.h" 31afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 32afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 33afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 3408f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul/********************************************************************** 35d6643331ab1a2215338be19177296d255170c798Kendall Bennett * Begin system-specific stuff. Do not do any of this when building 36d6643331ab1a2215338be19177296d255170c798Kendall Bennett * for SciTech SNAP, as this is all done before this header file is 37d6643331ab1a2215338be19177296d255170c798Kendall Bennett * included. 3808f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul */ 39d6643331ab1a2215338be19177296d255170c798Kendall Bennett#if !defined(__SCITECH_SNAP__) 4091b6a4aa901e09b395cf6d81ed29dfe281dbc9f7Brian Paul 41afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#if defined(__BEOS__) 42afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#include <stdlib.h> /* to get some BeOS-isms */ 43afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 44afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 45afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#if !defined(OPENSTEP) && (defined(NeXT) || defined(NeXT_PDO)) 46afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define OPENSTEP 47afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 48afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 492743def830bc1dc3bedb302f13db3d65dc4705d7Brian Paul#if defined(_WIN32) && !defined(__WIN32__) && !defined(__CYGWIN__) 5008f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#define __WIN32__ 51afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 52afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 532743def830bc1dc3bedb302f13db3d65dc4705d7Brian Paul#if !defined(OPENSTEP) && (defined(__WIN32__) && !defined(__CYGWIN__)) 5483889ffd970a807074d834849677fd233c031dc7Brian Paul# if (defined(_MSC_VER) || defined(__MINGW32__)) && defined(BUILD_GL32) /* tag specify we're building mesa as a DLL */ 55ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul# define GLAPI __declspec(dllexport) 5683889ffd970a807074d834849677fd233c031dc7Brian Paul# elif (defined(_MSC_VER) || defined(__MINGW32__)) && defined(_DLL) /* tag specifying we're building for DLL runtime support */ 57ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul# define GLAPI __declspec(dllimport) 58ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul# else /* for use with static link lib build of Win32 edition only */ 59ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul# define GLAPI extern 60ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul# endif /* _STATIC_MESA support */ 61ae773f612c0b9262e9cf9fb63423a44d2125ce46Brian Paul# define GLAPIENTRY __stdcall 626b869d4fe19dc0ed35bdd17c843f25553e9e887cBrian Paul#elif defined(__CYGWIN__) && defined(USE_OPENGL32) /* use native windows opengl32 */ 636b869d4fe19dc0ed35bdd17c843f25553e9e887cBrian Paul# define GLAPI extern 646b869d4fe19dc0ed35bdd17c843f25553e9e887cBrian Paul# define GLAPIENTRY __stdcall 65d084982240bafba0169c4a6cacf02d45d6cfd8c1Adam Jackson#elif defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303 66d084982240bafba0169c4a6cacf02d45d6cfd8c1Adam Jackson# define GLAPI __attribute__((visibility("default"))) 67d084982240bafba0169c4a6cacf02d45d6cfd8c1Adam Jackson# define GLAPIENTRY 68b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#endif /* WIN32 && !CYGWIN */ 69afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 70473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul#if (defined(__BEOS__) && defined(__POWERPC__)) || defined(__QUICKDRAW__) 71473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul# define PRAGMA_EXPORT_SUPPORTED 1 72473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul#endif 73473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul 743e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz/* 753e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * WINDOWS: Include windows.h here to define APIENTRY. 763e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * It is also useful when applications include this file by 773e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * including only glut.h, since glut.h depends on windows.h. 783e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * Applications needing to include windows.h with parms other 793e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * than "WIN32_LEAN_AND_MEAN" may include windows.h before 803e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz * glut.h or gl.h. 813e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz */ 823e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) 833e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz#define WIN32_LEAN_AND_MEAN 1 843e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz#include <windows.h> 853e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz#endif 863e2fa3fd5cafdc641138844276c4260e028684acKarl Schultz 872743def830bc1dc3bedb302f13db3d65dc4705d7Brian Paul#if defined(_WIN32) && !defined(_WINGDI_) && !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP) && !defined(__CYGWIN__) 88c3fb2558f036ca8dd9f9a62269b57636ca3b5e4cBrian Paul#include <GL/mesa_wgl.h> 89afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 90afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 9108f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#if defined(macintosh) && PRAGMA_IMPORT_SUPPORTED 9208f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#pragma import on 93afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 94391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul 95b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#ifndef GLAPI 96b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#define GLAPI extern 97b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#endif 98b653aaede5abf39f91f9d1152bb411572950184fBrian Paul 99b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#ifndef GLAPIENTRY 100b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#define GLAPIENTRY 101b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#endif 102b653aaede5abf39f91f9d1152bb411572950184fBrian Paul 103391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#ifndef APIENTRY 104391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define APIENTRY GLAPIENTRY 105391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#endif 106b653aaede5abf39f91f9d1152bb411572950184fBrian Paul 107db21f1c84f32d4bd7696774acb86f5480f5138cdKarl Schultz/* "P" suffix to be used for a pointer to a function */ 108b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#ifndef APIENTRYP 109d6643331ab1a2215338be19177296d255170c798Kendall Bennett#define APIENTRYP APIENTRY * 110b653aaede5abf39f91f9d1152bb411572950184fBrian Paul#endif 111faf4059aa8cc477732eaebffe2af2d3ace10d043Alan Hourihane 112faf4059aa8cc477732eaebffe2af2d3ace10d043Alan Hourihane#ifndef GLAPIENTRYP 113f82c775fff7974ef9537332cdb5ade70703ba38cAlan Hourihane#define GLAPIENTRYP GLAPIENTRY * 114faf4059aa8cc477732eaebffe2af2d3ace10d043Alan Hourihane#endif 115391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul 116391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#ifdef CENTERLINE_CLPP 117391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define signed 118391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#endif 119391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul 120473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul#if defined(PRAGMA_EXPORT_SUPPORTED) 121391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#pragma export on 122391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#endif 123473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul 124d6643331ab1a2215338be19177296d255170c798Kendall Bennett#endif /* !__SCITECH_SNAP__ */ 12508f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul/* 12608f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul * End system-specific stuff. 12708f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul **********************************************************************/ 12808f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul 129afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 130afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 13108f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#ifdef __cplusplus 13208f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paulextern "C" { 133afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 134afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 135afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 136afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 137afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#define GL_VERSION_1_1 1 138391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_VERSION_1_2 1 139391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_VERSION_1_3 1 140391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_ARB_imaging 1 141afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 142fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 143afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 144fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul * Datatypes 145afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 146fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned int GLenum; 147fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned char GLboolean; 148fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned int GLbitfield; 149fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef void GLvoid; 150fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef signed char GLbyte; /* 1-byte signed */ 151fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef short GLshort; /* 2-byte signed */ 152fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef int GLint; /* 4-byte signed */ 153fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned char GLubyte; /* 1-byte unsigned */ 154fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned short GLushort; /* 2-byte unsigned */ 155fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef unsigned int GLuint; /* 4-byte unsigned */ 156fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef int GLsizei; /* 4-byte signed */ 157fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef float GLfloat; /* single precision float */ 158fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef float GLclampf; /* single precision float in [0,1] */ 159fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef double GLdouble; /* double precision float */ 160fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paultypedef double GLclampd; /* double precision float in [0,1] */ 161afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 162fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 163fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 164fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* 165fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul * Constants 166afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 167afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 168fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Boolean values */ 169fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FALSE 0x0 170fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TRUE 0x1 171fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 172fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Data types */ 173fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BYTE 0x1400 174fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNSIGNED_BYTE 0x1401 175fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SHORT 0x1402 176fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNSIGNED_SHORT 0x1403 177fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INT 0x1404 178fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNSIGNED_INT 0x1405 179fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FLOAT 0x1406 180fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_2_BYTES 0x1407 181fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_3_BYTES 0x1408 182fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_4_BYTES 0x1409 183199972cef06476d308c62c9b21f1ccffeb72cdb6Brian Paul#define GL_DOUBLE 0x140A 184fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 185fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Primitives */ 186fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINTS 0x0000 187fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINES 0x0001 188fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_LOOP 0x0002 189fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_STRIP 0x0003 190fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TRIANGLES 0x0004 191fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TRIANGLE_STRIP 0x0005 192fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TRIANGLE_FAN 0x0006 193fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_QUADS 0x0007 194fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_QUAD_STRIP 0x0008 195fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON 0x0009 196fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 197fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Vertex Arrays */ 198fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY 0x8074 199fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMAL_ARRAY 0x8075 200fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY 0x8076 201fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_ARRAY 0x8077 202fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY 0x8078 203fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EDGE_FLAG_ARRAY 0x8079 204fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY_SIZE 0x807A 205fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY_TYPE 0x807B 206fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY_STRIDE 0x807C 207fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMAL_ARRAY_TYPE 0x807E 208fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMAL_ARRAY_STRIDE 0x807F 209fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY_SIZE 0x8081 210fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY_TYPE 0x8082 211fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY_STRIDE 0x8083 212fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_ARRAY_TYPE 0x8085 213fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_ARRAY_STRIDE 0x8086 214fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088 215fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089 216fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A 217fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C 218fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VERTEX_ARRAY_POINTER 0x808E 219fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMAL_ARRAY_POINTER 0x808F 220fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_ARRAY_POINTER 0x8090 221fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_ARRAY_POINTER 0x8091 222fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092 223fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EDGE_FLAG_ARRAY_POINTER 0x8093 224fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_V2F 0x2A20 225fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_V3F 0x2A21 226fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_C4UB_V2F 0x2A22 227fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_C4UB_V3F 0x2A23 228fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_C3F_V3F 0x2A24 229fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_N3F_V3F 0x2A25 230fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_C4F_N3F_V3F 0x2A26 231fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_V3F 0x2A27 232fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T4F_V4F 0x2A28 233fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_C4UB_V3F 0x2A29 234fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_C3F_V3F 0x2A2A 235fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_N3F_V3F 0x2A2B 236fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T2F_C4F_N3F_V3F 0x2A2C 237fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T4F_C4F_N3F_V4F 0x2A2D 238fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 239fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Matrix Mode */ 240fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MATRIX_MODE 0x0BA0 241fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MODELVIEW 0x1700 242fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROJECTION 0x1701 243fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE 0x1702 244fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 245fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Points */ 246fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SMOOTH 0x0B10 247fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SIZE 0x0B11 248fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SIZE_GRANULARITY 0x0B13 249fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SIZE_RANGE 0x0B12 250fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 251fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Lines */ 252fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_SMOOTH 0x0B20 253fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_STIPPLE 0x0B24 254fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_STIPPLE_PATTERN 0x0B25 255fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_STIPPLE_REPEAT 0x0B26 256fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_WIDTH 0x0B21 257fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_WIDTH_GRANULARITY 0x0B23 258fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_WIDTH_RANGE 0x0B22 259fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 260fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Polygons */ 261fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT 0x1B00 262fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE 0x1B01 263fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FILL 0x1B02 264fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CW 0x0900 265fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CCW 0x0901 266fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT 0x0404 267fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BACK 0x0405 268fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_MODE 0x0B40 269fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_SMOOTH 0x0B41 270fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_STIPPLE 0x0B42 271fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EDGE_FLAG 0x0B43 272fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CULL_FACE 0x0B44 273fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CULL_FACE_MODE 0x0B45 274fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT_FACE 0x0B46 275fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_FACTOR 0x8038 276fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_UNITS 0x2A00 277fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_POINT 0x2A01 278fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_LINE 0x2A02 279fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_OFFSET_FILL 0x8037 280fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 281fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Display Lists */ 282fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COMPILE 0x1300 283fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COMPILE_AND_EXECUTE 0x1301 284fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIST_BASE 0x0B32 285fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIST_INDEX 0x0B33 286fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIST_MODE 0x0B30 287fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 288fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Depth buffer */ 289fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NEVER 0x0200 290fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LESS 0x0201 2910056c5e40d7c5702420f314fa4f68159e5a64cd6Brian Paul#define GL_EQUAL 0x0202 292fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LEQUAL 0x0203 293fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREATER 0x0204 294fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NOTEQUAL 0x0205 2950056c5e40d7c5702420f314fa4f68159e5a64cd6Brian Paul#define GL_GEQUAL 0x0206 296fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALWAYS 0x0207 297fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_TEST 0x0B71 298fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_BITS 0x0D56 299fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_CLEAR_VALUE 0x0B73 300fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_FUNC 0x0B74 301fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_RANGE 0x0B70 302fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_WRITEMASK 0x0B72 303fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_COMPONENT 0x1902 304fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 305fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Lighting */ 306fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHTING 0x0B50 307fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT0 0x4000 308fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT1 0x4001 309fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT2 0x4002 310fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT3 0x4003 311fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT4 0x4004 312fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT5 0x4005 313fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT6 0x4006 314fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT7 0x4007 315fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPOT_EXPONENT 0x1205 316fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPOT_CUTOFF 0x1206 317fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CONSTANT_ATTENUATION 0x1207 318fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINEAR_ATTENUATION 0x1208 319fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_QUADRATIC_ATTENUATION 0x1209 320fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AMBIENT 0x1200 321fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DIFFUSE 0x1201 322fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPECULAR 0x1202 323fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SHININESS 0x1601 324fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EMISSION 0x1600 325fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POSITION 0x1203 326fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPOT_DIRECTION 0x1204 327fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AMBIENT_AND_DIFFUSE 0x1602 328fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_INDEXES 0x1603 329fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT_MODEL_TWO_SIDE 0x0B52 330fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51 331fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LIGHT_MODEL_AMBIENT 0x0B53 332fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT_AND_BACK 0x0408 333fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SHADE_MODEL 0x0B54 334fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FLAT 0x1D00 335fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SMOOTH 0x1D01 336fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_MATERIAL 0x0B57 337fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_MATERIAL_FACE 0x0B55 338fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_MATERIAL_PARAMETER 0x0B56 339fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NORMALIZE 0x0BA1 340fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 341fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* User clipping planes */ 342fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE0 0x3000 343fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE1 0x3001 344fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE2 0x3002 345fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE3 0x3003 346fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE4 0x3004 347fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIP_PLANE5 0x3005 348fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 349fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Accumulation buffer */ 350fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_RED_BITS 0x0D58 351fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_GREEN_BITS 0x0D59 352fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_BLUE_BITS 0x0D5A 353fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_ALPHA_BITS 0x0D5B 354fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM_CLEAR_VALUE 0x0B80 355fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ACCUM 0x0100 356fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ADD 0x0104 357fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LOAD 0x0101 358fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MULT 0x0103 359fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RETURN 0x0102 360fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 361fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Alpha testing */ 362fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_TEST 0x0BC0 363fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_TEST_REF 0x0BC2 364fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_TEST_FUNC 0x0BC1 365fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 366fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Blending */ 367fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLEND 0x0BE2 368fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLEND_SRC 0x0BE1 369fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLEND_DST 0x0BE0 370fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ZERO 0x0 371fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ONE 0x1 372fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SRC_COLOR 0x0300 373fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ONE_MINUS_SRC_COLOR 0x0301 374fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SRC_ALPHA 0x0302 375fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ONE_MINUS_SRC_ALPHA 0x0303 376fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DST_ALPHA 0x0304 377fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ONE_MINUS_DST_ALPHA 0x0305 378df4fd765d5244cc09f18f6b0371909e7bf13be87Brian Paul#define GL_DST_COLOR 0x0306 379df4fd765d5244cc09f18f6b0371909e7bf13be87Brian Paul#define GL_ONE_MINUS_DST_COLOR 0x0307 380fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SRC_ALPHA_SATURATE 0x0308 381fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 382fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Render Mode */ 383fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FEEDBACK 0x1C01 384fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RENDER 0x1C00 385fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SELECT 0x1C02 386fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 387fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Feedback */ 388fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_2D 0x0600 389fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_3D 0x0601 390fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_3D_COLOR 0x0602 391fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_3D_COLOR_TEXTURE 0x0603 392fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_4D_COLOR_TEXTURE 0x0604 393fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_TOKEN 0x0701 394fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_TOKEN 0x0702 395fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_RESET_TOKEN 0x0707 396fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_TOKEN 0x0703 397fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BITMAP_TOKEN 0x0704 398fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DRAW_PIXEL_TOKEN 0x0705 399fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COPY_PIXEL_TOKEN 0x0706 400fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PASS_THROUGH_TOKEN 0x0700 401fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FEEDBACK_BUFFER_POINTER 0x0DF0 402fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FEEDBACK_BUFFER_SIZE 0x0DF1 403fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FEEDBACK_BUFFER_TYPE 0x0DF2 404fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 405fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Selection */ 406fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SELECTION_BUFFER_POINTER 0x0DF3 407fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SELECTION_BUFFER_SIZE 0x0DF4 408fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 409fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Fog */ 410fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG 0x0B60 411fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_MODE 0x0B65 412fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_DENSITY 0x0B62 413fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_COLOR 0x0B66 414fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_INDEX 0x0B61 415fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_START 0x0B63 416fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_END 0x0B64 417fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINEAR 0x2601 418fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EXP 0x0800 419fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EXP2 0x0801 420fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 421fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Logic Ops */ 422fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LOGIC_OP 0x0BF1 423fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_LOGIC_OP 0x0BF1 424fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_LOGIC_OP 0x0BF2 425fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LOGIC_OP_MODE 0x0BF0 426fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLEAR 0x1500 427fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SET 0x150F 428fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COPY 0x1503 429fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COPY_INVERTED 0x150C 430fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NOOP 0x1505 431fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INVERT 0x150A 432fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AND 0x1501 433fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NAND 0x150E 434fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OR 0x1507 435fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NOR 0x1508 436fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_XOR 0x1506 437fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EQUIV 0x1509 438fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AND_REVERSE 0x1502 439fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AND_INVERTED 0x1504 440fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OR_REVERSE 0x150B 441fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OR_INVERTED 0x150D 442fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 443fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Stencil */ 444fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_TEST 0x0B90 445fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_WRITEMASK 0x0B98 446fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_BITS 0x0D57 447fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_FUNC 0x0B92 448fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_VALUE_MASK 0x0B93 449fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_REF 0x0B97 450fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_FAIL 0x0B94 451fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_PASS_DEPTH_PASS 0x0B96 452fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95 453fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_CLEAR_VALUE 0x0B91 454fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL_INDEX 0x1901 455fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_KEEP 0x1E00 456fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_REPLACE 0x1E01 457fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INCR 0x1E02 458fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DECR 0x1E03 459fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 460fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Buffers, Pixel Drawing/Reading */ 461fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NONE 0x0 462fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LEFT 0x0406 463fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RIGHT 0x0407 464fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/*GL_FRONT 0x0404 */ 465fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/*GL_BACK 0x0405 */ 466fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/*GL_FRONT_AND_BACK 0x0408 */ 467fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT_LEFT 0x0400 468fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FRONT_RIGHT 0x0401 469fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BACK_LEFT 0x0402 470fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BACK_RIGHT 0x0403 471fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX0 0x0409 472fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX1 0x040A 473fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX2 0x040B 474fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX3 0x040C 475fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_INDEX 0x1900 476fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RED 0x1903 477fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREEN 0x1904 478fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLUE 0x1905 479fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA 0x1906 480fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE 0x1909 481fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE_ALPHA 0x190A 482fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_BITS 0x0D55 483fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RED_BITS 0x0D52 484fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREEN_BITS 0x0D53 485fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLUE_BITS 0x0D54 486fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_BITS 0x0D51 487fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SUBPIXEL_BITS 0x0D50 488fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUX_BUFFERS 0x0C00 489fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_READ_BUFFER 0x0C02 490fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DRAW_BUFFER 0x0C01 491fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DOUBLEBUFFER 0x0C32 492fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STEREO 0x0C33 493fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BITMAP 0x1A00 494fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR 0x1800 495fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH 0x1801 496fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_STENCIL 0x1802 497fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DITHER 0x0BD0 498fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB 0x1907 499fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA 0x1908 500fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 501fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Implementation limits */ 502fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_LIST_NESTING 0x0B31 503fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35 504fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36 505fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_NAME_STACK_DEPTH 0x0D37 506fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38 507fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39 508fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_EVAL_ORDER 0x0D30 509fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_LIGHTS 0x0D31 510fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_CLIP_PLANES 0x0D32 511fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_TEXTURE_SIZE 0x0D33 512fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_PIXEL_MAP_TABLE 0x0D34 513fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_VIEWPORT_DIMS 0x0D3A 514fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B 515fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 516fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Gets */ 517fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ATTRIB_STACK_DEPTH 0x0BB0 518fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1 519fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_CLEAR_VALUE 0x0C22 520fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COLOR_WRITEMASK 0x0C23 521fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_INDEX 0x0B01 522fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_COLOR 0x0B00 523fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_NORMAL 0x0B02 524fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_COLOR 0x0B04 525fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_DISTANCE 0x0B09 526fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_INDEX 0x0B05 527fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_POSITION 0x0B07 528fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06 529fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_RASTER_POSITION_VALID 0x0B08 530fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CURRENT_TEXTURE_COORDS 0x0B03 531fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_CLEAR_VALUE 0x0C20 532fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_MODE 0x0C30 533fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_WRITEMASK 0x0C21 534fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MODELVIEW_MATRIX 0x0BA6 535fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MODELVIEW_STACK_DEPTH 0x0BA3 536fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NAME_STACK_DEPTH 0x0D70 537fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROJECTION_MATRIX 0x0BA7 538fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROJECTION_STACK_DEPTH 0x0BA4 539fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RENDER_MODE 0x0C40 540fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA_MODE 0x0C31 541fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_MATRIX 0x0BA8 542fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_STACK_DEPTH 0x0BA5 543fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_VIEWPORT 0x0BA2 544fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 545fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Evaluators */ 546fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_AUTO_NORMAL 0x0D80 547fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_COLOR_4 0x0D90 548fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_INDEX 0x0D91 549fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_NORMAL 0x0D92 550fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_TEXTURE_COORD_1 0x0D93 551fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_TEXTURE_COORD_2 0x0D94 552fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_TEXTURE_COORD_3 0x0D95 553fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_TEXTURE_COORD_4 0x0D96 554fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_VERTEX_3 0x0D97 555fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP1_VERTEX_4 0x0D98 556fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_COLOR_4 0x0DB0 557fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_INDEX 0x0DB1 558fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_NORMAL 0x0DB2 559fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_TEXTURE_COORD_1 0x0DB3 560fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_TEXTURE_COORD_2 0x0DB4 561fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_TEXTURE_COORD_3 0x0DB5 562fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_TEXTURE_COORD_4 0x0DB6 563fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_VERTEX_3 0x0DB7 564fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP2_VERTEX_4 0x0DB8 56574df2ef732abba668ca784190617023419c0b965Brian Paul#define GL_MAP1_GRID_DOMAIN 0x0DD0 56674df2ef732abba668ca784190617023419c0b965Brian Paul#define GL_MAP1_GRID_SEGMENTS 0x0DD1 56774df2ef732abba668ca784190617023419c0b965Brian Paul#define GL_MAP2_GRID_DOMAIN 0x0DD2 56874df2ef732abba668ca784190617023419c0b965Brian Paul#define GL_MAP2_GRID_SEGMENTS 0x0DD3 569fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_COEFF 0x0A00 570fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DOMAIN 0x0A02 571fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ORDER 0x0A01 572fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 573fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Hints */ 574fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FOG_HINT 0x0C54 575fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINE_SMOOTH_HINT 0x0C52 576fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50 577fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POINT_SMOOTH_HINT 0x0C51 578fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_POLYGON_SMOOTH_HINT 0x0C53 579fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DONT_CARE 0x1100 580fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_FASTEST 0x1101 581fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NICEST 0x1102 582fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 583fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Scissor box */ 584fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SCISSOR_TEST 0x0C11 585fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SCISSOR_BOX 0x0C10 586fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 587fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Pixel Mode / Transfer */ 588fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP_COLOR 0x0D10 589fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MAP_STENCIL 0x0D11 590fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_SHIFT 0x0D12 591fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INDEX_OFFSET 0x0D13 592fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RED_SCALE 0x0D14 593fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RED_BIAS 0x0D15 594fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREEN_SCALE 0x0D18 595fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_GREEN_BIAS 0x0D19 596fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLUE_SCALE 0x0D1A 597fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_BLUE_BIAS 0x0D1B 598fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_SCALE 0x0D1C 599fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA_BIAS 0x0D1D 600fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_SCALE 0x0D1E 601fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DEPTH_BIAS 0x0D1F 602fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1 603fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0 604fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2 605fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3 606fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4 607fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5 608fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6 609fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7 610fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8 611fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9 612fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_S_TO_S 0x0C71 613fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_I 0x0C70 614fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_R 0x0C72 615fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_G 0x0C73 616fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_B 0x0C74 617fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_I_TO_A 0x0C75 618fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_R_TO_R 0x0C76 619fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_G_TO_G 0x0C77 620fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_B_TO_B 0x0C78 621fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PIXEL_MAP_A_TO_A 0x0C79 622fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_ALIGNMENT 0x0D05 623fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_LSB_FIRST 0x0D01 624fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_ROW_LENGTH 0x0D02 625fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_SKIP_PIXELS 0x0D04 626fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_SKIP_ROWS 0x0D03 627fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PACK_SWAP_BYTES 0x0D00 628fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_ALIGNMENT 0x0CF5 629fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_LSB_FIRST 0x0CF1 630fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_ROW_LENGTH 0x0CF2 631fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_SKIP_PIXELS 0x0CF4 632fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_SKIP_ROWS 0x0CF3 633fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_UNPACK_SWAP_BYTES 0x0CF0 634fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ZOOM_X 0x0D16 635fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ZOOM_Y 0x0D17 636fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 637fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* Texture mapping */ 638fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_ENV 0x2300 639fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_ENV_MODE 0x2200 640fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_1D 0x0DE0 641fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_2D 0x0DE1 642fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_WRAP_S 0x2802 643fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_WRAP_T 0x2803 644fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_MAG_FILTER 0x2800 645fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_MIN_FILTER 0x2801 646fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_ENV_COLOR 0x2201 647fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GEN_S 0x0C60 648fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GEN_T 0x0C61 649fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GEN_MODE 0x2500 650fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BORDER_COLOR 0x1004 651fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_WIDTH 0x1000 652fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_HEIGHT 0x1001 653fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BORDER 0x1005 654fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_COMPONENTS 0x1003 655fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_RED_SIZE 0x805C 656fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GREEN_SIZE 0x805D 657fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BLUE_SIZE 0x805E 658fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_ALPHA_SIZE 0x805F 659fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_LUMINANCE_SIZE 0x8060 660fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_INTENSITY_SIZE 0x8061 661fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NEAREST_MIPMAP_NEAREST 0x2700 662fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NEAREST_MIPMAP_LINEAR 0x2702 663fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINEAR_MIPMAP_NEAREST 0x2701 664fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LINEAR_MIPMAP_LINEAR 0x2703 665fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OBJECT_LINEAR 0x2401 666fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_OBJECT_PLANE 0x2501 667fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EYE_LINEAR 0x2400 668fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_EYE_PLANE 0x2502 669fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_SPHERE_MAP 0x2402 670fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_DECAL 0x2101 671fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_MODULATE 0x2100 672fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_NEAREST 0x2600 673fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_REPEAT 0x2901 674fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_CLAMP 0x2900 675fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_S 0x2000 676fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_T 0x2001 677fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_R 0x2002 678fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_Q 0x2003 679fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GEN_R 0x0C62 680fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_GEN_Q 0x0C63 681fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 682a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul/* Utility */ 683a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_VENDOR 0x1F00 684a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_RENDERER 0x1F01 685a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_VERSION 0x1F02 686a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_EXTENSIONS 0x1F03 687a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 688a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul/* Errors */ 689a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_NO_ERROR 0x0 690a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_INVALID_VALUE 0x0501 691a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_INVALID_ENUM 0x0500 692a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_INVALID_OPERATION 0x0502 693a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_STACK_OVERFLOW 0x0503 694a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_STACK_UNDERFLOW 0x0504 695a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_OUT_OF_MEMORY 0x0505 696a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 697a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul/* glPush/PopAttrib bits */ 698a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_CURRENT_BIT 0x00000001 699a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_POINT_BIT 0x00000002 700a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_LINE_BIT 0x00000004 701a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_POLYGON_BIT 0x00000008 702a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_POLYGON_STIPPLE_BIT 0x00000010 703a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_PIXEL_MODE_BIT 0x00000020 704a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_LIGHTING_BIT 0x00000040 705a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_FOG_BIT 0x00000080 706a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_DEPTH_BUFFER_BIT 0x00000100 707a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_ACCUM_BUFFER_BIT 0x00000200 708a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_STENCIL_BUFFER_BIT 0x00000400 709a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_VIEWPORT_BIT 0x00000800 710a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_TRANSFORM_BIT 0x00001000 711a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_ENABLE_BIT 0x00002000 712a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_COLOR_BUFFER_BIT 0x00004000 713a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_HINT_BIT 0x00008000 714a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_EVAL_BIT 0x00010000 715a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_LIST_BIT 0x00020000 716a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_TEXTURE_BIT 0x00040000 717a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_SCISSOR_BIT 0x00080000 718a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_ALL_ATTRIB_BITS 0x000FFFFF 719a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 720a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 721a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul/* OpenGL 1.1 */ 722fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROXY_TEXTURE_1D 0x8063 723fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_PROXY_TEXTURE_2D 0x8064 724fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_PRIORITY 0x8066 725fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_RESIDENT 0x8067 726fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BINDING_1D 0x8068 727fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_BINDING_2D 0x8069 728fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_TEXTURE_INTERNAL_FORMAT 0x1003 729fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA4 0x803B 730fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA8 0x803C 731fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA12 0x803D 732fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_ALPHA16 0x803E 733fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE4 0x803F 734fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE8 0x8040 735fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE12 0x8041 736fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE16 0x8042 737fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE4_ALPHA4 0x8043 738fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE6_ALPHA2 0x8044 739fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE8_ALPHA8 0x8045 740fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE12_ALPHA4 0x8046 741fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE12_ALPHA12 0x8047 742fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_LUMINANCE16_ALPHA16 0x8048 743fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY 0x8049 744fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY4 0x804A 745fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY8 0x804B 746fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY12 0x804C 747fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_INTENSITY16 0x804D 748fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_R3_G3_B2 0x2A10 749fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB4 0x804F 750fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB5 0x8050 751fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB8 0x8051 752fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB10 0x8052 753fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB12 0x8053 754fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB16 0x8054 755fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA2 0x8055 756fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA4 0x8056 757fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB5_A1 0x8057 758fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA8 0x8058 759fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGB10_A2 0x8059 760fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA12 0x805A 761fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#define GL_RGBA16 0x805B 762a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_CLIENT_PIXEL_STORE_BIT 0x00000001 763a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002 764a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_ALL_CLIENT_ATTRIB_BITS 0xFFFFFFFF 765a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul#define GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF 766afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 767fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 768473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul 769afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 770afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Miscellaneous 771afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 772afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 773afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClearIndex( GLfloat c ); 774afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 775a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glClearColor( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ); 776afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 777afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClear( GLbitfield mask ); 778afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 779afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexMask( GLuint mask ); 780afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 781a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glColorMask( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ); 782afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 783afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glAlphaFunc( GLenum func, GLclampf ref ); 784afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 785afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glBlendFunc( GLenum sfactor, GLenum dfactor ); 786afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 787afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLogicOp( GLenum opcode ); 788afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 789afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCullFace( GLenum mode ); 790afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 791afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFrontFace( GLenum mode ); 792afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 793afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPointSize( GLfloat size ); 794afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 795afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLineWidth( GLfloat width ); 796afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 797afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLineStipple( GLint factor, GLushort pattern ); 798afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 799afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPolygonMode( GLenum face, GLenum mode ); 800afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 801afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPolygonOffset( GLfloat factor, GLfloat units ); 802afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 803afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPolygonStipple( const GLubyte *mask ); 804afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 805afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetPolygonStipple( GLubyte *mask ); 806afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 807afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEdgeFlag( GLboolean flag ); 808afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 809afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEdgeFlagv( const GLboolean *flag ); 810afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 811a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glScissor( GLint x, GLint y, GLsizei width, GLsizei height); 812afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 813afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClipPlane( GLenum plane, const GLdouble *equation ); 814afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 815afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetClipPlane( GLenum plane, GLdouble *equation ); 816afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 817afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDrawBuffer( GLenum mode ); 818afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 819afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glReadBuffer( GLenum mode ); 820afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 821afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEnable( GLenum cap ); 822afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 823afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDisable( GLenum cap ); 824afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 825afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLboolean GLAPIENTRY glIsEnabled( GLenum cap ); 826afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 827afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 828afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEnableClientState( GLenum cap ); /* 1.1 */ 829afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 830afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDisableClientState( GLenum cap ); /* 1.1 */ 831afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 832afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 833afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetBooleanv( GLenum pname, GLboolean *params ); 834afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 835afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetDoublev( GLenum pname, GLdouble *params ); 836afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 837afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetFloatv( GLenum pname, GLfloat *params ); 838afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 839afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetIntegerv( GLenum pname, GLint *params ); 840afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 841afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 842afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPushAttrib( GLbitfield mask ); 843afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 844afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPopAttrib( void ); 845afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 846afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 847afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPushClientAttrib( GLbitfield mask ); /* 1.1 */ 848afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 849afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPopClientAttrib( void ); /* 1.1 */ 850afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 851afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 852afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLint GLAPIENTRY glRenderMode( GLenum mode ); 853afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 854afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLenum GLAPIENTRY glGetError( void ); 855afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 856db21f1c84f32d4bd7696774acb86f5480f5138cdKarl SchultzGLAPI const GLubyte * GLAPIENTRY glGetString( GLenum name ); 857afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 858afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFinish( void ); 859afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 860afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFlush( void ); 861afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 862afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glHint( GLenum target, GLenum mode ); 863afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 864afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 865afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 866afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Depth Buffer 867afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 868afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 869afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClearDepth( GLclampd depth ); 870afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 871afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDepthFunc( GLenum func ); 872afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 873afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDepthMask( GLboolean flag ); 874afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 875afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDepthRange( GLclampd near_val, GLclampd far_val ); 876afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 877afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 878afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 879afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Accumulation Buffer 880afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 881afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 882a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ); 883afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 884afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glAccum( GLenum op, GLfloat value ); 885afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 886afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 887afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 888afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Transformation 889afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 890afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 891afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMatrixMode( GLenum mode ); 892afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 893afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glOrtho( GLdouble left, GLdouble right, 894afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLdouble bottom, GLdouble top, 895afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLdouble near_val, GLdouble far_val ); 896afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 897afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFrustum( GLdouble left, GLdouble right, 898afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLdouble bottom, GLdouble top, 899afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLdouble near_val, GLdouble far_val ); 900afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 901afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glViewport( GLint x, GLint y, 902afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLsizei height ); 903afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 904afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPushMatrix( void ); 905afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 906afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPopMatrix( void ); 907afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 908afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLoadIdentity( void ); 909afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 910afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLoadMatrixd( const GLdouble *m ); 911afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLoadMatrixf( const GLfloat *m ); 912afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 913afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMultMatrixd( const GLdouble *m ); 914afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMultMatrixf( const GLfloat *m ); 915afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 916afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRotated( GLdouble angle, 917afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLdouble x, GLdouble y, GLdouble z ); 918afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRotatef( GLfloat angle, 919afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat x, GLfloat y, GLfloat z ); 920afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 921afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glScaled( GLdouble x, GLdouble y, GLdouble z ); 922afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glScalef( GLfloat x, GLfloat y, GLfloat z ); 923afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 924afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTranslated( GLdouble x, GLdouble y, GLdouble z ); 925afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTranslatef( GLfloat x, GLfloat y, GLfloat z ); 926afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 927afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 928afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 929afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Display Lists 930afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 931afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 932afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLboolean GLAPIENTRY glIsList( GLuint list ); 933afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 934afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDeleteLists( GLuint list, GLsizei range ); 935afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 936afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLuint GLAPIENTRY glGenLists( GLsizei range ); 937afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 938afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNewList( GLuint list, GLenum mode ); 939afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 940afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEndList( void ); 941afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 942afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCallList( GLuint list ); 943afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 944afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCallLists( GLsizei n, GLenum type, 945afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLvoid *lists ); 946afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 947afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glListBase( GLuint base ); 948afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 949afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 950afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 951afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Drawing Functions 952afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 953afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 954afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glBegin( GLenum mode ); 955afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 956afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEnd( void ); 957afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 958afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 959afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2d( GLdouble x, GLdouble y ); 960afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2f( GLfloat x, GLfloat y ); 961afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2i( GLint x, GLint y ); 962afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2s( GLshort x, GLshort y ); 963afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 964afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3d( GLdouble x, GLdouble y, GLdouble z ); 965afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3f( GLfloat x, GLfloat y, GLfloat z ); 966afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3i( GLint x, GLint y, GLint z ); 967afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3s( GLshort x, GLshort y, GLshort z ); 968afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 969afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); 970afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); 971afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4i( GLint x, GLint y, GLint z, GLint w ); 972afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4s( GLshort x, GLshort y, GLshort z, GLshort w ); 973afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 974afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2dv( const GLdouble *v ); 975afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2fv( const GLfloat *v ); 976afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2iv( const GLint *v ); 977afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex2sv( const GLshort *v ); 978afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 979afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3dv( const GLdouble *v ); 980afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3fv( const GLfloat *v ); 981afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3iv( const GLint *v ); 982afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex3sv( const GLshort *v ); 983afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 984afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4dv( const GLdouble *v ); 985afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4fv( const GLfloat *v ); 986afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4iv( const GLint *v ); 987afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertex4sv( const GLshort *v ); 988afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 989afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 990afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3b( GLbyte nx, GLbyte ny, GLbyte nz ); 991afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3d( GLdouble nx, GLdouble ny, GLdouble nz ); 992afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3f( GLfloat nx, GLfloat ny, GLfloat nz ); 993afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3i( GLint nx, GLint ny, GLint nz ); 994afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3s( GLshort nx, GLshort ny, GLshort nz ); 995afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 996afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3bv( const GLbyte *v ); 997afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3dv( const GLdouble *v ); 998afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3fv( const GLfloat *v ); 999afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3iv( const GLint *v ); 1000afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormal3sv( const GLshort *v ); 1001afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1002afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1003afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexd( GLdouble c ); 1004afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexf( GLfloat c ); 1005afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexi( GLint c ); 1006afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexs( GLshort c ); 1007afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexub( GLubyte c ); /* 1.1 */ 1008afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1009afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexdv( const GLdouble *c ); 1010afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexfv( const GLfloat *c ); 1011afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexiv( const GLint *c ); 1012afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexsv( const GLshort *c ); 1013afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexubv( const GLubyte *c ); /* 1.1 */ 1014afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1015afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3b( GLbyte red, GLbyte green, GLbyte blue ); 1016afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3d( GLdouble red, GLdouble green, GLdouble blue ); 1017afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3f( GLfloat red, GLfloat green, GLfloat blue ); 1018afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3i( GLint red, GLint green, GLint blue ); 1019afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3s( GLshort red, GLshort green, GLshort blue ); 1020afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3ub( GLubyte red, GLubyte green, GLubyte blue ); 1021afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3ui( GLuint red, GLuint green, GLuint blue ); 1022afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3us( GLushort red, GLushort green, GLushort blue ); 1023afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1024afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4b( GLbyte red, GLbyte green, 1025afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLbyte blue, GLbyte alpha ); 1026afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4d( GLdouble red, GLdouble green, 1027afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLdouble blue, GLdouble alpha ); 1028afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4f( GLfloat red, GLfloat green, 1029afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat blue, GLfloat alpha ); 1030afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4i( GLint red, GLint green, 1031afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint blue, GLint alpha ); 1032afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4s( GLshort red, GLshort green, 1033afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLshort blue, GLshort alpha ); 1034afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4ub( GLubyte red, GLubyte green, 1035afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLubyte blue, GLubyte alpha ); 1036afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4ui( GLuint red, GLuint green, 1037afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLuint blue, GLuint alpha ); 1038afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4us( GLushort red, GLushort green, 1039afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLushort blue, GLushort alpha ); 1040afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1041afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1042afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3bv( const GLbyte *v ); 1043afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3dv( const GLdouble *v ); 1044afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3fv( const GLfloat *v ); 1045afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3iv( const GLint *v ); 1046afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3sv( const GLshort *v ); 1047afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3ubv( const GLubyte *v ); 1048afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3uiv( const GLuint *v ); 1049afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor3usv( const GLushort *v ); 1050afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1051afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4bv( const GLbyte *v ); 1052afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4dv( const GLdouble *v ); 1053afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4fv( const GLfloat *v ); 1054afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4iv( const GLint *v ); 1055afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4sv( const GLshort *v ); 1056afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4ubv( const GLubyte *v ); 1057afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4uiv( const GLuint *v ); 1058afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColor4usv( const GLushort *v ); 1059afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1060afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1061afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1d( GLdouble s ); 1062afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1f( GLfloat s ); 1063afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1i( GLint s ); 1064afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1s( GLshort s ); 1065afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1066afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2d( GLdouble s, GLdouble t ); 1067afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2f( GLfloat s, GLfloat t ); 1068afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2i( GLint s, GLint t ); 1069afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2s( GLshort s, GLshort t ); 1070afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1071afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3d( GLdouble s, GLdouble t, GLdouble r ); 1072afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3f( GLfloat s, GLfloat t, GLfloat r ); 1073afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3i( GLint s, GLint t, GLint r ); 1074afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3s( GLshort s, GLshort t, GLshort r ); 1075afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1076afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4d( GLdouble s, GLdouble t, GLdouble r, GLdouble q ); 1077afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4f( GLfloat s, GLfloat t, GLfloat r, GLfloat q ); 1078afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4i( GLint s, GLint t, GLint r, GLint q ); 1079afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4s( GLshort s, GLshort t, GLshort r, GLshort q ); 1080afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1081afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1dv( const GLdouble *v ); 1082afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1fv( const GLfloat *v ); 1083afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1iv( const GLint *v ); 1084afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord1sv( const GLshort *v ); 1085afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1086afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2dv( const GLdouble *v ); 1087afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2fv( const GLfloat *v ); 1088afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2iv( const GLint *v ); 1089afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord2sv( const GLshort *v ); 1090afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1091afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3dv( const GLdouble *v ); 1092afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3fv( const GLfloat *v ); 1093afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3iv( const GLint *v ); 1094afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord3sv( const GLshort *v ); 1095afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1096afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4dv( const GLdouble *v ); 1097afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4fv( const GLfloat *v ); 1098afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4iv( const GLint *v ); 1099afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoord4sv( const GLshort *v ); 1100afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1101afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1102afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2d( GLdouble x, GLdouble y ); 1103afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2f( GLfloat x, GLfloat y ); 1104afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2i( GLint x, GLint y ); 1105afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2s( GLshort x, GLshort y ); 1106afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1107afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3d( GLdouble x, GLdouble y, GLdouble z ); 1108afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3f( GLfloat x, GLfloat y, GLfloat z ); 1109afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3i( GLint x, GLint y, GLint z ); 1110afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3s( GLshort x, GLshort y, GLshort z ); 1111afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1112afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4d( GLdouble x, GLdouble y, GLdouble z, GLdouble w ); 1113afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4f( GLfloat x, GLfloat y, GLfloat z, GLfloat w ); 1114afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4i( GLint x, GLint y, GLint z, GLint w ); 1115afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4s( GLshort x, GLshort y, GLshort z, GLshort w ); 1116afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1117afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2dv( const GLdouble *v ); 1118afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2fv( const GLfloat *v ); 1119afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2iv( const GLint *v ); 1120afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos2sv( const GLshort *v ); 1121afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1122afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3dv( const GLdouble *v ); 1123afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3fv( const GLfloat *v ); 1124afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3iv( const GLint *v ); 1125afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos3sv( const GLshort *v ); 1126afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1127afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4dv( const GLdouble *v ); 1128afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4fv( const GLfloat *v ); 1129afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4iv( const GLint *v ); 1130afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRasterPos4sv( const GLshort *v ); 1131afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1132afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1133afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectd( GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2 ); 1134afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 ); 1135afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRecti( GLint x1, GLint y1, GLint x2, GLint y2 ); 1136afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRects( GLshort x1, GLshort y1, GLshort x2, GLshort y2 ); 1137afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1138afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1139afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectdv( const GLdouble *v1, const GLdouble *v2 ); 1140afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectfv( const GLfloat *v1, const GLfloat *v2 ); 1141afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectiv( const GLint *v1, const GLint *v2 ); 1142afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glRectsv( const GLshort *v1, const GLshort *v2 ); 1143afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1144afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1145afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 1146afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Vertex Arrays (1.1) 1147afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 1148afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1149afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glVertexPointer( GLint size, GLenum type, 1150afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei stride, const GLvoid *ptr ); 1151afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1152afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glNormalPointer( GLenum type, GLsizei stride, 1153afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLvoid *ptr ); 1154afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1155afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColorPointer( GLint size, GLenum type, 1156afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei stride, const GLvoid *ptr ); 1157afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1158afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glIndexPointer( GLenum type, GLsizei stride, 1159afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLvoid *ptr ); 1160afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1161afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexCoordPointer( GLint size, GLenum type, 1162afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei stride, const GLvoid *ptr ); 1163afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1164afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEdgeFlagPointer( GLsizei stride, const GLvoid *ptr ); 1165afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1166645c1cef13475db0db6433574807ee01ff0ceb28Brian PaulGLAPI void GLAPIENTRY glGetPointerv( GLenum pname, GLvoid **params ); 1167afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1168afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glArrayElement( GLint i ); 1169afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1170afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDrawArrays( GLenum mode, GLint first, GLsizei count ); 1171afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1172afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDrawElements( GLenum mode, GLsizei count, 1173afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum type, const GLvoid *indices ); 1174afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1175afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glInterleavedArrays( GLenum format, GLsizei stride, 1176afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLvoid *pointer ); 1177afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1178afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 1179afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Lighting 1180afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 1181afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1182afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glShadeModel( GLenum mode ); 1183afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1184afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightf( GLenum light, GLenum pname, GLfloat param ); 1185afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLighti( GLenum light, GLenum pname, GLint param ); 1186afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightfv( GLenum light, GLenum pname, 1187afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLfloat *params ); 1188afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightiv( GLenum light, GLenum pname, 1189afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLint *params ); 1190afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1191afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetLightfv( GLenum light, GLenum pname, 1192afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat *params ); 1193afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetLightiv( GLenum light, GLenum pname, 1194afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint *params ); 1195afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1196afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightModelf( GLenum pname, GLfloat param ); 1197afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightModeli( GLenum pname, GLint param ); 1198afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightModelfv( GLenum pname, const GLfloat *params ); 1199afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLightModeliv( GLenum pname, const GLint *params ); 1200afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1201afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMaterialf( GLenum face, GLenum pname, GLfloat param ); 1202afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMateriali( GLenum face, GLenum pname, GLint param ); 1203afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMaterialfv( GLenum face, GLenum pname, const GLfloat *params ); 1204afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMaterialiv( GLenum face, GLenum pname, const GLint *params ); 1205afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1206afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetMaterialfv( GLenum face, GLenum pname, GLfloat *params ); 1207afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetMaterialiv( GLenum face, GLenum pname, GLint *params ); 1208afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1209afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glColorMaterial( GLenum face, GLenum mode ); 1210afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1211afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1212afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 1213afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Raster functions 1214afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 1215afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1216afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelZoom( GLfloat xfactor, GLfloat yfactor ); 1217afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1218afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelStoref( GLenum pname, GLfloat param ); 1219afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelStorei( GLenum pname, GLint param ); 1220afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1221afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelTransferf( GLenum pname, GLfloat param ); 1222afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPixelTransferi( GLenum pname, GLint param ); 1223afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 12249d73b81068182b72e332b762786d3e89f8dcac71Brian PaulGLAPI void GLAPIENTRY glPixelMapfv( GLenum map, GLsizei mapsize, 1225afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLfloat *values ); 12269d73b81068182b72e332b762786d3e89f8dcac71Brian PaulGLAPI void GLAPIENTRY glPixelMapuiv( GLenum map, GLsizei mapsize, 1227afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLuint *values ); 12289d73b81068182b72e332b762786d3e89f8dcac71Brian PaulGLAPI void GLAPIENTRY glPixelMapusv( GLenum map, GLsizei mapsize, 1229afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLushort *values ); 1230afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1231afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetPixelMapfv( GLenum map, GLfloat *values ); 1232afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetPixelMapuiv( GLenum map, GLuint *values ); 1233afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetPixelMapusv( GLenum map, GLushort *values ); 1234afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1235afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glBitmap( GLsizei width, GLsizei height, 1236afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat xorig, GLfloat yorig, 1237afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat xmove, GLfloat ymove, 1238afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLubyte *bitmap ); 1239afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1240afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glReadPixels( GLint x, GLint y, 1241afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLsizei height, 1242afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum format, GLenum type, 1243afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLvoid *pixels ); 1244afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1245afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDrawPixels( GLsizei width, GLsizei height, 1246afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum format, GLenum type, 1247afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLvoid *pixels ); 1248afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1249afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCopyPixels( GLint x, GLint y, 1250afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLsizei height, 1251afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum type ); 1252afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1253afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 1254afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Stenciling 1255afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 1256afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1257afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glStencilFunc( GLenum func, GLint ref, GLuint mask ); 1258afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1259afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glStencilMask( GLuint mask ); 1260afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1261afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glStencilOp( GLenum fail, GLenum zfail, GLenum zpass ); 1262afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1263afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glClearStencil( GLint s ); 1264afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1265afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1266afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1267afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 1268afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Texture mapping 1269afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 1270afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1271afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGend( GLenum coord, GLenum pname, GLdouble param ); 1272afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGenf( GLenum coord, GLenum pname, GLfloat param ); 1273afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGeni( GLenum coord, GLenum pname, GLint param ); 1274afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1275afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGendv( GLenum coord, GLenum pname, const GLdouble *params ); 1276afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGenfv( GLenum coord, GLenum pname, const GLfloat *params ); 1277afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexGeniv( GLenum coord, GLenum pname, const GLint *params ); 1278afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1279afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexGendv( GLenum coord, GLenum pname, GLdouble *params ); 1280afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexGenfv( GLenum coord, GLenum pname, GLfloat *params ); 1281afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexGeniv( GLenum coord, GLenum pname, GLint *params ); 1282afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1283afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1284afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexEnvf( GLenum target, GLenum pname, GLfloat param ); 1285afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexEnvi( GLenum target, GLenum pname, GLint param ); 1286afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1287afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexEnvfv( GLenum target, GLenum pname, const GLfloat *params ); 1288afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexEnviv( GLenum target, GLenum pname, const GLint *params ); 1289afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1290afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); 1291afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexEnviv( GLenum target, GLenum pname, GLint *params ); 1292afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1293afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1294afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexParameterf( GLenum target, GLenum pname, GLfloat param ); 1295afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexParameteri( GLenum target, GLenum pname, GLint param ); 1296afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1297afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexParameterfv( GLenum target, GLenum pname, 1298afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLfloat *params ); 1299afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexParameteriv( GLenum target, GLenum pname, 1300afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLint *params ); 1301afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1302afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexParameterfv( GLenum target, 1303afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum pname, GLfloat *params); 1304afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexParameteriv( GLenum target, 1305afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum pname, GLint *params ); 1306afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1307afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexLevelParameterfv( GLenum target, GLint level, 1308afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum pname, GLfloat *params ); 1309afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexLevelParameteriv( GLenum target, GLint level, 1310afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum pname, GLint *params ); 1311afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1312afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1313afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexImage1D( GLenum target, GLint level, 1314afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint internalFormat, 1315afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLint border, 1316afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum format, GLenum type, 1317afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLvoid *pixels ); 1318afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1319afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexImage2D( GLenum target, GLint level, 1320afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint internalFormat, 1321afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLsizei height, 1322afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint border, GLenum format, GLenum type, 1323afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLvoid *pixels ); 1324afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1325afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetTexImage( GLenum target, GLint level, 1326afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum format, GLenum type, 1327afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLvoid *pixels ); 1328afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1329afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1330afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 1.1 functions */ 1331afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1332afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); 1333afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1334afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); 1335afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1336afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glBindTexture( GLenum target, GLuint texture ); 1337afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1338afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPrioritizeTextures( GLsizei n, 1339afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLuint *textures, 1340afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLclampf *priorities ); 1341afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1342afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLboolean GLAPIENTRY glAreTexturesResident( GLsizei n, 1343afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLuint *textures, 1344afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLboolean *residences ); 1345afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1346afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI GLboolean GLAPIENTRY glIsTexture( GLuint texture ); 1347afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1348afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1349afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexSubImage1D( GLenum target, GLint level, 1350afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint xoffset, 1351afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLenum format, 1352afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum type, const GLvoid *pixels ); 1353afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1354afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1355afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexSubImage2D( GLenum target, GLint level, 1356afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint xoffset, GLint yoffset, 1357afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLsizei height, 1358afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum format, GLenum type, 1359afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLvoid *pixels ); 1360afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1361afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1362afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCopyTexImage1D( GLenum target, GLint level, 1363afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum internalformat, 1364afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint x, GLint y, 1365afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLint border ); 1366afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1367afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1368afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCopyTexImage2D( GLenum target, GLint level, 1369afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum internalformat, 1370afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint x, GLint y, 1371afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLsizei height, 1372afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint border ); 1373afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1374afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1375afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCopyTexSubImage1D( GLenum target, GLint level, 1376afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint xoffset, GLint x, GLint y, 1377afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width ); 1378afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1379afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1380afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCopyTexSubImage2D( GLenum target, GLint level, 1381afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint xoffset, GLint yoffset, 1382afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint x, GLint y, 1383afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei width, GLsizei height ); 1384afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1385afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1386afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 1387afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Evaluators 1388afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 1389afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1390afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMap1d( GLenum target, GLdouble u1, GLdouble u2, 1391afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint stride, 1392afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint order, const GLdouble *points ); 1393afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMap1f( GLenum target, GLfloat u1, GLfloat u2, 1394afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint stride, 1395afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint order, const GLfloat *points ); 1396afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1397afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMap2d( GLenum target, 1398afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, 1399afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, 1400afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLdouble *points ); 1401afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMap2f( GLenum target, 1402afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, 1403afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, 1404afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLfloat *points ); 1405afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1406afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetMapdv( GLenum target, GLenum query, GLdouble *v ); 1407afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetMapfv( GLenum target, GLenum query, GLfloat *v ); 1408afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetMapiv( GLenum target, GLenum query, GLint *v ); 1409afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1410afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalCoord1d( GLdouble u ); 1411afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalCoord1f( GLfloat u ); 1412afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1413afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalCoord1dv( const GLdouble *u ); 1414afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalCoord1fv( const GLfloat *u ); 1415afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1416afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalCoord2d( GLdouble u, GLdouble v ); 1417afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalCoord2f( GLfloat u, GLfloat v ); 1418afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1419afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalCoord2dv( const GLdouble *u ); 1420afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalCoord2fv( const GLfloat *u ); 1421afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1422afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMapGrid1d( GLint un, GLdouble u1, GLdouble u2 ); 1423afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMapGrid1f( GLint un, GLfloat u1, GLfloat u2 ); 1424afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1425afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMapGrid2d( GLint un, GLdouble u1, GLdouble u2, 1426afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint vn, GLdouble v1, GLdouble v2 ); 1427afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMapGrid2f( GLint un, GLfloat u1, GLfloat u2, 1428afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint vn, GLfloat v1, GLfloat v2 ); 1429afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1430afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalPoint1( GLint i ); 1431afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1432afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalPoint2( GLint i, GLint j ); 1433afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1434afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalMesh1( GLenum mode, GLint i1, GLint i2 ); 1435afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1436afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glEvalMesh2( GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2 ); 1437afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1438afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1439afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 1440afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Fog 1441afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 1442afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1443afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFogf( GLenum pname, GLfloat param ); 1444afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1445afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFogi( GLenum pname, GLint param ); 1446afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1447afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFogfv( GLenum pname, const GLfloat *params ); 1448afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1449afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFogiv( GLenum pname, const GLint *params ); 1450afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1451afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1452afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg/* 1453afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg * Selection and Feedback 1454afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg */ 1455afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1456afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glFeedbackBuffer( GLsizei size, GLenum type, GLfloat *buffer ); 1457afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1458afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPassThrough( GLfloat token ); 1459afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1460afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer ); 1461afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1462afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glInitNames( void ); 1463afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1464afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glLoadName( GLuint name ); 1465afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1466afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPushName( GLuint name ); 1467afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1468afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glPopName( void ); 1469afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1470afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1471afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1472391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul/* 1473391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul * OpenGL 1.2 1474391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul */ 1475fb657ef91da29120ff65580f0b27914752273025Brian Paul 1476fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_RESCALE_NORMAL 0x803A 1477fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_CLAMP_TO_EDGE 0x812F 1478fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_MAX_ELEMENTS_VERTICES 0x80E8 1479fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_MAX_ELEMENTS_INDICES 0x80E9 1480fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_BGR 0x80E0 1481fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_BGRA 0x80E1 1482fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_BYTE_3_3_2 0x8032 1483fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 1484fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_SHORT_5_6_5 0x8363 1485fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 1486fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_SHORT_4_4_4_4 0x8033 1487fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365 1488fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_SHORT_5_5_5_1 0x8034 1489fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 1490fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_INT_8_8_8_8 0x8035 1491fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 1492fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_INT_10_10_10_2 0x8036 1493fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368 1494fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8 1495fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SINGLE_COLOR 0x81F9 1496fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SEPARATE_SPECULAR_COLOR 0x81FA 1497fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_MIN_LOD 0x813A 1498fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_MAX_LOD 0x813B 1499fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_BASE_LEVEL 0x813C 1500fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_MAX_LEVEL 0x813D 1501fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12 1502fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13 1503fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22 1504fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23 1505fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_ALIASED_POINT_SIZE_RANGE 0x846D 1506fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_ALIASED_LINE_WIDTH_RANGE 0x846E 1507fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_PACK_SKIP_IMAGES 0x806B 1508fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_PACK_IMAGE_HEIGHT 0x806C 1509fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNPACK_SKIP_IMAGES 0x806D 1510fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_UNPACK_IMAGE_HEIGHT 0x806E 1511fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_3D 0x806F 1512fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_PROXY_TEXTURE_3D 0x8070 1513fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_DEPTH 0x8071 1514fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_WRAP_R 0x8072 1515fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_MAX_3D_TEXTURE_SIZE 0x8073 1516fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_BINDING_3D 0x806A 1517fb657ef91da29120ff65580f0b27914752273025Brian Paul 1518fb657ef91da29120ff65580f0b27914752273025Brian PaulGLAPI void GLAPIENTRY glDrawRangeElements( GLenum mode, GLuint start, 1519fb657ef91da29120ff65580f0b27914752273025Brian Paul GLuint end, GLsizei count, GLenum type, const GLvoid *indices ); 1520fb657ef91da29120ff65580f0b27914752273025Brian Paul 1521fb657ef91da29120ff65580f0b27914752273025Brian PaulGLAPI void GLAPIENTRY glTexImage3D( GLenum target, GLint level, 1522fb657ef91da29120ff65580f0b27914752273025Brian Paul GLint internalFormat, 1523fb657ef91da29120ff65580f0b27914752273025Brian Paul GLsizei width, GLsizei height, 1524fb657ef91da29120ff65580f0b27914752273025Brian Paul GLsizei depth, GLint border, 1525fb657ef91da29120ff65580f0b27914752273025Brian Paul GLenum format, GLenum type, 1526fb657ef91da29120ff65580f0b27914752273025Brian Paul const GLvoid *pixels ); 1527afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1528afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glTexSubImage3D( GLenum target, GLint level, 1529afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint xoffset, GLint yoffset, 1530afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint zoffset, GLsizei width, 1531afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei height, GLsizei depth, 1532afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum format, 1533afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum type, const GLvoid *pixels); 1534afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1535afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCopyTexSubImage3D( GLenum target, GLint level, 1536afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint xoffset, GLint yoffset, 1537afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint zoffset, GLint x, 1538afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint y, GLsizei width, 1539afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei height ); 1540afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1541d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); 1542d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); 1543d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); 1544d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); 1545391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul 1546391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul 1547391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul/* 1548391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul * GL_ARB_imaging 1549391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul */ 1550391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul 1551391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONSTANT_COLOR 0x8001 1552391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_ONE_MINUS_CONSTANT_COLOR 0x8002 1553391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONSTANT_ALPHA 0x8003 1554391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004 1555391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE 0x80D0 1556391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1 1557391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2 1558391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_PROXY_COLOR_TABLE 0x80D3 1559391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4 1560391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5 1561391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_SCALE 0x80D6 1562391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_BIAS 0x80D7 1563391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_FORMAT 0x80D8 1564391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_WIDTH 0x80D9 1565391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_RED_SIZE 0x80DA 1566391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_GREEN_SIZE 0x80DB 1567391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_BLUE_SIZE 0x80DC 1568391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD 1569391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE 1570391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF 1571391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONVOLUTION_1D 0x8010 1572391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONVOLUTION_2D 0x8011 1573391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_SEPARABLE_2D 0x8012 1574391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONVOLUTION_BORDER_MODE 0x8013 1575391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONVOLUTION_FILTER_SCALE 0x8014 1576391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONVOLUTION_FILTER_BIAS 0x8015 1577391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_REDUCE 0x8016 1578391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONVOLUTION_FORMAT 0x8017 1579391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONVOLUTION_WIDTH 0x8018 1580391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONVOLUTION_HEIGHT 0x8019 1581391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_MAX_CONVOLUTION_WIDTH 0x801A 1582391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_MAX_CONVOLUTION_HEIGHT 0x801B 1583391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_CONVOLUTION_RED_SCALE 0x801C 1584391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D 1585391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E 1586391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F 1587391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_CONVOLUTION_RED_BIAS 0x8020 1588391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021 1589391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022 1590391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023 1591391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONSTANT_BORDER 0x8151 1592391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_REPLICATE_BORDER 0x8153 1593391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_CONVOLUTION_BORDER_COLOR 0x8154 1594391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_MATRIX 0x80B1 1595391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2 1596391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3 1597391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4 1598391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5 1599391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6 1600391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7 1601391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8 1602391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9 1603391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA 1604391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB 1605391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_HISTOGRAM 0x8024 1606391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_PROXY_HISTOGRAM 0x8025 1607391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_HISTOGRAM_WIDTH 0x8026 1608391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_HISTOGRAM_FORMAT 0x8027 1609391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_HISTOGRAM_RED_SIZE 0x8028 1610391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_HISTOGRAM_GREEN_SIZE 0x8029 1611391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_HISTOGRAM_BLUE_SIZE 0x802A 1612391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_HISTOGRAM_ALPHA_SIZE 0x802B 1613391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C 1614391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_HISTOGRAM_SINK 0x802D 1615391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_MINMAX 0x802E 1616391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_MINMAX_FORMAT 0x802F 1617391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_MINMAX_SINK 0x8030 1618391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_TABLE_TOO_LARGE 0x8031 1619391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_BLEND_EQUATION 0x8009 1620391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_MIN 0x8007 1621391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_MAX 0x8008 1622391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_FUNC_ADD 0x8006 1623391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_FUNC_SUBTRACT 0x800A 1624391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_FUNC_REVERSE_SUBTRACT 0x800B 1625391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#define GL_BLEND_COLOR 0x8005 1626afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1627afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1628053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian PaulGLAPI void GLAPIENTRY glColorTable( GLenum target, GLenum internalformat, 1629053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul GLsizei width, GLenum format, 1630053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul GLenum type, const GLvoid *table ); 1631053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul 1632053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian PaulGLAPI void GLAPIENTRY glColorSubTable( GLenum target, 1633053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul GLsizei start, GLsizei count, 1634053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul GLenum format, GLenum type, 1635053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul const GLvoid *data ); 1636053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul 1637c782c911e90953349b3a5259705df2b9dcffcc63Brian PaulGLAPI void GLAPIENTRY glColorTableParameteriv(GLenum target, GLenum pname, 1638c782c911e90953349b3a5259705df2b9dcffcc63Brian Paul const GLint *params); 1639c782c911e90953349b3a5259705df2b9dcffcc63Brian Paul 1640c782c911e90953349b3a5259705df2b9dcffcc63Brian PaulGLAPI void GLAPIENTRY glColorTableParameterfv(GLenum target, GLenum pname, 1641c782c911e90953349b3a5259705df2b9dcffcc63Brian Paul const GLfloat *params); 1642c782c911e90953349b3a5259705df2b9dcffcc63Brian Paul 1643c782c911e90953349b3a5259705df2b9dcffcc63Brian PaulGLAPI void GLAPIENTRY glCopyColorSubTable( GLenum target, GLsizei start, 1644c782c911e90953349b3a5259705df2b9dcffcc63Brian Paul GLint x, GLint y, GLsizei width ); 1645c782c911e90953349b3a5259705df2b9dcffcc63Brian Paul 1646c782c911e90953349b3a5259705df2b9dcffcc63Brian PaulGLAPI void GLAPIENTRY glCopyColorTable( GLenum target, GLenum internalformat, 1647c782c911e90953349b3a5259705df2b9dcffcc63Brian Paul GLint x, GLint y, GLsizei width ); 1648c782c911e90953349b3a5259705df2b9dcffcc63Brian Paul 1649053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian PaulGLAPI void GLAPIENTRY glGetColorTable( GLenum target, GLenum format, 1650053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul GLenum type, GLvoid *table ); 1651053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul 1652c782c911e90953349b3a5259705df2b9dcffcc63Brian PaulGLAPI void GLAPIENTRY glGetColorTableParameterfv( GLenum target, GLenum pname, 1653053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul GLfloat *params ); 1654053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul 1655c782c911e90953349b3a5259705df2b9dcffcc63Brian PaulGLAPI void GLAPIENTRY glGetColorTableParameteriv( GLenum target, GLenum pname, 1656053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul GLint *params ); 1657053f2020cac8e57e44e66ec9f5a8ed046af6dce6Brian Paul 1658afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glBlendEquation( GLenum mode ); 1659afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1660afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glBlendColor( GLclampf red, GLclampf green, 1661afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLclampf blue, GLclampf alpha ); 1662afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1663afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glHistogram( GLenum target, GLsizei width, 1664afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum internalformat, GLboolean sink ); 1665afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1666afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glResetHistogram( GLenum target ); 1667afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1668afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetHistogram( GLenum target, GLboolean reset, 1669afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum format, GLenum type, 1670afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLvoid *values ); 1671afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1672afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetHistogramParameterfv( GLenum target, GLenum pname, 1673afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat *params ); 1674afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1675afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetHistogramParameteriv( GLenum target, GLenum pname, 1676afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint *params ); 1677afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1678afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glMinmax( GLenum target, GLenum internalformat, 1679afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLboolean sink ); 1680afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1681afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glResetMinmax( GLenum target ); 1682afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1683251ba69ffc6f153f75bba075c9f23c53b2317e9cBrian PaulGLAPI void GLAPIENTRY glGetMinmax( GLenum target, GLboolean reset, 1684afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum format, GLenum types, 1685afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLvoid *values ); 1686afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1687afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetMinmaxParameterfv( GLenum target, GLenum pname, 1688afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat *params ); 1689afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1690afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetMinmaxParameteriv( GLenum target, GLenum pname, 1691afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint *params ); 1692afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1693afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glConvolutionFilter1D( GLenum target, 1694afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum internalformat, GLsizei width, GLenum format, GLenum type, 1695afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLvoid *image ); 1696afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1697afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glConvolutionFilter2D( GLenum target, 1698afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum internalformat, GLsizei width, GLsizei height, GLenum format, 1699afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum type, const GLvoid *image ); 1700afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1701afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glConvolutionParameterf( GLenum target, GLenum pname, 1702afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat params ); 1703afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1704afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glConvolutionParameterfv( GLenum target, GLenum pname, 1705afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLfloat *params ); 1706afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1707afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glConvolutionParameteri( GLenum target, GLenum pname, 1708afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint params ); 1709afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1710afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glConvolutionParameteriv( GLenum target, GLenum pname, 1711afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg const GLint *params ); 1712afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1713afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCopyConvolutionFilter1D( GLenum target, 1714afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum internalformat, GLint x, GLint y, GLsizei width ); 1715afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1716afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glCopyConvolutionFilter2D( GLenum target, 1717afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum internalformat, GLint x, GLint y, GLsizei width, 1718afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLsizei height); 1719afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1720afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetConvolutionFilter( GLenum target, GLenum format, 1721afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum type, GLvoid *image ); 1722afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1723afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetConvolutionParameterfv( GLenum target, GLenum pname, 1724afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLfloat *params ); 1725afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1726afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetConvolutionParameteriv( GLenum target, GLenum pname, 1727afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLint *params ); 1728afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1729afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glSeparableFilter2D( GLenum target, 1730afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum internalformat, GLsizei width, GLsizei height, GLenum format, 1731afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum type, const GLvoid *row, const GLvoid *column ); 1732afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1733afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtgGLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format, 1734afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); 1735afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 1736d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); 1737d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode); 1738d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); 1739d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 1740d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); 1741d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 1742d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table); 1743d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 1744d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 1745d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); 1746d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); 1747d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); 1748d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); 1749d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params); 1750d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params); 1751d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params); 1752d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params); 1753d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); 1754d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); 1755d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image); 1756d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 1757d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 1758d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); 1759d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); 1760d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 1761d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 1762d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 1763d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); 1764d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params); 1765d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params); 1766d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); 1767d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink); 1768d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target); 1769d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target); 1770fb657ef91da29120ff65580f0b27914752273025Brian Paul 1771fb657ef91da29120ff65580f0b27914752273025Brian Paul 1772fb657ef91da29120ff65580f0b27914752273025Brian Paul 1773391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul/* 1774391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul * OpenGL 1.3 1775391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul */ 1776fb657ef91da29120ff65580f0b27914752273025Brian Paul 1777fb657ef91da29120ff65580f0b27914752273025Brian Paul/* multitexture */ 1778fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE0 0x84C0 1779fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE1 0x84C1 1780fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE2 0x84C2 1781fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE3 0x84C3 1782fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE4 0x84C4 1783fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE5 0x84C5 1784fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE6 0x84C6 1785fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE7 0x84C7 1786fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE8 0x84C8 1787fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE9 0x84C9 1788fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE10 0x84CA 1789fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE11 0x84CB 1790fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE12 0x84CC 1791fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE13 0x84CD 1792fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE14 0x84CE 1793fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE15 0x84CF 1794fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE16 0x84D0 1795fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE17 0x84D1 1796fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE18 0x84D2 1797fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE19 0x84D3 1798fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE20 0x84D4 1799fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE21 0x84D5 1800fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE22 0x84D6 1801fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE23 0x84D7 1802fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE24 0x84D8 1803fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE25 0x84D9 1804fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE26 0x84DA 1805fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE27 0x84DB 1806fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE28 0x84DC 1807fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE29 0x84DD 1808fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE30 0x84DE 1809fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE31 0x84DF 1810fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_ACTIVE_TEXTURE 0x84E0 1811fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_CLIENT_ACTIVE_TEXTURE 0x84E1 1812fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_MAX_TEXTURE_UNITS 0x84E2 1813fb657ef91da29120ff65580f0b27914752273025Brian Paul/* texture_cube_map */ 1814fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_NORMAL_MAP 0x8511 1815fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_REFLECTION_MAP 0x8512 1816fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_CUBE_MAP 0x8513 1817fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_BINDING_CUBE_MAP 0x8514 1818fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515 1819fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516 1820fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517 1821fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518 1822fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519 1823fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A 1824fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_PROXY_TEXTURE_CUBE_MAP 0x851B 1825fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C 1826fb657ef91da29120ff65580f0b27914752273025Brian Paul/* texture_compression */ 1827fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMPRESSED_ALPHA 0x84E9 1828fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMPRESSED_LUMINANCE 0x84EA 1829fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB 1830fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMPRESSED_INTENSITY 0x84EC 1831fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMPRESSED_RGB 0x84ED 1832fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMPRESSED_RGBA 0x84EE 1833fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_COMPRESSION_HINT 0x84EF 1834fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0 1835fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TEXTURE_COMPRESSED 0x86A1 1836fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2 1837fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3 1838fb657ef91da29120ff65580f0b27914752273025Brian Paul/* multisample */ 1839fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_MULTISAMPLE 0x809D 1840fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E 1841fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SAMPLE_ALPHA_TO_ONE 0x809F 1842fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SAMPLE_COVERAGE 0x80A0 1843fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SAMPLE_BUFFERS 0x80A8 1844fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SAMPLES 0x80A9 1845fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SAMPLE_COVERAGE_VALUE 0x80AA 1846fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SAMPLE_COVERAGE_INVERT 0x80AB 1847fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_MULTISAMPLE_BIT 0x20000000 1848fb657ef91da29120ff65580f0b27914752273025Brian Paul/* transpose_matrix */ 1849fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3 1850fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4 1851fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5 1852fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_TRANSPOSE_COLOR_MATRIX 0x84E6 1853fb657ef91da29120ff65580f0b27914752273025Brian Paul/* texture_env_combine */ 1854fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMBINE 0x8570 1855fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMBINE_RGB 0x8571 1856fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_COMBINE_ALPHA 0x8572 1857fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SOURCE0_RGB 0x8580 1858fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SOURCE1_RGB 0x8581 1859fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SOURCE2_RGB 0x8582 1860fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SOURCE0_ALPHA 0x8588 1861fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SOURCE1_ALPHA 0x8589 1862fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SOURCE2_ALPHA 0x858A 1863fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_OPERAND0_RGB 0x8590 1864fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_OPERAND1_RGB 0x8591 1865fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_OPERAND2_RGB 0x8592 1866fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_OPERAND0_ALPHA 0x8598 1867fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_OPERAND1_ALPHA 0x8599 1868fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_OPERAND2_ALPHA 0x859A 1869fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_RGB_SCALE 0x8573 1870fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_ADD_SIGNED 0x8574 1871fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_INTERPOLATE 0x8575 1872fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_SUBTRACT 0x84E7 1873fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_CONSTANT 0x8576 1874fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_PRIMARY_COLOR 0x8577 1875fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_PREVIOUS 0x8578 1876fb657ef91da29120ff65580f0b27914752273025Brian Paul/* texture_env_dot3 */ 1877fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_DOT3_RGB 0x86AE 1878fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_DOT3_RGBA 0x86AF 1879fb657ef91da29120ff65580f0b27914752273025Brian Paul/* texture_border_clamp */ 1880fb657ef91da29120ff65580f0b27914752273025Brian Paul#define GL_CLAMP_TO_BORDER 0x812D 1881a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1882a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glActiveTexture( GLenum texture ); 1883a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1884a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glClientActiveTexture( GLenum texture ); 1885a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1886a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glCompressedTexImage1D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data ); 1887a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1888a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data ); 1889a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1890a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glCompressedTexImage3D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data ); 1891a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1892a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glCompressedTexSubImage1D( GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data ); 1893a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1894a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glCompressedTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data ); 1895a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1896a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glCompressedTexSubImage3D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data ); 1897a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1898a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glGetCompressedTexImage( GLenum target, GLint lod, GLvoid *img ); 1899a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1900a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord1d( GLenum target, GLdouble s ); 1901a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1902a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord1dv( GLenum target, const GLdouble *v ); 1903a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1904a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord1f( GLenum target, GLfloat s ); 1905a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1906a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord1fv( GLenum target, const GLfloat *v ); 1907a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1908a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord1i( GLenum target, GLint s ); 1909a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1910a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord1iv( GLenum target, const GLint *v ); 1911a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1912a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord1s( GLenum target, GLshort s ); 1913a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1914a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord1sv( GLenum target, const GLshort *v ); 1915a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1916a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord2d( GLenum target, GLdouble s, GLdouble t ); 1917a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1918a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord2dv( GLenum target, const GLdouble *v ); 1919a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1920a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord2f( GLenum target, GLfloat s, GLfloat t ); 1921a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1922a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord2fv( GLenum target, const GLfloat *v ); 1923a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1924a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord2i( GLenum target, GLint s, GLint t ); 1925a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1926a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord2iv( GLenum target, const GLint *v ); 1927a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1928a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord2s( GLenum target, GLshort s, GLshort t ); 1929a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1930a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord2sv( GLenum target, const GLshort *v ); 1931a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1932a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord3d( GLenum target, GLdouble s, GLdouble t, GLdouble r ); 1933a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1934a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord3dv( GLenum target, const GLdouble *v ); 1935a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1936a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord3f( GLenum target, GLfloat s, GLfloat t, GLfloat r ); 1937a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1938a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord3fv( GLenum target, const GLfloat *v ); 1939a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1940a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord3i( GLenum target, GLint s, GLint t, GLint r ); 1941a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1942a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord3iv( GLenum target, const GLint *v ); 1943a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1944a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord3s( GLenum target, GLshort s, GLshort t, GLshort r ); 1945a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1946a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord3sv( GLenum target, const GLshort *v ); 1947a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1948a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord4d( GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q ); 1949a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1950a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord4dv( GLenum target, const GLdouble *v ); 1951a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1952a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord4f( GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q ); 1953a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1954a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord4fv( GLenum target, const GLfloat *v ); 1955a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1956a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord4i( GLenum target, GLint s, GLint t, GLint r, GLint q ); 1957a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1958a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord4iv( GLenum target, const GLint *v ); 1959a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1960a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord4s( GLenum target, GLshort s, GLshort t, GLshort r, GLshort q ); 1961a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1962a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultiTexCoord4sv( GLenum target, const GLshort *v ); 1963a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1964a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1965a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glLoadTransposeMatrixd( const GLdouble m[16] ); 1966a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1967a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glLoadTransposeMatrixf( const GLfloat m[16] ); 1968a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1969a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultTransposeMatrixd( const GLdouble m[16] ); 1970a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1971a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glMultTransposeMatrixf( const GLfloat m[16] ); 1972a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1973a8b07a539b42b04111f48aa145bc3b2633fd5387Brian PaulGLAPI void GLAPIENTRY glSampleCoverage( GLclampf value, GLboolean invert ); 1974a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 1975d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture); 1976d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture); 1977d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s); 1978d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v); 1979d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s); 1980d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v); 1981d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s); 1982d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v); 1983d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s); 1984d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v); 1985d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t); 1986d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v); 1987d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t); 1988d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v); 1989d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t); 1990d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v); 1991d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t); 1992d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v); 1993d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); 1994d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v); 1995d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); 1996d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v); 1997d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r); 1998d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v); 1999d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r); 2000d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v); 2001d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2002d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v); 2003d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2004d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v); 2005d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); 2006d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v); 2007d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 2008d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v); 2009d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m); 2010d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m); 2011d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m); 2012d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m); 2013d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert); 2014d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); 2015d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); 2016d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); 2017d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); 2018d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); 2019d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); 2020d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img); 2021fb657ef91da29120ff65580f0b27914752273025Brian Paul 2022a8b07a539b42b04111f48aa145bc3b2633fd5387Brian Paul 2023f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul/* 2024f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul * GL_ARB_multitexture (ARB extension 1 and OpenGL 1.2.1) 2025f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul */ 2026f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#ifndef GL_ARB_multitexture 2027f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_ARB_multitexture 1 2028f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul 2029f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE0_ARB 0x84C0 2030f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE1_ARB 0x84C1 2031f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE2_ARB 0x84C2 2032f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE3_ARB 0x84C3 2033f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE4_ARB 0x84C4 2034f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE5_ARB 0x84C5 2035f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE6_ARB 0x84C6 2036f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE7_ARB 0x84C7 2037f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE8_ARB 0x84C8 2038f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE9_ARB 0x84C9 2039f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE10_ARB 0x84CA 2040f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE11_ARB 0x84CB 2041f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE12_ARB 0x84CC 2042f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE13_ARB 0x84CD 2043f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE14_ARB 0x84CE 2044f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE15_ARB 0x84CF 2045f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE16_ARB 0x84D0 2046f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE17_ARB 0x84D1 2047f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE18_ARB 0x84D2 2048f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE19_ARB 0x84D3 2049f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE20_ARB 0x84D4 2050f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE21_ARB 0x84D5 2051f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE22_ARB 0x84D6 2052f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE23_ARB 0x84D7 2053f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE24_ARB 0x84D8 2054f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE25_ARB 0x84D9 2055f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE26_ARB 0x84DA 2056f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE27_ARB 0x84DB 2057f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE28_ARB 0x84DC 2058f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE29_ARB 0x84DD 2059f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE30_ARB 0x84DE 2060f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_TEXTURE31_ARB 0x84DF 2061f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_ACTIVE_TEXTURE_ARB 0x84E0 2062f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1 2063f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#define GL_MAX_TEXTURE_UNITS_ARB 0x84E2 2064f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul 2065f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glActiveTextureARB(GLenum texture); 2066f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glClientActiveTextureARB(GLenum texture); 2067f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord1dARB(GLenum target, GLdouble s); 2068f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord1dvARB(GLenum target, const GLdouble *v); 2069f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord1fARB(GLenum target, GLfloat s); 2070f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord1fvARB(GLenum target, const GLfloat *v); 2071f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord1iARB(GLenum target, GLint s); 2072f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord1ivARB(GLenum target, const GLint *v); 2073f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord1sARB(GLenum target, GLshort s); 2074f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord1svARB(GLenum target, const GLshort *v); 2075f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t); 2076f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord2dvARB(GLenum target, const GLdouble *v); 2077f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t); 2078f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord2fvARB(GLenum target, const GLfloat *v); 2079f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord2iARB(GLenum target, GLint s, GLint t); 2080f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord2ivARB(GLenum target, const GLint *v); 2081f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord2sARB(GLenum target, GLshort s, GLshort t); 2082f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord2svARB(GLenum target, const GLshort *v); 2083f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r); 2084f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord3dvARB(GLenum target, const GLdouble *v); 2085f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r); 2086f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord3fvARB(GLenum target, const GLfloat *v); 2087f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r); 2088f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord3ivARB(GLenum target, const GLint *v); 2089f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r); 2090f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord3svARB(GLenum target, const GLshort *v); 2091f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2092f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord4dvARB(GLenum target, const GLdouble *v); 2093f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2094f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord4fvARB(GLenum target, const GLfloat *v); 2095f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q); 2096f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord4ivARB(GLenum target, const GLint *v); 2097f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 2098f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian PaulGLAPI void GLAPIENTRY glMultiTexCoord4svARB(GLenum target, const GLshort *v); 2099f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul 2100d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture); 2101d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture); 2102d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s); 2103d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v); 2104d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s); 2105d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v); 2106d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s); 2107d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v); 2108d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s); 2109d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v); 2110d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t); 2111d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v); 2112d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t); 2113d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v); 2114d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t); 2115d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v); 2116d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t); 2117d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v); 2118d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r); 2119d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v); 2120d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r); 2121d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v); 2122d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r); 2123d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v); 2124d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r); 2125d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v); 2126d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); 2127d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v); 2128d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); 2129d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v); 2130d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q); 2131d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v); 2132d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); 2133d6643331ab1a2215338be19177296d255170c798Kendall Bennetttypedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v); 2134391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul 2135f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul#endif /* GL_ARB_multitexture */ 2136f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul 2137f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul 2138f658ab0e2e9c4f319c0e6e77e7d08031be74f93bBrian Paul 2139fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul/* 2140391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul * Define this token if you want "old-style" header file behaviour (extensions 2141391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul * defined in gl.h). Otherwise, extensions will be included from glext.h. 2142391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul */ 2143391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul#if defined(GL_GLEXT_LEGACY) 2144391876e5e6a710ba99b0752bbcc1b3b8af0469b6Brian Paul 214558c5df87becefd6b343d2802454ea75b908cdde9Brian Paul/* All extensions that used to be here are now found in glext.h */ 2146ba8f6172bdfb44594537a304225b54152584d701Gareth Hughes 21470890ed3148ca1a6377f8124eb030a4ed3680c94bBrian Paul#else /* GL_GLEXT_LEGACY */ 21480890ed3148ca1a6377f8124eb030a4ed3680c94bBrian Paul 214990fbef490e0f5b66705d0a407549a60d6840bbc6Brian Paul#include <GL/glext.h> 21500890ed3148ca1a6377f8124eb030a4ed3680c94bBrian Paul 21510890ed3148ca1a6377f8124eb030a4ed3680c94bBrian Paul#endif /* GL_GLEXT_LEGACY */ 21520890ed3148ca1a6377f8124eb030a4ed3680c94bBrian Paul 21530890ed3148ca1a6377f8124eb030a4ed3680c94bBrian Paul 2154fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul 215598b3dd40f7969ace61654a5b57366db923502dcbBrian Paul/* 215698b3dd40f7969ace61654a5b57366db923502dcbBrian Paul * ???. GL_MESA_trace 2157fb657ef91da29120ff65580f0b27914752273025Brian Paul * XXX obsolete 215898b3dd40f7969ace61654a5b57366db923502dcbBrian Paul */ 215998b3dd40f7969ace61654a5b57366db923502dcbBrian Paul#ifndef GL_MESA_trace 216098b3dd40f7969ace61654a5b57366db923502dcbBrian Paul#define GL_MESA_trace 1 216198b3dd40f7969ace61654a5b57366db923502dcbBrian Paul 2162e5dfe384ad74c68529cca02388802996b14421faBrian Paul#define GL_TRACE_ALL_BITS_MESA 0xFFFF 2163e5dfe384ad74c68529cca02388802996b14421faBrian Paul#define GL_TRACE_OPERATIONS_BIT_MESA 0x0001 2164e5dfe384ad74c68529cca02388802996b14421faBrian Paul#define GL_TRACE_PRIMITIVES_BIT_MESA 0x0002 2165e5dfe384ad74c68529cca02388802996b14421faBrian Paul#define GL_TRACE_ARRAYS_BIT_MESA 0x0004 2166e5dfe384ad74c68529cca02388802996b14421faBrian Paul#define GL_TRACE_TEXTURES_BIT_MESA 0x0008 2167e5dfe384ad74c68529cca02388802996b14421faBrian Paul#define GL_TRACE_PIXELS_BIT_MESA 0x0010 2168e5dfe384ad74c68529cca02388802996b14421faBrian Paul#define GL_TRACE_ERRORS_BIT_MESA 0x0020 2169a190221f70000a4be97a1a3f81fc125f88d3e7cbBrian Paul#define GL_TRACE_MASK_MESA 0x8755 2170a190221f70000a4be97a1a3f81fc125f88d3e7cbBrian Paul#define GL_TRACE_NAME_MESA 0x8756 217198b3dd40f7969ace61654a5b57366db923502dcbBrian Paul 2172e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glEnableTraceMESA( GLbitfield mask ); 2173e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glDisableTraceMESA( GLbitfield mask ); 2174e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glNewTraceMESA( GLbitfield mask, const GLubyte * traceName ); 2175e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glEndTraceMESA( void ); 2176e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glTraceAssertAttribMESA( GLbitfield attribMask ); 2177e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glTraceCommentMESA( const GLubyte * comment ); 2178e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glTraceTextureMESA( GLuint name, const GLubyte* comment ); 2179e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glTraceListMESA( GLuint name, const GLubyte* comment ); 2180e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glTracePointerMESA( GLvoid* pointer, const GLubyte* comment ); 2181e5dfe384ad74c68529cca02388802996b14421faBrian PaulGLAPI void GLAPIENTRY glTracePointerRangeMESA( const GLvoid* first, const GLvoid* last, const GLubyte* comment ); 218298b3dd40f7969ace61654a5b57366db923502dcbBrian Paul 218398b3dd40f7969ace61654a5b57366db923502dcbBrian Paul#endif /* GL_MESA_trace */ 218498b3dd40f7969ace61654a5b57366db923502dcbBrian Paul 218598b3dd40f7969ace61654a5b57366db923502dcbBrian Paul 218644bd53f2599b5045133a185091fbf9d8c7696905Brian Paul/* 218744bd53f2599b5045133a185091fbf9d8c7696905Brian Paul * ???. GL_MESA_packed_depth_stencil 2188fb657ef91da29120ff65580f0b27914752273025Brian Paul * XXX obsolete 218944bd53f2599b5045133a185091fbf9d8c7696905Brian Paul */ 219044bd53f2599b5045133a185091fbf9d8c7696905Brian Paul#ifndef GL_MESA_packed_depth_stencil 219144bd53f2599b5045133a185091fbf9d8c7696905Brian Paul#define GL_MESA_packed_depth_stencil 1 219244bd53f2599b5045133a185091fbf9d8c7696905Brian Paul 219344bd53f2599b5045133a185091fbf9d8c7696905Brian Paul#define GL_DEPTH_STENCIL_MESA 0x8750 219444bd53f2599b5045133a185091fbf9d8c7696905Brian Paul#define GL_UNSIGNED_INT_24_8_MESA 0x8751 219544bd53f2599b5045133a185091fbf9d8c7696905Brian Paul#define GL_UNSIGNED_INT_8_24_REV_MESA 0x8752 219644bd53f2599b5045133a185091fbf9d8c7696905Brian Paul#define GL_UNSIGNED_SHORT_15_1_MESA 0x8753 219744bd53f2599b5045133a185091fbf9d8c7696905Brian Paul#define GL_UNSIGNED_SHORT_1_15_REV_MESA 0x8754 219844bd53f2599b5045133a185091fbf9d8c7696905Brian Paul 219944bd53f2599b5045133a185091fbf9d8c7696905Brian Paul#endif /* GL_MESA_packed_depth_stencil */ 220044bd53f2599b5045133a185091fbf9d8c7696905Brian Paul 220198b3dd40f7969ace61654a5b57366db923502dcbBrian Paul 2202389858ee7b5207d356c9211386024af8ff9797f5Brian Paul#ifndef GL_MESA_program_debug 2203389858ee7b5207d356c9211386024af8ff9797f5Brian Paul#define GL_MESA_program_debug 1 2204389858ee7b5207d356c9211386024af8ff9797f5Brian Paul 2205d7dabacfa3b3143ee418919460e2edeefef1867aBrian Paul#define GL_FRAGMENT_PROGRAM_POSITION_MESA 0x8bb0 2206d7dabacfa3b3143ee418919460e2edeefef1867aBrian Paul#define GL_FRAGMENT_PROGRAM_CALLBACK_MESA 0x8bb1 2207d7dabacfa3b3143ee418919460e2edeefef1867aBrian Paul#define GL_FRAGMENT_PROGRAM_CALLBACK_FUNC_MESA 0x8bb2 2208d7dabacfa3b3143ee418919460e2edeefef1867aBrian Paul#define GL_FRAGMENT_PROGRAM_CALLBACK_DATA_MESA 0x8bb3 2209d7dabacfa3b3143ee418919460e2edeefef1867aBrian Paul#define GL_VERTEX_PROGRAM_POSITION_MESA 0x8bb4 2210d7dabacfa3b3143ee418919460e2edeefef1867aBrian Paul#define GL_VERTEX_PROGRAM_CALLBACK_MESA 0x8bb5 2211d7dabacfa3b3143ee418919460e2edeefef1867aBrian Paul#define GL_VERTEX_PROGRAM_CALLBACK_FUNC_MESA 0x8bb6 2212d7dabacfa3b3143ee418919460e2edeefef1867aBrian Paul#define GL_VERTEX_PROGRAM_CALLBACK_DATA_MESA 0x8bb7 2213389858ee7b5207d356c9211386024af8ff9797f5Brian Paul 2214389858ee7b5207d356c9211386024af8ff9797f5Brian Paultypedef void (*GLprogramcallbackMESA)(GLenum target, GLvoid *data); 2215389858ee7b5207d356c9211386024af8ff9797f5Brian Paul 22162c7336af4e92f29599c04822fcbd4db12a4c5cc5Brian PaulGLAPI void GLAPIENTRY glProgramCallbackMESA(GLenum target, GLprogramcallbackMESA callback, GLvoid *data); 2217389858ee7b5207d356c9211386024af8ff9797f5Brian Paul 22182c7336af4e92f29599c04822fcbd4db12a4c5cc5Brian PaulGLAPI void GLAPIENTRY glGetProgramRegisterfvMESA(GLenum target, GLsizei len, const GLubyte *name, GLfloat *v); 2219389858ee7b5207d356c9211386024af8ff9797f5Brian Paul 2220389858ee7b5207d356c9211386024af8ff9797f5Brian Paul#endif /* GL_MESA_program_debug */ 2221389858ee7b5207d356c9211386024af8ff9797f5Brian Paul 2222389858ee7b5207d356c9211386024af8ff9797f5Brian Paul 222374cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanick#ifndef GL_ATI_blend_equation_separate 222474cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanick#define GL_ATI_blend_equation_separate 1 222574cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanick 222674cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanick#define GL_ALPHA_BLEND_EQUATION_ATI 0x883D 222774cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanick 222874cf25b0816f7b8e00ed9cbe2e028e943a92170fIan RomanickGLAPI void GLAPIENTRY glBlendEquationSeparateATI( GLenum modeRGB, GLenum modeA ); 222974cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanicktypedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEATIPROC) (GLenum modeRGB, GLenum modeA); 223074cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanick 223174cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanick#endif /* GL_ATI_blend_equation_separate */ 223274cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanick 223374cf25b0816f7b8e00ed9cbe2e028e943a92170fIan Romanick 2234c2f739169efed62cb3a1f80a02e9afa9da7092dcBrian Paul/** 2235c2f739169efed62cb3a1f80a02e9afa9da7092dcBrian Paul ** NOTE!!!!! If you add new functions to this file, or update 2236c2f739169efed62cb3a1f80a02e9afa9da7092dcBrian Paul ** glext.h be sure to regenerate the gl_mangle.h file. See comments 2237c2f739169efed62cb3a1f80a02e9afa9da7092dcBrian Paul ** in that file for details. 2238c2f739169efed62cb3a1f80a02e9afa9da7092dcBrian Paul **/ 2239c2f739169efed62cb3a1f80a02e9afa9da7092dcBrian Paul 2240c2f739169efed62cb3a1f80a02e9afa9da7092dcBrian Paul 2241d7b837ad4aa5306bd318fafa32f40599622f2c2aBrian Paul 224208f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul/********************************************************************** 224308f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul * Begin system-specific stuff 224408f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul */ 2245473e51f2fbfb003717bb88616ea585fc8d76f75eBrian Paul#if defined(PRAGMA_EXPORT_SUPPORTED) 2246fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#pragma export off 2247fbd8f212c3866ec98c1d8c9d3db3ddb7e7c479a5Brian Paul#endif 2248afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 224908f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#if defined(macintosh) && PRAGMA_IMPORT_SUPPORTED 225008f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul#pragma import off 2251afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 225208f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul/* 225308f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul * End system-specific stuff 225408f0374bfaccc41a497f18a6535fa0d13277abdeBrian Paul **********************************************************************/ 2255afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 2256afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 2257afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#ifdef __cplusplus 2258afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg} 2259afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg#endif 2260afb833d4e89c312460a4ab9ed6a7a8ca4ebbfe1cjtg 2261e23e2759fc67973c0d2e3318f79837f88f8bad0dBrian Paul#endif /* __gl_h_ */ 2262