am d6f9b9b: Merge change 529 into donut
Merge commit 'd6f9b9babae9b8ebf1fee8c98135b17e42c577f2' * commit 'd6f9b9babae9b8ebf1fee8c98135b17e42c577f2': use gl.h to generate the *.in files. we are now supporting the full gl.h and glext.h apis.
This commit is contained in:
committed by
The Android Open Source Project
commit
d7047b0ca1
@@ -143,6 +143,7 @@ static void gl_unimplemented() {
|
||||
|
||||
static char const * const gl_names[] = {
|
||||
#include "gl_entries.in"
|
||||
#include "glext_entries.in"
|
||||
NULL
|
||||
};
|
||||
|
||||
@@ -315,11 +316,6 @@ void *load_driver(const char* driver, gl_hooks_t* hooks)
|
||||
api = gl_names;
|
||||
while (*api) {
|
||||
char const * name = *api;
|
||||
// if the function starts with '__' it's a special case that
|
||||
// uses a wrapper. skip the '__' when looking into the real lib.
|
||||
if (name[0] == '_' && name[1] == '_') {
|
||||
name += 2;
|
||||
}
|
||||
__eglMustCastToProperFunctionPointerType f =
|
||||
(__eglMustCastToProperFunctionPointerType)dlsym(dso, name);
|
||||
if (f == NULL) {
|
||||
|
||||
@@ -101,6 +101,7 @@ void glVertexPointerBounds(GLint size, GLenum type,
|
||||
|
||||
extern "C" {
|
||||
#include "gl_api.in"
|
||||
#include "glext_api.in"
|
||||
}
|
||||
|
||||
#undef API_ENTRY
|
||||
@@ -109,8 +110,8 @@ extern "C" {
|
||||
|
||||
|
||||
/*
|
||||
* These GL calls are special because they need to EGL to retrieve some
|
||||
* informations before they can execute.
|
||||
* These GL calls are special because they need to call into EGL to retrieve
|
||||
* some informations before they can execute.
|
||||
*/
|
||||
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
270
opengl/libs/GLES_CM/glext_api.in
Normal file
270
opengl/libs/GLES_CM/glext_api.in
Normal file
@@ -0,0 +1,270 @@
|
||||
void API_ENTRY(glBlendEquationSeparateOES)(GLenum modeRGB, GLenum modeAlpha) {
|
||||
CALL_GL_API(glBlendEquationSeparateOES, modeRGB, modeAlpha);
|
||||
}
|
||||
void API_ENTRY(glBlendFuncSeparateOES)(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) {
|
||||
CALL_GL_API(glBlendFuncSeparateOES, srcRGB, dstRGB, srcAlpha, dstAlpha);
|
||||
}
|
||||
void API_ENTRY(glBlendEquationOES)(GLenum mode) {
|
||||
CALL_GL_API(glBlendEquationOES, mode);
|
||||
}
|
||||
void API_ENTRY(glDrawTexsOES)(GLshort x, GLshort y, GLshort z, GLshort width, GLshort height) {
|
||||
CALL_GL_API(glDrawTexsOES, x, y, z, width, height);
|
||||
}
|
||||
void API_ENTRY(glDrawTexiOES)(GLint x, GLint y, GLint z, GLint width, GLint height) {
|
||||
CALL_GL_API(glDrawTexiOES, x, y, z, width, height);
|
||||
}
|
||||
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) {
|
||||
CALL_GL_API(glDrawTexsvOES, coords);
|
||||
}
|
||||
void API_ENTRY(glDrawTexivOES)(const GLint *coords) {
|
||||
CALL_GL_API(glDrawTexivOES, 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) {
|
||||
CALL_GL_API(glDrawTexfvOES, coords);
|
||||
}
|
||||
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)(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) {
|
||||
CALL_GL_API(glClearColorxOES, red, green, blue, alpha);
|
||||
}
|
||||
void API_ENTRY(glClearDepthxOES)(GLclampx depth) {
|
||||
CALL_GL_API(glClearDepthxOES, depth);
|
||||
}
|
||||
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)(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 *params) {
|
||||
CALL_GL_API(glFogxvOES, pname, params);
|
||||
}
|
||||
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 pname, GLfixed eqn[4]) {
|
||||
CALL_GL_API(glGetClipPlanexOES, pname, eqn);
|
||||
}
|
||||
void API_ENTRY(glGetFixedvOES)(GLenum pname, GLfixed *params) {
|
||||
CALL_GL_API(glGetFixedvOES, 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) {
|
||||
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 *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) {
|
||||
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) {
|
||||
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 *params) {
|
||||
CALL_GL_API(glMaterialxvOES, face, pname, params);
|
||||
}
|
||||
void API_ENTRY(glMultMatrixxOES)(const GLfixed *m) {
|
||||
CALL_GL_API(glMultMatrixxOES, m);
|
||||
}
|
||||
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 left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar) {
|
||||
CALL_GL_API(glOrthoxOES, left, right, bottom, top, zNear, zFar);
|
||||
}
|
||||
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) {
|
||||
CALL_GL_API(glPointSizexOES, size);
|
||||
}
|
||||
void API_ENTRY(glPolygonOffsetxOES)(GLfixed factor, GLfixed units) {
|
||||
CALL_GL_API(glPolygonOffsetxOES, factor, units);
|
||||
}
|
||||
void API_ENTRY(glRotatexOES)(GLfixed angle, GLfixed x, GLfixed y, GLfixed z) {
|
||||
CALL_GL_API(glRotatexOES, angle, x, y, z);
|
||||
}
|
||||
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);
|
||||
}
|
||||
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) {
|
||||
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) {
|
||||
CALL_GL_API(glTexParameterxvOES, target, pname, params);
|
||||
}
|
||||
void API_ENTRY(glTranslatexOES)(GLfixed x, GLfixed y, GLfixed z) {
|
||||
CALL_GL_API(glTranslatexOES, x, y, z);
|
||||
}
|
||||
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) {
|
||||
CALL_GL_API(glDeleteRenderbuffersOES, n, 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) {
|
||||
CALL_GL_API(glGetRenderbufferParameterivOES, target, pname, params);
|
||||
}
|
||||
GLboolean API_ENTRY(glIsFramebufferOES)(GLuint framebuffer) {
|
||||
CALL_GL_API_RETURN(glIsFramebufferOES, framebuffer);
|
||||
}
|
||||
void API_ENTRY(glBindFramebufferOES)(GLenum target, GLuint framebuffer) {
|
||||
CALL_GL_API(glBindFramebufferOES, target, framebuffer);
|
||||
}
|
||||
void API_ENTRY(glDeleteFramebuffersOES)(GLsizei n, const GLuint* framebuffers) {
|
||||
CALL_GL_API(glDeleteFramebuffersOES, n, framebuffers);
|
||||
}
|
||||
void API_ENTRY(glGenFramebuffersOES)(GLsizei n, GLuint* framebuffers) {
|
||||
CALL_GL_API(glGenFramebuffersOES, n, framebuffers);
|
||||
}
|
||||
GLenum API_ENTRY(glCheckFramebufferStatusOES)(GLenum target) {
|
||||
CALL_GL_API_RETURN(glCheckFramebufferStatusOES, target);
|
||||
}
|
||||
void API_ENTRY(glFramebufferRenderbufferOES)(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) {
|
||||
CALL_GL_API(glFramebufferRenderbufferOES, target, attachment, renderbuffertarget, renderbuffer);
|
||||
}
|
||||
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) {
|
||||
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) {
|
||||
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) {
|
||||
CALL_GL_API(glGetBufferPointervOES, target, pname, params);
|
||||
}
|
||||
void API_ENTRY(glCurrentPaletteMatrixOES)(GLuint matrixpaletteindex) {
|
||||
CALL_GL_API(glCurrentPaletteMatrixOES, matrixpaletteindex);
|
||||
}
|
||||
void API_ENTRY(glLoadPaletteFromModelViewMatrixOES)(void) {
|
||||
CALL_GL_API(glLoadPaletteFromModelViewMatrixOES);
|
||||
}
|
||||
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 GLvoid *pointer) {
|
||||
CALL_GL_API(glWeightPointerOES, size, type, stride, pointer);
|
||||
}
|
||||
GLbitfield API_ENTRY(glQueryMatrixxOES)(GLfixed mantissa[16], GLint exponent[16]) {
|
||||
CALL_GL_API_RETURN(glQueryMatrixxOES, mantissa, exponent);
|
||||
}
|
||||
void API_ENTRY(glDepthRangefOES)(GLclampf zNear, GLclampf zFar) {
|
||||
CALL_GL_API(glDepthRangefOES, zNear, zFar);
|
||||
}
|
||||
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(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(glClipPlanefOES)(GLenum plane, const GLfloat *equation) {
|
||||
CALL_GL_API(glClipPlanefOES, plane, equation);
|
||||
}
|
||||
void API_ENTRY(glGetClipPlanefOES)(GLenum pname, GLfloat eqn[4]) {
|
||||
CALL_GL_API(glGetClipPlanefOES, pname, eqn);
|
||||
}
|
||||
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) {
|
||||
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) {
|
||||
CALL_GL_API(glTexGenivOES, 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);
|
||||
}
|
||||
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) {
|
||||
CALL_GL_API(glGetTexGenivOES, coord, pname, params);
|
||||
}
|
||||
void API_ENTRY(glGetTexGenxvOES)(GLenum coord, GLenum pname, GLfixed *params) {
|
||||
CALL_GL_API(glGetTexGenxvOES, coord, pname, params);
|
||||
}
|
||||
@@ -1,194 +1,145 @@
|
||||
GL_ENTRY(void, glColor4f, GLfloat, GLfloat, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glColor4x, GLfixed, GLfixed, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glNormal3f, GLfloat, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glNormal3x, GLfixed, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glCullFace, GLenum)
|
||||
GL_ENTRY(void, glFrontFace, GLenum)
|
||||
GL_ENTRY(void, glDisable, GLenum)
|
||||
GL_ENTRY(void, glEnable, GLenum)
|
||||
GL_ENTRY(void, glAlphaFunc, GLenum func, GLclampf ref)
|
||||
GL_ENTRY(void, glClearColor, GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
|
||||
GL_ENTRY(void, glClearDepthf, GLclampf depth)
|
||||
GL_ENTRY(void, glClipPlanef, GLenum plane, const GLfloat *equation)
|
||||
GL_ENTRY(void, glColor4f, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
|
||||
GL_ENTRY(void, glDepthRangef, GLclampf zNear, GLclampf zFar)
|
||||
GL_ENTRY(void, glFogf, GLenum pname, GLfloat param)
|
||||
GL_ENTRY(void, glFogfv, GLenum pname, const GLfloat *params)
|
||||
GL_ENTRY(void, glFrustumf, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar)
|
||||
GL_ENTRY(void, glGetClipPlanef, GLenum pname, GLfloat eqn[4])
|
||||
GL_ENTRY(void, glGetFloatv, GLenum pname, GLfloat *params)
|
||||
GL_ENTRY(void, glGetLightfv, GLenum light, GLenum pname, GLfloat *params)
|
||||
GL_ENTRY(void, glGetMaterialfv, GLenum face, GLenum pname, GLfloat *params)
|
||||
GL_ENTRY(void, glGetTexEnvfv, GLenum env, GLenum pname, GLfloat *params)
|
||||
GL_ENTRY(void, glGetTexParameterfv, GLenum target, GLenum pname, GLfloat *params)
|
||||
GL_ENTRY(void, glLightModelf, GLenum pname, GLfloat param)
|
||||
GL_ENTRY(void, glLightModelfv, GLenum pname, const GLfloat *params)
|
||||
GL_ENTRY(void, glLightf, GLenum light, GLenum pname, GLfloat param)
|
||||
GL_ENTRY(void, glLightfv, GLenum light, GLenum pname, const GLfloat *params)
|
||||
GL_ENTRY(void, glLineWidth, GLfloat width)
|
||||
GL_ENTRY(void, glLoadMatrixf, const GLfloat *m)
|
||||
GL_ENTRY(void, glMaterialf, GLenum face, GLenum pname, GLfloat param)
|
||||
GL_ENTRY(void, glMaterialfv, GLenum face, GLenum pname, const GLfloat *params)
|
||||
GL_ENTRY(void, glMultMatrixf, const GLfloat *m)
|
||||
GL_ENTRY(void, glMultiTexCoord4f, GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
|
||||
GL_ENTRY(void, glNormal3f, GLfloat nx, GLfloat ny, GLfloat nz)
|
||||
GL_ENTRY(void, glOrthof, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar)
|
||||
GL_ENTRY(void, glPointParameterf, GLenum pname, GLfloat param)
|
||||
GL_ENTRY(void, glPointParameterfv, GLenum pname, const GLfloat *params)
|
||||
GL_ENTRY(void, glPointSize, GLfloat size)
|
||||
GL_ENTRY(void, glPolygonOffset, GLfloat factor, GLfloat units)
|
||||
GL_ENTRY(void, glRotatef, GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
|
||||
GL_ENTRY(void, glScalef, GLfloat x, GLfloat y, GLfloat z)
|
||||
GL_ENTRY(void, glTexEnvf, GLenum target, GLenum pname, GLfloat param)
|
||||
GL_ENTRY(void, glTexEnvfv, GLenum target, GLenum pname, const GLfloat *params)
|
||||
GL_ENTRY(void, glTexParameterf, GLenum target, GLenum pname, GLfloat param)
|
||||
GL_ENTRY(void, glTexParameterfv, GLenum target, GLenum pname, const GLfloat *params)
|
||||
GL_ENTRY(void, glTranslatef, GLfloat x, GLfloat y, GLfloat z)
|
||||
GL_ENTRY(void, glActiveTexture, GLenum texture)
|
||||
GL_ENTRY(void, glAlphaFuncx, GLenum func, GLclampx ref)
|
||||
GL_ENTRY(void, glBindBuffer, GLenum target, GLuint buffer)
|
||||
GL_ENTRY(void, glBindTexture, GLenum target, GLuint texture)
|
||||
GL_ENTRY(void, glBlendFunc, GLenum sfactor, GLenum dfactor)
|
||||
GL_ENTRY(void, glBufferData, GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
|
||||
GL_ENTRY(void, glBufferSubData, GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
|
||||
GL_ENTRY(void, glClear, GLbitfield mask)
|
||||
GL_ENTRY(void, glClearColorx, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha)
|
||||
GL_ENTRY(void, glClearDepthx, GLclampx depth)
|
||||
GL_ENTRY(void, glClearStencil, GLint s)
|
||||
GL_ENTRY(void, glClientActiveTexture, GLenum texture)
|
||||
GL_ENTRY(void, glClipPlanex, GLenum plane, const GLfixed *equation)
|
||||
GL_ENTRY(void, glColor4ub, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
|
||||
GL_ENTRY(void, glColor4x, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
|
||||
GL_ENTRY(void, glColorMask, GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
|
||||
GL_ENTRY(void, glColorPointer, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
GL_ENTRY(void, glCompressedTexImage2D, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
|
||||
GL_ENTRY(void, glCompressedTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
|
||||
GL_ENTRY(void, glCopyTexImage2D, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
|
||||
GL_ENTRY(void, glCopyTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
|
||||
GL_ENTRY(void, glCullFace, GLenum mode)
|
||||
GL_ENTRY(void, glDeleteBuffers, GLsizei n, const GLuint *buffers)
|
||||
GL_ENTRY(void, glDeleteTextures, GLsizei n, const GLuint *textures)
|
||||
GL_ENTRY(void, glDepthFunc, GLenum func)
|
||||
GL_ENTRY(void, glDepthMask, GLboolean flag)
|
||||
GL_ENTRY(void, glDepthRangex, GLclampx zNear, GLclampx zFar)
|
||||
GL_ENTRY(void, glDisable, GLenum cap)
|
||||
GL_ENTRY(void, glDisableClientState, GLenum array)
|
||||
GL_ENTRY(void, glDrawArrays, GLenum mode, GLint first, GLsizei count)
|
||||
GL_ENTRY(void, glDrawElements, GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
|
||||
GL_ENTRY(void, glEnable, GLenum cap)
|
||||
GL_ENTRY(void, glEnableClientState, GLenum array)
|
||||
GL_ENTRY(void, glFinish, void)
|
||||
GL_ENTRY(void, glFlush, void)
|
||||
GL_ENTRY(void, glFogx, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glFogxv, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glFrontFace, GLenum mode)
|
||||
GL_ENTRY(void, glFrustumx, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar)
|
||||
GL_ENTRY(void, glGetBooleanv, GLenum pname, GLboolean *params)
|
||||
GL_ENTRY(void, glGetBufferParameteriv, GLenum target, GLenum pname, GLint *params)
|
||||
GL_ENTRY(void, glGetClipPlanex, GLenum pname, GLfixed eqn[4])
|
||||
GL_ENTRY(void, glGenBuffers, GLsizei n, GLuint *buffers)
|
||||
GL_ENTRY(void, glGenTextures, GLsizei n, GLuint *textures)
|
||||
GL_ENTRY(GLenum, glGetError, void)
|
||||
GL_ENTRY(const GLubyte*, glGetString, GLenum)
|
||||
GL_ENTRY(void, glGetIntegerv, GLenum, GLint *)
|
||||
GL_ENTRY(void, glColorMask, GLboolean, GLboolean, GLboolean, GLboolean)
|
||||
GL_ENTRY(void, glDepthMask, GLboolean)
|
||||
GL_ENTRY(void, glStencilMask, GLuint)
|
||||
GL_ENTRY(void, glDepthFunc, GLenum)
|
||||
GL_ENTRY(void, glDepthRangef, GLclampf, GLclampf)
|
||||
GL_ENTRY(void, glDepthRangex, GLclampx, GLclampx)
|
||||
GL_ENTRY(void, glPolygonOffset, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glPolygonOffsetx, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glLogicOp, GLenum)
|
||||
GL_ENTRY(void, glAlphaFuncx, GLenum, GLclampx)
|
||||
GL_ENTRY(void, glAlphaFunc, GLenum, GLclampf)
|
||||
GL_ENTRY(void, glBlendFunc, GLenum, GLenum)
|
||||
GL_ENTRY(void, glClear, GLbitfield)
|
||||
GL_ENTRY(void, glClearColor, GLclampf, GLclampf, GLclampf, GLclampf)
|
||||
GL_ENTRY(void, glClearColorx, GLclampx, GLclampx, GLclampx, GLclampx)
|
||||
GL_ENTRY(void, glClearDepthf, GLclampf)
|
||||
GL_ENTRY(void, glClearDepthx, GLclampx)
|
||||
GL_ENTRY(void, glClearStencil, GLint)
|
||||
GL_ENTRY(void, glPointSize, GLfloat)
|
||||
GL_ENTRY(void, glPointSizex, GLfixed)
|
||||
GL_ENTRY(void, glSampleCoverage, GLclampf, GLboolean)
|
||||
GL_ENTRY(void, glSampleCoveragex, GLclampx, GLboolean)
|
||||
GL_ENTRY(void, glStencilFunc, GLenum, GLint, GLuint)
|
||||
GL_ENTRY(void, glStencilOp, GLenum, GLenum, GLenum)
|
||||
GL_ENTRY(void, glScissor, GLint, GLint, GLsizei, GLsizei)
|
||||
GL_ENTRY(void, glHint, GLenum, GLenum)
|
||||
GL_ENTRY(void, glLineWidth, GLfloat)
|
||||
GL_ENTRY(void, glLineWidthx, GLfixed)
|
||||
GL_ENTRY(void, glShadeModel, GLenum)
|
||||
GL_ENTRY(void, glLightModelf, GLenum, GLfloat)
|
||||
GL_ENTRY(void, glLightModelfv, GLenum, const GLfloat *)
|
||||
GL_ENTRY(void, glLightModelx, GLenum, GLfixed)
|
||||
GL_ENTRY(void, glLightModelxv, GLenum, const GLfixed *)
|
||||
GL_ENTRY(void, glLightf, GLenum, GLenum, GLfloat)
|
||||
GL_ENTRY(void, glLightfv, GLenum, GLenum, const GLfloat *)
|
||||
GL_ENTRY(void, glLightx, GLenum, GLenum, GLfixed)
|
||||
GL_ENTRY(void, glLightxv, GLenum, GLenum, const GLfixed *)
|
||||
GL_ENTRY(void, glMaterialf, GLenum, GLenum, GLfloat)
|
||||
GL_ENTRY(void, glMaterialfv, GLenum, GLenum, const GLfloat *)
|
||||
GL_ENTRY(void, glMaterialx, GLenum, GLenum, GLfixed)
|
||||
GL_ENTRY(void, glMaterialxv, GLenum, GLenum, const GLfixed *)
|
||||
GL_ENTRY(void, glFogf, GLenum, GLfloat)
|
||||
GL_ENTRY(void, glFogfv, GLenum, const GLfloat *)
|
||||
GL_ENTRY(void, glFogx, GLenum, GLfixed)
|
||||
GL_ENTRY(void, glFogxv, GLenum, const GLfixed *)
|
||||
GL_ENTRY(void, glVertexPointer, GLint, GLenum, GLsizei, const GLvoid *)
|
||||
GL_ENTRY(void, glColorPointer, GLint, GLenum, GLsizei, const GLvoid *)
|
||||
GL_ENTRY(void, glNormalPointer, GLenum, GLsizei, const GLvoid *)
|
||||
GL_ENTRY(void, glTexCoordPointer, GLint, GLenum, GLsizei, const GLvoid *)
|
||||
GL_ENTRY(void, glEnableClientState, GLenum)
|
||||
GL_ENTRY(void, glDisableClientState, GLenum)
|
||||
GL_ENTRY(void, glClientActiveTexture, GLenum)
|
||||
GL_ENTRY(void, glDrawArrays, GLenum, GLint, GLsizei)
|
||||
GL_ENTRY(void, glDrawElements, GLenum, GLsizei, GLenum, const GLvoid *)
|
||||
GL_ENTRY(void, glGetFixedv, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glGetIntegerv, GLenum pname, GLint *params)
|
||||
GL_ENTRY(void, glGetLightxv, GLenum light, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glGetMaterialxv, GLenum face, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glGetPointerv, GLenum pname, void **params)
|
||||
GL_ENTRY(const GLubyte *, glGetString, GLenum name)
|
||||
GL_ENTRY(void, glGetTexEnviv, GLenum env, GLenum pname, GLint *params)
|
||||
GL_ENTRY(void, glGetTexEnvxv, GLenum env, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glGetTexParameteriv, GLenum target, GLenum pname, GLint *params)
|
||||
GL_ENTRY(void, glGetTexParameterxv, GLenum target, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glHint, GLenum target, GLenum mode)
|
||||
GL_ENTRY(GLboolean, glIsBuffer, GLuint buffer)
|
||||
GL_ENTRY(GLboolean, glIsEnabled, GLenum cap)
|
||||
GL_ENTRY(GLboolean, glIsTexture, GLuint texture)
|
||||
GL_ENTRY(void, glLightModelx, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glLightModelxv, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glLightx, GLenum light, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glLightxv, GLenum light, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glLineWidthx, GLfixed width)
|
||||
GL_ENTRY(void, glLoadIdentity, void)
|
||||
GL_ENTRY(void, glLoadMatrixf, const GLfloat*)
|
||||
GL_ENTRY(void, glLoadMatrixx, const GLfixed*)
|
||||
GL_ENTRY(void, glMatrixMode, GLenum)
|
||||
GL_ENTRY(void, glMultMatrixf, const GLfloat*)
|
||||
GL_ENTRY(void, glMultMatrixx, const GLfixed*)
|
||||
GL_ENTRY(void, glLoadMatrixx, const GLfixed *m)
|
||||
GL_ENTRY(void, glLogicOp, GLenum opcode)
|
||||
GL_ENTRY(void, glMaterialx, GLenum face, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glMaterialxv, GLenum face, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glMatrixMode, GLenum mode)
|
||||
GL_ENTRY(void, glMultMatrixx, const GLfixed *m)
|
||||
GL_ENTRY(void, glMultiTexCoord4x, GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q)
|
||||
GL_ENTRY(void, glNormal3x, GLfixed nx, GLfixed ny, GLfixed nz)
|
||||
GL_ENTRY(void, glNormalPointer, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
GL_ENTRY(void, glOrthox, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar)
|
||||
GL_ENTRY(void, glPixelStorei, GLenum pname, GLint param)
|
||||
GL_ENTRY(void, glPointParameterx, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glPointParameterxv, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glPointSizex, GLfixed size)
|
||||
GL_ENTRY(void, glPolygonOffsetx, GLfixed factor, GLfixed units)
|
||||
GL_ENTRY(void, glPopMatrix, void)
|
||||
GL_ENTRY(void, glPushMatrix, void)
|
||||
GL_ENTRY(void, glFrustumf, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glFrustumx, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glOrthof, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glOrthox, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glRotatef, GLfloat, GLfloat, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glRotatex, GLfixed, GLfixed, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glScalef, GLfloat, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glScalex, GLfixed, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glTranslatef, GLfloat, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glTranslatex, GLfixed, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glViewport, GLint, GLint, GLsizei, GLsizei)
|
||||
GL_ENTRY(void, glActiveTexture, GLenum)
|
||||
GL_ENTRY(void, glBindTexture, GLenum, GLuint)
|
||||
GL_ENTRY(void, glGenTextures, GLsizei, GLuint*)
|
||||
GL_ENTRY(void, glDeleteTextures, GLsizei, const GLuint *)
|
||||
GL_ENTRY(void, glMultiTexCoord4f, GLenum, GLfloat, GLfloat, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glMultiTexCoord4x, GLenum, GLfixed, GLfixed, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glPixelStorei, GLenum, GLint)
|
||||
GL_ENTRY(void, glTexEnvf, GLenum, GLenum, GLfloat)
|
||||
GL_ENTRY(void, glTexEnvfv, GLenum, GLenum, const GLfloat*)
|
||||
GL_ENTRY(void, glTexEnvx, GLenum, GLenum, GLfixed)
|
||||
GL_ENTRY(void, glTexEnvxv, GLenum, GLenum, const GLfixed*)
|
||||
GL_ENTRY(void, glTexParameterf, GLenum, GLenum, GLfloat)
|
||||
GL_ENTRY(void, glTexParameterx, GLenum, GLenum, GLfixed)
|
||||
GL_ENTRY(void, glCompressedTexImage2D, GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const GLvoid*)
|
||||
GL_ENTRY(void, glCompressedTexSubImage2D, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLsizei, const GLvoid*)
|
||||
GL_ENTRY(void, glCopyTexImage2D, GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)
|
||||
GL_ENTRY(void, glCopyTexSubImage2D, GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)
|
||||
GL_ENTRY(void, glTexImage2D, GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*)
|
||||
GL_ENTRY(void, glTexSubImage2D, GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid*)
|
||||
GL_ENTRY(void, glReadPixels, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)
|
||||
|
||||
// 1.1 additions
|
||||
GL_ENTRY(void, glClipPlanef, GLenum, const GLfloat*)
|
||||
GL_ENTRY(void, glClipPlanex, GLenum, const GLfixed*)
|
||||
GL_ENTRY(void, glBindBuffer, GLenum, GLuint)
|
||||
GL_ENTRY(void, glBufferData, GLenum, GLsizeiptr, const GLvoid*, GLenum)
|
||||
GL_ENTRY(void, glBufferSubData, GLenum, GLintptr, GLsizeiptr, const GLvoid*)
|
||||
GL_ENTRY(void, glDeleteBuffers, GLsizei, const GLuint*)
|
||||
GL_ENTRY(void, glGenBuffers, GLsizei, GLuint*)
|
||||
GL_ENTRY(void, glGetBooleanv, GLenum, GLboolean *)
|
||||
GL_ENTRY(void, glGetFixedv, GLenum, GLfixed *)
|
||||
GL_ENTRY(void, glGetFloatv, GLenum, GLfloat *)
|
||||
GL_ENTRY(void, glGetPointerv, GLenum, void **)
|
||||
GL_ENTRY(void, glGetBufferParameteriv, GLenum, GLenum, GLint *)
|
||||
GL_ENTRY(void, glGetClipPlanef, GLenum, GLfloat[4])
|
||||
GL_ENTRY(void, glGetClipPlanex, GLenum, GLfixed[4])
|
||||
GL_ENTRY(void, glGetLightxv, GLenum, GLenum, GLfixed *)
|
||||
GL_ENTRY(void, glGetLightfv, GLenum, GLenum, GLfloat *)
|
||||
GL_ENTRY(void, glGetMaterialxv, GLenum, GLenum, GLfixed *)
|
||||
GL_ENTRY(void, glGetMaterialfv, GLenum, GLenum, GLfloat *)
|
||||
GL_ENTRY(void, glGetTexEnvfv, GLenum, GLenum, GLfloat *)
|
||||
GL_ENTRY(void, glGetTexEnviv, GLenum, GLenum, GLint *)
|
||||
GL_ENTRY(void, glGetTexEnvxv, GLenum, GLenum, GLfixed *)
|
||||
GL_ENTRY(void, glGetTexParameterfv, GLenum, GLenum, GLfloat *)
|
||||
GL_ENTRY(void, glGetTexParameteriv, GLenum, GLenum, GLint *)
|
||||
GL_ENTRY(void, glGetTexParameterxv, GLenum, GLenum, GLfixed *)
|
||||
GL_ENTRY(GLboolean, glIsBuffer, GLuint)
|
||||
GL_ENTRY(GLboolean, glIsEnabled, GLenum)
|
||||
GL_ENTRY(GLboolean, glIsTexture, GLuint)
|
||||
GL_ENTRY(void, glPointParameterf, GLenum, GLfloat)
|
||||
GL_ENTRY(void, glPointParameterfv, GLenum, const GLfloat *)
|
||||
GL_ENTRY(void, glPointParameterx, GLenum, GLfixed)
|
||||
GL_ENTRY(void, glPointParameterxv, GLenum, const GLfixed *)
|
||||
GL_ENTRY(void, glColor4ub, GLubyte, GLubyte, GLubyte, GLubyte)
|
||||
GL_ENTRY(void, glTexEnvi, GLenum, GLenum, GLint)
|
||||
GL_ENTRY(void, glTexEnviv, GLenum, GLenum, const GLint *)
|
||||
GL_ENTRY(void, glTexParameterfv, GLenum, GLenum, const GLfloat *)
|
||||
GL_ENTRY(void, glTexParameteriv, GLenum, GLenum, const GLint *)
|
||||
GL_ENTRY(void, glTexParameteri, GLenum, GLenum, GLint)
|
||||
GL_ENTRY(void, glTexParameterxv, GLenum, GLenum, const GLfixed *)
|
||||
GL_ENTRY(void, glPointSizePointerOES, GLenum, GLsizei, const GLvoid*)
|
||||
|
||||
// Extensions
|
||||
GL_ENTRY(void, glDrawTexsOES, GLshort, GLshort, GLshort, GLshort, GLshort)
|
||||
GL_ENTRY(void, glDrawTexiOES, GLint, GLint, GLint, GLint, GLint)
|
||||
GL_ENTRY(void, glDrawTexfOES, GLfloat, GLfloat, GLfloat, GLfloat, GLfloat)
|
||||
GL_ENTRY(void, glDrawTexxOES, GLfixed, GLfixed, GLfixed, GLfixed, GLfixed)
|
||||
GL_ENTRY(void, glDrawTexsvOES, const GLshort*)
|
||||
GL_ENTRY(void, glDrawTexivOES, const GLint*)
|
||||
GL_ENTRY(void, glDrawTexfvOES, const GLfloat*)
|
||||
GL_ENTRY(void, glDrawTexxvOES, const GLfixed*)
|
||||
GL_ENTRY(GLbitfield, glQueryMatrixxOES, GLfixed*, GLint*)
|
||||
GL_ENTRY(void, __glEGLImageTargetTexture2DOES, GLenum, GLeglImageOES)
|
||||
GL_ENTRY(void, __glEGLImageTargetRenderbufferStorageOES, GLenum, GLeglImageOES)
|
||||
GL_ENTRY(void, glBlendEquationSeparateOES, GLenum, GLenum)
|
||||
GL_ENTRY(void, glBlendFuncSeparateOES, GLenum, GLenum, GLenum, GLenum)
|
||||
GL_ENTRY(void, glBlendEquationOES, GLenum)
|
||||
GL_ENTRY(GLboolean, glIsRenderbufferOES, GLuint)
|
||||
GL_ENTRY(void, glBindRenderbufferOES, GLenum, GLuint)
|
||||
GL_ENTRY(void, glDeleteRenderbuffersOES, GLsizei, const GLuint*)
|
||||
GL_ENTRY(void, glGenRenderbuffersOES, GLsizei, GLuint*)
|
||||
GL_ENTRY(void, glRenderbufferStorageOES, GLenum, GLenum, GLsizei, GLsizei)
|
||||
GL_ENTRY(void, glGetRenderbufferParameterivOES, GLenum, GLenum, GLint*)
|
||||
GL_ENTRY(GLboolean, glIsFramebufferOES, GLuint)
|
||||
GL_ENTRY(void, glBindFramebufferOES, GLenum, GLuint)
|
||||
GL_ENTRY(void, glDeleteFramebuffersOES, GLsizei, const GLuint*)
|
||||
GL_ENTRY(void, glGenFramebuffersOES, GLsizei, GLuint*)
|
||||
GL_ENTRY(GLenum, glCheckFramebufferStatusOES, GLenum)
|
||||
GL_ENTRY(void, glFramebufferRenderbufferOES, GLenum, GLenum, GLenum, GLuint)
|
||||
GL_ENTRY(void, glFramebufferTexture2DOES, GLenum, GLenum, GLenum, GLuint, GLint)
|
||||
GL_ENTRY(void, glGetFramebufferAttachmentParameterivOES, GLenum, GLenum, GLenum, GLint*)
|
||||
GL_ENTRY(void, glGenerateMipmapOES, GLenum)
|
||||
GL_ENTRY(void*, glMapBufferOES, GLenum, GLenum)
|
||||
GL_ENTRY(GLboolean, glUnmapBufferOES, GLenum)
|
||||
GL_ENTRY(void, glGetBufferPointervOES, GLenum, GLenum, void**)
|
||||
GL_ENTRY(void, glCurrentPaletteMatrixOES, GLuint)
|
||||
GL_ENTRY(void, glLoadPaletteFromModelViewMatrixOES, void)
|
||||
GL_ENTRY(void, glMatrixIndexPointerOES, GLint, GLenum, GLsizei, const GLvoid *)
|
||||
GL_ENTRY(void, glWeightPointerOES, GLint, GLenum, GLsizei, const GLvoid *)
|
||||
GL_ENTRY(void, glTexGenfOES, GLenum, GLenum, GLfloat)
|
||||
GL_ENTRY(void, glTexGenfvOES, GLenum, GLenum, const GLfloat *)
|
||||
GL_ENTRY(void, glTexGeniOES, GLenum, GLenum, GLint)
|
||||
GL_ENTRY(void, glTexGenivOES, GLenum, GLenum, const GLint *)
|
||||
GL_ENTRY(void, glTexGenxOES, GLenum, GLenum, GLfixed)
|
||||
GL_ENTRY(void, glTexGenxvOES, GLenum, GLenum, const GLfixed *)
|
||||
GL_ENTRY(void, glGetTexGenfvOES, GLenum, GLenum, GLfloat *)
|
||||
GL_ENTRY(void, glGetTexGenivOES, GLenum, GLenum, GLint *)
|
||||
GL_ENTRY(void, glGetTexGenxvOES, GLenum, GLenum, GLfixed *)
|
||||
GL_ENTRY(void, glReadPixels, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
|
||||
GL_ENTRY(void, glRotatex, GLfixed angle, GLfixed x, GLfixed y, GLfixed z)
|
||||
GL_ENTRY(void, glSampleCoverage, GLclampf value, GLboolean invert)
|
||||
GL_ENTRY(void, glSampleCoveragex, GLclampx value, GLboolean invert)
|
||||
GL_ENTRY(void, glScalex, GLfixed x, GLfixed y, GLfixed z)
|
||||
GL_ENTRY(void, glScissor, GLint x, GLint y, GLsizei width, GLsizei height)
|
||||
GL_ENTRY(void, glShadeModel, GLenum mode)
|
||||
GL_ENTRY(void, glStencilFunc, GLenum func, GLint ref, GLuint mask)
|
||||
GL_ENTRY(void, glStencilMask, GLuint mask)
|
||||
GL_ENTRY(void, glStencilOp, GLenum fail, GLenum zfail, GLenum zpass)
|
||||
GL_ENTRY(void, glTexCoordPointer, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
GL_ENTRY(void, glTexEnvi, GLenum target, GLenum pname, GLint param)
|
||||
GL_ENTRY(void, glTexEnvx, GLenum target, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glTexEnviv, GLenum target, GLenum pname, const GLint *params)
|
||||
GL_ENTRY(void, glTexEnvxv, GLenum target, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glTexImage2D, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
|
||||
GL_ENTRY(void, glTexParameteri, GLenum target, GLenum pname, GLint param)
|
||||
GL_ENTRY(void, glTexParameterx, GLenum target, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glTexParameteriv, GLenum target, GLenum pname, const GLint *params)
|
||||
GL_ENTRY(void, glTexParameterxv, GLenum target, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glTexSubImage2D, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
|
||||
GL_ENTRY(void, glTranslatex, GLfixed x, GLfixed y, GLfixed z)
|
||||
GL_ENTRY(void, glVertexPointer, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
GL_ENTRY(void, glViewport, GLint x, GLint y, GLsizei width, GLsizei height)
|
||||
GL_ENTRY(void, glPointSizePointerOES, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
/*
|
||||
** Copyright 2007, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ANDROID_GL_LOGGER_H
|
||||
#define ANDROID_GL_LOGGER_H
|
||||
|
||||
namespace android {
|
||||
#define GL_ENTRY(r, api, ...) r log_##api(__VA_ARGS__);
|
||||
#include "gl_entries.in"
|
||||
#undef GL_ENTRY
|
||||
}; // namespace android
|
||||
|
||||
#endif /* ANDROID_GL_LOGGER_H */
|
||||
90
opengl/libs/glext_entries.in
Normal file
90
opengl/libs/glext_entries.in
Normal file
@@ -0,0 +1,90 @@
|
||||
GL_ENTRY(void, glBlendEquationSeparateOES, GLenum modeRGB, GLenum modeAlpha)
|
||||
GL_ENTRY(void, glBlendFuncSeparateOES, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
|
||||
GL_ENTRY(void, glBlendEquationOES, GLenum mode)
|
||||
GL_ENTRY(void, glDrawTexsOES, GLshort x, GLshort y, GLshort z, GLshort width, GLshort height)
|
||||
GL_ENTRY(void, glDrawTexiOES, GLint x, GLint y, GLint z, GLint width, GLint height)
|
||||
GL_ENTRY(void, glDrawTexxOES, GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height)
|
||||
GL_ENTRY(void, glDrawTexsvOES, const GLshort *coords)
|
||||
GL_ENTRY(void, glDrawTexivOES, const GLint *coords)
|
||||
GL_ENTRY(void, glDrawTexxvOES, const GLfixed *coords)
|
||||
GL_ENTRY(void, glDrawTexfOES, GLfloat x, GLfloat y, GLfloat z, GLfloat width, GLfloat height)
|
||||
GL_ENTRY(void, glDrawTexfvOES, const GLfloat *coords)
|
||||
GL_ENTRY(void, glEGLImageTargetTexture2DOES, GLenum target, GLeglImageOES image)
|
||||
GL_ENTRY(void, glEGLImageTargetRenderbufferStorageOES, GLenum target, GLeglImageOES image)
|
||||
GL_ENTRY(void, glAlphaFuncxOES, GLenum func, GLclampx ref)
|
||||
GL_ENTRY(void, glClearColorxOES, GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha)
|
||||
GL_ENTRY(void, glClearDepthxOES, GLclampx depth)
|
||||
GL_ENTRY(void, glClipPlanexOES, GLenum plane, const GLfixed *equation)
|
||||
GL_ENTRY(void, glColor4xOES, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha)
|
||||
GL_ENTRY(void, glDepthRangexOES, GLclampx zNear, GLclampx zFar)
|
||||
GL_ENTRY(void, glFogxOES, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glFogxvOES, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glFrustumxOES, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar)
|
||||
GL_ENTRY(void, glGetClipPlanexOES, GLenum pname, GLfixed eqn[4])
|
||||
GL_ENTRY(void, glGetFixedvOES, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glGetLightxvOES, GLenum light, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glGetMaterialxvOES, GLenum face, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glGetTexEnvxvOES, GLenum env, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glGetTexParameterxvOES, GLenum target, GLenum pname, GLfixed *params)
|
||||
GL_ENTRY(void, glLightModelxOES, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glLightModelxvOES, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glLightxOES, GLenum light, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glLightxvOES, GLenum light, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glLineWidthxOES, GLfixed width)
|
||||
GL_ENTRY(void, glLoadMatrixxOES, const GLfixed *m)
|
||||
GL_ENTRY(void, glMaterialxOES, GLenum face, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glMaterialxvOES, GLenum face, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glMultMatrixxOES, const GLfixed *m)
|
||||
GL_ENTRY(void, glMultiTexCoord4xOES, GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q)
|
||||
GL_ENTRY(void, glNormal3xOES, GLfixed nx, GLfixed ny, GLfixed nz)
|
||||
GL_ENTRY(void, glOrthoxOES, GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar)
|
||||
GL_ENTRY(void, glPointParameterxOES, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glPointParameterxvOES, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glPointSizexOES, GLfixed size)
|
||||
GL_ENTRY(void, glPolygonOffsetxOES, GLfixed factor, GLfixed units)
|
||||
GL_ENTRY(void, glRotatexOES, GLfixed angle, GLfixed x, GLfixed y, GLfixed z)
|
||||
GL_ENTRY(void, glSampleCoveragexOES, GLclampx value, GLboolean invert)
|
||||
GL_ENTRY(void, glScalexOES, GLfixed x, GLfixed y, GLfixed z)
|
||||
GL_ENTRY(void, glTexEnvxOES, GLenum target, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glTexEnvxvOES, GLenum target, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glTexParameterxOES, GLenum target, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glTexParameterxvOES, GLenum target, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glTranslatexOES, GLfixed x, GLfixed y, GLfixed z)
|
||||
GL_ENTRY(GLboolean, glIsRenderbufferOES, GLuint renderbuffer)
|
||||
GL_ENTRY(void, glBindRenderbufferOES, GLenum target, GLuint renderbuffer)
|
||||
GL_ENTRY(void, glDeleteRenderbuffersOES, GLsizei n, const GLuint* renderbuffers)
|
||||
GL_ENTRY(void, glGenRenderbuffersOES, GLsizei n, GLuint* renderbuffers)
|
||||
GL_ENTRY(void, glRenderbufferStorageOES, GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
|
||||
GL_ENTRY(void, glGetRenderbufferParameterivOES, GLenum target, GLenum pname, GLint* params)
|
||||
GL_ENTRY(GLboolean, glIsFramebufferOES, GLuint framebuffer)
|
||||
GL_ENTRY(void, glBindFramebufferOES, GLenum target, GLuint framebuffer)
|
||||
GL_ENTRY(void, glDeleteFramebuffersOES, GLsizei n, const GLuint* framebuffers)
|
||||
GL_ENTRY(void, glGenFramebuffersOES, GLsizei n, GLuint* framebuffers)
|
||||
GL_ENTRY(GLenum, glCheckFramebufferStatusOES, GLenum target)
|
||||
GL_ENTRY(void, glFramebufferRenderbufferOES, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
|
||||
GL_ENTRY(void, glFramebufferTexture2DOES, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
|
||||
GL_ENTRY(void, glGetFramebufferAttachmentParameterivOES, GLenum target, GLenum attachment, GLenum pname, GLint* params)
|
||||
GL_ENTRY(void, glGenerateMipmapOES, GLenum target)
|
||||
GL_ENTRY(void*, glMapBufferOES, GLenum target, GLenum access)
|
||||
GL_ENTRY(GLboolean, glUnmapBufferOES, GLenum target)
|
||||
GL_ENTRY(void, glGetBufferPointervOES, GLenum target, GLenum pname, void** params)
|
||||
GL_ENTRY(void, glCurrentPaletteMatrixOES, GLuint matrixpaletteindex)
|
||||
GL_ENTRY(void, glLoadPaletteFromModelViewMatrixOES, void)
|
||||
GL_ENTRY(void, glMatrixIndexPointerOES, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
GL_ENTRY(void, glWeightPointerOES, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
|
||||
GL_ENTRY(GLbitfield, glQueryMatrixxOES, GLfixed mantissa[16], GLint exponent[16])
|
||||
GL_ENTRY(void, glDepthRangefOES, GLclampf zNear, GLclampf zFar)
|
||||
GL_ENTRY(void, glFrustumfOES, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar)
|
||||
GL_ENTRY(void, glOrthofOES, GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar)
|
||||
GL_ENTRY(void, glClipPlanefOES, GLenum plane, const GLfloat *equation)
|
||||
GL_ENTRY(void, glGetClipPlanefOES, GLenum pname, GLfloat eqn[4])
|
||||
GL_ENTRY(void, glClearDepthfOES, GLclampf depth)
|
||||
GL_ENTRY(void, glTexGenfOES, GLenum coord, GLenum pname, GLfloat param)
|
||||
GL_ENTRY(void, glTexGenfvOES, GLenum coord, GLenum pname, const GLfloat *params)
|
||||
GL_ENTRY(void, glTexGeniOES, GLenum coord, GLenum pname, GLint param)
|
||||
GL_ENTRY(void, glTexGenivOES, GLenum coord, GLenum pname, const GLint *params)
|
||||
GL_ENTRY(void, glTexGenxOES, GLenum coord, GLenum pname, GLfixed param)
|
||||
GL_ENTRY(void, glTexGenxvOES, GLenum coord, GLenum pname, const GLfixed *params)
|
||||
GL_ENTRY(void, glGetTexGenfvOES, GLenum coord, GLenum pname, GLfloat *params)
|
||||
GL_ENTRY(void, glGetTexGenivOES, GLenum coord, GLenum pname, GLint *params)
|
||||
GL_ENTRY(void, glGetTexGenxvOES, GLenum coord, GLenum pname, GLfixed *params)
|
||||
@@ -77,6 +77,7 @@ enum {
|
||||
struct gl_hooks_t {
|
||||
struct gl_t {
|
||||
#include "gl_entries.in"
|
||||
#include "glext_entries.in"
|
||||
} gl;
|
||||
struct egl_t {
|
||||
#include "egl_entries.in"
|
||||
|
||||
20
opengl/libs/tools/genfiles
Executable file
20
opengl/libs/tools/genfiles
Executable file
@@ -0,0 +1,20 @@
|
||||
#! /bin/sh
|
||||
#
|
||||
# Copyright (C) 2008 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
./glapigen ../../include/GLES/gl.h > ../GLES_CM/gl_api.in
|
||||
./glentrygen ../../include/GLES/gl.h > ../gl_entries.in
|
||||
./glapigen ../../include/GLES/glext.h > ../GLES_CM/glext_api.in
|
||||
./glentrygen ../../include/GLES/glext.h > ../glext_entries.in
|
||||
@@ -16,50 +16,57 @@
|
||||
|
||||
use strict;
|
||||
|
||||
my $lineNum = 0;
|
||||
while (my $line = <>) {
|
||||
$lineNum += 1;
|
||||
next if $line =~ /^\//;
|
||||
next if $line =~ /^#/;
|
||||
next if $line =~ /^\s*$/;
|
||||
if ($line !~ /^GL_ENTRY\(([^,]+),\s*([^,]+),\s*([^)]+)\)/) {
|
||||
printf STDERR "Cannot parse line number $lineNum:\n$line";
|
||||
if ($line !~ /^GL_API\s+(.+)\s+GL_APIENTRY\s+([\w]+)\s*\(([^\)]+)\);/) {
|
||||
next;
|
||||
}
|
||||
my $type = $1;
|
||||
my $name = $2;
|
||||
my $args = $3;
|
||||
|
||||
printf("%s API_ENTRY(%s)(", $type, $name);
|
||||
my @args = split ',', $args;
|
||||
|
||||
my $len = scalar(@args);
|
||||
for (my $num = 0; $num < $len; $num++) {
|
||||
print ", " if $num > 0;
|
||||
my $arg = $args[$num];
|
||||
if ($arg =~ /([^]]+)(\[[^]]\])/) {
|
||||
my $argtype = $1;
|
||||
my $array = $2;
|
||||
printf("%s arg%d%s", $argtype, $num, $array);
|
||||
} else {
|
||||
if ($arg eq "void") {
|
||||
printf("void");
|
||||
} else {
|
||||
printf("%s arg%d", $arg, $num);
|
||||
}
|
||||
}
|
||||
#printf("%s", $line);
|
||||
|
||||
my $prefix = "";
|
||||
if ($name eq "glEGLImageTargetTexture2DOES") {
|
||||
$prefix = "__";
|
||||
}
|
||||
printf(") {\n");
|
||||
if ($name eq "glEGLImageTargetRenderbufferStorageOES") {
|
||||
$prefix = "__";
|
||||
}
|
||||
|
||||
printf("%s API_ENTRY(%s%s)(%s)", $type, $prefix, $name, $args);
|
||||
|
||||
printf(" {\n");
|
||||
if ($type eq "void") {
|
||||
printf(" CALL_GL_API(%s", $name);
|
||||
} else {
|
||||
printf(" CALL_GL_API_RETURN(%s", $name);
|
||||
}
|
||||
my @args = split ',', $args;
|
||||
my $len = scalar(@args);
|
||||
for (my $num = 0; $num < $len; $num++) {
|
||||
if ($args[$num] ne "void") {
|
||||
print ", ";
|
||||
printf("arg%d", $num);
|
||||
#
|
||||
# extract the name from the parameter
|
||||
# type name
|
||||
# const type *name
|
||||
# type *name
|
||||
# type name[4]
|
||||
#
|
||||
if ($args[$num] =~ /(\S+\s)+\**\s*([\w]+)/) {
|
||||
printf("%s", $2);
|
||||
}
|
||||
}
|
||||
}
|
||||
printf(");\n}\n\n");
|
||||
printf(");\n");
|
||||
printf("}\n");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
31
opengl/libs/tools/glentrygen
Executable file
31
opengl/libs/tools/glentrygen
Executable file
@@ -0,0 +1,31 @@
|
||||
#! /usr/bin/perl
|
||||
#
|
||||
# Copyright (C) 2008 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
use strict;
|
||||
|
||||
while (my $line = <>) {
|
||||
next if $line =~ /^\//;
|
||||
next if $line =~ /^#/;
|
||||
next if $line =~ /^\s*$/;
|
||||
if ($line !~ /^GL_API\s+(.+)\s+GL_APIENTRY\s+([\w]+)\s*\(([^\)]+)\);/) {
|
||||
next;
|
||||
}
|
||||
my $type = $1;
|
||||
my $name = $2;
|
||||
my $args = $3;
|
||||
|
||||
printf("GL_ENTRY(%s, %s, %s)\n", $type, $name, $args);
|
||||
}
|
||||
Reference in New Issue
Block a user