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