include/SDL_opengl.h
author Sam Lantinga <slouken@libsdl.org>
Sat, 13 Apr 2002 14:44:33 +0000
changeset 343 9430ba1a19f3
parent 312 d62b9aeaf0ea
child 600 e5f3ff1580f3
permissions -rw-r--r--
*** empty log message ***
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     1
/*
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     2
    SDL - Simple DirectMedia Layer
297
f6ffac90895c Updated copyright information for 2002
Sam Lantinga <slouken@libsdl.org>
parents: 251
diff changeset
     3
    Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002  Sam Lantinga
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     4
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     5
    This library is free software; you can redistribute it and/or
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     6
    modify it under the terms of the GNU Library General Public
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     7
    License as published by the Free Software Foundation; either
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     8
    version 2 of the License, or (at your option) any later version.
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
     9
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    10
    This library is distributed in the hope that it will be useful,
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    13
    Library General Public License for more details.
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    14
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    15
    You should have received a copy of the GNU Library General Public
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    16
    License along with this library; if not, write to the Free
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    18
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    19
    Sam Lantinga
251
b8688cfdc232 Updated the headers with the correct e-mail address
Sam Lantinga <slouken@libsdl.org>
parents: 242
diff changeset
    20
    slouken@libsdl.org
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    21
*/
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    22
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    23
#ifdef SAVE_RCSID
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    24
static char rcsid =
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    25
 "@(#) $Id$";
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    26
#endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    27
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    28
/* This is a simple file to encapsulate the OpenGL API headers */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    29
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    30
#ifdef WIN32
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    31
#define WIN32_LEAN_AND_MEAN
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    32
#include <windows.h>
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    33
#endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    34
#if defined(__APPLE__) && defined(__MACH__)
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    35
#include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    36
#include <OpenGL/glu.h>	/* Header File For The GLU Library */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    37
#else
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    38
#ifndef NO_SDL_GLEXT
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    39
#define __glext_h_  /* Don't let gl.h include glext.h */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    40
#endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    41
#include <GL/gl.h>	/* Header File For The OpenGL Library */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    42
#include <GL/glu.h>	/* Header File For The GLU Library */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    43
#ifndef NO_SDL_GLEXT
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    44
#undef __glext_h_
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    45
#endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    46
#endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    47
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    48
/* This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials.
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    49
   It is included here because glext.h is not available on some systems.
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    50
   If you don't want this version included, simply define "NO_SDL_GLEXT"
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    51
 */
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    52
#ifndef NO_SDL_GLEXT
242
4bcb29d3769c Added support for Xi Graphics XME fullscreen extension
Sam Lantinga <slouken@libsdl.org>
parents: 214
diff changeset
    53
