annotate include/SDL_opengles.h @ 2867:eec7adc3d1c5

Updated test for API changes
author Sam Lantinga <slouken@libsdl.org>
date Sat, 13 Dec 2008 12:34:28 +0000
parents 99210400e8b9
children 0bc41e0361d3
rev   line source
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
1 /*
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
2 SDL - Simple DirectMedia Layer
2859
99210400e8b9 Updated copyright date
Sam Lantinga <slouken@libsdl.org>
parents: 2765
diff changeset
3 Copyright (C) 1997-2009 Sam Lantinga
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
4
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
5 This library is free software; you can redistribute it and/or
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
6 modify it under the terms of the GNU Lesser General Public
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
7 License as published by the Free Software Foundation; either
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
8 version 2.1 of the License, or (at your option) any later version.
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
9
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
10 This library is distributed in the hope that it will be useful,
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
13 Lesser General Public License for more details.
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
14
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
15 You should have received a copy of the GNU Lesser General Public
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
16 License along with this library; if not, write to the Free Software
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
18
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
19 Sam Lantinga
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
20 slouken@libsdl.org
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
21 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
22
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
23 /*
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
24 This is a simple file to encapsulate the OpenGL ES API headers.
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
25 Headers copied from The Kronos Group website.
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
26 http://www.khronos.org/opengles/
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
27 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
28
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
29 #ifndef __gles_h_
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
30 #define __gles_h_
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
31
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
32 /* $Id: gl.h 4533 2007-11-26 11:19:35Z markc $ */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
33
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
34 #ifdef __cplusplus
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
35 extern "C"
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
36 {
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
37 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
38
2765
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2753
diff changeset
39 #ifdef __IPHONEOS__
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2753
diff changeset
40 #include <OpenGLES/ES1/gl.h> /* Header File For The OpenGL ES Library */
f55c87ae336b Final merge of Google Summer of Code 2008 work...
Sam Lantinga <slouken@libsdl.org>
parents: 2753
diff changeset
41 #endif
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
42
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
43 #ifndef APIENTRY
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
44 #define APIENTRY
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
45 #endif
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
46
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
47 #ifndef GL_APIENTRY
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
48 #define GL_APIENTRY
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
49 #endif
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
50
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
51
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
52 /*
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
53 ** License Applicability. Except to the extent portions of this file are
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
54 ** made subject to an alternative license as permitted in the SGI Free
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
55 ** Software License B, Version 1.0 (the "License"), the contents of this
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
56 ** file are subject only to the provisions of the License. You may not use
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
57 ** this file except in compliance with the License. You may obtain a copy
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
58 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
59 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
60 **
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
61 ** http://oss.sgi.com/projects/FreeB
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
62 **
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
63 ** Note that, as provided in the License, the Software is distributed on an
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
64 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
65 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
66 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
67 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
68 **
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
69 ** Original Code. The Original Code is: OpenGL Sample Implementation,
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
70 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
71 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
72 ** Copyright in any portions created by third parties is as indicated
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
73 ** elsewhere herein. All Rights Reserved.
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
74 **
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
75 ** Additional Notice Provisions: The application programming interfaces
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
76 ** established by SGI in conjunction with the Original Code are The
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
77 ** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
78 ** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
79 ** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
80 ** Window System(R) (Version 1.3), released October 19, 1998. This software
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
81 ** was created using the OpenGL(R) version 1.2.1 Sample Implementation
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
82 ** published by SGI, but has not been independently verified as being
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
83 ** compliant with the OpenGL(R) version 1.2.1 Specification.
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
84 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
85
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
86 typedef unsigned int GLenum;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
87 typedef unsigned char GLboolean;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
88 typedef unsigned int GLbitfield;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
89 typedef signed char GLbyte;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
90 typedef short GLshort;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
91 typedef int GLint;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
92 typedef int GLsizei;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
93 typedef unsigned char GLubyte;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
94 typedef unsigned short GLushort;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
95 typedef unsigned int GLuint;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
96 typedef float GLfloat;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
97 typedef float GLclampf;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
98 typedef void GLvoid;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
99 typedef int GLfixed;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
100 typedef int GLclampx;
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
101
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
102 typedef int GLintptr;
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
103 typedef int GLsizeiptr;
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
104
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
105
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
106 /*************************************************************/
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
107
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
108 /* OpenGL ES core versions */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
109 #define GL_VERSION_ES_CM_1_0 1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
110 #define GL_VERSION_ES_CL_1_0 1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
111 #define GL_VERSION_ES_CM_1_1 1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
112 #define GL_VERSION_ES_CL_1_1 1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
113
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
114 /* ClearBufferMask */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
115 #define GL_DEPTH_BUFFER_BIT 0x00000100
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
116 #define GL_STENCIL_BUFFER_BIT 0x00000400
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
117 #define GL_COLOR_BUFFER_BIT 0x00004000
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
118
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
119 /* Boolean */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
120 #define GL_FALSE 0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
121 #define GL_TRUE 1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
122
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
123 /* BeginMode */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
124 #define GL_POINTS 0x0000
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
125 #define GL_LINES 0x0001
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
126 #define GL_LINE_LOOP 0x0002
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
127 #define GL_LINE_STRIP 0x0003
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
128 #define GL_TRIANGLES 0x0004
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
129 #define GL_TRIANGLE_STRIP 0x0005
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
130 #define GL_TRIANGLE_FAN 0x0006
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
131
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
132 /* AlphaFunction */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
133 #define GL_NEVER 0x0200
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
134 #define GL_LESS 0x0201
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
135 #define GL_EQUAL 0x0202
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
136 #define GL_LEQUAL 0x0203
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
137 #define GL_GREATER 0x0204
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
138 #define GL_NOTEQUAL 0x0205
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
139 #define GL_GEQUAL 0x0206
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
140 #define GL_ALWAYS 0x0207
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
141
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
142 /* BlendingFactorDest */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
143 #define GL_ZERO 0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
144 #define GL_ONE 1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
145 #define GL_SRC_COLOR 0x0300
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
146 #define GL_ONE_MINUS_SRC_COLOR 0x0301
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
147 #define GL_SRC_ALPHA 0x0302
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
148 #define GL_ONE_MINUS_SRC_ALPHA 0x0303
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
149 #define GL_DST_ALPHA 0x0304
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
150 #define GL_ONE_MINUS_DST_ALPHA 0x0305
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
151
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
152 /* BlendingFactorSrc */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
153 /* GL_ZERO */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
154 /* GL_ONE */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
155 #define GL_DST_COLOR 0x0306
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
156 #define GL_ONE_MINUS_DST_COLOR 0x0307
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
157 #define GL_SRC_ALPHA_SATURATE 0x0308
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
158 /* GL_SRC_ALPHA */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
159 /* GL_ONE_MINUS_SRC_ALPHA */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
160 /* GL_DST_ALPHA */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
161 /* GL_ONE_MINUS_DST_ALPHA */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
162
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
163 /* ClipPlaneName */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
164 #define GL_CLIP_PLANE0 0x3000
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
165 #define GL_CLIP_PLANE1 0x3001
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
166 #define GL_CLIP_PLANE2 0x3002
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
167 #define GL_CLIP_PLANE3 0x3003
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
168 #define GL_CLIP_PLANE4 0x3004
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
169 #define GL_CLIP_PLANE5 0x3005
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
170
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
171 /* ColorMaterialFace */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
172 /* GL_FRONT_AND_BACK */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
173
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
174 /* ColorMaterialParameter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
175 /* GL_AMBIENT_AND_DIFFUSE */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
176
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
177 /* ColorPointerType */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
178 /* GL_UNSIGNED_BYTE */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
179 /* GL_FLOAT */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
180 /* GL_FIXED */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
181
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
182 /* CullFaceMode */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
183 #define GL_FRONT 0x0404
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
184 #define GL_BACK 0x0405
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
185 #define GL_FRONT_AND_BACK 0x0408
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
186
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
187 /* DepthFunction */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
188 /* GL_NEVER */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
189 /* GL_LESS */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
190 /* GL_EQUAL */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
191 /* GL_LEQUAL */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
192 /* GL_GREATER */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
193 /* GL_NOTEQUAL */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
194 /* GL_GEQUAL */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
195 /* GL_ALWAYS */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
196
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
197 /* EnableCap */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
198 #define GL_FOG 0x0B60
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
199 #define GL_LIGHTING 0x0B50
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
200 #define GL_TEXTURE_2D 0x0DE1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
201 #define GL_CULL_FACE 0x0B44
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
202 #define GL_ALPHA_TEST 0x0BC0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
203 #define GL_BLEND 0x0BE2
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
204 #define GL_COLOR_LOGIC_OP 0x0BF2
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
205 #define GL_DITHER 0x0BD0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
206 #define GL_STENCIL_TEST 0x0B90
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
207 #define GL_DEPTH_TEST 0x0B71
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
208 /* GL_LIGHT0 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
209 /* GL_LIGHT1 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
210 /* GL_LIGHT2 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
211 /* GL_LIGHT3 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
212 /* GL_LIGHT4 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
213 /* GL_LIGHT5 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
214 /* GL_LIGHT6 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
215 /* GL_LIGHT7 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
216 #define GL_POINT_SMOOTH 0x0B10
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
217 #define GL_LINE_SMOOTH 0x0B20
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
218 #define GL_SCISSOR_TEST 0x0C11
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
219 #define GL_COLOR_MATERIAL 0x0B57
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
220 #define GL_NORMALIZE 0x0BA1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
221 #define GL_RESCALE_NORMAL 0x803A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
222 #define GL_POLYGON_OFFSET_FILL 0x8037
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
223 #define GL_VERTEX_ARRAY 0x8074
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
224 #define GL_NORMAL_ARRAY 0x8075
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
225 #define GL_COLOR_ARRAY 0x8076
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
226 #define GL_TEXTURE_COORD_ARRAY 0x8078
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
227 #define GL_MULTISAMPLE 0x809D
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
228 #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
229 #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
230 #define GL_SAMPLE_COVERAGE 0x80A0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
231
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
232 /* ErrorCode */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
233 #define GL_NO_ERROR 0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
234 #define GL_INVALID_ENUM 0x0500
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
235 #define GL_INVALID_VALUE 0x0501
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
236 #define GL_INVALID_OPERATION 0x0502
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
237 #define GL_STACK_OVERFLOW 0x0503
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
238 #define GL_STACK_UNDERFLOW 0x0504
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
239 #define GL_OUT_OF_MEMORY 0x0505
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
240
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
241 /* FogMode */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
242 /* GL_LINEAR */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
243 #define GL_EXP 0x0800
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
244 #define GL_EXP2 0x0801
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
245
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
246 /* FogParameter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
247 #define GL_FOG_DENSITY 0x0B62
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
248 #define GL_FOG_START 0x0B63
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
249 #define GL_FOG_END 0x0B64
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
250 #define GL_FOG_MODE 0x0B65
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
251 #define GL_FOG_COLOR 0x0B66
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
252
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
253 /* FrontFaceDirection */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
254 #define GL_CW 0x0900
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
255 #define GL_CCW 0x0901
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
256
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
257 /* GetPName */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
258 #define GL_CURRENT_COLOR 0x0B00
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
259 #define GL_CURRENT_NORMAL 0x0B02
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
260 #define GL_CURRENT_TEXTURE_COORDS 0x0B03
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
261 #define GL_POINT_SIZE 0x0B11
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
262 #define GL_POINT_SIZE_MIN 0x8126
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
263 #define GL_POINT_SIZE_MAX 0x8127
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
264 #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
265 #define GL_POINT_DISTANCE_ATTENUATION 0x8129
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
266 #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
267 #define GL_LINE_WIDTH 0x0B21
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
268 #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
269 #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
270 #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
271 #define GL_CULL_FACE_MODE 0x0B45
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
272 #define GL_FRONT_FACE 0x0B46
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
273 #define GL_SHADE_MODEL 0x0B54
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
274 #define GL_DEPTH_RANGE 0x0B70
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
275 #define GL_DEPTH_WRITEMASK 0x0B72
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
276 #define GL_DEPTH_CLEAR_VALUE 0x0B73
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
277 #define GL_DEPTH_FUNC 0x0B74
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
278 #define GL_STENCIL_CLEAR_VALUE 0x0B91
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
279 #define GL_STENCIL_FUNC 0x0B92
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
280 #define GL_STENCIL_VALUE_MASK 0x0B93
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
281 #define GL_STENCIL_FAIL 0x0B94
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
282 #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
283 #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
284 #define GL_STENCIL_REF 0x0B97
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
285 #define GL_STENCIL_WRITEMASK 0x0B98
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
286 #define GL_MATRIX_MODE 0x0BA0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
287 #define GL_VIEWPORT 0x0BA2
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
288 #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
289 #define GL_PROJECTION_STACK_DEPTH 0x0BA4
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
290 #define GL_TEXTURE_STACK_DEPTH 0x0BA5
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
291 #define GL_MODELVIEW_MATRIX 0x0BA6
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
292 #define GL_PROJECTION_MATRIX 0x0BA7
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
293 #define GL_TEXTURE_MATRIX 0x0BA8
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
294 #define GL_ALPHA_TEST_FUNC 0x0BC1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
295 #define GL_ALPHA_TEST_REF 0x0BC2
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
296 #define GL_BLEND_DST 0x0BE0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
297 #define GL_BLEND_SRC 0x0BE1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
298 #define GL_LOGIC_OP_MODE 0x0BF0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
299 #define GL_SCISSOR_BOX 0x0C10
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
300 #define GL_SCISSOR_TEST 0x0C11
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
301 #define GL_COLOR_CLEAR_VALUE 0x0C22
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
302 #define GL_COLOR_WRITEMASK 0x0C23
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
303 #define GL_UNPACK_ALIGNMENT 0x0CF5
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
304 #define GL_PACK_ALIGNMENT 0x0D05
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
305 #define GL_MAX_LIGHTS 0x0D31
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
306 #define GL_MAX_CLIP_PLANES 0x0D32
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
307 #define GL_MAX_TEXTURE_SIZE 0x0D33
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
308 #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
309 #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
310 #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
311 #define GL_MAX_VIEWPORT_DIMS 0x0D3A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
312 #define GL_MAX_TEXTURE_UNITS 0x84E2
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
313 #define GL_SUBPIXEL_BITS 0x0D50
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
314 #define GL_RED_BITS 0x0D52
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
315 #define GL_GREEN_BITS 0x0D53
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
316 #define GL_BLUE_BITS 0x0D54
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
317 #define GL_ALPHA_BITS 0x0D55
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
318 #define GL_DEPTH_BITS 0x0D56
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
319 #define GL_STENCIL_BITS 0x0D57
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
320 #define GL_POLYGON_OFFSET_UNITS 0x2A00
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
321 #define GL_POLYGON_OFFSET_FILL 0x8037
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
322 #define GL_POLYGON_OFFSET_FACTOR 0x8038
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
323 #define GL_TEXTURE_BINDING_2D 0x8069
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
324 #define GL_VERTEX_ARRAY_SIZE 0x807A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
325 #define GL_VERTEX_ARRAY_TYPE 0x807B
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
326 #define GL_VERTEX_ARRAY_STRIDE 0x807C
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
327 #define GL_NORMAL_ARRAY_TYPE 0x807E
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
328 #define GL_NORMAL_ARRAY_STRIDE 0x807F
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
329 #define GL_COLOR_ARRAY_SIZE 0x8081
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
330 #define GL_COLOR_ARRAY_TYPE 0x8082
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
331 #define GL_COLOR_ARRAY_STRIDE 0x8083
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
332 #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
333 #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
334 #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
335 #define GL_VERTEX_ARRAY_POINTER 0x808E
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
336 #define GL_NORMAL_ARRAY_POINTER 0x808F
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
337 #define GL_COLOR_ARRAY_POINTER 0x8090
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
338 #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
339 #define GL_SAMPLE_BUFFERS 0x80A8
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
340 #define GL_SAMPLES 0x80A9
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
341 #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
342 #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
343
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
344 /* GetTextureParameter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
345 /* GL_TEXTURE_MAG_FILTER */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
346 /* GL_TEXTURE_MIN_FILTER */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
347 /* GL_TEXTURE_WRAP_S */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
348 /* GL_TEXTURE_WRAP_T */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
349
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
350 #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
351 #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
352
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
353 /* HintMode */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
354 #define GL_DONT_CARE 0x1100
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
355 #define GL_FASTEST 0x1101
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
356 #define GL_NICEST 0x1102
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
357
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
358 /* HintTarget */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
359 #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
360 #define GL_POINT_SMOOTH_HINT 0x0C51
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
361 #define GL_LINE_SMOOTH_HINT 0x0C52
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
362 #define GL_FOG_HINT 0x0C54
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
363 #define GL_GENERATE_MIPMAP_HINT 0x8192
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
364
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
365 /* LightModelParameter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
366 #define GL_LIGHT_MODEL_AMBIENT 0x0B53
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
367 #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
368
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
369 /* LightParameter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
370 #define GL_AMBIENT 0x1200
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
371 #define GL_DIFFUSE 0x1201
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
372 #define GL_SPECULAR 0x1202
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
373 #define GL_POSITION 0x1203
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
374 #define GL_SPOT_DIRECTION 0x1204
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
375 #define GL_SPOT_EXPONENT 0x1205
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
376 #define GL_SPOT_CUTOFF 0x1206
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
377 #define GL_CONSTANT_ATTENUATION 0x1207
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
378 #define GL_LINEAR_ATTENUATION 0x1208
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
379 #define GL_QUADRATIC_ATTENUATION 0x1209
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
380
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
381 /* DataType */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
382 #define GL_BYTE 0x1400
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
383 #define GL_UNSIGNED_BYTE 0x1401
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
384 #define GL_SHORT 0x1402
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
385 #define GL_UNSIGNED_SHORT 0x1403
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
386 #define GL_FLOAT 0x1406
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
387 #define GL_FIXED 0x140C
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
388
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
389 /* LogicOp */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
390 #define GL_CLEAR 0x1500
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
391 #define GL_AND 0x1501
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
392 #define GL_AND_REVERSE 0x1502
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
393 #define GL_COPY 0x1503
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
394 #define GL_AND_INVERTED 0x1504
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
395 #define GL_NOOP 0x1505
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
396 #define GL_XOR 0x1506
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
397 #define GL_OR 0x1507
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
398 #define GL_NOR 0x1508
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
399 #define GL_EQUIV 0x1509
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
400 #define GL_INVERT 0x150A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
401 #define GL_OR_REVERSE 0x150B
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
402 #define GL_COPY_INVERTED 0x150C
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
403 #define GL_OR_INVERTED 0x150D
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
404 #define GL_NAND 0x150E
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
405 #define GL_SET 0x150F
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
406
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
407 /* MaterialFace */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
408 /* GL_FRONT_AND_BACK */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
409
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
410 /* MaterialParameter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
411 #define GL_EMISSION 0x1600
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
412 #define GL_SHININESS 0x1601
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
413 #define GL_AMBIENT_AND_DIFFUSE 0x1602
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
414 /* GL_AMBIENT */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
415 /* GL_DIFFUSE */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
416 /* GL_SPECULAR */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
417
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
418 /* MatrixMode */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
419 #define GL_MODELVIEW 0x1700
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
420 #define GL_PROJECTION 0x1701
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
421 #define GL_TEXTURE 0x1702
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
422
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
423 /* NormalPointerType */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
424 /* GL_BYTE */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
425 /* GL_SHORT */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
426 /* GL_FLOAT */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
427 /* GL_FIXED */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
428
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
429 /* PixelFormat */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
430 #define GL_ALPHA 0x1906
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
431 #define GL_RGB 0x1907
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
432 #define GL_RGBA 0x1908
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
433 #define GL_LUMINANCE 0x1909
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
434 #define GL_LUMINANCE_ALPHA 0x190A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
435
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
436 /* PixelStoreParameter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
437 #define GL_UNPACK_ALIGNMENT 0x0CF5
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
438 #define GL_PACK_ALIGNMENT 0x0D05
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
439
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
440 /* PixelType */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
441 /* GL_UNSIGNED_BYTE */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
442 #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
443 #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
444 #define GL_UNSIGNED_SHORT_5_6_5 0x8363
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
445
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
446 /* ShadingModel */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
447 #define GL_FLAT 0x1D00
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
448 #define GL_SMOOTH 0x1D01
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
449
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
450 /* StencilFunction */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
451 /* GL_NEVER */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
452 /* GL_LESS */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
453 /* GL_EQUAL */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
454 /* GL_LEQUAL */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
455 /* GL_GREATER */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
456 /* GL_NOTEQUAL */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
457 /* GL_GEQUAL */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
458 /* GL_ALWAYS */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
459
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
460 /* StencilOp */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
461 /* GL_ZERO */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
462 #define GL_KEEP 0x1E00
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
463 #define GL_REPLACE 0x1E01
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
464 #define GL_INCR 0x1E02
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
465 #define GL_DECR 0x1E03
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
466 /* GL_INVERT */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
467
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
468 /* StringName */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
469 #define GL_VENDOR 0x1F00
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
470 #define GL_RENDERER 0x1F01
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
471 #define GL_VERSION 0x1F02
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
472 #define GL_EXTENSIONS 0x1F03
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
473
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
474 /* TexCoordPointerType */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
475 /* GL_SHORT */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
476 /* GL_FLOAT */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
477 /* GL_FIXED */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
478 /* GL_BYTE */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
479
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
480 /* TextureEnvMode */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
481 #define GL_MODULATE 0x2100
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
482 #define GL_DECAL 0x2101
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
483 /* GL_BLEND */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
484 #define GL_ADD 0x0104
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
485 /* GL_REPLACE */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
486
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
487 /* TextureEnvParameter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
488 #define GL_TEXTURE_ENV_MODE 0x2200
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
489 #define GL_TEXTURE_ENV_COLOR 0x2201
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
490
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
491 /* TextureEnvTarget */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
492 #define GL_TEXTURE_ENV 0x2300
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
493
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
494 /* TextureMagFilter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
495 #define GL_NEAREST 0x2600
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
496 #define GL_LINEAR 0x2601
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
497
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
498 /* TextureMinFilter */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
499 /* GL_NEAREST */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
500 /* GL_LINEAR */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
501 #define GL_NEAREST_MIPMAP_NEAREST 0x2700
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
502 #define GL_LINEAR_MIPMAP_NEAREST 0x2701
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
503 #define GL_NEAREST_MIPMAP_LINEAR 0x2702
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
504 #define GL_LINEAR_MIPMAP_LINEAR 0x2703
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
505
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
506 /* TextureParameterName */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
507 #define GL_TEXTURE_MAG_FILTER 0x2800
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
508 #define GL_TEXTURE_MIN_FILTER 0x2801
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
509 #define GL_TEXTURE_WRAP_S 0x2802
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
510 #define GL_TEXTURE_WRAP_T 0x2803
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
511 #define GL_GENERATE_MIPMAP 0x8191
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
512
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
513 /* TextureTarget */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
514 /* GL_TEXTURE_2D */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
515
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
516 /* TextureUnit */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
517 #define GL_TEXTURE0 0x84C0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
518 #define GL_TEXTURE1 0x84C1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
519 #define GL_TEXTURE2 0x84C2
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
520 #define GL_TEXTURE3 0x84C3
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
521 #define GL_TEXTURE4 0x84C4
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
522 #define GL_TEXTURE5 0x84C5
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
523 #define GL_TEXTURE6 0x84C6
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
524 #define GL_TEXTURE7 0x84C7
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
525 #define GL_TEXTURE8 0x84C8
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
526 #define GL_TEXTURE9 0x84C9
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
527 #define GL_TEXTURE10 0x84CA
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
528 #define GL_TEXTURE11 0x84CB
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
529 #define GL_TEXTURE12 0x84CC
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
530 #define GL_TEXTURE13 0x84CD
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
531 #define GL_TEXTURE14 0x84CE
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
532 #define GL_TEXTURE15 0x84CF
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
533 #define GL_TEXTURE16 0x84D0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
534 #define GL_TEXTURE17 0x84D1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
535 #define GL_TEXTURE18 0x84D2
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
536 #define GL_TEXTURE19 0x84D3
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
537 #define GL_TEXTURE20 0x84D4
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
538 #define GL_TEXTURE21 0x84D5
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
539 #define GL_TEXTURE22 0x84D6
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
540 #define GL_TEXTURE23 0x84D7
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
541 #define GL_TEXTURE24 0x84D8
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
542 #define GL_TEXTURE25 0x84D9
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
543 #define GL_TEXTURE26 0x84DA
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
544 #define GL_TEXTURE27 0x84DB
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
545 #define GL_TEXTURE28 0x84DC
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
546 #define GL_TEXTURE29 0x84DD
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
547 #define GL_TEXTURE30 0x84DE
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
548 #define GL_TEXTURE31 0x84DF
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
549 #define GL_ACTIVE_TEXTURE 0x84E0
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
550 #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
551
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
552 /* TextureWrapMode */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
553 #define GL_REPEAT 0x2901
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
554 #define GL_CLAMP_TO_EDGE 0x812F
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
555
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
556 /* VertexPointerType */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
557 /* GL_SHORT */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
558 /* GL_FLOAT */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
559 /* GL_FIXED */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
560 /* GL_BYTE */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
561
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
562 /* LightName */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
563 #define GL_LIGHT0 0x4000
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
564 #define GL_LIGHT1 0x4001
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
565 #define GL_LIGHT2 0x4002
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
566 #define GL_LIGHT3 0x4003
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
567 #define GL_LIGHT4 0x4004
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
568 #define GL_LIGHT5 0x4005
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
569 #define GL_LIGHT6 0x4006
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
570 #define GL_LIGHT7 0x4007
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
571
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
572 /* Buffer Objects */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
573 #define GL_ARRAY_BUFFER 0x8892
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
574 #define GL_ELEMENT_ARRAY_BUFFER 0x8893
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
575
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
576 #define GL_ARRAY_BUFFER_BINDING 0x8894
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
577 #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
578 #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
579 #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
580 #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
581 #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
582
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
583 #define GL_STATIC_DRAW 0x88E4
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
584 #define GL_DYNAMIC_DRAW 0x88E8
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
585
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
586 #define GL_BUFFER_SIZE 0x8764
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
587 #define GL_BUFFER_USAGE 0x8765
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
588
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
589 /* Texture combine + dot3 */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
590 #define GL_SUBTRACT 0x84E7
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
591 #define GL_COMBINE 0x8570
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
592 #define GL_COMBINE_RGB 0x8571
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
593 #define GL_COMBINE_ALPHA 0x8572
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
594 #define GL_RGB_SCALE 0x8573
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
595 #define GL_ADD_SIGNED 0x8574
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
596 #define GL_INTERPOLATE 0x8575
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
597 #define GL_CONSTANT 0x8576
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
598 #define GL_PRIMARY_COLOR 0x8577
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
599 #define GL_PREVIOUS 0x8578
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
600 #define GL_OPERAND0_RGB 0x8590
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
601 #define GL_OPERAND1_RGB 0x8591
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
602 #define GL_OPERAND2_RGB 0x8592
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
603 #define GL_OPERAND0_ALPHA 0x8598
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
604 #define GL_OPERAND1_ALPHA 0x8599
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
605 #define GL_OPERAND2_ALPHA 0x859A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
606
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
607 #define GL_ALPHA_SCALE 0x0D1C
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
608
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
609 #define GL_SRC0_RGB 0x8580
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
610 #define GL_SRC1_RGB 0x8581
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
611 #define GL_SRC2_RGB 0x8582
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
612 #define GL_SRC0_ALPHA 0x8588
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
613 #define GL_SRC1_ALPHA 0x8589
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
614 #define GL_SRC2_ALPHA 0x858A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
615
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
616 #define GL_DOT3_RGB 0x86AE
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
617 #define GL_DOT3_RGBA 0x86AF
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
618
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
619 /*------------------------------------------------------------------------*
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
620 * required OES extension tokens
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
621 *------------------------------------------------------------------------*/
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
622
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
623 /* OES_read_format */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
624 #ifndef GL_OES_read_format
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
625 #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
626 #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
627 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
628
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
629 /* GL_OES_compressed_paletted_texture */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
630 #ifndef GL_OES_compressed_paletted_texture
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
631 #define GL_PALETTE4_RGB8_OES 0x8B90
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
632 #define GL_PALETTE4_RGBA8_OES 0x8B91
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
633 #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
634 #define GL_PALETTE4_RGBA4_OES 0x8B93
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
635 #define GL_PALETTE4_RGB5_A1_OES 0x8B94
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
636 #define GL_PALETTE8_RGB8_OES 0x8B95
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
637 #define GL_PALETTE8_RGBA8_OES 0x8B96
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
638 #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
639 #define GL_PALETTE8_RGBA4_OES 0x8B98
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
640 #define GL_PALETTE8_RGB5_A1_OES 0x8B99
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
641 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
642
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
643 /* OES_point_size_array */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
644 #ifndef GL_OES_point_size_array
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
645 #define GL_POINT_SIZE_ARRAY_OES 0x8B9C
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
646 #define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
647 #define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
648 #define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
649 #define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
650 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
651
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
652 /* GL_OES_point_sprite */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
653 #ifndef GL_OES_point_sprite
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
654 #define GL_POINT_SPRITE_OES 0x8861
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
655 #define GL_COORD_REPLACE_OES 0x8862
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
656 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
657
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
658 /*************************************************************/
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
659
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
660 /* Available only in Common profile */
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
661 GL_API void GL_APIENTRY glAlphaFunc(GLenum func, GLclampf ref);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
662 GL_API void GL_APIENTRY glClearColor(GLclampf red, GLclampf green,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
663 GLclampf blue, GLclampf alpha);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
664 GL_API void GL_APIENTRY glClearDepthf(GLclampf depth);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
665 GL_API void GL_APIENTRY glClipPlanef(GLenum plane,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
666 const GLfloat * equation);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
667 GL_API void GL_APIENTRY glColor4f(GLfloat red, GLfloat green,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
668 GLfloat blue, GLfloat alpha);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
669 GL_API void GL_APIENTRY glDepthRangef(GLclampf zNear, GLclampf zFar);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
670 GL_API void GL_APIENTRY glFogf(GLenum pname, GLfloat param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
671 GL_API void GL_APIENTRY glFogfv(GLenum pname, const GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
672 GL_API void GL_APIENTRY glFrustumf(GLfloat left, GLfloat right,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
673 GLfloat bottom, GLfloat top,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
674 GLfloat zNear, GLfloat zFar);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
675 GL_API void GL_APIENTRY glGetClipPlanef(GLenum pname, GLfloat eqn[4]);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
676 GL_API void GL_APIENTRY glGetFloatv(GLenum pname, GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
677 GL_API void GL_APIENTRY glGetLightfv(GLenum light, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
678 GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
679 GL_API void GL_APIENTRY glGetMaterialfv(GLenum face, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
680 GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
681 GL_API void GL_APIENTRY glGetTexEnvfv(GLenum env, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
682 GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
683 GL_API void GL_APIENTRY glGetTexParameterfv(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
684 GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
685 GL_API void GL_APIENTRY glLightModelf(GLenum pname, GLfloat param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
686 GL_API void GL_APIENTRY glLightModelfv(GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
687 const GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
688 GL_API void GL_APIENTRY glLightf(GLenum light, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
689 GLfloat param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
690 GL_API void GL_APIENTRY glLightfv(GLenum light, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
691 const GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
692 GL_API void GL_APIENTRY glLineWidth(GLfloat width);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
693 GL_API void GL_APIENTRY glLoadMatrixf(const GLfloat * m);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
694 GL_API void GL_APIENTRY glMaterialf(GLenum face, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
695 GLfloat param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
696 GL_API void GL_APIENTRY glMaterialfv(GLenum face, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
697 const GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
698 GL_API void GL_APIENTRY glMultMatrixf(const GLfloat * m);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
699 GL_API void GL_APIENTRY glMultiTexCoord4f(GLenum target, GLfloat s,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
700 GLfloat t, GLfloat r,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
701 GLfloat q);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
702 GL_API void GL_APIENTRY glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
703 GL_API void GL_APIENTRY glOrthof(GLfloat left, GLfloat right,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
704 GLfloat bottom, GLfloat top,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
705 GLfloat zNear, GLfloat zFar);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
706 GL_API void GL_APIENTRY glPointParameterf(GLenum pname, GLfloat param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
707 GL_API void GL_APIENTRY glPointParameterfv(GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
708 const GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
709 GL_API void GL_APIENTRY glPointSize(GLfloat size);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
710 GL_API void GL_APIENTRY glPolygonOffset(GLfloat factor, GLfloat units);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
711 GL_API void GL_APIENTRY glRotatef(GLfloat angle, GLfloat x, GLfloat y,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
712 GLfloat z);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
713 GL_API void GL_APIENTRY glScalef(GLfloat x, GLfloat y, GLfloat z);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
714 GL_API void GL_APIENTRY glTexEnvf(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
715 GLfloat param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
716 GL_API void GL_APIENTRY glTexEnvfv(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
717 const GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
718 GL_API void GL_APIENTRY glTexParameterf(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
719 GLfloat param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
720 GL_API void GL_APIENTRY glTexParameterfv(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
721 const GLfloat * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
722 GL_API void GL_APIENTRY glTranslatef(GLfloat x, GLfloat y, GLfloat z);
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
723
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
724 /* Available in both Common and Common-Lite profiles */
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
725 GL_API void GL_APIENTRY glActiveTexture(GLenum texture);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
726 GL_API void GL_APIENTRY glAlphaFuncx(GLenum func, GLclampx ref);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
727 GL_API void GL_APIENTRY glBindBuffer(GLenum target, GLuint buffer);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
728 GL_API void GL_APIENTRY glBindTexture(GLenum target, GLuint texture);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
729 GL_API void GL_APIENTRY glBlendFunc(GLenum sfactor, GLenum dfactor);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
730 GL_API void GL_APIENTRY glBufferData(GLenum target, GLsizeiptr size,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
731 const GLvoid * data, GLenum usage);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
732 GL_API void GL_APIENTRY glBufferSubData(GLenum target, GLintptr offset,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
733 GLsizeiptr size,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
734 const GLvoid * data);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
735 GL_API void GL_APIENTRY glClear(GLbitfield mask);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
736 GL_API void GL_APIENTRY glClearColorx(GLclampx red, GLclampx green,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
737 GLclampx blue, GLclampx alpha);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
738 GL_API void GL_APIENTRY glClearDepthx(GLclampx depth);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
739 GL_API void GL_APIENTRY glClearStencil(GLint s);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
740 GL_API void GL_APIENTRY glClientActiveTexture(GLenum texture);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
741 GL_API void GL_APIENTRY glClipPlanex(GLenum plane,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
742 const GLfixed * equation);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
743 GL_API void GL_APIENTRY glColor4ub(GLubyte red, GLubyte green,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
744 GLubyte blue, GLubyte alpha);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
745 GL_API void GL_APIENTRY glColor4x(GLfixed red, GLfixed green,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
746 GLfixed blue, GLfixed alpha);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
747 GL_API void GL_APIENTRY glColorMask(GLboolean red, GLboolean green,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
748 GLboolean blue, GLboolean alpha);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
749 GL_API void GL_APIENTRY glColorPointer(GLint size, GLenum type,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
750 GLsizei stride,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
751 const GLvoid * pointer);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
752 GL_API void GL_APIENTRY glCompressedTexImage2D(GLenum target, GLint level,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
753 GLenum internalformat,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
754 GLsizei width,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
755 GLsizei height,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
756 GLint border,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
757 GLsizei imageSize,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
758 const GLvoid * data);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
759 GL_API void GL_APIENTRY glCompressedTexSubImage2D(GLenum target,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
760 GLint level,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
761 GLint xoffset,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
762 GLint yoffset,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
763 GLsizei width,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
764 GLsizei height,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
765 GLenum format,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
766 GLsizei imageSize,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
767 const GLvoid * data);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
768 GL_API void GL_APIENTRY glCopyTexImage2D(GLenum target, GLint level,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
769 GLenum internalformat, GLint x,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
770 GLint y, GLsizei width,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
771 GLsizei height, GLint border);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
772 GL_API void GL_APIENTRY glCopyTexSubImage2D(GLenum target, GLint level,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
773 GLint xoffset, GLint yoffset,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
774 GLint x, GLint y,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
775 GLsizei width,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
776 GLsizei height);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
777 GL_API void GL_APIENTRY glCullFace(GLenum mode);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
778 GL_API void GL_APIENTRY glDeleteBuffers(GLsizei n,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
779 const GLuint * buffers);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
780 GL_API void GL_APIENTRY glDeleteTextures(GLsizei n,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
781 const GLuint * textures);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
782 GL_API void GL_APIENTRY glDepthFunc(GLenum func);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
783 GL_API void GL_APIENTRY glDepthMask(GLboolean flag);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
784 GL_API void GL_APIENTRY glDepthRangex(GLclampx zNear, GLclampx zFar);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
785 GL_API void GL_APIENTRY glDisable(GLenum cap);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
786 GL_API void GL_APIENTRY glDisableClientState(GLenum array);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
787 GL_API void GL_APIENTRY glDrawArrays(GLenum mode, GLint first,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
788 GLsizei count);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
789 GL_API void GL_APIENTRY glDrawElements(GLenum mode, GLsizei count,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
790 GLenum type,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
791 const GLvoid * indices);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
792 GL_API void GL_APIENTRY glEnable(GLenum cap);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
793 GL_API void GL_APIENTRY glEnableClientState(GLenum array);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
794 GL_API void GL_APIENTRY glFinish(void);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
795 GL_API void GL_APIENTRY glFlush(void);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
796 GL_API void GL_APIENTRY glFogx(GLenum pname, GLfixed param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
797 GL_API void GL_APIENTRY glFogxv(GLenum pname, const GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
798 GL_API void GL_APIENTRY glFrontFace(GLenum mode);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
799 GL_API void GL_APIENTRY glFrustumx(GLfixed left, GLfixed right,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
800 GLfixed bottom, GLfixed top,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
801 GLfixed zNear, GLfixed zFar);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
802 GL_API void GL_APIENTRY glGetBooleanv(GLenum pname, GLboolean * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
803 GL_API void GL_APIENTRY glGetBufferParameteriv(GLenum target,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
804 GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
805 GLint * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
806 GL_API void GL_APIENTRY glGetClipPlanex(GLenum pname, GLfixed eqn[4]);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
807 GL_API void GL_APIENTRY glGenBuffers(GLsizei n, GLuint * buffers);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
808 GL_API void GL_APIENTRY glGenTextures(GLsizei n, GLuint * textures);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
809 GL_API GLenum GL_APIENTRY glGetError(void);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
810 GL_API void GL_APIENTRY glGetFixedv(GLenum pname, GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
811 GL_API void GL_APIENTRY glGetIntegerv(GLenum pname, GLint * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
812 GL_API void GL_APIENTRY glGetLightxv(GLenum light, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
813 GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
814 GL_API void GL_APIENTRY glGetMaterialxv(GLenum face, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
815 GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
816 GL_API void GL_APIENTRY glGetPointerv(GLenum pname, void **params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
817 GL_API const GLubyte *GL_APIENTRY glGetString(GLenum name);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
818 GL_API void GL_APIENTRY glGetTexEnviv(GLenum env, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
819 GLint * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
820 GL_API void GL_APIENTRY glGetTexEnvxv(GLenum env, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
821 GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
822 GL_API void GL_APIENTRY glGetTexParameteriv(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
823 GLint * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
824 GL_API void GL_APIENTRY glGetTexParameterxv(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
825 GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
826 GL_API void GL_APIENTRY glHint(GLenum target, GLenum mode);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
827 GL_API GLboolean GL_APIENTRY glIsBuffer(GLuint buffer);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
828 GL_API GLboolean GL_APIENTRY glIsEnabled(GLenum cap);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
829 GL_API GLboolean GL_APIENTRY glIsTexture(GLuint texture);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
830 GL_API void GL_APIENTRY glLightModelx(GLenum pname, GLfixed param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
831 GL_API void GL_APIENTRY glLightModelxv(GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
832 const GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
833 GL_API void GL_APIENTRY glLightx(GLenum light, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
834 GLfixed param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
835 GL_API void GL_APIENTRY glLightxv(GLenum light, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
836 const GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
837 GL_API void GL_APIENTRY glLineWidthx(GLfixed width);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
838 GL_API void GL_APIENTRY glLoadIdentity(void);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
839 GL_API void GL_APIENTRY glLoadMatrixx(const GLfixed * m);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
840 GL_API void GL_APIENTRY glLogicOp(GLenum opcode);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
841 GL_API void GL_APIENTRY glMaterialx(GLenum face, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
842 GLfixed param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
843 GL_API void GL_APIENTRY glMaterialxv(GLenum face, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
844 const GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
845 GL_API void GL_APIENTRY glMatrixMode(GLenum mode);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
846 GL_API void GL_APIENTRY glMultMatrixx(const GLfixed * m);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
847 GL_API void GL_APIENTRY glMultiTexCoord4x(GLenum target, GLfixed s,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
848 GLfixed t, GLfixed r,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
849 GLfixed q);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
850 GL_API void GL_APIENTRY glNormal3x(GLfixed nx, GLfixed ny, GLfixed nz);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
851 GL_API void GL_APIENTRY glNormalPointer(GLenum type, GLsizei stride,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
852 const GLvoid * pointer);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
853 GL_API void GL_APIENTRY glOrthox(GLfixed left, GLfixed right,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
854 GLfixed bottom, GLfixed top,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
855 GLfixed zNear, GLfixed zFar);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
856 GL_API void GL_APIENTRY glPixelStorei(GLenum pname, GLint param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
857 GL_API void GL_APIENTRY glPointParameterx(GLenum pname, GLfixed param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
858 GL_API void GL_APIENTRY glPointParameterxv(GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
859 const GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
860 GL_API void GL_APIENTRY glPointSizex(GLfixed size);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
861 GL_API void GL_APIENTRY glPolygonOffsetx(GLfixed factor, GLfixed units);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
862 GL_API void GL_APIENTRY glPopMatrix(void);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
863 GL_API void GL_APIENTRY glPushMatrix(void);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
864 GL_API void GL_APIENTRY glReadPixels(GLint x, GLint y, GLsizei width,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
865 GLsizei height, GLenum format,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
866 GLenum type, GLvoid * pixels);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
867 GL_API void GL_APIENTRY glRotatex(GLfixed angle, GLfixed x, GLfixed y,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
868 GLfixed z);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
869 GL_API void GL_APIENTRY glSampleCoverage(GLclampf value,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
870 GLboolean invert);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
871 GL_API void GL_APIENTRY glSampleCoveragex(GLclampx value,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
872 GLboolean invert);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
873 GL_API void GL_APIENTRY glScalex(GLfixed x, GLfixed y, GLfixed z);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
874 GL_API void GL_APIENTRY glScissor(GLint x, GLint y, GLsizei width,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
875 GLsizei height);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
876 GL_API void GL_APIENTRY glShadeModel(GLenum mode);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
877 GL_API void GL_APIENTRY glStencilFunc(GLenum func, GLint ref,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
878 GLuint mask);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
879 GL_API void GL_APIENTRY glStencilMask(GLuint mask);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
880 GL_API void GL_APIENTRY glStencilOp(GLenum fail, GLenum zfail,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
881 GLenum zpass);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
882 GL_API void GL_APIENTRY glTexCoordPointer(GLint size, GLenum type,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
883 GLsizei stride,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
884 const GLvoid * pointer);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
885 GL_API void GL_APIENTRY glTexEnvi(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
886 GLint param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
887 GL_API void GL_APIENTRY glTexEnvx(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
888 GLfixed param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
889 GL_API void GL_APIENTRY glTexEnviv(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
890 const GLint * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
891 GL_API void GL_APIENTRY glTexEnvxv(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
892 const GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
893 GL_API void GL_APIENTRY glTexImage2D(GLenum target, GLint level,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
894 GLint internalformat, GLsizei width,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
895 GLsizei height, GLint border,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
896 GLenum format, GLenum type,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
897 const GLvoid * pixels);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
898 GL_API void GL_APIENTRY glTexParameteri(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
899 GLint param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
900 GL_API void GL_APIENTRY glTexParameterx(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
901 GLfixed param);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
902 GL_API void GL_APIENTRY glTexParameteriv(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
903 const GLint * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
904 GL_API void GL_APIENTRY glTexParameterxv(GLenum target, GLenum pname,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
905 const GLfixed * params);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
906 GL_API void GL_APIENTRY glTexSubImage2D(GLenum target, GLint level,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
907 GLint xoffset, GLint yoffset,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
908 GLsizei width, GLsizei height,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
909 GLenum format, GLenum type,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
910 const GLvoid * pixels);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
911 GL_API void GL_APIENTRY glTranslatex(GLfixed x, GLfixed y, GLfixed z);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
912 GL_API void GL_APIENTRY glVertexPointer(GLint size, GLenum type,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
913 GLsizei stride,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
914 const GLvoid * pointer);
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
915 GL_API void GL_APIENTRY glViewport(GLint x, GLint y, GLsizei width,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
916 GLsizei height);
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
917
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
918 /*------------------------------------------------------------------------*
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
919 * Required OES extension functions
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
920 *------------------------------------------------------------------------*/
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
921
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
922 /* GL_OES_read_format */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
923 #ifndef GL_OES_read_format
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
924 #define GL_OES_read_format 1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
925 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
926
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
927 /* GL_OES_compressed_paletted_texture */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
928 #ifndef GL_OES_compressed_paletted_texture
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
929 #define GL_OES_compressed_paletted_texture 1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
930 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
931
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
932 /* GL_OES_point_size_array */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
933 #ifndef GL_OES_point_size_array
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
934 #define GL_OES_point_size_array 1
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
935 GL_API void GL_APIENTRY glPointSizePointerOES(GLenum type, GLsizei stride,
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
936 const GLvoid * pointer);
2746
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
937 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
938
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
939 /* GL_OES_point_sprite */
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
940 #ifndef GL_OES_point_sprite
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
941 #define GL_OES_point_sprite 1
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
942 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
943
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
944 #ifdef __cplusplus
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
945 }
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
946 #endif
722339a7a126 Serves a similar purpose as SDL_opengl.h, except for OpenGLES.
Holmes Futrell <hfutrell@umail.ucsb.edu>
parents:
diff changeset
947
2753
Sam Lantinga <slouken@libsdl.org>
parents: 2746
diff changeset
948 #endif /* __gles_h_ */