diff options
Diffstat (limited to 'opengl/libs/GLES_CM')
-rw-r--r-- | opengl/libs/GLES_CM/gl_api.in | 183 | ||||
-rw-r--r-- | opengl/libs/GLES_CM/glext_api.in | 342 |
2 files changed, 213 insertions, 312 deletions
diff --git a/opengl/libs/GLES_CM/gl_api.in b/opengl/libs/GLES_CM/gl_api.in index fa975ed..c8f6b0c 100644 --- a/opengl/libs/GLES_CM/gl_api.in +++ b/opengl/libs/GLES_CM/gl_api.in @@ -1,73 +1,73 @@ -void API_ENTRY(glAlphaFunc)(GLenum func, GLfloat ref) { +void API_ENTRY(glAlphaFunc)(GLenum func, GLclampf ref) { CALL_GL_API(glAlphaFunc, func, ref); } -void API_ENTRY(glClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { +void API_ENTRY(glClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { CALL_GL_API(glClearColor, red, green, blue, alpha); } -void API_ENTRY(glClearDepthf)(GLfloat d) { - CALL_GL_API(glClearDepthf, d); +void API_ENTRY(glClearDepthf)(GLclampf depth) { + CALL_GL_API(glClearDepthf, depth); } -void API_ENTRY(glClipPlanef)(GLenum p, const GLfloat * eqn) { - CALL_GL_API(glClipPlanef, p, eqn); +void API_ENTRY(glClipPlanef)(GLenum plane, const GLfloat *equation) { + CALL_GL_API(glClipPlanef, plane, equation); } void API_ENTRY(glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { CALL_GL_API(glColor4f, red, green, blue, alpha); } -void API_ENTRY(glDepthRangef)(GLfloat n, GLfloat f) { - CALL_GL_API(glDepthRangef, n, f); +void API_ENTRY(glDepthRangef)(GLclampf zNear, GLclampf zFar) { + CALL_GL_API(glDepthRangef, zNear, zFar); } void API_ENTRY(glFogf)(GLenum pname, GLfloat param) { CALL_GL_API(glFogf, pname, param); } -void API_ENTRY(glFogfv)(GLenum pname, const GLfloat * params) { +void API_ENTRY(glFogfv)(GLenum pname, const GLfloat *params) { CALL_GL_API(glFogfv, pname, params); } -void API_ENTRY(glFrustumf)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { - CALL_GL_API(glFrustumf, l, r, b, t, n, f); +void API_ENTRY(glFrustumf)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { + CALL_GL_API(glFrustumf, left, right, bottom, top, zNear, zFar); } -void API_ENTRY(glGetClipPlanef)(GLenum plane, GLfloat * equation) { - CALL_GL_API(glGetClipPlanef, plane, equation); +void API_ENTRY(glGetClipPlanef)(GLenum pname, GLfloat eqn[4]) { + CALL_GL_API(glGetClipPlanef, pname, eqn); } -void API_ENTRY(glGetFloatv)(GLenum pname, GLfloat * data) { - CALL_GL_API(glGetFloatv, pname, data); +void API_ENTRY(glGetFloatv)(GLenum pname, GLfloat *params) { + CALL_GL_API(glGetFloatv, pname, params); } -void API_ENTRY(glGetLightfv)(GLenum light, GLenum pname, GLfloat * params) { +void API_ENTRY(glGetLightfv)(GLenum light, GLenum pname, GLfloat *params) { CALL_GL_API(glGetLightfv, light, pname, params); } -void API_ENTRY(glGetMaterialfv)(GLenum face, GLenum pname, GLfloat * params) { +void API_ENTRY(glGetMaterialfv)(GLenum face, GLenum pname, GLfloat *params) { CALL_GL_API(glGetMaterialfv, face, pname, params); } -void API_ENTRY(glGetTexEnvfv)(GLenum target, GLenum pname, GLfloat * params) { - CALL_GL_API(glGetTexEnvfv, target, pname, params); +void API_ENTRY(glGetTexEnvfv)(GLenum env, GLenum pname, GLfloat *params) { + CALL_GL_API(glGetTexEnvfv, env, pname, params); } -void API_ENTRY(glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat * params) { +void API_ENTRY(glGetTexParameterfv)(GLenum target, GLenum pname, GLfloat *params) { CALL_GL_API(glGetTexParameterfv, target, pname, params); } void API_ENTRY(glLightModelf)(GLenum pname, GLfloat param) { CALL_GL_API(glLightModelf, pname, param); } -void API_ENTRY(glLightModelfv)(GLenum pname, const GLfloat * params) { +void API_ENTRY(glLightModelfv)(GLenum pname, const GLfloat *params) { CALL_GL_API(glLightModelfv, pname, params); } void API_ENTRY(glLightf)(GLenum light, GLenum pname, GLfloat param) { CALL_GL_API(glLightf, light, pname, param); } -void API_ENTRY(glLightfv)(GLenum light, GLenum pname, const GLfloat * params) { +void API_ENTRY(glLightfv)(GLenum light, GLenum pname, const GLfloat *params) { CALL_GL_API(glLightfv, light, pname, params); } void API_ENTRY(glLineWidth)(GLfloat width) { CALL_GL_API(glLineWidth, width); } -void API_ENTRY(glLoadMatrixf)(const GLfloat * m) { +void API_ENTRY(glLoadMatrixf)(const GLfloat *m) { CALL_GL_API(glLoadMatrixf, m); } void API_ENTRY(glMaterialf)(GLenum face, GLenum pname, GLfloat param) { CALL_GL_API(glMaterialf, face, pname, param); } -void API_ENTRY(glMaterialfv)(GLenum face, GLenum pname, const GLfloat * params) { +void API_ENTRY(glMaterialfv)(GLenum face, GLenum pname, const GLfloat *params) { CALL_GL_API(glMaterialfv, face, pname, params); } -void API_ENTRY(glMultMatrixf)(const GLfloat * m) { +void API_ENTRY(glMultMatrixf)(const GLfloat *m) { CALL_GL_API(glMultMatrixf, m); } void API_ENTRY(glMultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) { @@ -76,13 +76,13 @@ void API_ENTRY(glMultiTexCoord4f)(GLenum target, GLfloat s, GLfloat t, GLfloat r void API_ENTRY(glNormal3f)(GLfloat nx, GLfloat ny, GLfloat nz) { CALL_GL_API(glNormal3f, nx, ny, nz); } -void API_ENTRY(glOrthof)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { - CALL_GL_API(glOrthof, l, r, b, t, n, f); +void API_ENTRY(glOrthof)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { + CALL_GL_API(glOrthof, left, right, bottom, top, zNear, zFar); } void API_ENTRY(glPointParameterf)(GLenum pname, GLfloat param) { CALL_GL_API(glPointParameterf, pname, param); } -void API_ENTRY(glPointParameterfv)(GLenum pname, const GLfloat * params) { +void API_ENTRY(glPointParameterfv)(GLenum pname, const GLfloat *params) { CALL_GL_API(glPointParameterfv, pname, params); } void API_ENTRY(glPointSize)(GLfloat size) { @@ -100,13 +100,13 @@ void API_ENTRY(glScalef)(GLfloat x, GLfloat y, GLfloat z) { void API_ENTRY(glTexEnvf)(GLenum target, GLenum pname, GLfloat param) { CALL_GL_API(glTexEnvf, target, pname, param); } -void API_ENTRY(glTexEnvfv)(GLenum target, GLenum pname, const GLfloat * params) { +void API_ENTRY(glTexEnvfv)(GLenum target, GLenum pname, const GLfloat *params) { CALL_GL_API(glTexEnvfv, target, pname, params); } void API_ENTRY(glTexParameterf)(GLenum target, GLenum pname, GLfloat param) { CALL_GL_API(glTexParameterf, target, pname, param); } -void API_ENTRY(glTexParameterfv)(GLenum target, GLenum pname, const GLfloat * params) { +void API_ENTRY(glTexParameterfv)(GLenum target, GLenum pname, const GLfloat *params) { CALL_GL_API(glTexParameterfv, target, pname, params); } void API_ENTRY(glTranslatef)(GLfloat x, GLfloat y, GLfloat z) { @@ -115,7 +115,7 @@ void API_ENTRY(glTranslatef)(GLfloat x, GLfloat y, GLfloat z) { void API_ENTRY(glActiveTexture)(GLenum texture) { CALL_GL_API(glActiveTexture, texture); } -void API_ENTRY(glAlphaFuncx)(GLenum func, GLfixed ref) { +void API_ENTRY(glAlphaFuncx)(GLenum func, GLclampx ref) { CALL_GL_API(glAlphaFuncx, func, ref); } void API_ENTRY(glBindBuffer)(GLenum target, GLuint buffer) { @@ -127,19 +127,19 @@ void API_ENTRY(glBindTexture)(GLenum target, GLuint texture) { void API_ENTRY(glBlendFunc)(GLenum sfactor, GLenum dfactor) { CALL_GL_API(glBlendFunc, sfactor, dfactor); } -void API_ENTRY(glBufferData)(GLenum target, GLsizeiptr size, const void * data, GLenum usage) { +void API_ENTRY(glBufferData)(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) { CALL_GL_API(glBufferData, target, size, data, usage); } -void API_ENTRY(glBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const void * data) { +void API_ENTRY(glBufferSubData)(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) { CALL_GL_API(glBufferSubData, target, offset, size, data); } void API_ENTRY(glClear)(GLbitfield mask) { CALL_GL_API(glClear, mask); } -void API_ENTRY(glClearColorx)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { +void API_ENTRY(glClearColorx)(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { CALL_GL_API(glClearColorx, red, green, blue, alpha); } -void API_ENTRY(glClearDepthx)(GLfixed depth) { +void API_ENTRY(glClearDepthx)(GLclampx depth) { CALL_GL_API(glClearDepthx, depth); } void API_ENTRY(glClearStencil)(GLint s) { @@ -148,7 +148,7 @@ void API_ENTRY(glClearStencil)(GLint s) { void API_ENTRY(glClientActiveTexture)(GLenum texture) { CALL_GL_API(glClientActiveTexture, texture); } -void API_ENTRY(glClipPlanex)(GLenum plane, const GLfixed * equation) { +void API_ENTRY(glClipPlanex)(GLenum plane, const GLfixed *equation) { CALL_GL_API(glClipPlanex, plane, equation); } void API_ENTRY(glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { @@ -160,13 +160,13 @@ void API_ENTRY(glColor4x)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alph void API_ENTRY(glColorMask)(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) { CALL_GL_API(glColorMask, red, green, blue, alpha); } -void API_ENTRY(glColorPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) { +void API_ENTRY(glColorPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { CALL_GL_API(glColorPointer, size, type, stride, pointer); } -void API_ENTRY(glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void * data) { +void API_ENTRY(glCompressedTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) { CALL_GL_API(glCompressedTexImage2D, target, level, internalformat, width, height, border, imageSize, data); } -void API_ENTRY(glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void * data) { +void API_ENTRY(glCompressedTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) { CALL_GL_API(glCompressedTexSubImage2D, target, level, xoffset, yoffset, width, height, format, imageSize, data); } void API_ENTRY(glCopyTexImage2D)(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) { @@ -178,10 +178,10 @@ void API_ENTRY(glCopyTexSubImage2D)(GLenum target, GLint level, GLint xoffset, G void API_ENTRY(glCullFace)(GLenum mode) { CALL_GL_API(glCullFace, mode); } -void API_ENTRY(glDeleteBuffers)(GLsizei n, const GLuint * buffers) { +void API_ENTRY(glDeleteBuffers)(GLsizei n, const GLuint *buffers) { CALL_GL_API(glDeleteBuffers, n, buffers); } -void API_ENTRY(glDeleteTextures)(GLsizei n, const GLuint * textures) { +void API_ENTRY(glDeleteTextures)(GLsizei n, const GLuint *textures) { CALL_GL_API(glDeleteTextures, n, textures); } void API_ENTRY(glDepthFunc)(GLenum func) { @@ -190,8 +190,8 @@ void API_ENTRY(glDepthFunc)(GLenum func) { void API_ENTRY(glDepthMask)(GLboolean flag) { CALL_GL_API(glDepthMask, flag); } -void API_ENTRY(glDepthRangex)(GLfixed n, GLfixed f) { - CALL_GL_API(glDepthRangex, n, f); +void API_ENTRY(glDepthRangex)(GLclampx zNear, GLclampx zFar) { + CALL_GL_API(glDepthRangex, zNear, zFar); } void API_ENTRY(glDisable)(GLenum cap) { CALL_GL_API(glDisable, cap); @@ -202,7 +202,7 @@ void API_ENTRY(glDisableClientState)(GLenum array) { void API_ENTRY(glDrawArrays)(GLenum mode, GLint first, GLsizei count) { CALL_GL_API(glDrawArrays, mode, first, count); } -void API_ENTRY(glDrawElements)(GLenum mode, GLsizei count, GLenum type, const void * indices) { +void API_ENTRY(glDrawElements)(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) { CALL_GL_API(glDrawElements, mode, count, type, indices); } void API_ENTRY(glEnable)(GLenum cap) { @@ -220,61 +220,61 @@ void API_ENTRY(glFlush)(void) { void API_ENTRY(glFogx)(GLenum pname, GLfixed param) { CALL_GL_API(glFogx, pname, param); } -void API_ENTRY(glFogxv)(GLenum pname, const GLfixed * param) { - CALL_GL_API(glFogxv, pname, param); +void API_ENTRY(glFogxv)(GLenum pname, const GLfixed *params) { + CALL_GL_API(glFogxv, pname, params); } void API_ENTRY(glFrontFace)(GLenum mode) { CALL_GL_API(glFrontFace, mode); } -void API_ENTRY(glFrustumx)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { - CALL_GL_API(glFrustumx, l, r, b, t, n, f); +void API_ENTRY(glFrustumx)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { + CALL_GL_API(glFrustumx, left, right, bottom, top, zNear, zFar); } -void API_ENTRY(glGetBooleanv)(GLenum pname, GLboolean * data) { - CALL_GL_API(glGetBooleanv, pname, data); +void API_ENTRY(glGetBooleanv)(GLenum pname, GLboolean *params) { + CALL_GL_API(glGetBooleanv, pname, params); } -void API_ENTRY(glGetBufferParameteriv)(GLenum target, GLenum pname, GLint * params) { +void API_ENTRY(glGetBufferParameteriv)(GLenum target, GLenum pname, GLint *params) { CALL_GL_API(glGetBufferParameteriv, target, pname, params); } -void API_ENTRY(glGetClipPlanex)(GLenum plane, GLfixed * equation) { - CALL_GL_API(glGetClipPlanex, plane, equation); +void API_ENTRY(glGetClipPlanex)(GLenum pname, GLfixed eqn[4]) { + CALL_GL_API(glGetClipPlanex, pname, eqn); } -void API_ENTRY(glGenBuffers)(GLsizei n, GLuint * buffers) { +void API_ENTRY(glGenBuffers)(GLsizei n, GLuint *buffers) { CALL_GL_API(glGenBuffers, n, buffers); } -void API_ENTRY(glGenTextures)(GLsizei n, GLuint * textures) { +void API_ENTRY(glGenTextures)(GLsizei n, GLuint *textures) { CALL_GL_API(glGenTextures, n, textures); } GLenum API_ENTRY(glGetError)(void) { CALL_GL_API_RETURN(glGetError); } -void API_ENTRY(glGetFixedv)(GLenum pname, GLfixed * params) { +void API_ENTRY(glGetFixedv)(GLenum pname, GLfixed *params) { CALL_GL_API(glGetFixedv, pname, params); } -void API_ENTRY(glGetIntegerv)(GLenum pname, GLint * data) { - CALL_GL_API(glGetIntegerv, pname, data); +void API_ENTRY(glGetIntegerv)(GLenum pname, GLint *params) { + CALL_GL_API(glGetIntegerv, pname, params); } -void API_ENTRY(glGetLightxv)(GLenum light, GLenum pname, GLfixed * params) { +void API_ENTRY(glGetLightxv)(GLenum light, GLenum pname, GLfixed *params) { CALL_GL_API(glGetLightxv, light, pname, params); } -void API_ENTRY(glGetMaterialxv)(GLenum face, GLenum pname, GLfixed * params) { +void API_ENTRY(glGetMaterialxv)(GLenum face, GLenum pname, GLfixed *params) { CALL_GL_API(glGetMaterialxv, face, pname, params); } -void API_ENTRY(glGetPointerv)(GLenum pname, void ** params) { +void API_ENTRY(glGetPointerv)(GLenum pname, GLvoid **params) { CALL_GL_API(glGetPointerv, pname, params); } const GLubyte * API_ENTRY(__glGetString)(GLenum name) { CALL_GL_API_RETURN(glGetString, name); } -void API_ENTRY(glGetTexEnviv)(GLenum target, GLenum pname, GLint * params) { - CALL_GL_API(glGetTexEnviv, target, pname, params); +void API_ENTRY(glGetTexEnviv)(GLenum env, GLenum pname, GLint *params) { + CALL_GL_API(glGetTexEnviv, env, pname, params); } -void API_ENTRY(glGetTexEnvxv)(GLenum target, GLenum pname, GLfixed * params) { - CALL_GL_API(glGetTexEnvxv, target, pname, params); +void API_ENTRY(glGetTexEnvxv)(GLenum env, GLenum pname, GLfixed *params) { + CALL_GL_API(glGetTexEnvxv, env, pname, params); } -void API_ENTRY(glGetTexParameteriv)(GLenum target, GLenum pname, GLint * params) { +void API_ENTRY(glGetTexParameteriv)(GLenum target, GLenum pname, GLint *params) { CALL_GL_API(glGetTexParameteriv, target, pname, params); } -void API_ENTRY(glGetTexParameterxv)(GLenum target, GLenum pname, GLfixed * params) { +void API_ENTRY(glGetTexParameterxv)(GLenum target, GLenum pname, GLfixed *params) { CALL_GL_API(glGetTexParameterxv, target, pname, params); } void API_ENTRY(glHint)(GLenum target, GLenum mode) { @@ -292,13 +292,13 @@ GLboolean API_ENTRY(glIsTexture)(GLuint texture) { void API_ENTRY(glLightModelx)(GLenum pname, GLfixed param) { CALL_GL_API(glLightModelx, pname, param); } -void API_ENTRY(glLightModelxv)(GLenum pname, const GLfixed * param) { - CALL_GL_API(glLightModelxv, pname, param); +void API_ENTRY(glLightModelxv)(GLenum pname, const GLfixed *params) { + CALL_GL_API(glLightModelxv, pname, params); } void API_ENTRY(glLightx)(GLenum light, GLenum pname, GLfixed param) { CALL_GL_API(glLightx, light, pname, param); } -void API_ENTRY(glLightxv)(GLenum light, GLenum pname, const GLfixed * params) { +void API_ENTRY(glLightxv)(GLenum light, GLenum pname, const GLfixed *params) { CALL_GL_API(glLightxv, light, pname, params); } void API_ENTRY(glLineWidthx)(GLfixed width) { @@ -307,7 +307,7 @@ void API_ENTRY(glLineWidthx)(GLfixed width) { void API_ENTRY(glLoadIdentity)(void) { CALL_GL_API(glLoadIdentity); } -void API_ENTRY(glLoadMatrixx)(const GLfixed * m) { +void API_ENTRY(glLoadMatrixx)(const GLfixed *m) { CALL_GL_API(glLoadMatrixx, m); } void API_ENTRY(glLogicOp)(GLenum opcode) { @@ -316,26 +316,26 @@ void API_ENTRY(glLogicOp)(GLenum opcode) { void API_ENTRY(glMaterialx)(GLenum face, GLenum pname, GLfixed param) { CALL_GL_API(glMaterialx, face, pname, param); } -void API_ENTRY(glMaterialxv)(GLenum face, GLenum pname, const GLfixed * param) { - CALL_GL_API(glMaterialxv, face, pname, param); +void API_ENTRY(glMaterialxv)(GLenum face, GLenum pname, const GLfixed *params) { + CALL_GL_API(glMaterialxv, face, pname, params); } void API_ENTRY(glMatrixMode)(GLenum mode) { CALL_GL_API(glMatrixMode, mode); } -void API_ENTRY(glMultMatrixx)(const GLfixed * m) { +void API_ENTRY(glMultMatrixx)(const GLfixed *m) { CALL_GL_API(glMultMatrixx, m); } -void API_ENTRY(glMultiTexCoord4x)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { - CALL_GL_API(glMultiTexCoord4x, texture, s, t, r, q); +void API_ENTRY(glMultiTexCoord4x)(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { + CALL_GL_API(glMultiTexCoord4x, target, s, t, r, q); } void API_ENTRY(glNormal3x)(GLfixed nx, GLfixed ny, GLfixed nz) { CALL_GL_API(glNormal3x, nx, ny, nz); } -void API_ENTRY(glNormalPointer)(GLenum type, GLsizei stride, const void * pointer) { +void API_ENTRY(glNormalPointer)(GLenum type, GLsizei stride, const GLvoid *pointer) { CALL_GL_API(glNormalPointer, type, stride, pointer); } -void API_ENTRY(glOrthox)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { - CALL_GL_API(glOrthox, l, r, b, t, n, f); +void API_ENTRY(glOrthox)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { + CALL_GL_API(glOrthox, left, right, bottom, top, zNear, zFar); } void API_ENTRY(glPixelStorei)(GLenum pname, GLint param) { CALL_GL_API(glPixelStorei, pname, param); @@ -343,7 +343,7 @@ void API_ENTRY(glPixelStorei)(GLenum pname, GLint param) { void API_ENTRY(glPointParameterx)(GLenum pname, GLfixed param) { CALL_GL_API(glPointParameterx, pname, param); } -void API_ENTRY(glPointParameterxv)(GLenum pname, const GLfixed * params) { +void API_ENTRY(glPointParameterxv)(GLenum pname, const GLfixed *params) { CALL_GL_API(glPointParameterxv, pname, params); } void API_ENTRY(glPointSizex)(GLfixed size) { @@ -358,13 +358,13 @@ void API_ENTRY(glPopMatrix)(void) { void API_ENTRY(glPushMatrix)(void) { CALL_GL_API(glPushMatrix); } -void API_ENTRY(glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void * pixels) { +void API_ENTRY(glReadPixels)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) { CALL_GL_API(glReadPixels, x, y, width, height, format, type, pixels); } void API_ENTRY(glRotatex)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glRotatex, angle, x, y, z); } -void API_ENTRY(glSampleCoverage)(GLfloat value, GLboolean invert) { +void API_ENTRY(glSampleCoverage)(GLclampf value, GLboolean invert) { CALL_GL_API(glSampleCoverage, value, invert); } void API_ENTRY(glSampleCoveragex)(GLclampx value, GLboolean invert) { @@ -388,7 +388,7 @@ void API_ENTRY(glStencilMask)(GLuint mask) { void API_ENTRY(glStencilOp)(GLenum fail, GLenum zfail, GLenum zpass) { CALL_GL_API(glStencilOp, fail, zfail, zpass); } -void API_ENTRY(glTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) { +void API_ENTRY(glTexCoordPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { CALL_GL_API(glTexCoordPointer, size, type, stride, pointer); } void API_ENTRY(glTexEnvi)(GLenum target, GLenum pname, GLint param) { @@ -397,13 +397,13 @@ void API_ENTRY(glTexEnvi)(GLenum target, GLenum pname, GLint param) { void API_ENTRY(glTexEnvx)(GLenum target, GLenum pname, GLfixed param) { CALL_GL_API(glTexEnvx, target, pname, param); } -void API_ENTRY(glTexEnviv)(GLenum target, GLenum pname, const GLint * params) { +void API_ENTRY(glTexEnviv)(GLenum target, GLenum pname, const GLint *params) { CALL_GL_API(glTexEnviv, target, pname, params); } -void API_ENTRY(glTexEnvxv)(GLenum target, GLenum pname, const GLfixed * params) { +void API_ENTRY(glTexEnvxv)(GLenum target, GLenum pname, const GLfixed *params) { CALL_GL_API(glTexEnvxv, target, pname, params); } -void API_ENTRY(glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void * pixels) { +void API_ENTRY(glTexImage2D)(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) { CALL_GL_API(glTexImage2D, target, level, internalformat, width, height, border, format, type, pixels); } void API_ENTRY(glTexParameteri)(GLenum target, GLenum pname, GLint param) { @@ -412,21 +412,24 @@ void API_ENTRY(glTexParameteri)(GLenum target, GLenum pname, GLint param) { void API_ENTRY(glTexParameterx)(GLenum target, GLenum pname, GLfixed param) { CALL_GL_API(glTexParameterx, target, pname, param); } -void API_ENTRY(glTexParameteriv)(GLenum target, GLenum pname, const GLint * params) { +void API_ENTRY(glTexParameteriv)(GLenum target, GLenum pname, const GLint *params) { CALL_GL_API(glTexParameteriv, target, pname, params); } -void API_ENTRY(glTexParameterxv)(GLenum target, GLenum pname, const GLfixed * params) { +void API_ENTRY(glTexParameterxv)(GLenum target, GLenum pname, const GLfixed *params) { CALL_GL_API(glTexParameterxv, target, pname, params); } -void API_ENTRY(glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void * pixels) { +void API_ENTRY(glTexSubImage2D)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) { CALL_GL_API(glTexSubImage2D, target, level, xoffset, yoffset, width, height, format, type, pixels); } void API_ENTRY(glTranslatex)(GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glTranslatex, x, y, z); } -void API_ENTRY(glVertexPointer)(GLint size, GLenum type, GLsizei stride, const void * pointer) { +void API_ENTRY(glVertexPointer)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { CALL_GL_API(glVertexPointer, size, type, stride, pointer); } void API_ENTRY(glViewport)(GLint x, GLint y, GLsizei width, GLsizei height) { CALL_GL_API(glViewport, x, y, width, height); } +void API_ENTRY(glPointSizePointerOES)(GLenum type, GLsizei stride, const GLvoid *pointer) { + CALL_GL_API(glPointSizePointerOES, type, stride, pointer); +} diff --git a/opengl/libs/GLES_CM/glext_api.in b/opengl/libs/GLES_CM/glext_api.in index c8fba6b..7cd6cb5 100644 --- a/opengl/libs/GLES_CM/glext_api.in +++ b/opengl/libs/GLES_CM/glext_api.in @@ -1,9 +1,3 @@ -void API_ENTRY(glEGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image) { - CALL_GL_API(glEGLImageTargetTexture2DOES, target, image); -} -void API_ENTRY(glEGLImageTargetRenderbufferStorageOES)(GLenum target, GLeglImageOES image) { - CALL_GL_API(glEGLImageTargetRenderbufferStorageOES, target, image); -} void API_ENTRY(glBlendEquationSeparateOES)(GLenum modeRGB, GLenum modeAlpha) { CALL_GL_API(glBlendEquationSeparateOES, modeRGB, modeAlpha); } @@ -13,72 +7,6 @@ void API_ENTRY(glBlendFuncSeparateOES)(GLenum srcRGB, GLenum dstRGB, GLenum srcA void API_ENTRY(glBlendEquationOES)(GLenum mode) { CALL_GL_API(glBlendEquationOES, mode); } -void API_ENTRY(glMultiTexCoord1bOES)(GLenum texture, GLbyte s) { - CALL_GL_API(glMultiTexCoord1bOES, texture, s); -} -void API_ENTRY(glMultiTexCoord1bvOES)(GLenum texture, const GLbyte * coords) { - CALL_GL_API(glMultiTexCoord1bvOES, texture, coords); -} -void API_ENTRY(glMultiTexCoord2bOES)(GLenum texture, GLbyte s, GLbyte t) { - CALL_GL_API(glMultiTexCoord2bOES, texture, s, t); -} -void API_ENTRY(glMultiTexCoord2bvOES)(GLenum texture, const GLbyte * coords) { - CALL_GL_API(glMultiTexCoord2bvOES, texture, coords); -} -void API_ENTRY(glMultiTexCoord3bOES)(GLenum texture, GLbyte s, GLbyte t, GLbyte r) { - CALL_GL_API(glMultiTexCoord3bOES, texture, s, t, r); -} -void API_ENTRY(glMultiTexCoord3bvOES)(GLenum texture, const GLbyte * coords) { - CALL_GL_API(glMultiTexCoord3bvOES, texture, coords); -} -void API_ENTRY(glMultiTexCoord4bOES)(GLenum texture, GLbyte s, GLbyte t, GLbyte r, GLbyte q) { - CALL_GL_API(glMultiTexCoord4bOES, texture, s, t, r, q); -} -void API_ENTRY(glMultiTexCoord4bvOES)(GLenum texture, const GLbyte * coords) { - CALL_GL_API(glMultiTexCoord4bvOES, texture, coords); -} -void API_ENTRY(glTexCoord1bOES)(GLbyte s) { - CALL_GL_API(glTexCoord1bOES, s); -} -void API_ENTRY(glTexCoord1bvOES)(const GLbyte * coords) { - CALL_GL_API(glTexCoord1bvOES, coords); -} -void API_ENTRY(glTexCoord2bOES)(GLbyte s, GLbyte t) { - CALL_GL_API(glTexCoord2bOES, s, t); -} -void API_ENTRY(glTexCoord2bvOES)(const GLbyte * coords) { - CALL_GL_API(glTexCoord2bvOES, coords); -} -void API_ENTRY(glTexCoord3bOES)(GLbyte s, GLbyte t, GLbyte r) { - CALL_GL_API(glTexCoord3bOES, s, t, r); -} -void API_ENTRY(glTexCoord3bvOES)(const GLbyte * coords) { - CALL_GL_API(glTexCoord3bvOES, coords); -} -void API_ENTRY(glTexCoord4bOES)(GLbyte s, GLbyte t, GLbyte r, GLbyte q) { - CALL_GL_API(glTexCoord4bOES, s, t, r, q); -} -void API_ENTRY(glTexCoord4bvOES)(const GLbyte * coords) { - CALL_GL_API(glTexCoord4bvOES, coords); -} -void API_ENTRY(glVertex2bOES)(GLbyte x) { - CALL_GL_API(glVertex2bOES, x); -} -void API_ENTRY(glVertex2bvOES)(const GLbyte * coords) { - CALL_GL_API(glVertex2bvOES, coords); -} -void API_ENTRY(glVertex3bOES)(GLbyte x, GLbyte y) { - CALL_GL_API(glVertex3bOES, x, y); -} -void API_ENTRY(glVertex3bvOES)(const GLbyte * coords) { - CALL_GL_API(glVertex3bvOES, coords); -} -void API_ENTRY(glVertex4bOES)(GLbyte x, GLbyte y, GLbyte z) { - CALL_GL_API(glVertex4bOES, x, y, z); -} -void API_ENTRY(glVertex4bvOES)(const GLbyte * coords) { - CALL_GL_API(glVertex4bvOES, coords); -} void API_ENTRY(glDrawTexsOES)(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) { CALL_GL_API(glDrawTexsOES, x, y, z, width, height); } @@ -88,97 +16,112 @@ void API_ENTRY(glDrawTexiOES)(GLint x, GLint y, GLint z, GLint width, GLint heig void API_ENTRY(glDrawTexxOES)(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) { CALL_GL_API(glDrawTexxOES, x, y, z, width, height); } -void API_ENTRY(glDrawTexsvOES)(const GLshort * coords) { +void API_ENTRY(glDrawTexsvOES)(const GLshort *coords) { CALL_GL_API(glDrawTexsvOES, coords); } -void API_ENTRY(glDrawTexivOES)(const GLint * coords) { +void API_ENTRY(glDrawTexivOES)(const GLint *coords) { CALL_GL_API(glDrawTexivOES, coords); } -void API_ENTRY(glDrawTexxvOES)(const GLfixed * coords) { +void API_ENTRY(glDrawTexxvOES)(const GLfixed *coords) { CALL_GL_API(glDrawTexxvOES, coords); } void API_ENTRY(glDrawTexfOES)(GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height) { CALL_GL_API(glDrawTexfOES, x, y, z, width, height); } -void API_ENTRY(glDrawTexfvOES)(const GLfloat * coords) { +void API_ENTRY(glDrawTexfvOES)(const GLfloat *coords) { CALL_GL_API(glDrawTexfvOES, coords); } -void API_ENTRY(glAlphaFuncxOES)(GLenum func, GLfixed ref) { +void API_ENTRY(glEGLImageTargetTexture2DOES)(GLenum target, GLeglImageOES image) { + CALL_GL_API(glEGLImageTargetTexture2DOES, target, image); +} +void API_ENTRY(glEGLImageTargetRenderbufferStorageOES)(GLenum target, GLeglImageOES image) { + CALL_GL_API(glEGLImageTargetRenderbufferStorageOES, target, image); +} +void API_ENTRY(glAlphaFuncxOES)(GLenum func, GLclampx ref) { CALL_GL_API(glAlphaFuncxOES, func, ref); } -void API_ENTRY(glClearColorxOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { +void API_ENTRY(glClearColorxOES)(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { CALL_GL_API(glClearColorxOES, red, green, blue, alpha); } -void API_ENTRY(glClearDepthxOES)(GLfixed depth) { +void API_ENTRY(glClearDepthxOES)(GLclampx depth) { CALL_GL_API(glClearDepthxOES, depth); } -void API_ENTRY(glClipPlanexOES)(GLenum plane, const GLfixed * equation) { +void API_ENTRY(glClipPlanexOES)(GLenum plane, const GLfixed *equation) { CALL_GL_API(glClipPlanexOES, plane, equation); } void API_ENTRY(glColor4xOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { CALL_GL_API(glColor4xOES, red, green, blue, alpha); } -void API_ENTRY(glDepthRangexOES)(GLfixed n, GLfixed f) { - CALL_GL_API(glDepthRangexOES, n, f); +void API_ENTRY(glDepthRangexOES)(GLclampx zNear, GLclampx zFar) { + CALL_GL_API(glDepthRangexOES, zNear, zFar); } void API_ENTRY(glFogxOES)(GLenum pname, GLfixed param) { CALL_GL_API(glFogxOES, pname, param); } -void API_ENTRY(glFogxvOES)(GLenum pname, const GLfixed * param) { - CALL_GL_API(glFogxvOES, pname, param); +void API_ENTRY(glFogxvOES)(GLenum pname, const GLfixed *params) { + CALL_GL_API(glFogxvOES, pname, params); } -void API_ENTRY(glFrustumxOES)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { - CALL_GL_API(glFrustumxOES, l, r, b, t, n, f); +void API_ENTRY(glFrustumxOES)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { + CALL_GL_API(glFrustumxOES, left, right, bottom, top, zNear, zFar); } -void API_ENTRY(glGetClipPlanexOES)(GLenum plane, GLfixed * equation) { - CALL_GL_API(glGetClipPlanexOES, plane, equation); +void API_ENTRY(glGetClipPlanexOES)(GLenum pname, GLfixed eqn[4]) { + CALL_GL_API(glGetClipPlanexOES, pname, eqn); } -void API_ENTRY(glGetFixedvOES)(GLenum pname, GLfixed * params) { +void API_ENTRY(glGetFixedvOES)(GLenum pname, GLfixed *params) { CALL_GL_API(glGetFixedvOES, pname, params); } -void API_ENTRY(glGetTexEnvxvOES)(GLenum target, GLenum pname, GLfixed * params) { - CALL_GL_API(glGetTexEnvxvOES, target, pname, params); +void API_ENTRY(glGetLightxvOES)(GLenum light, GLenum pname, GLfixed *params) { + CALL_GL_API(glGetLightxvOES, light, pname, params); +} +void API_ENTRY(glGetMaterialxvOES)(GLenum face, GLenum pname, GLfixed *params) { + CALL_GL_API(glGetMaterialxvOES, face, pname, params); +} +void API_ENTRY(glGetTexEnvxvOES)(GLenum env, GLenum pname, GLfixed *params) { + CALL_GL_API(glGetTexEnvxvOES, env, pname, params); } -void API_ENTRY(glGetTexParameterxvOES)(GLenum target, GLenum pname, GLfixed * params) { +void API_ENTRY(glGetTexParameterxvOES)(GLenum target, GLenum pname, GLfixed *params) { CALL_GL_API(glGetTexParameterxvOES, target, pname, params); } void API_ENTRY(glLightModelxOES)(GLenum pname, GLfixed param) { CALL_GL_API(glLightModelxOES, pname, param); } -void API_ENTRY(glLightModelxvOES)(GLenum pname, const GLfixed * param) { - CALL_GL_API(glLightModelxvOES, pname, param); +void API_ENTRY(glLightModelxvOES)(GLenum pname, const GLfixed *params) { + CALL_GL_API(glLightModelxvOES, pname, params); } void API_ENTRY(glLightxOES)(GLenum light, GLenum pname, GLfixed param) { CALL_GL_API(glLightxOES, light, pname, param); } -void API_ENTRY(glLightxvOES)(GLenum light, GLenum pname, const GLfixed * params) { +void API_ENTRY(glLightxvOES)(GLenum light, GLenum pname, const GLfixed *params) { CALL_GL_API(glLightxvOES, light, pname, params); } void API_ENTRY(glLineWidthxOES)(GLfixed width) { CALL_GL_API(glLineWidthxOES, width); } -void API_ENTRY(glLoadMatrixxOES)(const GLfixed * m) { +void API_ENTRY(glLoadMatrixxOES)(const GLfixed *m) { CALL_GL_API(glLoadMatrixxOES, m); } void API_ENTRY(glMaterialxOES)(GLenum face, GLenum pname, GLfixed param) { CALL_GL_API(glMaterialxOES, face, pname, param); } -void API_ENTRY(glMaterialxvOES)(GLenum face, GLenum pname, const GLfixed * param) { - CALL_GL_API(glMaterialxvOES, face, pname, param); +void API_ENTRY(glMaterialxvOES)(GLenum face, GLenum pname, const GLfixed *params) { + CALL_GL_API(glMaterialxvOES, face, pname, params); } -void API_ENTRY(glMultMatrixxOES)(const GLfixed * m) { +void API_ENTRY(glMultMatrixxOES)(const GLfixed *m) { CALL_GL_API(glMultMatrixxOES, m); } -void API_ENTRY(glMultiTexCoord4xOES)(GLenum texture, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { - CALL_GL_API(glMultiTexCoord4xOES, texture, s, t, r, q); +void API_ENTRY(glMultiTexCoord4xOES)(GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q) { + CALL_GL_API(glMultiTexCoord4xOES, target, s, t, r, q); } void API_ENTRY(glNormal3xOES)(GLfixed nx, GLfixed ny, GLfixed nz) { CALL_GL_API(glNormal3xOES, nx, ny, nz); } -void API_ENTRY(glOrthoxOES)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { - CALL_GL_API(glOrthoxOES, l, r, b, t, n, f); +void API_ENTRY(glOrthoxOES)(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) { + CALL_GL_API(glOrthoxOES, left, right, bottom, top, zNear, zFar); } -void API_ENTRY(glPointParameterxvOES)(GLenum pname, const GLfixed * params) { +void API_ENTRY(glPointParameterxOES)(GLenum pname, GLfixed param) { + CALL_GL_API(glPointParameterxOES, pname, param); +} +void API_ENTRY(glPointParameterxvOES)(GLenum pname, const GLfixed *params) { CALL_GL_API(glPointParameterxvOES, pname, params); } void API_ENTRY(glPointSizexOES)(GLfixed size) { @@ -190,8 +133,8 @@ void API_ENTRY(glPolygonOffsetxOES)(GLfixed factor, GLfixed units) { void API_ENTRY(glRotatexOES)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glRotatexOES, angle, x, y, z); } -void API_ENTRY(glSampleCoverageOES)(GLfixed value, GLboolean invert) { - CALL_GL_API(glSampleCoverageOES, value, invert); +void API_ENTRY(glSampleCoveragexOES)(GLclampx value, GLboolean invert) { + CALL_GL_API(glSampleCoveragexOES, value, invert); } void API_ENTRY(glScalexOES)(GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glScalexOES, x, y, z); @@ -199,55 +142,34 @@ void API_ENTRY(glScalexOES)(GLfixed x, GLfixed y, GLfixed z) { void API_ENTRY(glTexEnvxOES)(GLenum target, GLenum pname, GLfixed param) { CALL_GL_API(glTexEnvxOES, target, pname, param); } -void API_ENTRY(glTexEnvxvOES)(GLenum target, GLenum pname, const GLfixed * params) { +void API_ENTRY(glTexEnvxvOES)(GLenum target, GLenum pname, const GLfixed *params) { CALL_GL_API(glTexEnvxvOES, target, pname, params); } void API_ENTRY(glTexParameterxOES)(GLenum target, GLenum pname, GLfixed param) { CALL_GL_API(glTexParameterxOES, target, pname, param); } -void API_ENTRY(glTexParameterxvOES)(GLenum target, GLenum pname, const GLfixed * params) { +void API_ENTRY(glTexParameterxvOES)(GLenum target, GLenum pname, const GLfixed *params) { CALL_GL_API(glTexParameterxvOES, target, pname, params); } void API_ENTRY(glTranslatexOES)(GLfixed x, GLfixed y, GLfixed z) { CALL_GL_API(glTranslatexOES, x, y, z); } -void API_ENTRY(glGetLightxvOES)(GLenum light, GLenum pname, GLfixed * params) { - CALL_GL_API(glGetLightxvOES, light, pname, params); -} -void API_ENTRY(glGetMaterialxvOES)(GLenum face, GLenum pname, GLfixed * params) { - CALL_GL_API(glGetMaterialxvOES, face, pname, params); -} -void API_ENTRY(glPointParameterxOES)(GLenum pname, GLfixed param) { - CALL_GL_API(glPointParameterxOES, pname, param); -} -void API_ENTRY(glSampleCoveragexOES)(GLclampx value, GLboolean invert) { - CALL_GL_API(glSampleCoveragexOES, value, invert); -} -void API_ENTRY(glGetTexGenxvOES)(GLenum coord, GLenum pname, GLfixed * params) { - CALL_GL_API(glGetTexGenxvOES, coord, pname, params); -} -void API_ENTRY(glTexGenxOES)(GLenum coord, GLenum pname, GLfixed param) { - CALL_GL_API(glTexGenxOES, coord, pname, param); -} -void API_ENTRY(glTexGenxvOES)(GLenum coord, GLenum pname, const GLfixed * params) { - CALL_GL_API(glTexGenxvOES, coord, pname, params); -} GLboolean API_ENTRY(glIsRenderbufferOES)(GLuint renderbuffer) { CALL_GL_API_RETURN(glIsRenderbufferOES, renderbuffer); } void API_ENTRY(glBindRenderbufferOES)(GLenum target, GLuint renderbuffer) { CALL_GL_API(glBindRenderbufferOES, target, renderbuffer); } -void API_ENTRY(glDeleteRenderbuffersOES)(GLsizei n, const GLuint * renderbuffers) { +void API_ENTRY(glDeleteRenderbuffersOES)(GLsizei n, const GLuint* renderbuffers) { CALL_GL_API(glDeleteRenderbuffersOES, n, renderbuffers); } -void API_ENTRY(glGenRenderbuffersOES)(GLsizei n, GLuint * renderbuffers) { +void API_ENTRY(glGenRenderbuffersOES)(GLsizei n, GLuint* renderbuffers) { CALL_GL_API(glGenRenderbuffersOES, n, renderbuffers); } void API_ENTRY(glRenderbufferStorageOES)(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageOES, target, internalformat, width, height); } -void API_ENTRY(glGetRenderbufferParameterivOES)(GLenum target, GLenum pname, GLint * params) { +void API_ENTRY(glGetRenderbufferParameterivOES)(GLenum target, GLenum pname, GLint* params) { CALL_GL_API(glGetRenderbufferParameterivOES, target, pname, params); } GLboolean API_ENTRY(glIsFramebufferOES)(GLuint framebuffer) { @@ -256,10 +178,10 @@ GLboolean API_ENTRY(glIsFramebufferOES)(GLuint framebuffer) { void API_ENTRY(glBindFramebufferOES)(GLenum target, GLuint framebuffer) { CALL_GL_API(glBindFramebufferOES, target, framebuffer); } -void API_ENTRY(glDeleteFramebuffersOES)(GLsizei n, const GLuint * framebuffers) { +void API_ENTRY(glDeleteFramebuffersOES)(GLsizei n, const GLuint* framebuffers) { CALL_GL_API(glDeleteFramebuffersOES, n, framebuffers); } -void API_ENTRY(glGenFramebuffersOES)(GLsizei n, GLuint * framebuffers) { +void API_ENTRY(glGenFramebuffersOES)(GLsizei n, GLuint* framebuffers) { CALL_GL_API(glGenFramebuffersOES, n, framebuffers); } GLenum API_ENTRY(glCheckFramebufferStatusOES)(GLenum target) { @@ -271,19 +193,19 @@ void API_ENTRY(glFramebufferRenderbufferOES)(GLenum target, GLenum attachment, G void API_ENTRY(glFramebufferTexture2DOES)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) { CALL_GL_API(glFramebufferTexture2DOES, target, attachment, textarget, texture, level); } -void API_ENTRY(glGetFramebufferAttachmentParameterivOES)(GLenum target, GLenum attachment, GLenum pname, GLint * params) { +void API_ENTRY(glGetFramebufferAttachmentParameterivOES)(GLenum target, GLenum attachment, GLenum pname, GLint* params) { CALL_GL_API(glGetFramebufferAttachmentParameterivOES, target, attachment, pname, params); } void API_ENTRY(glGenerateMipmapOES)(GLenum target) { CALL_GL_API(glGenerateMipmapOES, target); } -void * API_ENTRY(glMapBufferOES)(GLenum target, GLenum access) { +void* API_ENTRY(glMapBufferOES)(GLenum target, GLenum access) { CALL_GL_API_RETURN(glMapBufferOES, target, access); } GLboolean API_ENTRY(glUnmapBufferOES)(GLenum target) { CALL_GL_API_RETURN(glUnmapBufferOES, target); } -void API_ENTRY(glGetBufferPointervOES)(GLenum target, GLenum pname, void ** params) { +void API_ENTRY(glGetBufferPointervOES)(GLenum target, GLenum pname, GLvoid ** params) { CALL_GL_API(glGetBufferPointervOES, target, pname, params); } void API_ENTRY(glCurrentPaletteMatrixOES)(GLuint matrixpaletteindex) { @@ -292,127 +214,103 @@ void API_ENTRY(glCurrentPaletteMatrixOES)(GLuint matrixpaletteindex) { void API_ENTRY(glLoadPaletteFromModelViewMatrixOES)(void) { CALL_GL_API(glLoadPaletteFromModelViewMatrixOES); } -void API_ENTRY(glMatrixIndexPointerOES)(GLint size, GLenum type, GLsizei stride, const void * pointer) { +void API_ENTRY(glMatrixIndexPointerOES)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { CALL_GL_API(glMatrixIndexPointerOES, size, type, stride, pointer); } -void API_ENTRY(glWeightPointerOES)(GLint size, GLenum type, GLsizei stride, const void * pointer) { +void API_ENTRY(glWeightPointerOES)(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) { CALL_GL_API(glWeightPointerOES, size, type, stride, pointer); } -void API_ENTRY(glPointSizePointerOES)(GLenum type, GLsizei stride, const void * pointer) { - CALL_GL_API(glPointSizePointerOES, type, stride, pointer); -} -GLbitfield API_ENTRY(glQueryMatrixxOES)(GLfixed * mantissa, GLint * exponent) { +GLbitfield API_ENTRY(glQueryMatrixxOES)(GLfixed mantissa[16], GLint exponent[16]) { CALL_GL_API_RETURN(glQueryMatrixxOES, mantissa, exponent); } -void API_ENTRY(glClearDepthfOES)(GLclampf depth) { - CALL_GL_API(glClearDepthfOES, depth); +void API_ENTRY(glDepthRangefOES)(GLclampf zNear, GLclampf zFar) { + CALL_GL_API(glDepthRangefOES, zNear, zFar); } -void API_ENTRY(glClipPlanefOES)(GLenum plane, const GLfloat * equation) { - CALL_GL_API(glClipPlanefOES, plane, equation); +void API_ENTRY(glFrustumfOES)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { + CALL_GL_API(glFrustumfOES, left, right, bottom, top, zNear, zFar); } -void API_ENTRY(glDepthRangefOES)(GLclampf n, GLclampf f) { - CALL_GL_API(glDepthRangefOES, n, f); +void API_ENTRY(glOrthofOES)(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar) { + CALL_GL_API(glOrthofOES, left, right, bottom, top, zNear, zFar); } -void API_ENTRY(glFrustumfOES)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { - CALL_GL_API(glFrustumfOES, l, r, b, t, n, f); +void API_ENTRY(glClipPlanefOES)(GLenum plane, const GLfloat *equation) { + CALL_GL_API(glClipPlanefOES, plane, equation); } -void API_ENTRY(glGetClipPlanefOES)(GLenum plane, GLfloat * equation) { - CALL_GL_API(glGetClipPlanefOES, plane, equation); +void API_ENTRY(glGetClipPlanefOES)(GLenum pname, GLfloat eqn[4]) { + CALL_GL_API(glGetClipPlanefOES, pname, eqn); } -void API_ENTRY(glOrthofOES)(GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f) { - CALL_GL_API(glOrthofOES, l, r, b, t, n, f); +void API_ENTRY(glClearDepthfOES)(GLclampf depth) { + CALL_GL_API(glClearDepthfOES, depth); } void API_ENTRY(glTexGenfOES)(GLenum coord, GLenum pname, GLfloat param) { CALL_GL_API(glTexGenfOES, coord, pname, param); } -void API_ENTRY(glTexGenfvOES)(GLenum coord, GLenum pname, const GLfloat * params) { +void API_ENTRY(glTexGenfvOES)(GLenum coord, GLenum pname, const GLfloat *params) { CALL_GL_API(glTexGenfvOES, coord, pname, params); } void API_ENTRY(glTexGeniOES)(GLenum coord, GLenum pname, GLint param) { CALL_GL_API(glTexGeniOES, coord, pname, param); } -void API_ENTRY(glTexGenivOES)(GLenum coord, GLenum pname, const GLint * params) { +void API_ENTRY(glTexGenivOES)(GLenum coord, GLenum pname, const GLint *params) { CALL_GL_API(glTexGenivOES, coord, pname, params); } -void API_ENTRY(glGetTexGenfvOES)(GLenum coord, GLenum pname, GLfloat * params) { +void API_ENTRY(glTexGenxOES)(GLenum coord, GLenum pname, GLfixed param) { + CALL_GL_API(glTexGenxOES, coord, pname, param); +} +void API_ENTRY(glTexGenxvOES)(GLenum coord, GLenum pname, const GLfixed *params) { + CALL_GL_API(glTexGenxvOES, coord, pname, params); +} +void API_ENTRY(glGetTexGenfvOES)(GLenum coord, GLenum pname, GLfloat *params) { CALL_GL_API(glGetTexGenfvOES, coord, pname, params); } -void API_ENTRY(glGetTexGenivOES)(GLenum coord, GLenum pname, GLint * params) { +void API_ENTRY(glGetTexGenivOES)(GLenum coord, GLenum pname, GLint *params) { CALL_GL_API(glGetTexGenivOES, coord, pname, params); } +void API_ENTRY(glGetTexGenxvOES)(GLenum coord, GLenum pname, GLfixed *params) { + CALL_GL_API(glGetTexGenxvOES, coord, pname, params); +} void API_ENTRY(glBindVertexArrayOES)(GLuint array) { CALL_GL_API(glBindVertexArrayOES, array); } -void API_ENTRY(glDeleteVertexArraysOES)(GLsizei n, const GLuint * arrays) { +void API_ENTRY(glDeleteVertexArraysOES)(GLsizei n, const GLuint *arrays) { CALL_GL_API(glDeleteVertexArraysOES, n, arrays); } -void API_ENTRY(glGenVertexArraysOES)(GLsizei n, GLuint * arrays) { +void API_ENTRY(glGenVertexArraysOES)(GLsizei n, GLuint *arrays) { CALL_GL_API(glGenVertexArraysOES, n, arrays); } GLboolean API_ENTRY(glIsVertexArrayOES)(GLuint array) { CALL_GL_API_RETURN(glIsVertexArrayOES, array); } -void API_ENTRY(glCopyTextureLevelsAPPLE)(GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount) { - CALL_GL_API(glCopyTextureLevelsAPPLE, destinationTexture, sourceTexture, sourceBaseLevel, sourceLevelCount); -} void API_ENTRY(glRenderbufferStorageMultisampleAPPLE)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageMultisampleAPPLE, target, samples, internalformat, width, height); } void API_ENTRY(glResolveMultisampleFramebufferAPPLE)(void) { CALL_GL_API(glResolveMultisampleFramebufferAPPLE); } -GLsync API_ENTRY(glFenceSyncAPPLE)(GLenum condition, GLbitfield flags) { - CALL_GL_API_RETURN(glFenceSyncAPPLE, condition, flags); -} -GLboolean API_ENTRY(glIsSyncAPPLE)(GLsync sync) { - CALL_GL_API_RETURN(glIsSyncAPPLE, sync); -} -void API_ENTRY(glDeleteSyncAPPLE)(GLsync sync) { - CALL_GL_API(glDeleteSyncAPPLE, sync); -} -GLenum API_ENTRY(glClientWaitSyncAPPLE)(GLsync sync, GLbitfield flags, GLuint64 timeout) { - CALL_GL_API_RETURN(glClientWaitSyncAPPLE, sync, flags, timeout); -} -void API_ENTRY(glWaitSyncAPPLE)(GLsync sync, GLbitfield flags, GLuint64 timeout) { - CALL_GL_API(glWaitSyncAPPLE, sync, flags, timeout); -} -void API_ENTRY(glGetInteger64vAPPLE)(GLenum pname, GLint64 * params) { - CALL_GL_API(glGetInteger64vAPPLE, pname, params); -} -void API_ENTRY(glGetSyncivAPPLE)(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei * length, GLint * values) { - CALL_GL_API(glGetSyncivAPPLE, sync, pname, bufSize, length, values); -} -void API_ENTRY(glDiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum * attachments) { +void API_ENTRY(glDiscardFramebufferEXT)(GLenum target, GLsizei numAttachments, const GLenum *attachments) { CALL_GL_API(glDiscardFramebufferEXT, target, numAttachments, attachments); } -void * API_ENTRY(glMapBufferRangeEXT)(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) { - CALL_GL_API_RETURN(glMapBufferRangeEXT, target, offset, length, access); -} -void API_ENTRY(glFlushMappedBufferRangeEXT)(GLenum target, GLintptr offset, GLsizeiptr length) { - CALL_GL_API(glFlushMappedBufferRangeEXT, target, offset, length); -} -void API_ENTRY(glMultiDrawArraysEXT)(GLenum mode, const GLint * first, const GLsizei * count, GLsizei primcount) { - CALL_GL_API(glMultiDrawArraysEXT, mode, first, count, primcount); -} -void API_ENTRY(glMultiDrawElementsEXT)(GLenum mode, const GLsizei * count, GLenum type, const void *const* indices, GLsizei primcount) { - CALL_GL_API(glMultiDrawElementsEXT, mode, count, type, indices, primcount); -} void API_ENTRY(glRenderbufferStorageMultisampleEXT)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageMultisampleEXT, target, samples, internalformat, width, height); } void API_ENTRY(glFramebufferTexture2DMultisampleEXT)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { CALL_GL_API(glFramebufferTexture2DMultisampleEXT, target, attachment, textarget, texture, level, samples); } +void API_ENTRY(glMultiDrawArraysEXT)(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount) { + CALL_GL_API(glMultiDrawArraysEXT, mode, first, count, primcount); +} +void API_ENTRY(glMultiDrawElementsEXT)(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount) { + CALL_GL_API(glMultiDrawElementsEXT, mode, count, type, indices, primcount); +} GLenum API_ENTRY(glGetGraphicsResetStatusEXT)(void) { CALL_GL_API_RETURN(glGetGraphicsResetStatusEXT); } -void API_ENTRY(glReadnPixelsEXT)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void * data) { +void API_ENTRY(glReadnPixelsEXT)(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data) { CALL_GL_API(glReadnPixelsEXT, x, y, width, height, format, type, bufSize, data); } -void API_ENTRY(glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, GLfloat * params) { +void API_ENTRY(glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, float *params) { CALL_GL_API(glGetnUniformfvEXT, program, location, bufSize, params); } -void API_ENTRY(glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint * params) { +void API_ENTRY(glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint *params) { CALL_GL_API(glGetnUniformivEXT, program, location, bufSize, params); } void API_ENTRY(glTexStorage1DEXT)(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width) { @@ -433,22 +331,22 @@ void API_ENTRY(glTextureStorage2DEXT)(GLuint texture, GLenum target, GLsizei lev void API_ENTRY(glTextureStorage3DEXT)(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth) { CALL_GL_API(glTextureStorage3DEXT, texture, target, levels, internalformat, width, height, depth); } +void API_ENTRY(glClipPlanefIMG)(GLenum p, const GLfloat *eqn) { + CALL_GL_API(glClipPlanefIMG, p, eqn); +} +void API_ENTRY(glClipPlanexIMG)(GLenum p, const GLfixed *eqn) { + CALL_GL_API(glClipPlanexIMG, p, eqn); +} void API_ENTRY(glRenderbufferStorageMultisampleIMG)(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) { CALL_GL_API(glRenderbufferStorageMultisampleIMG, target, samples, internalformat, width, height); } void API_ENTRY(glFramebufferTexture2DMultisampleIMG)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { CALL_GL_API(glFramebufferTexture2DMultisampleIMG, target, attachment, textarget, texture, level, samples); } -void API_ENTRY(glClipPlanefIMG)(GLenum p, const GLfloat * eqn) { - CALL_GL_API(glClipPlanefIMG, p, eqn); -} -void API_ENTRY(glClipPlanexIMG)(GLenum p, const GLfixed * eqn) { - CALL_GL_API(glClipPlanexIMG, p, eqn); -} -void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint * fences) { +void API_ENTRY(glDeleteFencesNV)(GLsizei n, const GLuint *fences) { CALL_GL_API(glDeleteFencesNV, n, fences); } -void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint * fences) { +void API_ENTRY(glGenFencesNV)(GLsizei n, GLuint *fences) { CALL_GL_API(glGenFencesNV, n, fences); } GLboolean API_ENTRY(glIsFenceNV)(GLuint fence) { @@ -457,7 +355,7 @@ GLboolean API_ENTRY(glIsFenceNV)(GLuint fence) { GLboolean API_ENTRY(glTestFenceNV)(GLuint fence) { CALL_GL_API_RETURN(glTestFenceNV, fence); } -void API_ENTRY(glGetFenceivNV)(GLuint fence, GLenum pname, GLint * params) { +void API_ENTRY(glGetFenceivNV)(GLuint fence, GLenum pname, GLint *params) { CALL_GL_API(glGetFenceivNV, fence, pname, params); } void API_ENTRY(glFinishFenceNV)(GLuint fence) { @@ -466,10 +364,10 @@ void API_ENTRY(glFinishFenceNV)(GLuint fence) { void API_ENTRY(glSetFenceNV)(GLuint fence, GLenum condition) { CALL_GL_API(glSetFenceNV, fence, condition); } -void API_ENTRY(glGetDriverControlsQCOM)(GLint * num, GLsizei size, GLuint * driverControls) { +void API_ENTRY(glGetDriverControlsQCOM)(GLint *num, GLsizei size, GLuint *driverControls) { CALL_GL_API(glGetDriverControlsQCOM, num, size, driverControls); } -void API_ENTRY(glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei * length, GLchar * driverControlString) { +void API_ENTRY(glGetDriverControlStringQCOM)(GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString) { CALL_GL_API(glGetDriverControlStringQCOM, driverControl, bufSize, length, driverControlString); } void API_ENTRY(glEnableDriverControlQCOM)(GLuint driverControl) { @@ -478,40 +376,40 @@ void API_ENTRY(glEnableDriverControlQCOM)(GLuint driverControl) { void API_ENTRY(glDisableDriverControlQCOM)(GLuint driverControl) { CALL_GL_API(glDisableDriverControlQCOM, driverControl); } -void API_ENTRY(glExtGetTexturesQCOM)(GLuint * textures, GLint maxTextures, GLint * numTextures) { +void API_ENTRY(glExtGetTexturesQCOM)(GLuint *textures, GLint maxTextures, GLint *numTextures) { CALL_GL_API(glExtGetTexturesQCOM, textures, maxTextures, numTextures); } -void API_ENTRY(glExtGetBuffersQCOM)(GLuint * buffers, GLint maxBuffers, GLint * numBuffers) { +void API_ENTRY(glExtGetBuffersQCOM)(GLuint *buffers, GLint maxBuffers, GLint *numBuffers) { CALL_GL_API(glExtGetBuffersQCOM, buffers, maxBuffers, numBuffers); } -void API_ENTRY(glExtGetRenderbuffersQCOM)(GLuint * renderbuffers, GLint maxRenderbuffers, GLint * numRenderbuffers) { +void API_ENTRY(glExtGetRenderbuffersQCOM)(GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers) { CALL_GL_API(glExtGetRenderbuffersQCOM, renderbuffers, maxRenderbuffers, numRenderbuffers); } -void API_ENTRY(glExtGetFramebuffersQCOM)(GLuint * framebuffers, GLint maxFramebuffers, GLint * numFramebuffers) { +void API_ENTRY(glExtGetFramebuffersQCOM)(GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers) { CALL_GL_API(glExtGetFramebuffersQCOM, framebuffers, maxFramebuffers, numFramebuffers); } -void API_ENTRY(glExtGetTexLevelParameterivQCOM)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint * params) { +void API_ENTRY(glExtGetTexLevelParameterivQCOM)(GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params) { CALL_GL_API(glExtGetTexLevelParameterivQCOM, texture, face, level, pname, params); } void API_ENTRY(glExtTexObjectStateOverrideiQCOM)(GLenum target, GLenum pname, GLint param) { CALL_GL_API(glExtTexObjectStateOverrideiQCOM, target, pname, param); } -void API_ENTRY(glExtGetTexSubImageQCOM)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void * texels) { +void API_ENTRY(glExtGetTexSubImageQCOM)(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLvoid *texels) { CALL_GL_API(glExtGetTexSubImageQCOM, target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, texels); } -void API_ENTRY(glExtGetBufferPointervQCOM)(GLenum target, void ** params) { +void API_ENTRY(glExtGetBufferPointervQCOM)(GLenum target, GLvoid **params) { CALL_GL_API(glExtGetBufferPointervQCOM, target, params); } -void API_ENTRY(glExtGetShadersQCOM)(GLuint * shaders, GLint maxShaders, GLint * numShaders) { +void API_ENTRY(glExtGetShadersQCOM)(GLuint *shaders, GLint maxShaders, GLint *numShaders) { CALL_GL_API(glExtGetShadersQCOM, shaders, maxShaders, numShaders); } -void API_ENTRY(glExtGetProgramsQCOM)(GLuint * programs, GLint maxPrograms, GLint * numPrograms) { +void API_ENTRY(glExtGetProgramsQCOM)(GLuint *programs, GLint maxPrograms, GLint *numPrograms) { CALL_GL_API(glExtGetProgramsQCOM, programs, maxPrograms, numPrograms); } GLboolean API_ENTRY(glExtIsProgramBinaryQCOM)(GLuint program) { CALL_GL_API_RETURN(glExtIsProgramBinaryQCOM, program); } -void API_ENTRY(glExtGetProgramBinarySourceQCOM)(GLuint program, GLenum shadertype, GLchar * source, GLint * length) { +void API_ENTRY(glExtGetProgramBinarySourceQCOM)(GLuint program, GLenum shadertype, GLchar *source, GLint *length) { CALL_GL_API(glExtGetProgramBinarySourceQCOM, program, shadertype, source, length); } void API_ENTRY(glStartTilingQCOM)(GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask) { |