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