49 # ifdef GLES20 // OpenGL ES2.0
51 # include <OpenGLES/ES2/gl.h>
52 # include <OpenGLES/ES2/glext.h>
54 # include <GLES2/gl2.h>
55 # include <GLES2/gl2ext.h>
57 # else // OpenGL ES1.1
59 # include <OpenGLES/ES1/gl.h>
60 # include <OpenGLES/ES1/glext.h>
61 # define GL_UNSIGNED_INT GL_UNSIGNED_INT_OES
64 # include <GLES/glext.h>
69 # ifndef GL_UNSIGNED_INT
70 # define GL_UNSIGNED_INT 0x1405
78 #else // Standard OpenGL
89 # ifdef GLS_GL_DEBUGGING
91 GLS_EXPORT
void glColor3f( GLfloat red, GLfloat green, GLfloat blue );
92 GLS_EXPORT
void glColor4f( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
93 GLS_EXPORT
void glColor4ub( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha );
94 GLS_EXPORT
void glColor4ubv(
const GLubyte* v );
95 GLS_EXPORT
void glNormal3fv(
const GLfloat* v );
96 GLS_EXPORT
void glShadeModel( GLenum mode );
97 GLS_EXPORT
void glMaterialf( GLenum face, GLenum pname, GLfloat param );
98 GLS_EXPORT
void glMaterialfv( GLenum face, GLenum pname,
const GLfloat* params );
100 GLS_EXPORT
void glAlphaFunc( GLenum func, GLclampf ref );
101 GLS_EXPORT
void glDepthMask( GLboolean flag );
102 GLS_EXPORT
void glDepthFunc( GLenum func );
103 GLS_EXPORT
void glBlendFunc( GLenum sfactor, GLenum dfactor );
105 GLS_EXPORT
void glLineWidth( GLfloat width );
106 GLS_EXPORT
void glPolygonMode( GLenum face, GLenum mode );
107 GLS_EXPORT
void glLineStipple( GLint factor, GLushort pattern );
109 GLS_EXPORT
void glGetFloatv( GLenum pname, GLfloat* params );
110 GLS_EXPORT
void glGetIntegerv( GLenum pname, GLint* params );
112 GLS_EXPORT
void glEnable( GLenum cap );
113 GLS_EXPORT
void glDisable( GLenum cap );
115 GLS_EXPORT
void glBegin( GLenum mode );
116 GLS_EXPORT
void glEnd(
void );
117 GLS_EXPORT
void glVertex2f( GLfloat x, GLfloat y );
118 GLS_EXPORT
void glVertex3f( GLfloat x, GLfloat y, GLfloat z );
119 GLS_EXPORT
void glVertex3fv(
const GLfloat* v );
120 GLS_EXPORT
void glPolygonOffset( GLfloat factor, GLfloat units );
122 GLS_EXPORT
void glTexParameteri( GLenum target, GLenum pname, GLint param );
123 GLS_EXPORT
void glTexParameterf( GLenum target, GLenum pname, GLfloat param );
124 GLS_EXPORT
void glTexEnvf( GLenum target, GLenum pname, GLfloat param );
125 GLS_EXPORT
void glTexEnvfv( GLenum target, GLenum pname,
const GLfloat* params );
126 GLS_EXPORT
void glTexEnvi( GLenum target, GLenum pname, GLint param );
127 GLS_EXPORT
void glTexCoord2f( GLfloat s, GLfloat t );
128 GLS_EXPORT
void glTexCoord2fv(
const GLfloat* v );
129 GLS_EXPORT
void glBindTexture( GLenum target, GLuint texture );
131 GLS_EXPORT
void glRotatef( GLfloat angle, GLfloat x, GLfloat y, GLfloat z );
132 GLS_EXPORT
void glTranslatef( GLfloat x, GLfloat y, GLfloat z );
133 GLS_EXPORT
void glScalef( GLfloat x, GLfloat y, GLfloat z );
134 GLS_EXPORT
void glLoadIdentity(
void );
135 GLS_EXPORT
void glMatrixMode( GLenum mode );
136 GLS_EXPORT
void glLoadMatrixf(
const GLfloat* m );
137 GLS_EXPORT
void glPushMatrix(
void );
138 GLS_EXPORT
void glPopMatrix(
void );
139 GLS_EXPORT
void glMultMatrixf(
const GLfloat* m );
140 GLS_EXPORT
void glMultMatrixd(
const GLdouble* m );
141 GLS_EXPORT
void glLightfv( GLenum light, GLenum pname,
const GLfloat* params );
142 GLS_EXPORT
void glLightiv( GLenum light, GLenum pname,
const GLint* params );
143 GLS_EXPORT
void glLighti( GLenum light, GLenum pname, GLint param );
144 GLS_EXPORT
void glLightf( GLenum light, GLenum pname, GLfloat param );
146 GLS_EXPORT
void glViewport( GLint x, GLint y, GLsizei width, GLsizei height );
148 GLS_EXPORT
void glPixelStorei( GLenum pname, GLint param );
149 GLS_EXPORT
void glTexSubImage2D( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type,
const GLvoid* pixels );
150 GLS_EXPORT
void glDrawPixels( GLsizei width, GLsizei height, GLenum format, GLenum type,
const GLvoid* data );
151 GLS_EXPORT
void glRasterPos2d( GLdouble x, GLdouble y );
152 GLS_EXPORT
void glGenTextures( GLsizei n, GLuint* textures );
153 GLS_EXPORT
void glTexImage2D( GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type,
const GLvoid* data );
154 GLS_EXPORT
void glDeleteTextures( GLsizei n,
const GLuint* textures );
155 GLS_EXPORT GLboolean glIsTexture( GLuint texture );
156 GLS_EXPORT GLuint glGenLists( GLsizei range );
157 GLS_EXPORT
void glNewList( GLuint list, GLenum mode );
158 GLS_EXPORT
void glEndList(
void );
159 GLS_EXPORT
void glCallList( GLuint list );
163 GLS_EXPORT
void StrictOpenGLChecking_ClearErrors(
const char* label );
167 GLS_EXPORT
void CheckOpenGLErrors(
const char* label );
168 # endif // GLS_GL_DEBUGGING
A file for all GL Studio files to include.
Definition: bmpimage.h:46