#if !defined(__glext_h_) && !defined(GL_GLEXT_LEGACY)
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    54
#define __glext_h_
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    55
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    56
#ifdef __cplusplus
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    57
extern "C" {
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    58
#endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    59
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    60
/*
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    61
** License Applicability. Except to the extent portions of this file are
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    62
** made subject to an alternative license as permitted in the SGI Free
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    63
** Software License B, Version 1.1 (the "License"), the contents of this
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    64
** file are subject only to the provisions of the License. You may not use
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    65
** this file except in compliance with the License. You may obtain a copy
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    66
** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    67
** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    68
** 
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    69
** http://oss.sgi.com/projects/FreeB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    70
** 
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    71
** Note that, as provided in the License, the Software is distributed on an
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    72
** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    73
** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    74
** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    75
** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    76
** 
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    77
** Original Code. The Original Code is: OpenGL Sample Implementation,
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    78
** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    79
** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    80
** Copyright in any portions created by third parties is as indicated
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    81
** elsewhere herein. All Rights Reserved.
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    82
** 
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    83
** Additional Notice Provisions: This software was created using the
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    84
** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    85
** not been independently verified as being compliant with the OpenGL(R)
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    86
** version 1.2.1 Specification.
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    87
*/
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    88
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    89
#ifndef APIENTRY
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    90
#define APIENTRY
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    91
#endif
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
    92
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    93
/*************************************************************/
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    94
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    95
/* Header file version number, required by OpenGL ABI for Linux */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    96
#define GL_GLEXT_VERSION 6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    97
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    98
#ifndef GL_VERSION_1_2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
    99
#define GL_CONSTANT_COLOR                 0x8001
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   100
#define GL_ONE_MINUS_CONSTANT_COLOR       0x8002
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   101
#define GL_CONSTANT_ALPHA                 0x8003
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   102
#define GL_ONE_MINUS_CONSTANT_ALPHA       0x8004
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   103
#define GL_BLEND_COLOR                    0x8005
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   104
#define GL_FUNC_ADD                       0x8006
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   105
#define GL_MIN                            0x8007
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   106
#define GL_MAX                            0x8008
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   107
#define GL_BLEND_EQUATION                 0x8009
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   108
#define GL_FUNC_SUBTRACT                  0x800A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   109
#define GL_FUNC_REVERSE_SUBTRACT          0x800B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   110
#define GL_CONVOLUTION_1D                 0x8010
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   111
#define GL_CONVOLUTION_2D                 0x8011
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   112
#define GL_SEPARABLE_2D                   0x8012
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   113
#define GL_CONVOLUTION_BORDER_MODE        0x8013
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   114
#define GL_CONVOLUTION_FILTER_SCALE       0x8014
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   115
#define GL_CONVOLUTION_FILTER_BIAS        0x8015
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   116
#define GL_REDUCE                         0x8016
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   117
#define GL_CONVOLUTION_FORMAT             0x8017
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   118
#define GL_CONVOLUTION_WIDTH              0x8018
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   119
#define GL_CONVOLUTION_HEIGHT             0x8019
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   120
#define GL_MAX_CONVOLUTION_WIDTH          0x801A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   121
#define GL_MAX_CONVOLUTION_HEIGHT         0x801B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   122
#define GL_POST_CONVOLUTION_RED_SCALE     0x801C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   123
#define GL_POST_CONVOLUTION_GREEN_SCALE   0x801D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   124
#define GL_POST_CONVOLUTION_BLUE_SCALE    0x801E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   125
#define GL_POST_CONVOLUTION_ALPHA_SCALE   0x801F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   126
#define GL_POST_CONVOLUTION_RED_BIAS      0x8020
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   127
#define GL_POST_CONVOLUTION_GREEN_BIAS    0x8021
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   128
#define GL_POST_CONVOLUTION_BLUE_BIAS     0x8022
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   129
#define GL_POST_CONVOLUTION_ALPHA_BIAS    0x8023
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   130
#define GL_HISTOGRAM                      0x8024
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   131
#define GL_PROXY_HISTOGRAM                0x8025
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   132
#define GL_HISTOGRAM_WIDTH                0x8026
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   133
#define GL_HISTOGRAM_FORMAT               0x8027
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   134
#define GL_HISTOGRAM_RED_SIZE             0x8028
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   135
#define GL_HISTOGRAM_GREEN_SIZE           0x8029
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   136
#define GL_HISTOGRAM_BLUE_SIZE            0x802A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   137
#define GL_HISTOGRAM_ALPHA_SIZE           0x802B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   138
#define GL_HISTOGRAM_LUMINANCE_SIZE       0x802C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   139
#define GL_HISTOGRAM_SINK                 0x802D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   140
#define GL_MINMAX                         0x802E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   141
#define GL_MINMAX_FORMAT                  0x802F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   142
#define GL_MINMAX_SINK                    0x8030
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   143
#define GL_TABLE_TOO_LARGE                0x8031
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   144
#define GL_UNSIGNED_BYTE_3_3_2            0x8032
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   145
#define GL_UNSIGNED_SHORT_4_4_4_4         0x8033
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   146
#define GL_UNSIGNED_SHORT_5_5_5_1         0x8034
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   147
#define GL_UNSIGNED_INT_8_8_8_8           0x8035
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   148
#define GL_UNSIGNED_INT_10_10_10_2        0x8036
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   149
#define GL_RESCALE_NORMAL                 0x803A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   150
#define GL_UNSIGNED_BYTE_2_3_3_REV        0x8362
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   151
#define GL_UNSIGNED_SHORT_5_6_5           0x8363
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   152
#define GL_UNSIGNED_SHORT_5_6_5_REV       0x8364
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   153
#define GL_UNSIGNED_SHORT_4_4_4_4_REV     0x8365
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   154
#define GL_UNSIGNED_SHORT_1_5_5_5_REV     0x8366
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   155
#define GL_UNSIGNED_INT_8_8_8_8_REV       0x8367
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   156
#define GL_UNSIGNED_INT_2_10_10_10_REV    0x8368
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   157
#define GL_COLOR_MATRIX                   0x80B1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   158
#define GL_COLOR_MATRIX_STACK_DEPTH       0x80B2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   159
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH   0x80B3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   160
#define GL_POST_COLOR_MATRIX_RED_SCALE    0x80B4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   161
#define GL_POST_COLOR_MATRIX_GREEN_SCALE  0x80B5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   162
#define GL_POST_COLOR_MATRIX_BLUE_SCALE   0x80B6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   163
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE  0x80B7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   164
#define GL_POST_COLOR_MATRIX_RED_BIAS     0x80B8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   165
#define GL_POST_COLOR_MATRIX_GREEN_BIAS   0x80B9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   166
#define GL_POST_COLOR_MATRIX_BLUE_BIAS    0x80BA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   167
#define GL_COLOR_TABLE                    0x80D0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   168
#define GL_POST_CONVOLUTION_COLOR_TABLE   0x80D1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   169
#define GL_POST_COLOR_MATRIX_COLOR_TABLE  0x80D2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   170
#define GL_PROXY_COLOR_TABLE              0x80D3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   171
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   172
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   173
#define GL_COLOR_TABLE_SCALE              0x80D6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   174
#define GL_COLOR_TABLE_BIAS               0x80D7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   175
#define GL_COLOR_TABLE_FORMAT             0x80D8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   176
#define GL_COLOR_TABLE_WIDTH              0x80D9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   177
#define GL_COLOR_TABLE_RED_SIZE           0x80DA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   178
#define GL_COLOR_TABLE_GREEN_SIZE         0x80DB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   179
#define GL_COLOR_TABLE_BLUE_SIZE          0x80DC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   180
#define GL_COLOR_TABLE_ALPHA_SIZE         0x80DD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   181
#define GL_COLOR_TABLE_LUMINANCE_SIZE     0x80DE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   182
#define GL_COLOR_TABLE_INTENSITY_SIZE     0x80DF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   183
#define GL_CLAMP_TO_EDGE                  0x812F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   184
#define GL_TEXTURE_MIN_LOD                0x813A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   185
#define GL_TEXTURE_MAX_LOD                0x813B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   186
#define GL_TEXTURE_BASE_LEVEL             0x813C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   187
#define GL_TEXTURE_MAX_LEVEL              0x813D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   188
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   189
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   190
#ifndef GL_ARB_multitexture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   191
#define GL_TEXTURE0_ARB                   0x84C0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   192
#define GL_TEXTURE1_ARB                   0x84C1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   193
#define GL_TEXTURE2_ARB                   0x84C2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   194
#define GL_TEXTURE3_ARB                   0x84C3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   195
#define GL_TEXTURE4_ARB                   0x84C4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   196
#define GL_TEXTURE5_ARB                   0x84C5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   197
#define GL_TEXTURE6_ARB                   0x84C6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   198
#define GL_TEXTURE7_ARB                   0x84C7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   199
#define GL_TEXTURE8_ARB                   0x84C8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   200
#define GL_TEXTURE9_ARB                   0x84C9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   201
#define GL_TEXTURE10_ARB                  0x84CA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   202
#define GL_TEXTURE11_ARB                  0x84CB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   203
#define GL_TEXTURE12_ARB                  0x84CC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   204
#define GL_TEXTURE13_ARB                  0x84CD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   205
#define GL_TEXTURE14_ARB                  0x84CE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   206
#define GL_TEXTURE15_ARB                  0x84CF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   207
#define GL_TEXTURE16_ARB                  0x84D0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   208
#define GL_TEXTURE17_ARB                  0x84D1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   209
#define GL_TEXTURE18_ARB                  0x84D2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   210
#define GL_TEXTURE19_ARB                  0x84D3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   211
#define GL_TEXTURE20_ARB                  0x84D4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   212
#define GL_TEXTURE21_ARB                  0x84D5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   213
#define GL_TEXTURE22_ARB                  0x84D6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   214
#define GL_TEXTURE23_ARB                  0x84D7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   215
#define GL_TEXTURE24_ARB                  0x84D8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   216
#define GL_TEXTURE25_ARB                  0x84D9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   217
#define GL_TEXTURE26_ARB                  0x84DA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   218
#define GL_TEXTURE27_ARB                  0x84DB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   219
#define GL_TEXTURE28_ARB                  0x84DC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   220
#define GL_TEXTURE29_ARB                  0x84DD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   221
#define GL_TEXTURE30_ARB                  0x84DE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   222
#define GL_TEXTURE31_ARB                  0x84DF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   223
#define GL_ACTIVE_TEXTURE_ARB             0x84E0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   224
#define GL_CLIENT_ACTIVE_TEXTURE_ARB      0x84E1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   225
#define GL_MAX_TEXTURE_UNITS_ARB          0x84E2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   226
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   227
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   228
#ifndef GL_ARB_transpose_matrix
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   229
#define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   230
#define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   231
#define GL_TRANSPOSE_TEXTURE_MATRIX_ARB   0x84E5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   232
#define GL_TRANSPOSE_COLOR_MATRIX_ARB     0x84E6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   233
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   234
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   235
#ifndef GL_ARB_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   236
#define GL_MULTISAMPLE_ARB                0x809D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   237
#define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB   0x809E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   238
#define GL_SAMPLE_ALPHA_TO_ONE_ARB        0x809F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   239
#define GL_SAMPLE_COVERAGE_ARB            0x80A0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   240
#define GL_SAMPLE_BUFFERS_ARB             0x80A8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   241
#define GL_SAMPLES_ARB                    0x80A9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   242
#define GL_SAMPLE_COVERAGE_VALUE_ARB      0x80AA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   243
#define GL_SAMPLE_COVERAGE_INVERT_ARB     0x80AB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   244
#define GL_MULTISAMPLE_BIT_ARB            0x20000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   245
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   246
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   247
#ifndef GL_ARB_texture_cube_map
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   248
#define GL_NORMAL_MAP_ARB                 0x8511
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   249
#define GL_REFLECTION_MAP_ARB             0x8512
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   250
#define GL_TEXTURE_CUBE_MAP_ARB           0x8513
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   251
#define GL_TEXTURE_BINDING_CUBE_MAP_ARB   0x8514
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   252
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   253
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   254
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   255
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   256
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   257
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   258
#define GL_PROXY_TEXTURE_CUBE_MAP_ARB     0x851B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   259
#define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB  0x851C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   260
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   261
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   262
#ifndef GL_ARB_texture_compression
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   263
#define GL_COMPRESSED_ALPHA_ARB           0x84E9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   264
#define GL_COMPRESSED_LUMINANCE_ARB       0x84EA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   265
#define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   266
#define GL_COMPRESSED_INTENSITY_ARB       0x84EC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   267
#define GL_COMPRESSED_RGB_ARB             0x84ED
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   268
#define GL_COMPRESSED_RGBA_ARB            0x84EE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   269
#define GL_TEXTURE_COMPRESSION_HINT_ARB   0x84EF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   270
#define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB         0x86A0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   271
#define GL_TEXTURE_COMPRESSED_ARB         0x86A1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   272
#define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   273
#define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   274
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   275
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   276
#ifndef GL_EXT_abgr
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   277
#define GL_ABGR_EXT                       0x8000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   278
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   279
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   280
#ifndef GL_EXT_blend_color
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   281
#define GL_CONSTANT_COLOR_EXT             0x8001
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   282
#define GL_ONE_MINUS_CONSTANT_COLOR_EXT   0x8002
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   283
#define GL_CONSTANT_ALPHA_EXT             0x8003
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   284
#define GL_ONE_MINUS_CONSTANT_ALPHA_EXT   0x8004
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   285
#define GL_BLEND_COLOR_EXT                0x8005
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   286
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   287
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   288
#ifndef GL_EXT_polygon_offset
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   289
#define GL_POLYGON_OFFSET_EXT             0x8037
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   290
#define GL_POLYGON_OFFSET_FACTOR_EXT      0x8038
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   291
#define GL_POLYGON_OFFSET_BIAS_EXT        0x8039
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   292
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   293
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   294
#ifndef GL_EXT_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   295
#define GL_ALPHA4_EXT                     0x803B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   296
#define GL_ALPHA8_EXT                     0x803C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   297
#define GL_ALPHA12_EXT                    0x803D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   298
#define GL_ALPHA16_EXT                    0x803E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   299
#define GL_LUMINANCE4_EXT                 0x803F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   300
#define GL_LUMINANCE8_EXT                 0x8040
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   301
#define GL_LUMINANCE12_EXT                0x8041
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   302
#define GL_LUMINANCE16_EXT                0x8042
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   303
#define GL_LUMINANCE4_ALPHA4_EXT          0x8043
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   304
#define GL_LUMINANCE6_ALPHA2_EXT          0x8044
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   305
#define GL_LUMINANCE8_ALPHA8_EXT          0x8045
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   306
#define GL_LUMINANCE12_ALPHA4_EXT         0x8046
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   307
#define GL_LUMINANCE12_ALPHA12_EXT        0x8047
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   308
#define GL_LUMINANCE16_ALPHA16_EXT        0x8048
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   309
#define GL_INTENSITY_EXT                  0x8049
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   310
#define GL_INTENSITY4_EXT                 0x804A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   311
#define GL_INTENSITY8_EXT                 0x804B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   312
#define GL_INTENSITY12_EXT                0x804C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   313
#define GL_INTENSITY16_EXT                0x804D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   314
#define GL_RGB2_EXT                       0x804E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   315
#define GL_RGB4_EXT                       0x804F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   316
#define GL_RGB5_EXT                       0x8050
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   317
#define GL_RGB8_EXT                       0x8051
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   318
#define GL_RGB10_EXT                      0x8052
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   319
#define GL_RGB12_EXT                      0x8053
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   320
#define GL_RGB16_EXT                      0x8054
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   321
#define GL_RGBA2_EXT                      0x8055
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   322
#define GL_RGBA4_EXT                      0x8056
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   323
#define GL_RGB5_A1_EXT                    0x8057
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   324
#define GL_RGBA8_EXT                      0x8058
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   325
#define GL_RGB10_A2_EXT                   0x8059
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   326
#define GL_RGBA12_EXT                     0x805A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   327
#define GL_RGBA16_EXT                     0x805B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   328
#define GL_TEXTURE_RED_SIZE_EXT           0x805C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   329
#define GL_TEXTURE_GREEN_SIZE_EXT         0x805D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   330
#define GL_TEXTURE_BLUE_SIZE_EXT          0x805E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   331
#define GL_TEXTURE_ALPHA_SIZE_EXT         0x805F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   332
#define GL_TEXTURE_LUMINANCE_SIZE_EXT     0x8060
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   333
#define GL_TEXTURE_INTENSITY_SIZE_EXT     0x8061
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   334
#define GL_REPLACE_EXT                    0x8062
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   335
#define GL_PROXY_TEXTURE_1D_EXT           0x8063
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   336
#define GL_PROXY_TEXTURE_2D_EXT           0x8064
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   337
#define GL_TEXTURE_TOO_LARGE_EXT          0x8065
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   338
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   339
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   340
#ifndef GL_EXT_texture3D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   341
#define GL_PACK_SKIP_IMAGES               0x806B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   342
#define GL_PACK_SKIP_IMAGES_EXT           0x806B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   343
#define GL_PACK_IMAGE_HEIGHT              0x806C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   344
#define GL_PACK_IMAGE_HEIGHT_EXT          0x806C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   345
#define GL_UNPACK_SKIP_IMAGES             0x806D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   346
#define GL_UNPACK_SKIP_IMAGES_EXT         0x806D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   347
#define GL_UNPACK_IMAGE_HEIGHT            0x806E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   348
#define GL_UNPACK_IMAGE_HEIGHT_EXT        0x806E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   349
#define GL_TEXTURE_3D                     0x806F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   350
#define GL_TEXTURE_3D_EXT                 0x806F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   351
#define GL_PROXY_TEXTURE_3D               0x8070
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   352
#define GL_PROXY_TEXTURE_3D_EXT           0x8070
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   353
#define GL_TEXTURE_DEPTH                  0x8071
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   354
#define GL_TEXTURE_DEPTH_EXT              0x8071
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   355
#define GL_TEXTURE_WRAP_R                 0x8072
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   356
#define GL_TEXTURE_WRAP_R_EXT             0x8072
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   357
#define GL_MAX_3D_TEXTURE_SIZE            0x8073
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   358
#define GL_MAX_3D_TEXTURE_SIZE_EXT        0x8073
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   359
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   360
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   361
#ifndef GL_SGIS_texture_filter4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   362
#define GL_FILTER4_SGIS                   0x8146
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   363
#define GL_TEXTURE_FILTER4_SIZE_SGIS      0x8147
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   364
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   365
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   366
#ifndef GL_EXT_subtexture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   367
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   368
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   369
#ifndef GL_EXT_copy_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   370
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   371
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   372
#ifndef GL_EXT_histogram
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   373
#define GL_HISTOGRAM_EXT                  0x8024
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   374
#define GL_PROXY_HISTOGRAM_EXT            0x8025
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   375
#define GL_HISTOGRAM_WIDTH_EXT            0x8026
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   376
#define GL_HISTOGRAM_FORMAT_EXT           0x8027
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   377
#define GL_HISTOGRAM_RED_SIZE_EXT         0x8028
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   378
#define GL_HISTOGRAM_GREEN_SIZE_EXT       0x8029
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   379
#define GL_HISTOGRAM_BLUE_SIZE_EXT        0x802A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   380
#define GL_HISTOGRAM_ALPHA_SIZE_EXT       0x802B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   381
#define GL_HISTOGRAM_LUMINANCE_SIZE_EXT   0x802C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   382
#define GL_HISTOGRAM_SINK_EXT             0x802D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   383
#define GL_MINMAX_EXT                     0x802E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   384
#define GL_MINMAX_FORMAT_EXT              0x802F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   385
#define GL_MINMAX_SINK_EXT                0x8030
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   386
#define GL_TABLE_TOO_LARGE_EXT            0x8031
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   387
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   388
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   389
#ifndef GL_EXT_convolution
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   390
#define GL_CONVOLUTION_1D_EXT             0x8010
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   391
#define GL_CONVOLUTION_2D_EXT             0x8011
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   392
#define GL_SEPARABLE_2D_EXT               0x8012
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   393
#define GL_CONVOLUTION_BORDER_MODE_EXT    0x8013
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   394
#define GL_CONVOLUTION_FILTER_SCALE_EXT   0x8014
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   395
#define GL_CONVOLUTION_FILTER_BIAS_EXT    0x8015
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   396
#define GL_REDUCE_EXT                     0x8016
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   397
#define GL_CONVOLUTION_FORMAT_EXT         0x8017
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   398
#define GL_CONVOLUTION_WIDTH_EXT          0x8018
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   399
#define GL_CONVOLUTION_HEIGHT_EXT         0x8019
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   400
#define GL_MAX_CONVOLUTION_WIDTH_EXT      0x801A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   401
#define GL_MAX_CONVOLUTION_HEIGHT_EXT     0x801B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   402
#define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   403
#define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   404
#define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   405
#define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   406
#define GL_POST_CONVOLUTION_RED_BIAS_EXT  0x8020
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   407
#define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   408
#define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   409
#define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   410
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   411
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   412
#ifndef GL_SGI_color_matrix
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   413
#define GL_COLOR_MATRIX_SGI               0x80B1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   414
#define GL_COLOR_MATRIX_STACK_DEPTH_SGI   0x80B2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   415
#define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   416
#define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   417
#define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   418
#define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   419
#define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   420
#define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   421
#define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   422
#define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   423
#define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   424
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   425
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   426
#ifndef GL_SGI_color_table
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   427
#define GL_COLOR_TABLE_SGI                0x80D0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   428
#define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   429
#define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   430
#define GL_PROXY_COLOR_TABLE_SGI          0x80D3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   431
#define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   432
#define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   433
#define GL_COLOR_TABLE_SCALE_SGI          0x80D6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   434
#define GL_COLOR_TABLE_BIAS_SGI           0x80D7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   435
#define GL_COLOR_TABLE_FORMAT_SGI         0x80D8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   436
#define GL_COLOR_TABLE_WIDTH_SGI          0x80D9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   437
#define GL_COLOR_TABLE_RED_SIZE_SGI       0x80DA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   438
#define GL_COLOR_TABLE_GREEN_SIZE_SGI     0x80DB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   439
#define GL_COLOR_TABLE_BLUE_SIZE_SGI      0x80DC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   440
#define GL_COLOR_TABLE_ALPHA_SIZE_SGI     0x80DD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   441
#define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   442
#define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   443
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   444
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   445
#ifndef GL_SGIS_pixel_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   446
#define GL_PIXEL_TEXTURE_SGIS             0x8353
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   447
#define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   448
#define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   449
#define GL_PIXEL_GROUP_COLOR_SGIS         0x8356
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   450
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   451
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   452
#ifndef GL_SGIX_pixel_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   453
#define GL_PIXEL_TEX_GEN_SGIX             0x8139
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   454
#define GL_PIXEL_TEX_GEN_MODE_SGIX        0x832B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   455
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   456
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   457
#ifndef GL_SGIS_texture4D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   458
#define GL_PACK_SKIP_VOLUMES_SGIS         0x8130
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   459
#define GL_PACK_IMAGE_DEPTH_SGIS          0x8131
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   460
#define GL_UNPACK_SKIP_VOLUMES_SGIS       0x8132
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   461
#define GL_UNPACK_IMAGE_DEPTH_SGIS        0x8133
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   462
#define GL_TEXTURE_4D_SGIS                0x8134
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   463
#define GL_PROXY_TEXTURE_4D_SGIS          0x8135
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   464
#define GL_TEXTURE_4DSIZE_SGIS            0x8136
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   465
#define GL_TEXTURE_WRAP_Q_SGIS            0x8137
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   466
#define GL_MAX_4D_TEXTURE_SIZE_SGIS       0x8138
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   467
#define GL_TEXTURE_4D_BINDING_SGIS        0x814F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   468
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   469
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   470
#ifndef GL_SGI_texture_color_table
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   471
#define GL_TEXTURE_COLOR_TABLE_SGI        0x80BC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   472
#define GL_PROXY_TEXTURE_COLOR_TABLE_SGI  0x80BD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   473
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   474
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   475
#ifndef GL_EXT_cmyka
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   476
#define GL_CMYK_EXT                       0x800C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   477
#define GL_CMYKA_EXT                      0x800D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   478
#define GL_PACK_CMYK_HINT_EXT             0x800E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   479
#define GL_UNPACK_CMYK_HINT_EXT           0x800F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   480
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   481
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   482
#ifndef GL_EXT_texture_object
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   483
#define GL_TEXTURE_PRIORITY_EXT           0x8066
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   484
#define GL_TEXTURE_RESIDENT_EXT           0x8067
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   485
#define GL_TEXTURE_1D_BINDING_EXT         0x8068
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   486
#define GL_TEXTURE_2D_BINDING_EXT         0x8069
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   487
#define GL_TEXTURE_3D_BINDING_EXT         0x806A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   488
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   489
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   490
#ifndef GL_SGIS_detail_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   491
#define GL_DETAIL_TEXTURE_2D_SGIS         0x8095
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   492
#define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   493
#define GL_LINEAR_DETAIL_SGIS             0x8097
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   494
#define GL_LINEAR_DETAIL_ALPHA_SGIS       0x8098
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   495
#define GL_LINEAR_DETAIL_COLOR_SGIS       0x8099
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   496
#define GL_DETAIL_TEXTURE_LEVEL_SGIS      0x809A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   497
#define GL_DETAIL_TEXTURE_MODE_SGIS       0x809B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   498
#define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   499
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   500
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   501
#ifndef GL_SGIS_sharpen_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   502
#define GL_LINEAR_SHARPEN_SGIS            0x80AD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   503
#define GL_LINEAR_SHARPEN_ALPHA_SGIS      0x80AE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   504
#define GL_LINEAR_SHARPEN_COLOR_SGIS      0x80AF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   505
#define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   506
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   507
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   508
#ifndef GL_EXT_packed_pixels
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   509
#define GL_UNSIGNED_BYTE_3_3_2_EXT        0x8032
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   510
#define GL_UNSIGNED_SHORT_4_4_4_4_EXT     0x8033
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   511
#define GL_UNSIGNED_SHORT_5_5_5_1_EXT     0x8034
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   512
#define GL_UNSIGNED_INT_8_8_8_8_EXT       0x8035
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   513
#define GL_UNSIGNED_INT_10_10_10_2_EXT    0x8036
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   514
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   515
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   516
#ifndef GL_SGIS_texture_lod
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   517
#define GL_TEXTURE_MIN_LOD_SGIS           0x813A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   518
#define GL_TEXTURE_MAX_LOD_SGIS           0x813B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   519
#define GL_TEXTURE_BASE_LEVEL_SGIS        0x813C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   520
#define GL_TEXTURE_MAX_LEVEL_SGIS         0x813D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   521
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   522
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   523
#ifndef GL_SGIS_multisample
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   524
#define GL_MULTISAMPLE_SGIS               0x809D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   525
#define GL_SAMPLE_ALPHA_TO_MASK_SGIS      0x809E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   526
#define GL_SAMPLE_ALPHA_TO_ONE_SGIS       0x809F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   527
#define GL_SAMPLE_MASK_SGIS               0x80A0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   528
#define GL_1PASS_SGIS                     0x80A1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   529
#define GL_2PASS_0_SGIS                   0x80A2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   530
#define GL_2PASS_1_SGIS                   0x80A3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   531
#define GL_4PASS_0_SGIS                   0x80A4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   532
#define GL_4PASS_1_SGIS                   0x80A5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   533
#define GL_4PASS_2_SGIS                   0x80A6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   534
#define GL_4PASS_3_SGIS                   0x80A7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   535
#define GL_SAMPLE_BUFFERS_SGIS            0x80A8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   536
#define GL_SAMPLES_SGIS                   0x80A9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   537
#define GL_SAMPLE_MASK_VALUE_SGIS         0x80AA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   538
#define GL_SAMPLE_MASK_INVERT_SGIS        0x80AB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   539
#define GL_SAMPLE_PATTERN_SGIS            0x80AC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   540
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   541
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   542
#ifndef GL_EXT_rescale_normal
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   543
#define GL_RESCALE_NORMAL_EXT             0x803A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   544
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   545
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   546
#ifndef GL_EXT_vertex_array
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   547
#define GL_VERTEX_ARRAY_EXT               0x8074
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   548
#define GL_NORMAL_ARRAY_EXT               0x8075
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   549
#define GL_COLOR_ARRAY_EXT                0x8076
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   550
#define GL_INDEX_ARRAY_EXT                0x8077
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   551
#define GL_TEXTURE_COORD_ARRAY_EXT        0x8078
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   552
#define GL_EDGE_FLAG_ARRAY_EXT            0x8079
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   553
#define GL_VERTEX_ARRAY_SIZE_EXT          0x807A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   554
#define GL_VERTEX_ARRAY_TYPE_EXT          0x807B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   555
#define GL_VERTEX_ARRAY_STRIDE_EXT        0x807C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   556
#define GL_VERTEX_ARRAY_COUNT_EXT         0x807D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   557
#define GL_NORMAL_ARRAY_TYPE_EXT          0x807E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   558
#define GL_NORMAL_ARRAY_STRIDE_EXT        0x807F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   559
#define GL_NORMAL_ARRAY_COUNT_EXT         0x8080
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   560
#define GL_COLOR_ARRAY_SIZE_EXT           0x8081
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   561
#define GL_COLOR_ARRAY_TYPE_EXT           0x8082
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   562
#define GL_COLOR_ARRAY_STRIDE_EXT         0x8083
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   563
#define GL_COLOR_ARRAY_COUNT_EXT          0x8084
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   564
#define GL_INDEX_ARRAY_TYPE_EXT           0x8085
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   565
#define GL_INDEX_ARRAY_STRIDE_EXT         0x8086
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   566
#define GL_INDEX_ARRAY_COUNT_EXT          0x8087
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   567
#define GL_TEXTURE_COORD_ARRAY_SIZE_EXT   0x8088
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   568
#define GL_TEXTURE_COORD_ARRAY_TYPE_EXT   0x8089
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   569
#define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   570
#define GL_TEXTURE_COORD_ARRAY_COUNT_EXT  0x808B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   571
#define GL_EDGE_FLAG_ARRAY_STRIDE_EXT     0x808C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   572
#define GL_EDGE_FLAG_ARRAY_COUNT_EXT      0x808D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   573
#define GL_VERTEX_ARRAY_POINTER_EXT       0x808E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   574
#define GL_NORMAL_ARRAY_POINTER_EXT       0x808F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   575
#define GL_COLOR_ARRAY_POINTER_EXT        0x8090
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   576
#define GL_INDEX_ARRAY_POINTER_EXT        0x8091
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   577
#define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   578
#define GL_EDGE_FLAG_ARRAY_POINTER_EXT    0x8093
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   579
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   580
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   581
#ifndef GL_EXT_misc_attribute
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   582
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   583
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   584
#ifndef GL_SGIS_generate_mipmap
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   585
#define GL_GENERATE_MIPMAP_SGIS           0x8191
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   586
#define GL_GENERATE_MIPMAP_HINT_SGIS      0x8192
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   587
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   588
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   589
#ifndef GL_SGIX_clipmap
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   590
#define GL_LINEAR_CLIPMAP_LINEAR_SGIX     0x8170
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   591
#define GL_TEXTURE_CLIPMAP_CENTER_SGIX    0x8171
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   592
#define GL_TEXTURE_CLIPMAP_FRAME_SGIX     0x8172
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   593
#define GL_TEXTURE_CLIPMAP_OFFSET_SGIX    0x8173
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   594
#define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   595
#define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   596
#define GL_TEXTURE_CLIPMAP_DEPTH_SGIX     0x8176
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   597
#define GL_MAX_CLIPMAP_DEPTH_SGIX         0x8177
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   598
#define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   599
#define GL_NEAREST_CLIPMAP_NEAREST_SGIX   0x844D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   600
#define GL_NEAREST_CLIPMAP_LINEAR_SGIX    0x844E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   601
#define GL_LINEAR_CLIPMAP_NEAREST_SGIX    0x844F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   602
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   603
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   604
#ifndef GL_SGIX_shadow
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   605
#define GL_TEXTURE_COMPARE_SGIX           0x819A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   606
#define GL_TEXTURE_COMPARE_OPERATOR_SGIX  0x819B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   607
#define GL_TEXTURE_LEQUAL_R_SGIX          0x819C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   608
#define GL_TEXTURE_GEQUAL_R_SGIX          0x819D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   609
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   610
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   611
#ifndef GL_SGIS_texture_edge_clamp
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   612
#define GL_CLAMP_TO_EDGE_SGIS             0x812F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   613
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   614
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   615
#ifndef GL_SGIS_texture_border_clamp
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   616
#define GL_CLAMP_TO_BORDER_SGIS           0x812D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   617
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   618
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   619
#ifndef GL_EXT_blend_minmax
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   620
#define GL_FUNC_ADD_EXT                   0x8006
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   621
#define GL_MIN_EXT                        0x8007
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   622
#define GL_MAX_EXT                        0x8008
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   623
#define GL_BLEND_EQUATION_EXT             0x8009
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   624
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   625
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   626
#ifndef GL_EXT_blend_subtract
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   627
#define GL_FUNC_SUBTRACT_EXT              0x800A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   628
#define GL_FUNC_REVERSE_SUBTRACT_EXT      0x800B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   629
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   630
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   631
#ifndef GL_EXT_blend_logic_op
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   632
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   633
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   634
#ifndef GL_SGIX_interlace
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   635
#define GL_INTERLACE_SGIX                 0x8094
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   636
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   637
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   638
#ifndef GL_SGIX_pixel_tiles
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   639
#define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   640
#define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   641
#define GL_PIXEL_TILE_WIDTH_SGIX          0x8140
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   642
#define GL_PIXEL_TILE_HEIGHT_SGIX         0x8141
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   643
#define GL_PIXEL_TILE_GRID_WIDTH_SGIX     0x8142
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   644
#define GL_PIXEL_TILE_GRID_HEIGHT_SGIX    0x8143
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   645
#define GL_PIXEL_TILE_GRID_DEPTH_SGIX     0x8144
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   646
#define GL_PIXEL_TILE_CACHE_SIZE_SGIX     0x8145
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   647
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   648
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   649
#ifndef GL_SGIS_texture_select
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   650
#define GL_DUAL_ALPHA4_SGIS               0x8110
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   651
#define GL_DUAL_ALPHA8_SGIS               0x8111
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   652
#define GL_DUAL_ALPHA12_SGIS              0x8112
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   653
#define GL_DUAL_ALPHA16_SGIS              0x8113
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   654
#define GL_DUAL_LUMINANCE4_SGIS           0x8114
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   655
#define GL_DUAL_LUMINANCE8_SGIS           0x8115
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   656
#define GL_DUAL_LUMINANCE12_SGIS          0x8116
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   657
#define GL_DUAL_LUMINANCE16_SGIS          0x8117
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   658
#define GL_DUAL_INTENSITY4_SGIS           0x8118
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   659
#define GL_DUAL_INTENSITY8_SGIS           0x8119
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   660
#define GL_DUAL_INTENSITY12_SGIS          0x811A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   661
#define GL_DUAL_INTENSITY16_SGIS          0x811B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   662
#define GL_DUAL_LUMINANCE_ALPHA4_SGIS     0x811C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   663
#define GL_DUAL_LUMINANCE_ALPHA8_SGIS     0x811D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   664
#define GL_QUAD_ALPHA4_SGIS               0x811E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   665
#define GL_QUAD_ALPHA8_SGIS               0x811F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   666
#define GL_QUAD_LUMINANCE4_SGIS           0x8120
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   667
#define GL_QUAD_LUMINANCE8_SGIS           0x8121
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   668
#define GL_QUAD_INTENSITY4_SGIS           0x8122
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   669
#define GL_QUAD_INTENSITY8_SGIS           0x8123
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   670
#define GL_DUAL_TEXTURE_SELECT_SGIS       0x8124
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   671
#define GL_QUAD_TEXTURE_SELECT_SGIS       0x8125
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   672
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   673
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   674
#ifndef GL_SGIX_sprite
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   675
#define GL_SPRITE_SGIX                    0x8148
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   676
#define GL_SPRITE_MODE_SGIX               0x8149
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   677
#define GL_SPRITE_AXIS_SGIX               0x814A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   678
#define GL_SPRITE_TRANSLATION_SGIX        0x814B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   679
#define GL_SPRITE_AXIAL_SGIX              0x814C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   680
#define GL_SPRITE_OBJECT_ALIGNED_SGIX     0x814D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   681
#define GL_SPRITE_EYE_ALIGNED_SGIX        0x814E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   682
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   683
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   684
#ifndef GL_SGIX_texture_multi_buffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   685
#define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   686
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   687
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   688
#ifndef GL_SGIS_point_parameters
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   689
#define GL_POINT_SIZE_MIN_EXT             0x8126
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   690
#define GL_POINT_SIZE_MIN_SGIS            0x8126
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   691
#define GL_POINT_SIZE_MAX_EXT             0x8127
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   692
#define GL_POINT_SIZE_MAX_SGIS            0x8127
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   693
#define GL_POINT_FADE_THRESHOLD_SIZE_EXT  0x8128
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   694
#define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   695
#define GL_DISTANCE_ATTENUATION_EXT       0x8129
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   696
#define GL_DISTANCE_ATTENUATION_SGIS      0x8129
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   697
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   698
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   699
#ifndef GL_SGIX_instruments
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   700
#define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   701
#define GL_INSTRUMENT_MEASUREMENTS_SGIX   0x8181
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   702
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   703
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   704
#ifndef GL_SGIX_texture_scale_bias
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   705
#define GL_POST_TEXTURE_FILTER_BIAS_SGIX  0x8179
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   706
#define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   707
#define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   708
#define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   709
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   710
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   711
#ifndef GL_SGIX_framezoom
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   712
#define GL_FRAMEZOOM_SGIX                 0x818B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   713
#define GL_FRAMEZOOM_FACTOR_SGIX          0x818C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   714
#define GL_MAX_FRAMEZOOM_FACTOR_SGIX      0x818D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   715
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   716
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   717
#ifndef GL_SGIX_tag_sample_buffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   718
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   719
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   720
#ifndef GL_SGIX_reference_plane
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   721
#define GL_REFERENCE_PLANE_SGIX           0x817D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   722
#define GL_REFERENCE_PLANE_EQUATION_SGIX  0x817E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   723
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   724
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   725
#ifndef GL_SGIX_flush_raster
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   726
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   727
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   728
#ifndef GL_SGIX_depth_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   729
#define GL_DEPTH_COMPONENT16_SGIX         0x81A5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   730
#define GL_DEPTH_COMPONENT24_SGIX         0x81A6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   731
#define GL_DEPTH_COMPONENT32_SGIX         0x81A7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   732
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   733
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   734
#ifndef GL_SGIS_fog_function
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   735
#define GL_FOG_FUNC_SGIS                  0x812A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   736
#define GL_FOG_FUNC_POINTS_SGIS           0x812B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   737
#define GL_MAX_FOG_FUNC_POINTS_SGIS       0x812C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   738
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   739
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   740
#ifndef GL_SGIX_fog_offset
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   741
#define GL_FOG_OFFSET_SGIX                0x8198
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   742
#define GL_FOG_OFFSET_VALUE_SGIX          0x8199
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   743
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   744
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   745
#ifndef GL_HP_image_transform
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   746
#define GL_IMAGE_SCALE_X_HP               0x8155
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   747
#define GL_IMAGE_SCALE_Y_HP               0x8156
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   748
#define GL_IMAGE_TRANSLATE_X_HP           0x8157
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   749
#define GL_IMAGE_TRANSLATE_Y_HP           0x8158
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   750
#define GL_IMAGE_ROTATE_ANGLE_HP          0x8159
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   751
#define GL_IMAGE_ROTATE_ORIGIN_X_HP       0x815A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   752
#define GL_IMAGE_ROTATE_ORIGIN_Y_HP       0x815B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   753
#define GL_IMAGE_MAG_FILTER_HP            0x815C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   754
#define GL_IMAGE_MIN_FILTER_HP            0x815D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   755
#define GL_IMAGE_CUBIC_WEIGHT_HP          0x815E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   756
#define GL_CUBIC_HP                       0x815F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   757
#define GL_AVERAGE_HP                     0x8160
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   758
#define GL_IMAGE_TRANSFORM_2D_HP          0x8161
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   759
#define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   760
#define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   761
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   762
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   763
#ifndef GL_HP_convolution_border_modes
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   764
#define GL_IGNORE_BORDER_HP               0x8150
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   765
#define GL_CONSTANT_BORDER_HP             0x8151
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   766
#define GL_REPLICATE_BORDER_HP            0x8153
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   767
#define GL_CONVOLUTION_BORDER_COLOR_HP    0x8154
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   768
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   769
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   770
#ifndef GL_INGR_palette_buffer
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   771
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   772
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   773
#ifndef GL_SGIX_texture_add_env
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   774
#define GL_TEXTURE_ENV_BIAS_SGIX          0x80BE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   775
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   776
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   777
#ifndef GL_EXT_color_subtable
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   778
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   779
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   780
#ifndef GL_PGI_vertex_hints
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   781
#define GL_VERTEX_DATA_HINT_PGI           0x1A22A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   782
#define GL_VERTEX_CONSISTENT_HINT_PGI     0x1A22B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   783
#define GL_MATERIAL_SIDE_HINT_PGI         0x1A22C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   784
#define GL_MAX_VERTEX_HINT_PGI            0x1A22D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   785
#define GL_COLOR3_BIT_PGI                 0x00010000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   786
#define GL_COLOR4_BIT_PGI                 0x00020000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   787
#define GL_EDGEFLAG_BIT_PGI               0x00040000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   788
#define GL_INDEX_BIT_PGI                  0x00080000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   789
#define GL_MAT_AMBIENT_BIT_PGI            0x00100000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   790
#define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   791
#define GL_MAT_DIFFUSE_BIT_PGI            0x00400000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   792
#define GL_MAT_EMISSION_BIT_PGI           0x00800000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   793
#define GL_MAT_COLOR_INDEXES_BIT_PGI      0x01000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   794
#define GL_MAT_SHININESS_BIT_PGI          0x02000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   795
#define GL_MAT_SPECULAR_BIT_PGI           0x04000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   796
#define GL_NORMAL_BIT_PGI                 0x08000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   797
#define GL_TEXCOORD1_BIT_PGI              0x10000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   798
#define GL_TEXCOORD2_BIT_PGI              0x20000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   799
#define GL_TEXCOORD3_BIT_PGI              0x40000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   800
#define GL_TEXCOORD4_BIT_PGI              0x80000000
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   801
#define GL_VERTEX23_BIT_PGI               0x00000004
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   802
#define GL_VERTEX4_BIT_PGI                0x00000008
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   803
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   804
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   805
#ifndef GL_PGI_misc_hints
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   806
#define GL_PREFER_DOUBLEBUFFER_HINT_PGI   0x1A1F8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   807
#define GL_CONSERVE_MEMORY_HINT_PGI       0x1A1FD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   808
#define GL_RECLAIM_MEMORY_HINT_PGI        0x1A1FE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   809
#define GL_NATIVE_GRAPHICS_HANDLE_PGI     0x1A202
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   810
#define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   811
#define GL_NATIVE_GRAPHICS_END_HINT_PGI   0x1A204
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   812
#define GL_ALWAYS_FAST_HINT_PGI           0x1A20C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   813
#define GL_ALWAYS_SOFT_HINT_PGI           0x1A20D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   814
#define GL_ALLOW_DRAW_OBJ_HINT_PGI        0x1A20E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   815
#define GL_ALLOW_DRAW_WIN_HINT_PGI        0x1A20F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   816
#define GL_ALLOW_DRAW_FRG_HINT_PGI        0x1A210
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   817
#define GL_ALLOW_DRAW_MEM_HINT_PGI        0x1A211
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   818
#define GL_STRICT_DEPTHFUNC_HINT_PGI      0x1A216
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   819
#define GL_STRICT_LIGHTING_HINT_PGI       0x1A217
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   820
#define GL_STRICT_SCISSOR_HINT_PGI        0x1A218
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   821
#define GL_FULL_STIPPLE_HINT_PGI          0x1A219
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   822
#define GL_CLIP_NEAR_HINT_PGI             0x1A220
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   823
#define GL_CLIP_FAR_HINT_PGI              0x1A221
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   824
#define GL_WIDE_LINE_HINT_PGI             0x1A222
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   825
#define GL_BACK_NORMALS_HINT_PGI          0x1A223
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   826
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   827
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   828
#ifndef GL_EXT_paletted_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   829
#define GL_COLOR_INDEX1_EXT               0x80E2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   830
#define GL_COLOR_INDEX2_EXT               0x80E3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   831
#define GL_COLOR_INDEX4_EXT               0x80E4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   832
#define GL_COLOR_INDEX8_EXT               0x80E5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   833
#define GL_COLOR_INDEX12_EXT              0x80E6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   834
#define GL_COLOR_INDEX16_EXT              0x80E7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   835
#define GL_TEXTURE_INDEX_SIZE_EXT         0x80ED
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   836
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   837
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   838
#ifndef GL_EXT_clip_volume_hint
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   839
#define GL_CLIP_VOLUME_CLIPPING_HINT_EXT  0x80F0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   840
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   841
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   842
#ifndef GL_SGIX_list_priority
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   843
#define GL_LIST_PRIORITY_SGIX             0x8182
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   844
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   845
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   846
#ifndef GL_SGIX_ir_instrument1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   847
#define GL_IR_INSTRUMENT1_SGIX            0x817F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   848
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   849
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   850
#ifndef GL_SGIX_calligraphic_fragment
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   851
#define GL_CALLIGRAPHIC_FRAGMENT_SGIX     0x8183
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   852
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   853
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   854
#ifndef GL_SGIX_texture_lod_bias
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   855
#define GL_TEXTURE_LOD_BIAS_S_SGIX        0x818E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   856
#define GL_TEXTURE_LOD_BIAS_T_SGIX        0x818F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   857
#define GL_TEXTURE_LOD_BIAS_R_SGIX        0x8190
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   858
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   859
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   860
#ifndef GL_SGIX_shadow_ambient
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   861
#define GL_SHADOW_AMBIENT_SGIX            0x80BF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   862
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   863
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   864
#ifndef GL_EXT_index_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   865
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   866
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   867
#ifndef GL_EXT_index_material
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   868
#define GL_INDEX_MATERIAL_EXT             0x81B8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   869
#define GL_INDEX_MATERIAL_PARAMETER_EXT   0x81B9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   870
#define GL_INDEX_MATERIAL_FACE_EXT        0x81BA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   871
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   872
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   873
#ifndef GL_EXT_index_func
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   874
#define GL_INDEX_TEST_EXT                 0x81B5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   875
#define GL_INDEX_TEST_FUNC_EXT            0x81B6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   876
#define GL_INDEX_TEST_REF_EXT             0x81B7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   877
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   878
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   879
#ifndef GL_EXT_index_array_formats
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   880
#define GL_IUI_V2F_EXT                    0x81AD
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   881
#define GL_IUI_V3F_EXT                    0x81AE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   882
#define GL_IUI_N3F_V2F_EXT                0x81AF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   883
#define GL_IUI_N3F_V3F_EXT                0x81B0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   884
#define GL_T2F_IUI_V2F_EXT                0x81B1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   885
#define GL_T2F_IUI_V3F_EXT                0x81B2
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   886
#define GL_T2F_IUI_N3F_V2F_EXT            0x81B3
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   887
#define GL_T2F_IUI_N3F_V3F_EXT            0x81B4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   888
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   889
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   890
#ifndef GL_EXT_compiled_vertex_array
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   891
#define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT   0x81A8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   892
#define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT   0x81A9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   893
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   894
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   895
#ifndef GL_EXT_cull_vertex
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   896
#define GL_CULL_VERTEX_EXT                0x81AA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   897
#define GL_CULL_VERTEX_EYE_POSITION_EXT   0x81AB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   898
#define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   899
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   900
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   901
#ifndef GL_SGIX_ycrcb
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   902
#define GL_YCRCB_422_SGIX                 0x81BB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   903
#define GL_YCRCB_444_SGIX                 0x81BC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   904
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   905
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   906
#ifndef GL_SGIX_fragment_lighting
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   907
#define GL_FRAGMENT_LIGHTING_SGIX         0x8400
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   908
#define GL_FRAGMENT_COLOR_MATERIAL_SGIX   0x8401
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   909
#define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   910
#define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   911
#define GL_MAX_FRAGMENT_LIGHTS_SGIX       0x8404
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   912
#define GL_MAX_ACTIVE_LIGHTS_SGIX         0x8405
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   913
#define GL_CURRENT_RASTER_NORMAL_SGIX     0x8406
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   914
#define GL_LIGHT_ENV_MODE_SGIX            0x8407
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   915
#define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   916
#define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   917
#define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   918
#define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   919
#define GL_FRAGMENT_LIGHT0_SGIX           0x840C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   920
#define GL_FRAGMENT_LIGHT1_SGIX           0x840D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   921
#define GL_FRAGMENT_LIGHT2_SGIX           0x840E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   922
#define GL_FRAGMENT_LIGHT3_SGIX           0x840F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   923
#define GL_FRAGMENT_LIGHT4_SGIX           0x8410
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   924
#define GL_FRAGMENT_LIGHT5_SGIX           0x8411
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   925
#define GL_FRAGMENT_LIGHT6_SGIX           0x8412
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   926
#define GL_FRAGMENT_LIGHT7_SGIX           0x8413
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   927
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   928
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   929
#ifndef GL_IBM_rasterpos_clip
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   930
#define GL_RASTER_POSITION_UNCLIPPED_IBM  0x19262
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   931
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   932
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   933
#ifndef GL_HP_texture_lighting
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   934
#define GL_TEXTURE_LIGHTING_MODE_HP       0x8167
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   935
#define GL_TEXTURE_POST_SPECULAR_HP       0x8168
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   936
#define GL_TEXTURE_PRE_SPECULAR_HP        0x8169
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   937
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   938
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   939
#ifndef GL_EXT_draw_range_elements
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   940
#define GL_MAX_ELEMENTS_VERTICES_EXT      0x80E8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   941
#define GL_MAX_ELEMENTS_INDICES_EXT       0x80E9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   942
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   943
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   944
#ifndef GL_WIN_phong_shading
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   945
#define GL_PHONG_WIN                      0x80EA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   946
#define GL_PHONG_HINT_WIN                 0x80EB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   947
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
   948
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   949
#ifndef GL_WIN_specular_fog
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   950
#define GL_FOG_SPECULAR_TEXTURE_WIN       0x80EC
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   951
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   952
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   953
#ifndef GL_EXT_light_texture
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   954
#define GL_FRAGMENT_MATERIAL_EXT          0x8349
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   955
#define GL_FRAGMENT_NORMAL_EXT            0x834A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   956
#define GL_FRAGMENT_COLOR_EXT             0x834C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   957
#define GL_ATTENUATION_EXT                0x834D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   958
#define GL_SHADOW_ATTENUATION_EXT         0x834E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   959
#define GL_TEXTURE_APPLICATION_MODE_EXT   0x834F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   960
#define GL_TEXTURE_LIGHT_EXT              0x8350
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   961
#define GL_TEXTURE_MATERIAL_FACE_EXT      0x8351
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   962
#define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   963
/* reuse GL_FRAGMENT_DEPTH_EXT */
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   964
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   965
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   966
#ifndef GL_SGIX_blend_alpha_minmax
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   967
#define GL_ALPHA_MIN_SGIX                 0x8320
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   968
#define GL_ALPHA_MAX_SGIX                 0x8321
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   969
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   970
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   971
#ifndef GL_EXT_bgra
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   972
#define GL_BGR_EXT                        0x80E0
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   973
#define GL_BGRA_EXT                       0x80E1
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   974
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   975
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   976
#ifndef GL_INTEL_texture_scissor
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   977
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   978
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   979
#ifndef GL_INTEL_parallel_arrays
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   980
#define GL_PARALLEL_ARRAYS_INTEL          0x83F4
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   981
#define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   982
#define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   983
#define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   984
#define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   985
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   986
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   987
#ifndef GL_HP_occlusion_test
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   988
#define GL_OCCLUSION_TEST_HP              0x8165
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   989
#define GL_OCCLUSION_TEST_RESULT_HP       0x8166
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   990
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   991
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   992
#ifndef GL_EXT_pixel_transform
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   993
#define GL_PIXEL_TRANSFORM_2D_EXT         0x8330
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   994
#define GL_PIXEL_MAG_FILTER_EXT           0x8331
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   995
#define GL_PIXEL_MIN_FILTER_EXT           0x8332
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   996
#define GL_PIXEL_CUBIC_WEIGHT_EXT         0x8333
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   997
#define GL_CUBIC_EXT                      0x8334
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   998
#define GL_AVERAGE_EXT                    0x8335
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
   999
#define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1000
#define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1001
#define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT  0x8338
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1002
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1003
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1004
#ifndef GL_EXT_pixel_transform_color_table
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1005
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1006
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1007
#ifndef GL_EXT_shared_texture_palette
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1008
#define GL_SHARED_TEXTURE_PALETTE_EXT     0x81FB
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1009
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1010
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1011
#ifndef GL_EXT_separate_specular_color
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1012
#define GL_LIGHT_MODEL_COLOR_CONTROL_EXT  0x81F8
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1013
#define GL_SINGLE_COLOR_EXT               0x81F9
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1014
#define GL_SEPARATE_SPECULAR_COLOR_EXT    0x81FA
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1015
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1016
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1017
#ifndef GL_EXT_secondary_color
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1018
#define GL_COLOR_SUM_EXT                  0x8458
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1019
#define GL_CURRENT_SECONDARY_COLOR_EXT    0x8459
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1020
#define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1021
#define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1022
#define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1023
#define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1024
#define GL_SECONDARY_COLOR_ARRAY_EXT      0x845E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1025
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1026
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1027
#ifndef GL_EXT_texture_perturb_normal
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1028
#define GL_PERTURB_EXT                    0x85AE
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1029
#define GL_TEXTURE_NORMAL_EXT             0x85AF
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1030
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1031
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1032
#ifndef GL_EXT_multi_draw_arrays
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1033
#endif
214
0e5d6dd77bda Added platform independent OpenGL header - SDL_opengl.h
Sam Lantinga <slouken@libsdl.org>
parents:
diff changeset
  1034
312
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1035
#ifndef GL_EXT_fog_coord
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1036
#define GL_FOG_COORDINATE_SOURCE_EXT      0x8450
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1037
#define GL_FOG_COORDINATE_EXT             0x8451
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1038
#define GL_FRAGMENT_DEPTH_EXT             0x8452
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1039
#define GL_CURRENT_FOG_COORDINATE_EXT     0x8453
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1040
#define GL_FOG_COORDINATE_ARRAY_TYPE_EXT  0x8454
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1041
#define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1042
#define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1043
#define GL_FOG_COORDINATE_ARRAY_EXT       0x8457
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1044
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1045
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1046
#ifndef GL_REND_screen_coordinates
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1047
#define GL_SCREEN_COORDINATES_REND        0x8490
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1048
#define GL_INVERTED_SCREEN_W_REND         0x8491
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1049
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1050
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1051
#ifndef GL_EXT_coordinate_frame
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1052
#define GL_TANGENT_ARRAY_EXT              0x8439
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1053
#define GL_BINORMAL_ARRAY_EXT             0x843A
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1054
#define GL_CURRENT_TANGENT_EXT            0x843B
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1055
#define GL_CURRENT_BINORMAL_EXT           0x843C
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1056
#define GL_TANGENT_ARRAY_TYPE_EXT         0x843E
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1057
#define GL_TANGENT_ARRAY_STRIDE_EXT       0x843F
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1058
#define GL_BINORMAL_ARRAY_TYPE_EXT        0x8440
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1059
#define GL_BINORMAL_ARRAY_STRIDE_EXT      0x8441
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1060
#define GL_TANGENT_ARRAY_POINTER_EXT      0x8442
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1061
#define GL_BINORMAL_ARRAY_POINTER_EXT     0x8443
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1062
#define GL_MAP1_TANGENT_EXT               0x8444
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1063
#define GL_MAP2_TANGENT_EXT               0x8445
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1064
#define GL_MAP1_BINORMAL_EXT              0x8446
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1065
#define GL_MAP2_BINORMAL_EXT              0x8447
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1066
#endif
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1067
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1068
#ifndef GL_EXT_texture_env_combine
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1069
#define GL_COMBINE_EXT                    0x8570
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1070
#define GL_COMBINE_RGB_EXT                0x8571
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1071
#define GL_COMBINE_ALPHA_EXT              0x8572
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1072
#define GL_RGB_SCALE_EXT                  0x8573
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1073
#define GL_ADD_SIGNED_EXT                 0x8574
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1074
#define GL_INTERPOLATE_EXT                0x8575
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1075
#define GL_CONSTANT_EXT                   0x8576
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1076
#define GL_PRIMARY_COLOR_EXT              0x8577
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1077
#define GL_PREVIOUS_EXT                   0x8578
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1078
#define GL_SOURCE0_RGB_EXT                0x8580
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1079
#define GL_SOURCE1_RGB_EXT                0x8581
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1080
#define GL_SOURCE2_RGB_EXT                0x8582
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1081
#define GL_SOURCE3_RGB_EXT                0x8583
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1082
#define GL_SOURCE4_RGB_EXT                0x8584
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1083
#define GL_SOURCE5_RGB_EXT                0x8585
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1084
#define GL_SOURCE6_RGB_EXT                0x8586
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1085
#define GL_SOURCE7_RGB_EXT                0x8587
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1086
#define GL_SOURCE0_ALPHA_EXT              0x8588
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1087
#define GL_SOURCE1_ALPHA_EXT              0x8589
d62b9aeaf0ea Used the glext.h from the SGI sample implementation
Sam Lantinga <slouken@libsdl.org>
parents: 297
diff changeset
  1088
#define GL_SOURCE2_ALPHA_EXT              0x858A