annotate touchTest/Iphone Test/touchTestIPhone2/touchTestIPhone/include/SDL_opengles.h @ 4691:73f5c530afac

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