diff options
50 files changed, 97147 insertions, 0 deletions
diff --git a/C2J/gl-disp-fetch-auto.hc b/C2J/gl-disp-fetch-auto.hc new file mode 100644 index 0000000..0a63dbe --- /dev/null +++ b/C2J/gl-disp-fetch-auto.hc @@ -0,0 +1,1319 @@ +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + + disp__glClearIndex = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glClearIndex"); + + disp__glClearColor = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + GET_GL_PROCADDRESS ("glClearColor"); + + disp__glClear = (void (CALLBACK *)(GLbitfield)) + GET_GL_PROCADDRESS ("glClear"); + + disp__glIndexMask = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glIndexMask"); + + disp__glColorMask = (void (CALLBACK *)(GLboolean, GLboolean, GLboolean, GLboolean)) + GET_GL_PROCADDRESS ("glColorMask"); + + disp__glAlphaFunc = (void (CALLBACK *)(GLenum, GLclampf)) + GET_GL_PROCADDRESS ("glAlphaFunc"); + + disp__glBlendFunc = (void (CALLBACK *)(GLenum, GLenum)) + GET_GL_PROCADDRESS ("glBlendFunc"); + + disp__glLogicOp = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glLogicOp"); + + disp__glCullFace = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glCullFace"); + + disp__glFrontFace = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glFrontFace"); + + disp__glPointSize = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glPointSize"); + + disp__glLineWidth = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glLineWidth"); + + disp__glLineStipple = (void (CALLBACK *)(GLint, GLushort)) + GET_GL_PROCADDRESS ("glLineStipple"); + + disp__glPolygonMode = (void (CALLBACK *)(GLenum, GLenum)) + GET_GL_PROCADDRESS ("glPolygonMode"); + + disp__glPolygonOffset = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glPolygonOffset"); + + disp__glPolygonStipple = (void (CALLBACK *)(const GLubyte *)) + GET_GL_PROCADDRESS ("glPolygonStipple"); + + disp__glGetPolygonStipple = (void (CALLBACK *)(GLubyte *)) + GET_GL_PROCADDRESS ("glGetPolygonStipple"); + + disp__glEdgeFlag = (void (CALLBACK *)(GLboolean)) + GET_GL_PROCADDRESS ("glEdgeFlag"); + + disp__glEdgeFlagv = (void (CALLBACK *)(const GLboolean *)) + GET_GL_PROCADDRESS ("glEdgeFlagv"); + + disp__glScissor = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glScissor"); + + disp__glClipPlane = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glClipPlane"); + + disp__glGetClipPlane = (void (CALLBACK *)(GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("glGetClipPlane"); + + disp__glDrawBuffer = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glDrawBuffer"); + + disp__glReadBuffer = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glReadBuffer"); + + disp__glEnable = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glEnable"); + + disp__glDisable = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glDisable"); + + disp__glIsEnabled = (GLboolean (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glIsEnabled"); + + disp__glEnableClientState = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glEnableClientState"); + + disp__glDisableClientState = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glDisableClientState"); + + disp__glGetBooleanv = (void (CALLBACK *)(GLenum, GLboolean *)) + GET_GL_PROCADDRESS ("glGetBooleanv"); + + disp__glGetDoublev = (void (CALLBACK *)(GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("glGetDoublev"); + + disp__glGetFloatv = (void (CALLBACK *)(GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetFloatv"); + + disp__glGetIntegerv = (void (CALLBACK *)(GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetIntegerv"); + + disp__glPushAttrib = (void (CALLBACK *)(GLbitfield)) + GET_GL_PROCADDRESS ("glPushAttrib"); + + disp__glPopAttrib = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPopAttrib"); + + disp__glPushClientAttrib = (void (CALLBACK *)(GLbitfield)) + GET_GL_PROCADDRESS ("glPushClientAttrib"); + + disp__glPopClientAttrib = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPopClientAttrib"); + + disp__glRenderMode = (GLint (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glRenderMode"); + + disp__glGetError = (GLenum (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glGetError"); + + disp__glFinish = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glFinish"); + + disp__glFlush = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glFlush"); + + disp__glHint = (void (CALLBACK *)(GLenum, GLenum)) + GET_GL_PROCADDRESS ("glHint"); + + disp__glClearDepth = (void (CALLBACK *)(GLclampd)) + GET_GL_PROCADDRESS ("glClearDepth"); + + disp__glDepthFunc = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glDepthFunc"); + + disp__glDepthMask = (void (CALLBACK *)(GLboolean)) + GET_GL_PROCADDRESS ("glDepthMask"); + + disp__glDepthRange = (void (CALLBACK *)(GLclampd, GLclampd)) + GET_GL_PROCADDRESS ("glDepthRange"); + + disp__glClearAccum = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glClearAccum"); + + disp__glAccum = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glAccum"); + + disp__glMatrixMode = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glMatrixMode"); + + disp__glOrtho = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glOrtho"); + + disp__glFrustum = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glFrustum"); + + disp__glViewport = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glViewport"); + + disp__glPushMatrix = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPushMatrix"); + + disp__glPopMatrix = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPopMatrix"); + + disp__glLoadIdentity = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glLoadIdentity"); + + disp__glLoadMatrixd = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glLoadMatrixd"); + + disp__glLoadMatrixf = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glLoadMatrixf"); + + disp__glMultMatrixd = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glMultMatrixd"); + + disp__glMultMatrixf = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glMultMatrixf"); + + disp__glRotated = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRotated"); + + disp__glRotatef = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRotatef"); + + disp__glScaled = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glScaled"); + + disp__glScalef = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glScalef"); + + disp__glTranslated = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glTranslated"); + + disp__glTranslatef = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glTranslatef"); + + disp__glIsList = (GLboolean (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glIsList"); + + disp__glDeleteLists = (void (CALLBACK *)(GLuint, GLsizei)) + GET_GL_PROCADDRESS ("glDeleteLists"); + + disp__glGenLists = (GLuint (CALLBACK *)(GLsizei)) + GET_GL_PROCADDRESS ("glGenLists"); + + disp__glNewList = (void (CALLBACK *)(GLuint, GLenum)) + GET_GL_PROCADDRESS ("glNewList"); + + disp__glEndList = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glEndList"); + + disp__glCallList = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glCallList"); + + disp__glCallLists = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glCallLists"); + + disp__glListBase = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glListBase"); + + disp__glBegin = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glBegin"); + + disp__glEnd = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glEnd"); + + disp__glVertex2d = (void (CALLBACK *)(GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glVertex2d"); + + disp__glVertex2f = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glVertex2f"); + + disp__glVertex2i = (void (CALLBACK *)(GLint, GLint)) + GET_GL_PROCADDRESS ("glVertex2i"); + + disp__glVertex2s = (void (CALLBACK *)(GLshort, GLshort)) + GET_GL_PROCADDRESS ("glVertex2s"); + + disp__glVertex3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glVertex3d"); + + disp__glVertex3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glVertex3f"); + + disp__glVertex3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glVertex3i"); + + disp__glVertex3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glVertex3s"); + + disp__glVertex4d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glVertex4d"); + + disp__glVertex4f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glVertex4f"); + + disp__glVertex4i = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glVertex4i"); + + disp__glVertex4s = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glVertex4s"); + + disp__glVertex2dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glVertex2dv"); + + disp__glVertex2fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glVertex2fv"); + + disp__glVertex2iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glVertex2iv"); + + disp__glVertex2sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glVertex2sv"); + + disp__glVertex3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glVertex3dv"); + + disp__glVertex3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glVertex3fv"); + + disp__glVertex3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glVertex3iv"); + + disp__glVertex3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glVertex3sv"); + + disp__glVertex4dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glVertex4dv"); + + disp__glVertex4fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glVertex4fv"); + + disp__glVertex4iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glVertex4iv"); + + disp__glVertex4sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glVertex4sv"); + + disp__glNormal3b = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + GET_GL_PROCADDRESS ("glNormal3b"); + + disp__glNormal3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glNormal3d"); + + disp__glNormal3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glNormal3f"); + + disp__glNormal3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glNormal3i"); + + disp__glNormal3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glNormal3s"); + + disp__glNormal3bv = (void (CALLBACK *)(const GLbyte *)) + GET_GL_PROCADDRESS ("glNormal3bv"); + + disp__glNormal3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glNormal3dv"); + + disp__glNormal3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glNormal3fv"); + + disp__glNormal3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glNormal3iv"); + + disp__glNormal3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glNormal3sv"); + + disp__glIndexd = (void (CALLBACK *)(GLdouble)) + GET_GL_PROCADDRESS ("glIndexd"); + + disp__glIndexf = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glIndexf"); + + disp__glIndexi = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glIndexi"); + + disp__glIndexs = (void (CALLBACK *)(GLshort)) + GET_GL_PROCADDRESS ("glIndexs"); + + disp__glIndexub = (void (CALLBACK *)(GLubyte)) + GET_GL_PROCADDRESS ("glIndexub"); + + disp__glIndexdv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glIndexdv"); + + disp__glIndexfv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glIndexfv"); + + disp__glIndexiv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glIndexiv"); + + disp__glIndexsv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glIndexsv"); + + disp__glIndexubv = (void (CALLBACK *)(const GLubyte *)) + GET_GL_PROCADDRESS ("glIndexubv"); + + disp__glColor3b = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + GET_GL_PROCADDRESS ("glColor3b"); + + disp__glColor3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glColor3d"); + + disp__glColor3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glColor3f"); + + disp__glColor3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glColor3i"); + + disp__glColor3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glColor3s"); + + disp__glColor3ub = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte)) + GET_GL_PROCADDRESS ("glColor3ub"); + + disp__glColor3ui = (void (CALLBACK *)(GLuint, GLuint, GLuint)) + GET_GL_PROCADDRESS ("glColor3ui"); + + disp__glColor3us = (void (CALLBACK *)(GLushort, GLushort, GLushort)) + GET_GL_PROCADDRESS ("glColor3us"); + + disp__glColor4b = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte, GLbyte)) + GET_GL_PROCADDRESS ("glColor4b"); + + disp__glColor4d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glColor4d"); + + disp__glColor4f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glColor4f"); + + disp__glColor4i = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glColor4i"); + + disp__glColor4s = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glColor4s"); + + disp__glColor4ub = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte, GLubyte)) + GET_GL_PROCADDRESS ("glColor4ub"); + + disp__glColor4ui = (void (CALLBACK *)(GLuint, GLuint, GLuint, GLuint)) + GET_GL_PROCADDRESS ("glColor4ui"); + + disp__glColor4us = (void (CALLBACK *)(GLushort, GLushort, GLushort, GLushort)) + GET_GL_PROCADDRESS ("glColor4us"); + + disp__glColor3bv = (void (CALLBACK *)(const GLbyte *)) + GET_GL_PROCADDRESS ("glColor3bv"); + + disp__glColor3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glColor3dv"); + + disp__glColor3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glColor3fv"); + + disp__glColor3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glColor3iv"); + + disp__glColor3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glColor3sv"); + + disp__glColor3ubv = (void (CALLBACK *)(const GLubyte *)) + GET_GL_PROCADDRESS ("glColor3ubv"); + + disp__glColor3uiv = (void (CALLBACK *)(const GLuint *)) + GET_GL_PROCADDRESS ("glColor3uiv"); + + disp__glColor3usv = (void (CALLBACK *)(const GLushort *)) + GET_GL_PROCADDRESS ("glColor3usv"); + + disp__glColor4bv = (void (CALLBACK *)(const GLbyte *)) + GET_GL_PROCADDRESS ("glColor4bv"); + + disp__glColor4dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glColor4dv"); + + disp__glColor4fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glColor4fv"); + + disp__glColor4iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glColor4iv"); + + disp__glColor4sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glColor4sv"); + + disp__glColor4ubv = (void (CALLBACK *)(const GLubyte *)) + GET_GL_PROCADDRESS ("glColor4ubv"); + + disp__glColor4uiv = (void (CALLBACK *)(const GLuint *)) + GET_GL_PROCADDRESS ("glColor4uiv"); + + disp__glColor4usv = (void (CALLBACK *)(const GLushort *)) + GET_GL_PROCADDRESS ("glColor4usv"); + + disp__glTexCoord1d = (void (CALLBACK *)(GLdouble)) + GET_GL_PROCADDRESS ("glTexCoord1d"); + + disp__glTexCoord1f = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glTexCoord1f"); + + disp__glTexCoord1i = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glTexCoord1i"); + + disp__glTexCoord1s = (void (CALLBACK *)(GLshort)) + GET_GL_PROCADDRESS ("glTexCoord1s"); + + disp__glTexCoord2d = (void (CALLBACK *)(GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glTexCoord2d"); + + disp__glTexCoord2f = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glTexCoord2f"); + + disp__glTexCoord2i = (void (CALLBACK *)(GLint, GLint)) + GET_GL_PROCADDRESS ("glTexCoord2i"); + + disp__glTexCoord2s = (void (CALLBACK *)(GLshort, GLshort)) + GET_GL_PROCADDRESS ("glTexCoord2s"); + + disp__glTexCoord3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glTexCoord3d"); + + disp__glTexCoord3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glTexCoord3f"); + + disp__glTexCoord3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glTexCoord3i"); + + disp__glTexCoord3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glTexCoord3s"); + + disp__glTexCoord4d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glTexCoord4d"); + + disp__glTexCoord4f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glTexCoord4f"); + + disp__glTexCoord4i = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glTexCoord4i"); + + disp__glTexCoord4s = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glTexCoord4s"); + + disp__glTexCoord1dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glTexCoord1dv"); + + disp__glTexCoord1fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glTexCoord1fv"); + + disp__glTexCoord1iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glTexCoord1iv"); + + disp__glTexCoord1sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glTexCoord1sv"); + + disp__glTexCoord2dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glTexCoord2dv"); + + disp__glTexCoord2fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glTexCoord2fv"); + + disp__glTexCoord2iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glTexCoord2iv"); + + disp__glTexCoord2sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glTexCoord2sv"); + + disp__glTexCoord3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glTexCoord3dv"); + + disp__glTexCoord3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glTexCoord3fv"); + + disp__glTexCoord3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glTexCoord3iv"); + + disp__glTexCoord3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glTexCoord3sv"); + + disp__glTexCoord4dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glTexCoord4dv"); + + disp__glTexCoord4fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glTexCoord4fv"); + + disp__glTexCoord4iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glTexCoord4iv"); + + disp__glTexCoord4sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glTexCoord4sv"); + + disp__glRasterPos2d = (void (CALLBACK *)(GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRasterPos2d"); + + disp__glRasterPos2f = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRasterPos2f"); + + disp__glRasterPos2i = (void (CALLBACK *)(GLint, GLint)) + GET_GL_PROCADDRESS ("glRasterPos2i"); + + disp__glRasterPos2s = (void (CALLBACK *)(GLshort, GLshort)) + GET_GL_PROCADDRESS ("glRasterPos2s"); + + disp__glRasterPos3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRasterPos3d"); + + disp__glRasterPos3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRasterPos3f"); + + disp__glRasterPos3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glRasterPos3i"); + + disp__glRasterPos3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glRasterPos3s"); + + disp__glRasterPos4d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRasterPos4d"); + + disp__glRasterPos4f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRasterPos4f"); + + disp__glRasterPos4i = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glRasterPos4i"); + + disp__glRasterPos4s = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glRasterPos4s"); + + disp__glRasterPos2dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glRasterPos2dv"); + + disp__glRasterPos2fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glRasterPos2fv"); + + disp__glRasterPos2iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glRasterPos2iv"); + + disp__glRasterPos2sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glRasterPos2sv"); + + disp__glRasterPos3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glRasterPos3dv"); + + disp__glRasterPos3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glRasterPos3fv"); + + disp__glRasterPos3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glRasterPos3iv"); + + disp__glRasterPos3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glRasterPos3sv"); + + disp__glRasterPos4dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glRasterPos4dv"); + + disp__glRasterPos4fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glRasterPos4fv"); + + disp__glRasterPos4iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glRasterPos4iv"); + + disp__glRasterPos4sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glRasterPos4sv"); + + disp__glRectd = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRectd"); + + disp__glRectf = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRectf"); + + disp__glRecti = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glRecti"); + + disp__glRects = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glRects"); + + disp__glRectdv = (void (CALLBACK *)(const GLdouble *, const GLdouble *)) + GET_GL_PROCADDRESS ("glRectdv"); + + disp__glRectfv = (void (CALLBACK *)(const GLfloat *, const GLfloat *)) + GET_GL_PROCADDRESS ("glRectfv"); + + disp__glRectiv = (void (CALLBACK *)(const GLint *, const GLint *)) + GET_GL_PROCADDRESS ("glRectiv"); + + disp__glRectsv = (void (CALLBACK *)(const GLshort *, const GLshort *)) + GET_GL_PROCADDRESS ("glRectsv"); + + disp__glVertexPointer = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glVertexPointer"); + + disp__glNormalPointer = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glNormalPointer"); + + disp__glColorPointer = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorPointer"); + + disp__glIndexPointer = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glIndexPointer"); + + disp__glTexCoordPointer = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexCoordPointer"); + + disp__glEdgeFlagPointer = (void (CALLBACK *)(GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glEdgeFlagPointer"); + + disp__glGetPointerv = (void (CALLBACK *)(GLenum, void **)) + GET_GL_PROCADDRESS ("glGetPointerv"); + + disp__glArrayElement = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glArrayElement"); + + disp__glDrawArrays = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glDrawArrays"); + + disp__glDrawElements = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glDrawElements"); + + disp__glInterleavedArrays = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glInterleavedArrays"); + + disp__glShadeModel = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glShadeModel"); + + disp__glLightf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glLightf"); + + disp__glLighti = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glLighti"); + + disp__glLightfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glLightfv"); + + disp__glLightiv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glLightiv"); + + disp__glGetLightfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetLightfv"); + + disp__glGetLightiv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetLightiv"); + + disp__glLightModelf = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glLightModelf"); + + disp__glLightModeli = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glLightModeli"); + + disp__glLightModelfv = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glLightModelfv"); + + disp__glLightModeliv = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glLightModeliv"); + + disp__glMaterialf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glMaterialf"); + + disp__glMateriali = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glMateriali"); + + disp__glMaterialfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMaterialfv"); + + disp__glMaterialiv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMaterialiv"); + + disp__glGetMaterialfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetMaterialfv"); + + disp__glGetMaterialiv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetMaterialiv"); + + disp__glColorMaterial = (void (CALLBACK *)(GLenum, GLenum)) + GET_GL_PROCADDRESS ("glColorMaterial"); + + disp__glPixelZoom = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glPixelZoom"); + + disp__glPixelStoref = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glPixelStoref"); + + disp__glPixelStorei = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glPixelStorei"); + + disp__glPixelTransferf = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glPixelTransferf"); + + disp__glPixelTransferi = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glPixelTransferi"); + + disp__glPixelMapfv = (void (CALLBACK *)(GLenum, GLint, const GLfloat *)) + GET_GL_PROCADDRESS ("glPixelMapfv"); + + disp__glPixelMapuiv = (void (CALLBACK *)(GLenum, GLint, const GLuint *)) + GET_GL_PROCADDRESS ("glPixelMapuiv"); + + disp__glPixelMapusv = (void (CALLBACK *)(GLenum, GLint, const GLushort *)) + GET_GL_PROCADDRESS ("glPixelMapusv"); + + disp__glGetPixelMapfv = (void (CALLBACK *)(GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetPixelMapfv"); + + disp__glGetPixelMapuiv = (void (CALLBACK *)(GLenum, GLuint *)) + GET_GL_PROCADDRESS ("glGetPixelMapuiv"); + + disp__glGetPixelMapusv = (void (CALLBACK *)(GLenum, GLushort *)) + GET_GL_PROCADDRESS ("glGetPixelMapusv"); + + disp__glBitmap = (void (CALLBACK *)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *)) + GET_GL_PROCADDRESS ("glBitmap"); + + disp__glReadPixels = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glReadPixels"); + + disp__glDrawPixels = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glDrawPixels"); + + disp__glCopyPixels = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum)) + GET_GL_PROCADDRESS ("glCopyPixels"); + + disp__glStencilFunc = (void (CALLBACK *)(GLenum, GLint, GLuint)) + GET_GL_PROCADDRESS ("glStencilFunc"); + + disp__glStencilMask = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glStencilMask"); + + disp__glStencilOp = (void (CALLBACK *)(GLenum, GLenum, GLenum)) + GET_GL_PROCADDRESS ("glStencilOp"); + + disp__glClearStencil = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glClearStencil"); + + disp__glTexGend = (void (CALLBACK *)(GLenum, GLenum, GLdouble)) + GET_GL_PROCADDRESS ("glTexGend"); + + disp__glTexGenf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glTexGenf"); + + disp__glTexGeni = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glTexGeni"); + + disp__glTexGendv = (void (CALLBACK *)(GLenum, GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glTexGendv"); + + disp__glTexGenfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glTexGenfv"); + + disp__glTexGeniv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glTexGeniv"); + + disp__glGetTexGendv = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("glGetTexGendv"); + + disp__glGetTexGenfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetTexGenfv"); + + disp__glGetTexGeniv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetTexGeniv"); + + disp__glTexEnvf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glTexEnvf"); + + disp__glTexEnvi = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glTexEnvi"); + + disp__glTexEnvfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glTexEnvfv"); + + disp__glTexEnviv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glTexEnviv"); + + disp__glGetTexEnvfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetTexEnvfv"); + + disp__glGetTexEnviv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetTexEnviv"); + + disp__glTexParameterf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glTexParameterf"); + + disp__glTexParameteri = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glTexParameteri"); + + disp__glTexParameterfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glTexParameterfv"); + + disp__glTexParameteriv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glTexParameteriv"); + + disp__glGetTexParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetTexParameterfv"); + + disp__glGetTexParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetTexParameteriv"); + + disp__glGetTexLevelParameterfv = (void (CALLBACK *)(GLenum, GLint, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetTexLevelParameterfv"); + + disp__glGetTexLevelParameteriv = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetTexLevelParameteriv"); + + disp__glTexImage1D = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexImage1D"); + + disp__glTexImage2D = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexImage2D"); + + disp__glGetTexImage = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetTexImage"); + + disp__glGenTextures = (void (CALLBACK *)(GLsizei, GLuint *)) + GET_GL_PROCADDRESS ("glGenTextures"); + + disp__glDeleteTextures = (void (CALLBACK *)(GLsizei, const GLuint *)) + GET_GL_PROCADDRESS ("glDeleteTextures"); + + disp__glBindTexture = (void (CALLBACK *)(GLenum, GLuint)) + GET_GL_PROCADDRESS ("glBindTexture"); + + disp__glPrioritizeTextures = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) + GET_GL_PROCADDRESS ("glPrioritizeTextures"); + + disp__glAreTexturesResident = (GLboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) + GET_GL_PROCADDRESS ("glAreTexturesResident"); + + disp__glIsTexture = (GLboolean (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glIsTexture"); + + disp__glTexSubImage1D = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexSubImage1D"); + + disp__glTexSubImage2D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexSubImage2D"); + + disp__glCopyTexImage1D = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) + GET_GL_PROCADDRESS ("glCopyTexImage1D"); + + disp__glCopyTexImage2D = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) + GET_GL_PROCADDRESS ("glCopyTexImage2D"); + + disp__glCopyTexSubImage1D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glCopyTexSubImage1D"); + + disp__glCopyTexSubImage2D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glCopyTexSubImage2D"); + + disp__glMap1d = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) + GET_GL_PROCADDRESS ("glMap1d"); + + disp__glMap1f = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) + GET_GL_PROCADDRESS ("glMap1f"); + + disp__glMap2d = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) + GET_GL_PROCADDRESS ("glMap2d"); + + disp__glMap2f = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) + GET_GL_PROCADDRESS ("glMap2f"); + + disp__glGetMapdv = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("glGetMapdv"); + + disp__glGetMapfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetMapfv"); + + disp__glGetMapiv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetMapiv"); + + disp__glEvalCoord1d = (void (CALLBACK *)(GLdouble)) + GET_GL_PROCADDRESS ("glEvalCoord1d"); + + disp__glEvalCoord1f = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glEvalCoord1f"); + + disp__glEvalCoord1dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glEvalCoord1dv"); + + disp__glEvalCoord1fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glEvalCoord1fv"); + + disp__glEvalCoord2d = (void (CALLBACK *)(GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glEvalCoord2d"); + + disp__glEvalCoord2f = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glEvalCoord2f"); + + disp__glEvalCoord2dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glEvalCoord2dv"); + + disp__glEvalCoord2fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glEvalCoord2fv"); + + disp__glMapGrid1d = (void (CALLBACK *)(GLint, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMapGrid1d"); + + disp__glMapGrid1f = (void (CALLBACK *)(GLint, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMapGrid1f"); + + disp__glMapGrid2d = (void (CALLBACK *)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMapGrid2d"); + + disp__glMapGrid2f = (void (CALLBACK *)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMapGrid2f"); + + disp__glEvalPoint1 = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glEvalPoint1"); + + disp__glEvalPoint2 = (void (CALLBACK *)(GLint, GLint)) + GET_GL_PROCADDRESS ("glEvalPoint2"); + + disp__glEvalMesh1 = (void (CALLBACK *)(GLenum, GLint, GLint)) + GET_GL_PROCADDRESS ("glEvalMesh1"); + + disp__glEvalMesh2 = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glEvalMesh2"); + + disp__glFogf = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glFogf"); + + disp__glFogi = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glFogi"); + + disp__glFogfv = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glFogfv"); + + disp__glFogiv = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glFogiv"); + + disp__glFeedbackBuffer = (void (CALLBACK *)(GLsizei, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glFeedbackBuffer"); + + disp__glPassThrough = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glPassThrough"); + + disp__glSelectBuffer = (void (CALLBACK *)(GLsizei, GLuint *)) + GET_GL_PROCADDRESS ("glSelectBuffer"); + + disp__glInitNames = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glInitNames"); + + disp__glLoadName = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glLoadName"); + + disp__glPushName = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glPushName"); + + disp__glPopName = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPopName"); + + disp__glDrawRangeElements = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glDrawRangeElements"); + + disp__glTexImage3D = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexImage3D"); + + disp__glTexSubImage3D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexSubImage3D"); + + disp__glCopyTexSubImage3D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glCopyTexSubImage3D"); + + disp__glColorTable = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorTable"); + + disp__glColorSubTable = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorSubTable"); + + disp__glColorTableParameteriv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glColorTableParameteriv"); + + disp__glColorTableParameterfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glColorTableParameterfv"); + + disp__glCopyColorSubTable = (void (CALLBACK *)(GLenum, GLsizei, GLint, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glCopyColorSubTable"); + + disp__glCopyColorTable = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glCopyColorTable"); + + disp__glGetColorTable = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetColorTable"); + + disp__glGetColorTableParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetColorTableParameterfv"); + + disp__glGetColorTableParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetColorTableParameteriv"); + + disp__glBlendEquation = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glBlendEquation"); + + disp__glBlendColor = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + GET_GL_PROCADDRESS ("glBlendColor"); + + disp__glHistogram = (void (CALLBACK *)(GLenum, GLsizei, GLenum, GLboolean)) + GET_GL_PROCADDRESS ("glHistogram"); + + disp__glResetHistogram = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glResetHistogram"); + + disp__glGetHistogram = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetHistogram"); + + disp__glGetHistogramParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetHistogramParameterfv"); + + disp__glGetHistogramParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetHistogramParameteriv"); + + disp__glMinmax = (void (CALLBACK *)(GLenum, GLenum, GLboolean)) + GET_GL_PROCADDRESS ("glMinmax"); + + disp__glResetMinmax = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glResetMinmax"); + + disp__glGetMinmax = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetMinmax"); + + disp__glGetMinmaxParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetMinmaxParameterfv"); + + disp__glGetMinmaxParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetMinmaxParameteriv"); + + disp__glConvolutionFilter1D = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glConvolutionFilter1D"); + + disp__glConvolutionFilter2D = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glConvolutionFilter2D"); + + disp__glConvolutionParameterf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glConvolutionParameterf"); + + disp__glConvolutionParameterfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glConvolutionParameterfv"); + + disp__glConvolutionParameteri = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glConvolutionParameteri"); + + disp__glConvolutionParameteriv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glConvolutionParameteriv"); + + disp__glCopyConvolutionFilter1D = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glCopyConvolutionFilter1D"); + + disp__glCopyConvolutionFilter2D = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glCopyConvolutionFilter2D"); + + disp__glGetConvolutionFilter = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetConvolutionFilter"); + + disp__glGetConvolutionParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetConvolutionParameterfv"); + + disp__glGetConvolutionParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetConvolutionParameteriv"); + + disp__glSeparableFilter2D = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + GET_GL_PROCADDRESS ("glSeparableFilter2D"); + + disp__glGetSeparableFilter = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + GET_GL_PROCADDRESS ("glGetSeparableFilter"); + + disp__glBlendColorEXT = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + GET_GL_PROCADDRESS ("glBlendColorEXT"); + + disp__glPolygonOffsetEXT = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glPolygonOffsetEXT"); + + disp__glTexImage3DEXT = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexImage3DEXT"); + + disp__glTexSubImage3DEXT = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexSubImage3DEXT"); + + disp__glCopyTexSubImage3DEXT = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glCopyTexSubImage3DEXT"); + + disp__glGenTexturesEXT = (void (CALLBACK *)(GLsizei, GLuint *)) + GET_GL_PROCADDRESS ("glGenTexturesEXT"); + + disp__glDeleteTexturesEXT = (void (CALLBACK *)(GLsizei, const GLuint *)) + GET_GL_PROCADDRESS ("glDeleteTexturesEXT"); + + disp__glBindTextureEXT = (void (CALLBACK *)(GLenum, GLuint)) + GET_GL_PROCADDRESS ("glBindTextureEXT"); + + disp__glPrioritizeTexturesEXT = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) + GET_GL_PROCADDRESS ("glPrioritizeTexturesEXT"); + + disp__glAreTexturesResidentEXT = (GLboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) + GET_GL_PROCADDRESS ("glAreTexturesResidentEXT"); + + disp__glIsTextureEXT = (GLboolean (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glIsTextureEXT"); + + disp__glVertexPointerEXT = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glVertexPointerEXT"); + + disp__glNormalPointerEXT = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glNormalPointerEXT"); + + disp__glColorPointerEXT = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorPointerEXT"); + + disp__glIndexPointerEXT = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glIndexPointerEXT"); + + disp__glTexCoordPointerEXT = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexCoordPointerEXT"); + + disp__glEdgeFlagPointerEXT = (void (CALLBACK *)(GLsizei, GLsizei, const GLboolean *)) + GET_GL_PROCADDRESS ("glEdgeFlagPointerEXT"); + + disp__glGetPointervEXT = (void (CALLBACK *)(GLenum, void **)) + GET_GL_PROCADDRESS ("glGetPointervEXT"); + + disp__glArrayElementEXT = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glArrayElementEXT"); + + disp__glDrawArraysEXT = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glDrawArraysEXT"); + + disp__glBlendEquationEXT = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glBlendEquationEXT"); + + disp__glPointParameterfEXT = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glPointParameterfEXT"); + + disp__glPointParameterfvEXT = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glPointParameterfvEXT"); + + disp__glColorTableEXT = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorTableEXT"); + + disp__glColorSubTableEXT = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorSubTableEXT"); + + disp__glGetColorTableEXT = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetColorTableEXT"); + + disp__glGetColorTableParameterfvEXT = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetColorTableParameterfvEXT"); + + disp__glGetColorTableParameterivEXT = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetColorTableParameterivEXT"); + + disp__glLockArraysEXT = (void (CALLBACK *)(GLint, GLsizei)) + GET_GL_PROCADDRESS ("glLockArraysEXT"); + + disp__glUnlockArraysEXT = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glUnlockArraysEXT"); + + disp__glActiveTextureARB = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glActiveTextureARB"); + + disp__glClientActiveTextureARB = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glClientActiveTextureARB"); + + disp__glMultiTexCoord1dARB = (void (CALLBACK *)(GLenum, GLdouble)) + GET_GL_PROCADDRESS ("glMultiTexCoord1dARB"); + + disp__glMultiTexCoord1dvARB = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glMultiTexCoord1dvARB"); + + disp__glMultiTexCoord1fARB = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glMultiTexCoord1fARB"); + + disp__glMultiTexCoord1fvARB = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMultiTexCoord1fvARB"); + + disp__glMultiTexCoord1iARB = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glMultiTexCoord1iARB"); + + disp__glMultiTexCoord1ivARB = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMultiTexCoord1ivARB"); + + disp__glMultiTexCoord1sARB = (void (CALLBACK *)(GLenum, GLshort)) + GET_GL_PROCADDRESS ("glMultiTexCoord1sARB"); + + disp__glMultiTexCoord1svARB = (void (CALLBACK *)(GLenum, const GLshort *)) + GET_GL_PROCADDRESS ("glMultiTexCoord1svARB"); + + disp__glMultiTexCoord2dARB = (void (CALLBACK *)(GLenum, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMultiTexCoord2dARB"); + + disp__glMultiTexCoord2dvARB = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glMultiTexCoord2dvARB"); + + disp__glMultiTexCoord2fARB = (void (CALLBACK *)(GLenum, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMultiTexCoord2fARB"); + + disp__glMultiTexCoord2fvARB = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMultiTexCoord2fvARB"); + + disp__glMultiTexCoord2iARB = (void (CALLBACK *)(GLenum, GLint, GLint)) + GET_GL_PROCADDRESS ("glMultiTexCoord2iARB"); + + disp__glMultiTexCoord2ivARB = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMultiTexCoord2ivARB"); + + disp__glMultiTexCoord2sARB = (void (CALLBACK *)(GLenum, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glMultiTexCoord2sARB"); + + disp__glMultiTexCoord2svARB = (void (CALLBACK *)(GLenum, const GLshort *)) + GET_GL_PROCADDRESS ("glMultiTexCoord2svARB"); + + disp__glMultiTexCoord3dARB = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMultiTexCoord3dARB"); + + disp__glMultiTexCoord3dvARB = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glMultiTexCoord3dvARB"); + + disp__glMultiTexCoord3fARB = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMultiTexCoord3fARB"); + + disp__glMultiTexCoord3fvARB = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMultiTexCoord3fvARB"); + + disp__glMultiTexCoord3iARB = (void (CALLBACK *)(GLenum, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glMultiTexCoord3iARB"); + + disp__glMultiTexCoord3ivARB = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMultiTexCoord3ivARB"); + + disp__glMultiTexCoord3sARB = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glMultiTexCoord3sARB"); + + disp__glMultiTexCoord3svARB = (void (CALLBACK *)(GLenum, const GLshort *)) + GET_GL_PROCADDRESS ("glMultiTexCoord3svARB"); + + disp__glMultiTexCoord4dARB = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMultiTexCoord4dARB"); + + disp__glMultiTexCoord4dvARB = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glMultiTexCoord4dvARB"); + + disp__glMultiTexCoord4fARB = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMultiTexCoord4fARB"); + + disp__glMultiTexCoord4fvARB = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMultiTexCoord4fvARB"); + + disp__glMultiTexCoord4iARB = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glMultiTexCoord4iARB"); + + disp__glMultiTexCoord4ivARB = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMultiTexCoord4ivARB"); + + disp__glMultiTexCoord4sARB = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glMultiTexCoord4sARB"); + + disp__glMultiTexCoord4svARB = (void (CALLBACK *)(GLenum, const GLshort *)) + GET_GL_PROCADDRESS ("glMultiTexCoord4svARB"); + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/C2J/gl-disp-var-auto.h b/C2J/gl-disp-var-auto.h new file mode 100644 index 0000000..2445d7a --- /dev/null +++ b/C2J/gl-disp-var-auto.h @@ -0,0 +1,3504 @@ +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + * <pre> + extern void glClearIndex ( GLfloat c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearIndex )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearColor )(GLclampf, GLclampf, GLclampf, GLclampf); + +/** + * Original Function-Prototype : + * <pre> + extern void glClear ( GLbitfield mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClear )(GLbitfield); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexMask ( GLuint mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexMask )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorMask )(GLboolean, GLboolean, GLboolean, GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glAlphaFunc ( GLenum func , GLclampf ref ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glAlphaFunc )(GLenum, GLclampf); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendFunc )(GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glLogicOp ( GLenum opcode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLogicOp )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glCullFace ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCullFace )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glFrontFace ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFrontFace )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glPointSize ( GLfloat size ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPointSize )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glLineWidth ( GLfloat width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLineWidth )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glLineStipple ( GLint factor , GLushort pattern ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLineStipple )(GLint, GLushort); + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonMode ( GLenum face , GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPolygonMode )(GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPolygonOffset )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonStipple ( const GLubyte * mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPolygonStipple )(const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPolygonStipple ( GLubyte * mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPolygonStipple )(GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlag ( GLboolean flag ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEdgeFlag )(GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagv ( const GLboolean * flag ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEdgeFlagv )(const GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glScissor )(GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClipPlane )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetClipPlane )(GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawBuffer ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawBuffer )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glReadBuffer ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glReadBuffer )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glEnable ( GLenum cap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEnable )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glDisable ( GLenum cap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDisable )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsEnabled ( GLenum cap ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glIsEnabled )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glEnableClientState ( GLenum cap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEnableClientState )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glDisableClientState ( GLenum cap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDisableClientState )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetBooleanv )(GLenum, GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetDoublev ( GLenum pname , GLdouble * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetDoublev )(GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetFloatv ( GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetFloatv )(GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetIntegerv ( GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetIntegerv )(GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glPushAttrib ( GLbitfield mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPushAttrib )(GLbitfield); + +/** + * Original Function-Prototype : + * <pre> + extern void glPopAttrib ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPopAttrib )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glPushClientAttrib ( GLbitfield mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPushClientAttrib )(GLbitfield); + +/** + * Original Function-Prototype : + * <pre> + extern void glPopClientAttrib ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPopClientAttrib )(void); + +/** + * Original Function-Prototype : + * <pre> + extern GLint glRenderMode ( GLenum mode ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__glRenderMode )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern GLenum glGetError ( void ) ; + * </pre> + */ + LIBAPI GLenum (CALLBACK * disp__glGetError )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glFinish ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFinish )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glFlush ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFlush )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glHint ( GLenum target , GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glHint )(GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glClearDepth ( GLclampd depth ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearDepth )(GLclampd); + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthFunc ( GLenum func ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDepthFunc )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthMask ( GLboolean flag ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDepthMask )(GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDepthRange )(GLclampd, GLclampd); + +/** + * Original Function-Prototype : + * <pre> + extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearAccum )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glAccum ( GLenum op , GLfloat value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glAccum )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMatrixMode ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMatrixMode )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glOrtho )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFrustum )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glViewport )(GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glPushMatrix ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPushMatrix )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glPopMatrix ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPopMatrix )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadIdentity ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLoadIdentity )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixd ( const GLdouble * m ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLoadMatrixd )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixf ( const GLfloat * m ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLoadMatrixf )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixd ( const GLdouble * m ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultMatrixd )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixf ( const GLfloat * m ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultMatrixf )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRotated )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRotatef )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glScaled )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glScalef )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTranslated )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTranslatef )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsList ( GLuint list ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glIsList )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteLists ( GLuint list , GLsizei range ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDeleteLists )(GLuint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern GLuint glGenLists ( GLsizei range ) ; + * </pre> + */ + LIBAPI GLuint (CALLBACK * disp__glGenLists )(GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glNewList ( GLuint list , GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNewList )(GLuint, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glEndList ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEndList )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glCallList ( GLuint list ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCallList )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCallLists )(GLsizei, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glListBase ( GLuint base ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glListBase )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glBegin ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBegin )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glEnd ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEnd )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2d )(GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2f )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2i ( GLint x , GLint y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2i )(GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2s ( GLshort x , GLshort y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2s )(GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4d )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4f )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4i )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4s )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3b )(GLbyte, GLbyte, GLbyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3bv ( const GLbyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3bv )(const GLbyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexd ( GLdouble c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexd )(GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexf ( GLfloat c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexf )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexi ( GLint c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexi )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexs ( GLshort c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexs )(GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexub ( GLubyte c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexub )(GLubyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexdv ( const GLdouble * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexdv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexfv ( const GLfloat * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexfv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexiv ( const GLint * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexiv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexsv ( const GLshort * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexsv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexubv ( const GLubyte * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexubv )(const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3b )(GLbyte, GLbyte, GLbyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3i ( GLint red , GLint green , GLint blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3ub )(GLubyte, GLubyte, GLubyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3ui )(GLuint, GLuint, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3us )(GLushort, GLushort, GLushort); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4b )(GLbyte, GLbyte, GLbyte, GLbyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4d )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4f )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4i )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4s )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4ub )(GLubyte, GLubyte, GLubyte, GLubyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4ui )(GLuint, GLuint, GLuint, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4us )(GLushort, GLushort, GLushort, GLushort); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3bv ( const GLbyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3bv )(const GLbyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ubv ( const GLubyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3ubv )(const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3uiv ( const GLuint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3uiv )(const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3usv ( const GLushort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3usv )(const GLushort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4bv ( const GLbyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4bv )(const GLbyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ubv ( const GLubyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4ubv )(const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4uiv ( const GLuint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4uiv )(const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4usv ( const GLushort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4usv )(const GLushort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1d ( GLdouble s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1d )(GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1f ( GLfloat s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1f )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1i ( GLint s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1i )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1s ( GLshort s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1s )(GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2d ( GLdouble s , GLdouble t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2d )(GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2f ( GLfloat s , GLfloat t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2f )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2i ( GLint s , GLint t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2i )(GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2s ( GLshort s , GLshort t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2s )(GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4d )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4f )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4i )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4s )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2d )(GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2f )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2i ( GLint x , GLint y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2i )(GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2s ( GLshort x , GLshort y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2s )(GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4d )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4f )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4i )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4s )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectd )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectf )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRecti )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRects )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectdv )(const GLdouble *, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectfv )(const GLfloat *, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectiv )(const GLint *, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectsv )(const GLshort *, const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertexPointer )(GLint, GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormalPointer )(GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorPointer )(GLint, GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexPointer )(GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoordPointer )(GLint, GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEdgeFlagPointer )(GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointerv ( GLenum pname , void * * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPointerv )(GLenum, void **); + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElement ( GLint i ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glArrayElement )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawArrays )(GLenum, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawElements )(GLenum, GLsizei, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glInterleavedArrays )(GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glShadeModel ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glShadeModel )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glLighti ( GLenum light , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLighti )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightiv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetLightfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetLightiv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightModelf )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeli ( GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightModeli )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightModelfv )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeliv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightModeliv )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMaterialf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMateriali )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMaterialfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMaterialiv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMaterialfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMaterialiv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMaterial ( GLenum face , GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorMaterial )(GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelZoom )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStoref ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelStoref )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStorei ( GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelStorei )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelTransferf )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferi ( GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelTransferi )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelMapfv )(GLenum, GLint, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelMapuiv )(GLenum, GLint, const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelMapusv )(GLenum, GLint, const GLushort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPixelMapfv )(GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPixelMapuiv )(GLenum, GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPixelMapusv )(GLenum, GLushort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBitmap )(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glReadPixels )(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawPixels )(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyPixels )(GLint, GLint, GLsizei, GLsizei, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glStencilFunc )(GLenum, GLint, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilMask ( GLuint mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glStencilMask )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glStencilOp )(GLenum, GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glClearStencil ( GLint s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearStencil )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGend )(GLenum, GLenum, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGenf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGeni )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGendv )(GLenum, GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGenfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGeniv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexGendv )(GLenum, GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexGenfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexGeniv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexEnvf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexEnvi )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexEnvfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexEnviv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexEnvfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexEnviv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexParameterf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexParameteri )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexParameterfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexParameteriv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexLevelParameterfv )(GLenum, GLint, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexLevelParameteriv )(GLenum, GLint, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexImage1D )(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexImage2D )(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexImage )(GLenum, GLint, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTextures ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGenTextures )(GLsizei, GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDeleteTextures )(GLsizei, const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTexture ( GLenum target , GLuint texture ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBindTexture )(GLenum, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPrioritizeTextures )(GLsizei, const GLuint *, const GLclampf *); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glAreTexturesResident )(GLsizei, const GLuint *, GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTexture ( GLuint texture ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glIsTexture )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexSubImage1D )(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexSubImage2D )(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexImage1D )(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexImage2D )(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexSubImage1D )(GLenum, GLint, GLint, GLint, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexSubImage2D )(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMap1d )(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMap1f )(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMap2d )(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMap2f )(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMapdv )(GLenum, GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMapfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMapiv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1d ( GLdouble u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord1d )(GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1f ( GLfloat u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord1f )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1dv ( const GLdouble * u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord1dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1fv ( const GLfloat * u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord1fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord2d )(GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord2f )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2dv ( const GLdouble * u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord2dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2fv ( const GLfloat * u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord2fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMapGrid1d )(GLint, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMapGrid1f )(GLint, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMapGrid2d )(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMapGrid2f )(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint1 ( GLint i ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalPoint1 )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint2 ( GLint i , GLint j ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalPoint2 )(GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalMesh1 )(GLenum, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalMesh2 )(GLenum, GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glFogf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFogf )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glFogi ( GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFogi )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glFogfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFogfv )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glFogiv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFogiv )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFeedbackBuffer )(GLsizei, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glPassThrough ( GLfloat token ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPassThrough )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glSelectBuffer )(GLsizei, GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glInitNames ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glInitNames )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadName ( GLuint name ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLoadName )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPushName ( GLuint name ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPushName )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPopName ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPopName )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawRangeElements )(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexImage3D )(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexSubImage3D )(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexSubImage3D )(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorTable )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorSubTable )(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorTableParameteriv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorTableParameterfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyColorSubTable )(GLenum, GLsizei, GLint, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyColorTable )(GLenum, GLenum, GLint, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTable )(GLenum, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquation ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendEquation )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendColor )(GLclampf, GLclampf, GLclampf, GLclampf); + +/** + * Original Function-Prototype : + * <pre> + extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glHistogram )(GLenum, GLsizei, GLenum, GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glResetHistogram ( GLenum target ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glResetHistogram )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetHistogram )(GLenum, GLboolean, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetHistogramParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetHistogramParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMinmax )(GLenum, GLenum, GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glResetMinmax ( GLenum target ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glResetMinmax )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMinmax )(GLenum, GLboolean, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMinmaxParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMinmaxParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionFilter1D )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionFilter2D )(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionParameterf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionParameterfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionParameteri )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionParameteriv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyConvolutionFilter1D )(GLenum, GLenum, GLint, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyConvolutionFilter2D )(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetConvolutionFilter )(GLenum, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetConvolutionParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetConvolutionParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glSeparableFilter2D )(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetSeparableFilter )(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendColorEXT )(GLclampf, GLclampf, GLclampf, GLclampf); + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPolygonOffsetEXT )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexImage3DEXT )(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexSubImage3DEXT )(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexSubImage3DEXT )(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGenTexturesEXT )(GLsizei, GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDeleteTexturesEXT )(GLsizei, const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTextureEXT ( GLenum target , GLuint texture ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBindTextureEXT )(GLenum, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPrioritizeTexturesEXT )(GLsizei, const GLuint *, const GLclampf *); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glAreTexturesResidentEXT )(GLsizei, const GLuint *, GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTextureEXT ( GLuint texture ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glIsTextureEXT )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertexPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormalPointerEXT )(GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexPointerEXT )(GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoordPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEdgeFlagPointerEXT )(GLsizei, GLsizei, const GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointervEXT ( GLenum pname , void * * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPointervEXT )(GLenum, void **); + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElementEXT ( GLint i ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glArrayElementEXT )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawArraysEXT )(GLenum, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquationEXT ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendEquationEXT )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPointParameterfEXT )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPointParameterfvEXT )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorTableEXT )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorSubTableEXT )(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableEXT )(GLenum, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableParameterfvEXT )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableParameterivEXT )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLockArraysEXT ( GLint first , GLsizei count ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLockArraysEXT )(GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glUnlockArraysEXT ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glUnlockArraysEXT )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glActiveTextureARB )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glClientActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClientActiveTextureARB )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1dARB )(GLenum, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1dvARB )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1fARB )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1fvARB )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1iARB )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1ivARB )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1sARB )(GLenum, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1svARB )(GLenum, const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2dARB )(GLenum, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2dvARB )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2fARB )(GLenum, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2fvARB )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2iARB )(GLenum, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2ivARB )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2sARB )(GLenum, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2svARB )(GLenum, const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3dARB )(GLenum, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3dvARB )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3fARB )(GLenum, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3fvARB )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3iARB )(GLenum, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3ivARB )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3sARB )(GLenum, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3svARB )(GLenum, const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4dARB )(GLenum, GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4dvARB )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4fARB )(GLenum, GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4fvARB )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4iARB )(GLenum, GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4ivARB )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4sARB )(GLenum, GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4svARB )(GLenum, const GLshort *); + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/C2J/gl-disp-var-auto.hc b/C2J/gl-disp-var-auto.hc new file mode 100644 index 0000000..640f55d --- /dev/null +++ b/C2J/gl-disp-var-auto.hc @@ -0,0 +1,882 @@ +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + + void (CALLBACK * disp__glClearIndex )(GLfloat) = NULL; + + void (CALLBACK * disp__glClearColor )(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + void (CALLBACK * disp__glClear )(GLbitfield) = NULL; + + void (CALLBACK * disp__glIndexMask )(GLuint) = NULL; + + void (CALLBACK * disp__glColorMask )(GLboolean, GLboolean, GLboolean, GLboolean) = NULL; + + void (CALLBACK * disp__glAlphaFunc )(GLenum, GLclampf) = NULL; + + void (CALLBACK * disp__glBlendFunc )(GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glLogicOp )(GLenum) = NULL; + + void (CALLBACK * disp__glCullFace )(GLenum) = NULL; + + void (CALLBACK * disp__glFrontFace )(GLenum) = NULL; + + void (CALLBACK * disp__glPointSize )(GLfloat) = NULL; + + void (CALLBACK * disp__glLineWidth )(GLfloat) = NULL; + + void (CALLBACK * disp__glLineStipple )(GLint, GLushort) = NULL; + + void (CALLBACK * disp__glPolygonMode )(GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glPolygonOffset )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glPolygonStipple )(const GLubyte *) = NULL; + + void (CALLBACK * disp__glGetPolygonStipple )(GLubyte *) = NULL; + + void (CALLBACK * disp__glEdgeFlag )(GLboolean) = NULL; + + void (CALLBACK * disp__glEdgeFlagv )(const GLboolean *) = NULL; + + void (CALLBACK * disp__glScissor )(GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glClipPlane )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glGetClipPlane )(GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__glDrawBuffer )(GLenum) = NULL; + + void (CALLBACK * disp__glReadBuffer )(GLenum) = NULL; + + void (CALLBACK * disp__glEnable )(GLenum) = NULL; + + void (CALLBACK * disp__glDisable )(GLenum) = NULL; + + GLboolean (CALLBACK * disp__glIsEnabled )(GLenum) = NULL; + + void (CALLBACK * disp__glEnableClientState )(GLenum) = NULL; + + void (CALLBACK * disp__glDisableClientState )(GLenum) = NULL; + + void (CALLBACK * disp__glGetBooleanv )(GLenum, GLboolean *) = NULL; + + void (CALLBACK * disp__glGetDoublev )(GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__glGetFloatv )(GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetIntegerv )(GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glPushAttrib )(GLbitfield) = NULL; + + void (CALLBACK * disp__glPopAttrib )(void) = NULL; + + void (CALLBACK * disp__glPushClientAttrib )(GLbitfield) = NULL; + + void (CALLBACK * disp__glPopClientAttrib )(void) = NULL; + + GLint (CALLBACK * disp__glRenderMode )(GLenum) = NULL; + + GLenum (CALLBACK * disp__glGetError )(void) = NULL; + + void (CALLBACK * disp__glFinish )(void) = NULL; + + void (CALLBACK * disp__glFlush )(void) = NULL; + + void (CALLBACK * disp__glHint )(GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glClearDepth )(GLclampd) = NULL; + + void (CALLBACK * disp__glDepthFunc )(GLenum) = NULL; + + void (CALLBACK * disp__glDepthMask )(GLboolean) = NULL; + + void (CALLBACK * disp__glDepthRange )(GLclampd, GLclampd) = NULL; + + void (CALLBACK * disp__glClearAccum )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glAccum )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glMatrixMode )(GLenum) = NULL; + + void (CALLBACK * disp__glOrtho )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glFrustum )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glViewport )(GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glPushMatrix )(void) = NULL; + + void (CALLBACK * disp__glPopMatrix )(void) = NULL; + + void (CALLBACK * disp__glLoadIdentity )(void) = NULL; + + void (CALLBACK * disp__glLoadMatrixd )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glLoadMatrixf )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultMatrixd )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultMatrixf )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glRotated )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRotatef )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glScaled )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glScalef )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTranslated )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glTranslatef )(GLfloat, GLfloat, GLfloat) = NULL; + + GLboolean (CALLBACK * disp__glIsList )(GLuint) = NULL; + + void (CALLBACK * disp__glDeleteLists )(GLuint, GLsizei) = NULL; + + GLuint (CALLBACK * disp__glGenLists )(GLsizei) = NULL; + + void (CALLBACK * disp__glNewList )(GLuint, GLenum) = NULL; + + void (CALLBACK * disp__glEndList )(void) = NULL; + + void (CALLBACK * disp__glCallList )(GLuint) = NULL; + + void (CALLBACK * disp__glCallLists )(GLsizei, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glListBase )(GLuint) = NULL; + + void (CALLBACK * disp__glBegin )(GLenum) = NULL; + + void (CALLBACK * disp__glEnd )(void) = NULL; + + void (CALLBACK * disp__glVertex2d )(GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glVertex2f )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glVertex2i )(GLint, GLint) = NULL; + + void (CALLBACK * disp__glVertex2s )(GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glVertex3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glVertex3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glVertex3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glVertex3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glVertex4d )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glVertex4f )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glVertex4i )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glVertex4s )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glVertex2dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glVertex2fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glVertex2iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glVertex2sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glVertex3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glVertex3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glVertex3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glVertex3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glVertex4dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glVertex4fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glVertex4iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glVertex4sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glNormal3b )(GLbyte, GLbyte, GLbyte) = NULL; + + void (CALLBACK * disp__glNormal3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glNormal3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glNormal3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glNormal3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glNormal3bv )(const GLbyte *) = NULL; + + void (CALLBACK * disp__glNormal3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glNormal3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glNormal3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glNormal3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glIndexd )(GLdouble) = NULL; + + void (CALLBACK * disp__glIndexf )(GLfloat) = NULL; + + void (CALLBACK * disp__glIndexi )(GLint) = NULL; + + void (CALLBACK * disp__glIndexs )(GLshort) = NULL; + + void (CALLBACK * disp__glIndexub )(GLubyte) = NULL; + + void (CALLBACK * disp__glIndexdv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glIndexfv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glIndexiv )(const GLint *) = NULL; + + void (CALLBACK * disp__glIndexsv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glIndexubv )(const GLubyte *) = NULL; + + void (CALLBACK * disp__glColor3b )(GLbyte, GLbyte, GLbyte) = NULL; + + void (CALLBACK * disp__glColor3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glColor3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glColor3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glColor3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glColor3ub )(GLubyte, GLubyte, GLubyte) = NULL; + + void (CALLBACK * disp__glColor3ui )(GLuint, GLuint, GLuint) = NULL; + + void (CALLBACK * disp__glColor3us )(GLushort, GLushort, GLushort) = NULL; + + void (CALLBACK * disp__glColor4b )(GLbyte, GLbyte, GLbyte, GLbyte) = NULL; + + void (CALLBACK * disp__glColor4d )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glColor4f )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glColor4i )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glColor4s )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glColor4ub )(GLubyte, GLubyte, GLubyte, GLubyte) = NULL; + + void (CALLBACK * disp__glColor4ui )(GLuint, GLuint, GLuint, GLuint) = NULL; + + void (CALLBACK * disp__glColor4us )(GLushort, GLushort, GLushort, GLushort) = NULL; + + void (CALLBACK * disp__glColor3bv )(const GLbyte *) = NULL; + + void (CALLBACK * disp__glColor3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glColor3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glColor3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glColor3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glColor3ubv )(const GLubyte *) = NULL; + + void (CALLBACK * disp__glColor3uiv )(const GLuint *) = NULL; + + void (CALLBACK * disp__glColor3usv )(const GLushort *) = NULL; + + void (CALLBACK * disp__glColor4bv )(const GLbyte *) = NULL; + + void (CALLBACK * disp__glColor4dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glColor4fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glColor4iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glColor4sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glColor4ubv )(const GLubyte *) = NULL; + + void (CALLBACK * disp__glColor4uiv )(const GLuint *) = NULL; + + void (CALLBACK * disp__glColor4usv )(const GLushort *) = NULL; + + void (CALLBACK * disp__glTexCoord1d )(GLdouble) = NULL; + + void (CALLBACK * disp__glTexCoord1f )(GLfloat) = NULL; + + void (CALLBACK * disp__glTexCoord1i )(GLint) = NULL; + + void (CALLBACK * disp__glTexCoord1s )(GLshort) = NULL; + + void (CALLBACK * disp__glTexCoord2d )(GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glTexCoord2f )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTexCoord2i )(GLint, GLint) = NULL; + + void (CALLBACK * disp__glTexCoord2s )(GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glTexCoord3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glTexCoord3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTexCoord3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glTexCoord3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glTexCoord4d )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glTexCoord4f )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTexCoord4i )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glTexCoord4s )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glTexCoord1dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexCoord1fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexCoord1iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glTexCoord1sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glTexCoord2dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexCoord2fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexCoord2iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glTexCoord2sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glTexCoord3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexCoord3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexCoord3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glTexCoord3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glTexCoord4dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexCoord4fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexCoord4iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glTexCoord4sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glRasterPos2d )(GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRasterPos2f )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glRasterPos2i )(GLint, GLint) = NULL; + + void (CALLBACK * disp__glRasterPos2s )(GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glRasterPos3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRasterPos3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glRasterPos3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glRasterPos3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glRasterPos4d )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRasterPos4f )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glRasterPos4i )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glRasterPos4s )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glRasterPos2dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glRasterPos2fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glRasterPos2iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glRasterPos2sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glRasterPos3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glRasterPos3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glRasterPos3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glRasterPos3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glRasterPos4dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glRasterPos4fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glRasterPos4iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glRasterPos4sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glRectd )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRectf )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glRecti )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glRects )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glRectdv )(const GLdouble *, const GLdouble *) = NULL; + + void (CALLBACK * disp__glRectfv )(const GLfloat *, const GLfloat *) = NULL; + + void (CALLBACK * disp__glRectiv )(const GLint *, const GLint *) = NULL; + + void (CALLBACK * disp__glRectsv )(const GLshort *, const GLshort *) = NULL; + + void (CALLBACK * disp__glVertexPointer )(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glNormalPointer )(GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorPointer )(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glIndexPointer )(GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexCoordPointer )(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glEdgeFlagPointer )(GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glGetPointerv )(GLenum, void **) = NULL; + + void (CALLBACK * disp__glArrayElement )(GLint) = NULL; + + void (CALLBACK * disp__glDrawArrays )(GLenum, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glDrawElements )(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glInterleavedArrays )(GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glShadeModel )(GLenum) = NULL; + + void (CALLBACK * disp__glLightf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glLighti )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glLightfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glLightiv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetLightfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetLightiv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glLightModelf )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glLightModeli )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glLightModelfv )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glLightModeliv )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMaterialf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glMateriali )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glMaterialfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMaterialiv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetMaterialfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetMaterialiv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glColorMaterial )(GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glPixelZoom )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glPixelStoref )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glPixelStorei )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glPixelTransferf )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glPixelTransferi )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glPixelMapfv )(GLenum, GLint, const GLfloat *) = NULL; + + void (CALLBACK * disp__glPixelMapuiv )(GLenum, GLint, const GLuint *) = NULL; + + void (CALLBACK * disp__glPixelMapusv )(GLenum, GLint, const GLushort *) = NULL; + + void (CALLBACK * disp__glGetPixelMapfv )(GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetPixelMapuiv )(GLenum, GLuint *) = NULL; + + void (CALLBACK * disp__glGetPixelMapusv )(GLenum, GLushort *) = NULL; + + void (CALLBACK * disp__glBitmap )(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *) = NULL; + + void (CALLBACK * disp__glReadPixels )(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glDrawPixels )(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glCopyPixels )(GLint, GLint, GLsizei, GLsizei, GLenum) = NULL; + + void (CALLBACK * disp__glStencilFunc )(GLenum, GLint, GLuint) = NULL; + + void (CALLBACK * disp__glStencilMask )(GLuint) = NULL; + + void (CALLBACK * disp__glStencilOp )(GLenum, GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glClearStencil )(GLint) = NULL; + + void (CALLBACK * disp__glTexGend )(GLenum, GLenum, GLdouble) = NULL; + + void (CALLBACK * disp__glTexGenf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glTexGeni )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glTexGendv )(GLenum, GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexGenfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexGeniv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetTexGendv )(GLenum, GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__glGetTexGenfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetTexGeniv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glTexEnvf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glTexEnvi )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glTexEnvfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexEnviv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetTexEnvfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetTexEnviv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glTexParameterf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glTexParameteri )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glTexParameterfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexParameteriv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetTexParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetTexParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glGetTexLevelParameterfv )(GLenum, GLint, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetTexLevelParameteriv )(GLenum, GLint, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glTexImage1D )(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexImage2D )(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glGetTexImage )(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGenTextures )(GLsizei, GLuint *) = NULL; + + void (CALLBACK * disp__glDeleteTextures )(GLsizei, const GLuint *) = NULL; + + void (CALLBACK * disp__glBindTexture )(GLenum, GLuint) = NULL; + + void (CALLBACK * disp__glPrioritizeTextures )(GLsizei, const GLuint *, const GLclampf *) = NULL; + + GLboolean (CALLBACK * disp__glAreTexturesResident )(GLsizei, const GLuint *, GLboolean *) = NULL; + + GLboolean (CALLBACK * disp__glIsTexture )(GLuint) = NULL; + + void (CALLBACK * disp__glTexSubImage1D )(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexSubImage2D )(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glCopyTexImage1D )(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint) = NULL; + + void (CALLBACK * disp__glCopyTexImage2D )(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint) = NULL; + + void (CALLBACK * disp__glCopyTexSubImage1D )(GLenum, GLint, GLint, GLint, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glCopyTexSubImage2D )(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glMap1d )(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMap1f )(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMap2d )(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMap2f )(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + + void (CALLBACK * disp__glGetMapdv )(GLenum, GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__glGetMapfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetMapiv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glEvalCoord1d )(GLdouble) = NULL; + + void (CALLBACK * disp__glEvalCoord1f )(GLfloat) = NULL; + + void (CALLBACK * disp__glEvalCoord1dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glEvalCoord1fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glEvalCoord2d )(GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glEvalCoord2f )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glEvalCoord2dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glEvalCoord2fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glMapGrid1d )(GLint, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMapGrid1f )(GLint, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glMapGrid2d )(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMapGrid2f )(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glEvalPoint1 )(GLint) = NULL; + + void (CALLBACK * disp__glEvalPoint2 )(GLint, GLint) = NULL; + + void (CALLBACK * disp__glEvalMesh1 )(GLenum, GLint, GLint) = NULL; + + void (CALLBACK * disp__glEvalMesh2 )(GLenum, GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glFogf )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glFogi )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glFogfv )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glFogiv )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glFeedbackBuffer )(GLsizei, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glPassThrough )(GLfloat) = NULL; + + void (CALLBACK * disp__glSelectBuffer )(GLsizei, GLuint *) = NULL; + + void (CALLBACK * disp__glInitNames )(void) = NULL; + + void (CALLBACK * disp__glLoadName )(GLuint) = NULL; + + void (CALLBACK * disp__glPushName )(GLuint) = NULL; + + void (CALLBACK * disp__glPopName )(void) = NULL; + + void (CALLBACK * disp__glDrawRangeElements )(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexImage3D )(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexSubImage3D )(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glCopyTexSubImage3D )(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glColorTable )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorSubTable )(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorTableParameteriv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glColorTableParameterfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glCopyColorSubTable )(GLenum, GLsizei, GLint, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glCopyColorTable )(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glGetColorTable )(GLenum, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetColorTableParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetColorTableParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glBlendEquation )(GLenum) = NULL; + + void (CALLBACK * disp__glBlendColor )(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + void (CALLBACK * disp__glHistogram )(GLenum, GLsizei, GLenum, GLboolean) = NULL; + + void (CALLBACK * disp__glResetHistogram )(GLenum) = NULL; + + void (CALLBACK * disp__glGetHistogram )(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetHistogramParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetHistogramParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glMinmax )(GLenum, GLenum, GLboolean) = NULL; + + void (CALLBACK * disp__glResetMinmax )(GLenum) = NULL; + + void (CALLBACK * disp__glGetMinmax )(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetMinmaxParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetMinmaxParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glConvolutionFilter1D )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glConvolutionFilter2D )(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glConvolutionParameterf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glConvolutionParameterfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glConvolutionParameteri )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glConvolutionParameteriv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glCopyConvolutionFilter1D )(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glCopyConvolutionFilter2D )(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glGetConvolutionFilter )(GLenum, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetConvolutionParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetConvolutionParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glSeparableFilter2D )(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + + void (CALLBACK * disp__glGetSeparableFilter )(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + + void (CALLBACK * disp__glBlendColorEXT )(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + void (CALLBACK * disp__glPolygonOffsetEXT )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTexImage3DEXT )(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexSubImage3DEXT )(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glCopyTexSubImage3DEXT )(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glGenTexturesEXT )(GLsizei, GLuint *) = NULL; + + void (CALLBACK * disp__glDeleteTexturesEXT )(GLsizei, const GLuint *) = NULL; + + void (CALLBACK * disp__glBindTextureEXT )(GLenum, GLuint) = NULL; + + void (CALLBACK * disp__glPrioritizeTexturesEXT )(GLsizei, const GLuint *, const GLclampf *) = NULL; + + GLboolean (CALLBACK * disp__glAreTexturesResidentEXT )(GLsizei, const GLuint *, GLboolean *) = NULL; + + GLboolean (CALLBACK * disp__glIsTextureEXT )(GLuint) = NULL; + + void (CALLBACK * disp__glVertexPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glNormalPointerEXT )(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glIndexPointerEXT )(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexCoordPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glEdgeFlagPointerEXT )(GLsizei, GLsizei, const GLboolean *) = NULL; + + void (CALLBACK * disp__glGetPointervEXT )(GLenum, void **) = NULL; + + void (CALLBACK * disp__glArrayElementEXT )(GLint) = NULL; + + void (CALLBACK * disp__glDrawArraysEXT )(GLenum, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glBlendEquationEXT )(GLenum) = NULL; + + void (CALLBACK * disp__glPointParameterfEXT )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glPointParameterfvEXT )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glColorTableEXT )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorSubTableEXT )(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glGetColorTableEXT )(GLenum, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetColorTableParameterfvEXT )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetColorTableParameterivEXT )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glLockArraysEXT )(GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glUnlockArraysEXT )(void) = NULL; + + void (CALLBACK * disp__glActiveTextureARB )(GLenum) = NULL; + + void (CALLBACK * disp__glClientActiveTextureARB )(GLenum) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1dARB )(GLenum, GLdouble) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1dvARB )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1fARB )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1fvARB )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1iARB )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1ivARB )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1sARB )(GLenum, GLshort) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1svARB )(GLenum, const GLshort *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2dARB )(GLenum, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2dvARB )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2fARB )(GLenum, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2fvARB )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2iARB )(GLenum, GLint, GLint) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2ivARB )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2sARB )(GLenum, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2svARB )(GLenum, const GLshort *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3dARB )(GLenum, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3dvARB )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3fARB )(GLenum, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3fvARB )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3iARB )(GLenum, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3ivARB )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3sARB )(GLenum, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3svARB )(GLenum, const GLshort *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4dARB )(GLenum, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4dvARB )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4fARB )(GLenum, GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4fvARB )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4iARB )(GLenum, GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4ivARB )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4sARB )(GLenum, GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4svARB )(GLenum, const GLshort *) = NULL; + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/C2J/glu-disp-fetch-auto.hc b/C2J/glu-disp-fetch-auto.hc new file mode 100644 index 0000000..b40a14e --- /dev/null +++ b/C2J/glu-disp-fetch-auto.hc @@ -0,0 +1,128 @@ +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + + disp__gluLookAt = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluLookAt"); + + disp__gluOrtho2D = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluOrtho2D"); + + disp__gluPerspective = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluPerspective"); + + disp__gluPickMatrix = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLint *)) + GET_GL_PROCADDRESS ("gluPickMatrix"); + + disp__gluProject = (GLint (CALLBACK *)(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *)) + GET_GL_PROCADDRESS ("gluProject"); + + disp__gluUnProject = (GLint (CALLBACK *)(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *)) + GET_GL_PROCADDRESS ("gluUnProject"); + + disp__gluScaleImage = (GLint (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, const char *, GLsizei, GLsizei, GLenum, char *)) + GET_GL_PROCADDRESS ("gluScaleImage"); + + disp__gluBuild1DMipmaps = (GLint (CALLBACK *)(GLenum, GLint, GLint, GLenum, GLenum, const void *)) + GET_GL_PROCADDRESS ("gluBuild1DMipmaps"); + + disp__gluBuild2DMipmaps = (GLint (CALLBACK *)(GLenum, GLint, GLint, GLint, GLenum, GLenum, const void *)) + GET_GL_PROCADDRESS ("gluBuild2DMipmaps"); + + disp__gluQuadricDrawStyle = (void (CALLBACK *)(GLUquadricObj *, GLenum)) + GET_GL_PROCADDRESS ("gluQuadricDrawStyle"); + + disp__gluQuadricOrientation = (void (CALLBACK *)(GLUquadricObj *, GLenum)) + GET_GL_PROCADDRESS ("gluQuadricOrientation"); + + disp__gluQuadricNormals = (void (CALLBACK *)(GLUquadricObj *, GLenum)) + GET_GL_PROCADDRESS ("gluQuadricNormals"); + + disp__gluQuadricTexture = (void (CALLBACK *)(GLUquadricObj *, GLboolean)) + GET_GL_PROCADDRESS ("gluQuadricTexture"); + + disp__gluCylinder = (void (CALLBACK *)(GLUquadricObj *, GLdouble, GLdouble, GLdouble, GLint, GLint)) + GET_GL_PROCADDRESS ("gluCylinder"); + + disp__gluSphere = (void (CALLBACK *)(GLUquadricObj *, GLdouble, GLint, GLint)) + GET_GL_PROCADDRESS ("gluSphere"); + + disp__gluDisk = (void (CALLBACK *)(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint)) + GET_GL_PROCADDRESS ("gluDisk"); + + disp__gluPartialDisk = (void (CALLBACK *)(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluPartialDisk"); + + disp__gluLoadSamplingMatrices = (void (CALLBACK *)(GLUnurbsObj *, const GLfloat *, const GLfloat *, const GLint *)) + GET_GL_PROCADDRESS ("gluLoadSamplingMatrices"); + + disp__gluNurbsProperty = (void (CALLBACK *)(GLUnurbsObj *, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("gluNurbsProperty"); + + disp__gluGetNurbsProperty = (void (CALLBACK *)(GLUnurbsObj *, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("gluGetNurbsProperty"); + + disp__gluBeginCurve = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluBeginCurve"); + + disp__gluEndCurve = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluEndCurve"); + + disp__gluNurbsCurve = (void (CALLBACK *)(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLenum)) + GET_GL_PROCADDRESS ("gluNurbsCurve"); + + disp__gluBeginSurface = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluBeginSurface"); + + disp__gluEndSurface = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluEndSurface"); + + disp__gluNurbsSurface = (void (CALLBACK *)(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLint, GLfloat *, GLint, GLint, GLenum)) + GET_GL_PROCADDRESS ("gluNurbsSurface"); + + disp__gluBeginTrim = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluBeginTrim"); + + disp__gluEndTrim = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluEndTrim"); + + disp__gluPwlCurve = (void (CALLBACK *)(GLUnurbsObj *, GLint, GLfloat *, GLint, GLenum)) + GET_GL_PROCADDRESS ("gluPwlCurve"); + + disp__gluTessBeginPolygon = (void (CALLBACK *)(GLUtesselator *, void *)) + GET_GL_PROCADDRESS ("gluTessBeginPolygon"); + + disp__gluTessBeginContour = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluTessBeginContour"); + + disp__gluTessVertex = (void (CALLBACK *)(GLUtesselator *, GLdouble *, void *)) + GET_GL_PROCADDRESS ("gluTessVertex"); + + disp__gluTessEndContour = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluTessEndContour"); + + disp__gluTessEndPolygon = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluTessEndPolygon"); + + disp__gluTessProperty = (void (CALLBACK *)(GLUtesselator *, GLenum, GLdouble)) + GET_GL_PROCADDRESS ("gluTessProperty"); + + disp__gluTessNormal = (void (CALLBACK *)(GLUtesselator *, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluTessNormal"); + + disp__gluGetTessProperty = (void (CALLBACK *)(GLUtesselator *, GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("gluGetTessProperty"); + + disp__gluBeginPolygon = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluBeginPolygon"); + + disp__gluNextContour = (void (CALLBACK *)(GLUtesselator *, GLenum)) + GET_GL_PROCADDRESS ("gluNextContour"); + + disp__gluEndPolygon = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluEndPolygon"); + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/C2J/glu-disp-var-auto.h b/C2J/glu-disp-var-auto.h new file mode 100644 index 0000000..ee8e5da --- /dev/null +++ b/C2J/glu-disp-var-auto.h @@ -0,0 +1,328 @@ +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + * <pre> + extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluLookAt )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluOrtho2D )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluPerspective )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluPickMatrix )(GLdouble, GLdouble, GLdouble, GLdouble, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluProject )(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluUnProject )(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluScaleImage )(GLenum, GLsizei, GLsizei, GLenum, const char *, GLsizei, GLsizei, GLenum, char *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluBuild1DMipmaps )(GLenum, GLint, GLint, GLenum, GLenum, const void *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluBuild2DMipmaps )(GLenum, GLint, GLint, GLint, GLenum, GLenum, const void *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluQuadricDrawStyle )(GLUquadricObj *, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluQuadricOrientation )(GLUquadricObj *, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluQuadricNormals )(GLUquadricObj *, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluQuadricTexture )(GLUquadricObj *, GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluCylinder )(GLUquadricObj *, GLdouble, GLdouble, GLdouble, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluSphere )(GLUquadricObj *, GLdouble, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluDisk )(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluPartialDisk )(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluLoadSamplingMatrices )(GLUnurbsObj *, const GLfloat *, const GLfloat *, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluNurbsProperty )(GLUnurbsObj *, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluGetNurbsProperty )(GLUnurbsObj *, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluBeginCurve ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluBeginCurve )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluEndCurve ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluEndCurve )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluNurbsCurve )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluBeginSurface ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluBeginSurface )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluEndSurface ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluEndSurface )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluNurbsSurface )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLint, GLfloat *, GLint, GLint, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluBeginTrim ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluBeginTrim )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluEndTrim ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluEndTrim )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluPwlCurve )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessBeginPolygon )(GLUtesselator *, void *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessBeginContour ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessBeginContour )(GLUtesselator *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessVertex )(GLUtesselator *, GLdouble *, void *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessEndContour ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessEndContour )(GLUtesselator *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessEndPolygon ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessEndPolygon )(GLUtesselator *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessProperty )(GLUtesselator *, GLenum, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessNormal )(GLUtesselator *, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluGetTessProperty )(GLUtesselator *, GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluBeginPolygon ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluBeginPolygon )(GLUtesselator *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluNextContour )(GLUtesselator *, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluEndPolygon ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluEndPolygon )(GLUtesselator *); + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/C2J/glu-disp-var-auto.hc b/C2J/glu-disp-var-auto.hc new file mode 100644 index 0000000..86f193c --- /dev/null +++ b/C2J/glu-disp-var-auto.hc @@ -0,0 +1,88 @@ +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + + void (CALLBACK * disp__gluLookAt )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluOrtho2D )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluPerspective )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluPickMatrix )(GLdouble, GLdouble, GLdouble, GLdouble, GLint *) = NULL; + + GLint (CALLBACK * disp__gluProject )(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *) = NULL; + + GLint (CALLBACK * disp__gluUnProject )(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *) = NULL; + + GLint (CALLBACK * disp__gluScaleImage )(GLenum, GLsizei, GLsizei, GLenum, const char *, GLsizei, GLsizei, GLenum, char *) = NULL; + + GLint (CALLBACK * disp__gluBuild1DMipmaps )(GLenum, GLint, GLint, GLenum, GLenum, const void *) = NULL; + + GLint (CALLBACK * disp__gluBuild2DMipmaps )(GLenum, GLint, GLint, GLint, GLenum, GLenum, const void *) = NULL; + + void (CALLBACK * disp__gluQuadricDrawStyle )(GLUquadricObj *, GLenum) = NULL; + + void (CALLBACK * disp__gluQuadricOrientation )(GLUquadricObj *, GLenum) = NULL; + + void (CALLBACK * disp__gluQuadricNormals )(GLUquadricObj *, GLenum) = NULL; + + void (CALLBACK * disp__gluQuadricTexture )(GLUquadricObj *, GLboolean) = NULL; + + void (CALLBACK * disp__gluCylinder )(GLUquadricObj *, GLdouble, GLdouble, GLdouble, GLint, GLint) = NULL; + + void (CALLBACK * disp__gluSphere )(GLUquadricObj *, GLdouble, GLint, GLint) = NULL; + + void (CALLBACK * disp__gluDisk )(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint) = NULL; + + void (CALLBACK * disp__gluPartialDisk )(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluLoadSamplingMatrices )(GLUnurbsObj *, const GLfloat *, const GLfloat *, const GLint *) = NULL; + + void (CALLBACK * disp__gluNurbsProperty )(GLUnurbsObj *, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__gluGetNurbsProperty )(GLUnurbsObj *, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__gluBeginCurve )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluEndCurve )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluNurbsCurve )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLenum) = NULL; + + void (CALLBACK * disp__gluBeginSurface )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluEndSurface )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluNurbsSurface )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLint, GLfloat *, GLint, GLint, GLenum) = NULL; + + void (CALLBACK * disp__gluBeginTrim )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluEndTrim )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluPwlCurve )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLenum) = NULL; + + void (CALLBACK * disp__gluTessBeginPolygon )(GLUtesselator *, void *) = NULL; + + void (CALLBACK * disp__gluTessBeginContour )(GLUtesselator *) = NULL; + + void (CALLBACK * disp__gluTessVertex )(GLUtesselator *, GLdouble *, void *) = NULL; + + void (CALLBACK * disp__gluTessEndContour )(GLUtesselator *) = NULL; + + void (CALLBACK * disp__gluTessEndPolygon )(GLUtesselator *) = NULL; + + void (CALLBACK * disp__gluTessProperty )(GLUtesselator *, GLenum, GLdouble) = NULL; + + void (CALLBACK * disp__gluTessNormal )(GLUtesselator *, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluGetTessProperty )(GLUtesselator *, GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__gluBeginPolygon )(GLUtesselator *) = NULL; + + void (CALLBACK * disp__gluNextContour )(GLUtesselator *, GLenum) = NULL; + + void (CALLBACK * disp__gluEndPolygon )(GLUtesselator *) = NULL; + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/C2J/manual/gl-man-disp-fetch.hc b/C2J/manual/gl-man-disp-fetch.hc new file mode 100644 index 0000000..889df46 --- /dev/null +++ b/C2J/manual/gl-man-disp-fetch.hc @@ -0,0 +1,3 @@ + disp__glGetString = (const GLubyte *(CALLBACK *)( GLenum)) + GET_GL_PROCADDRESS ("glGetString"); + diff --git a/C2J/manual/gl-man-disp-var.h b/C2J/manual/gl-man-disp-var.h new file mode 100644 index 0000000..7c68361 --- /dev/null +++ b/C2J/manual/gl-man-disp-var.h @@ -0,0 +1 @@ + LIBAPI const GLubyte *(CALLBACK * disp__glGetString )( GLenum name ); diff --git a/C2J/manual/gl-man-disp-var.hc b/C2J/manual/gl-man-disp-var.hc new file mode 100644 index 0000000..33f36db --- /dev/null +++ b/C2J/manual/gl-man-disp-var.hc @@ -0,0 +1 @@ + const GLubyte *(CALLBACK * disp__glGetString )( GLenum name ) = NULL; diff --git a/C2J/manual/glu-man-disp-fetch.hc b/C2J/manual/glu-man-disp-fetch.hc new file mode 100644 index 0000000..3d16092 --- /dev/null +++ b/C2J/manual/glu-man-disp-fetch.hc @@ -0,0 +1,34 @@ + disp__gluGetString = (const GLubyte *(CALLBACK *)( GLenum)) + GET_GL_PROCADDRESS ("gluGetString"); + + + disp__gluErrorString = ( const GLubyte * (CALLBACK *) ( GLenum) ) + GET_GL_PROCADDRESS("gluErrorString"); + + disp__gluQuadricCallback= ( void (CALLBACK *) ( GLUquadricObj*, GLenum, GLvoid (CALLBACK *)()) ) + GET_GL_PROCADDRESS("gluQuadricCallback"); + + disp__gluNurbsCallback= ( void (CALLBACK *) ( GLUnurbsObj*, GLenum, GLvoid (CALLBACK *)()) ) + GET_GL_PROCADDRESS("gluNurbsCallback"); + + disp__gluTessCallback= ( void (CALLBACK *) ( GLUtesselator*, GLenum, GLvoid (CALLBACK *)()) ) + GET_GL_PROCADDRESS("gluTessCallback"); + + disp__gluDeleteQuadric= ( void (CALLBACK *) ( GLUquadricObj*) ) + GET_GL_PROCADDRESS("gluDeleteQuadric"); + + disp__gluDeleteNurbsRenderer= ( void (CALLBACK *) ( GLUnurbsObj*) ) + GET_GL_PROCADDRESS("gluDeleteNurbsRenderer"); + + disp__gluDeleteTess= ( void (CALLBACK *) ( GLUtesselator*) ) + GET_GL_PROCADDRESS("gluDeleteTess"); + + disp__gluNewQuadric= ( GLUquadricObj* (CALLBACK *) (void) ) + GET_GL_PROCADDRESS("gluNewQuadric"); + + disp__gluNewNurbsRenderer= ( GLUnurbsObj* (CALLBACK *) (void) ) + GET_GL_PROCADDRESS("gluNewNurbsRenderer"); + + disp__gluNewTess= ( GLUtesselator* (CALLBACK *) (void) ) + GET_GL_PROCADDRESS("gluNewTess"); + diff --git a/C2J/manual/glu-man-disp-var.h b/C2J/manual/glu-man-disp-var.h new file mode 100644 index 0000000..f980f13 --- /dev/null +++ b/C2J/manual/glu-man-disp-var.h @@ -0,0 +1,21 @@ +LIBAPI const GLubyte *(CALLBACK * disp__gluGetString )( GLenum name ); + +LIBAPI const GLubyte * (CALLBACK * disp__gluErrorString) ( GLenum); + +LIBAPI void (CALLBACK * disp__gluQuadricCallback) ( GLUquadricObj* quad, GLenum which, GLvoid (CALLBACK *)()); + +LIBAPI void (CALLBACK * disp__gluNurbsCallback) ( GLUnurbsObj* nurb, GLenum which, GLvoid (CALLBACK *)()); + +LIBAPI void (CALLBACK * disp__gluTessCallback) ( GLUtesselator* tess, GLenum which, GLvoid (CALLBACK *)()); + +LIBAPI void (CALLBACK * disp__gluDeleteQuadric) ( GLUquadricObj* quad ); + +LIBAPI void (CALLBACK * disp__gluDeleteNurbsRenderer) ( GLUnurbsObj* nurb ); + +LIBAPI void (CALLBACK * disp__gluDeleteTess) ( GLUtesselator* tess ); + +LIBAPI GLUquadricObj* (CALLBACK * disp__gluNewQuadric) ( void ); + +LIBAPI GLUnurbsObj* (CALLBACK * disp__gluNewNurbsRenderer) ( void ); + +LIBAPI GLUtesselator* (CALLBACK * disp__gluNewTess) ( void ); diff --git a/C2J/manual/glu-man-disp-var.hc b/C2J/manual/glu-man-disp-var.hc new file mode 100644 index 0000000..9336976 --- /dev/null +++ b/C2J/manual/glu-man-disp-var.hc @@ -0,0 +1,22 @@ + +const GLubyte *(CALLBACK * disp__gluGetString )( GLenum name ) = NULL; + +const GLubyte * (CALLBACK * disp__gluErrorString) ( GLenum) = NULL; + +void (CALLBACK * disp__gluQuadricCallback) ( GLUquadricObj* quad, GLenum which, GLvoid (CALLBACK *)( )) = NULL; + +void (CALLBACK * disp__gluNurbsCallback) ( GLUnurbsObj* nurb, GLenum which, GLvoid (CALLBACK *)( )) = NULL; + +void (CALLBACK * disp__gluTessCallback) ( GLUtesselator* tess, GLenum which, GLvoid (CALLBACK *)( )) = NULL; + +void (CALLBACK * disp__gluDeleteQuadric) ( GLUquadricObj* quad ) = NULL; + +void (CALLBACK * disp__gluDeleteNurbsRenderer) ( GLUnurbsObj* nurb ) = NULL; + +void (CALLBACK * disp__gluDeleteTess) ( GLUtesselator* tess ) = NULL; + +GLUquadricObj* (CALLBACK * disp__gluNewQuadric) ( void ) = NULL; + +GLUnurbsObj* (CALLBACK * disp__gluNewNurbsRenderer) ( void ) = NULL; + +GLUtesselator* (CALLBACK * disp__gluNewTess) ( void ) = NULL; diff --git a/C2J/manual/glx-disp-fetch.hc b/C2J/manual/glx-disp-fetch.hc new file mode 100644 index 0000000..89ae276 --- /dev/null +++ b/C2J/manual/glx-disp-fetch.hc @@ -0,0 +1,37 @@ + + disp__glXWaitGL = (void (CALLBACK *)( void )) + GET_GL_PROCADDRESS("glXWaitGL"); + + disp__glXDestroyGLXPixmap = (void (CALLBACK *)( Display *, GLXPixmap)) + GET_GL_PROCADDRESS("glXDestroyGLXPixmap"); + + disp__glXQueryExtension = (Bool (CALLBACK *)( Display *, int *, int *)) + GET_GL_PROCADDRESS("glXQueryExtension"); + + disp__glXGetClientString = (const char * (CALLBACK *)( Display *, int )) + GET_GL_PROCADDRESS("glXGetClientString"); + + disp__glXCreateGLXPixmap = (GLXPixmap (CALLBACK *)( Display *, XVisualInfo *, Pixmap)) + GET_GL_PROCADDRESS("glXCreateGLXPixmap"); + + disp__glXChooseVisual = (XVisualInfo* (CALLBACK *) (Display *, int , int *)) + GET_GL_PROCADDRESS("glXChooseVisual"); + + disp__glXCreateContext = (GLXContext (CALLBACK *) (Display *, XVisualInfo *, GLXContext, Bool)) + GET_GL_PROCADDRESS("glXCreateContext"); + + disp__glXGetCurrentContext = (GLXContext (CALLBACK *) ()) + GET_GL_PROCADDRESS("glXGetCurrentContext"); + + disp__glXDestroyContext = (void (CALLBACK *) (Display *, GLXContext)) + GET_GL_PROCADDRESS("glXDestroyContext"); + + disp__glXGetConfig = (int (CALLBACK *) (Display *, XVisualInfo *, int, int *)) + GET_GL_PROCADDRESS("glXGetConfig"); + + disp__glXMakeCurrent = (Bool (CALLBACK *) (Display *, GLXDrawable, GLXContext)) + GET_GL_PROCADDRESS("glXMakeCurrent"); + + disp__glXSwapBuffers = (void (CALLBACK *) (Display *, GLXDrawable)) + GET_GL_PROCADDRESS("glXSwapBuffers"); + diff --git a/C2J/manual/glx-disp-var.h b/C2J/manual/glx-disp-var.h new file mode 100644 index 0000000..c87ccfd --- /dev/null +++ b/C2J/manual/glx-disp-var.h @@ -0,0 +1,15 @@ + +LIBAPI void *(CALLBACK * disp__glXGetProcAddress) (const GLubyte *); +LIBAPI void (CALLBACK * disp__glXWaitGL)( void ); +LIBAPI void (CALLBACK * disp__glXDestroyGLXPixmap)( Display *dpy, GLXPixmap pix ); +LIBAPI Bool (CALLBACK * disp__glXQueryExtension)( Display *dpy, int *errorBase, int *eventBase ); +LIBAPI const char * (CALLBACK * disp__glXGetClientString)( Display *dpy, int name ); +LIBAPI GLXPixmap (CALLBACK * disp__glXCreateGLXPixmap)( Display *, XVisualInfo *, Pixmap); +LIBAPI XVisualInfo* (CALLBACK * disp__glXChooseVisual) (Display *, int , int *); +LIBAPI GLXContext (CALLBACK * disp__glXCreateContext) (Display *, XVisualInfo *, GLXContext, Bool); +LIBAPI GLXContext (CALLBACK * disp__glXGetCurrentContext) (void); +LIBAPI void (CALLBACK * disp__glXDestroyContext) (Display *, GLXContext); +LIBAPI int (CALLBACK * disp__glXGetConfig) (Display *, XVisualInfo *, int, int *); +LIBAPI Bool (CALLBACK * disp__glXMakeCurrent) (Display *, GLXDrawable, GLXContext); +LIBAPI void (CALLBACK * disp__glXSwapBuffers) (Display *, GLXDrawable); + diff --git a/C2J/manual/glx-disp-var.hc b/C2J/manual/glx-disp-var.hc new file mode 100644 index 0000000..c24a839 --- /dev/null +++ b/C2J/manual/glx-disp-var.hc @@ -0,0 +1,15 @@ + +void *(CALLBACK * disp__glXGetProcAddress) (const GLubyte *) = NULL; +void (CALLBACK * disp__glXWaitGL)( ) = NULL; +void (CALLBACK * disp__glXDestroyGLXPixmap)( Display *dpy, GLXPixmap pix ) = NULL; +Bool (CALLBACK * disp__glXQueryExtension)( Display *dpy, int *errorBase, int *eventBase ) = NULL; +const char * (CALLBACK * disp__glXGetClientString)( Display *dpy, int name ) = NULL; +GLXPixmap (CALLBACK * disp__glXCreateGLXPixmap)( Display *, XVisualInfo *, Pixmap) = NULL; +XVisualInfo* (CALLBACK * disp__glXChooseVisual) (Display *, int , int *) = NULL; +GLXContext (CALLBACK * disp__glXCreateContext) (Display *, XVisualInfo *, GLXContext, Bool) = NULL; +GLXContext (CALLBACK * disp__glXGetCurrentContext) () = NULL; +void (CALLBACK * disp__glXDestroyContext) (Display *, GLXContext) = NULL; +int (CALLBACK * disp__glXGetConfig) (Display *, XVisualInfo *, int, int *) = NULL; +Bool (CALLBACK * disp__glXMakeCurrent) (Display *, GLXDrawable, GLXContext) = NULL; +void (CALLBACK * disp__glXSwapBuffers) (Display *, GLXDrawable) = NULL; + diff --git a/C2J/manual/wgl-disp-fetch.hc b/C2J/manual/wgl-disp-fetch.hc new file mode 100755 index 0000000..4a84ecc --- /dev/null +++ b/C2J/manual/wgl-disp-fetch.hc @@ -0,0 +1,26 @@ +
+ disp__wglCopyContext = (BOOL (CALLBACK *)(HGLRC, HGLRC, UINT))
+ GET_GL_PROCADDRESS("wglCopyContext");
+
+ disp__wglCreateContext = (HGLRC (CALLBACK *)(HDC))
+ GET_GL_PROCADDRESS("wglCreateContext");
+ + disp__wglCreateLayerContext = (HGLRC (CALLBACK *)(HDC, int))
+ GET_GL_PROCADDRESS("wglCreateLayerContext");
+
+ disp__wglDeleteContext = (BOOL (CALLBACK *)(HGLRC))
+ GET_GL_PROCADDRESS("wglDeleteContext");
+
+ disp__wglGetCurrentContext = (HGLRC (CALLBACK *)(VOID))
+ GET_GL_PROCADDRESS("wglGetCurrentContext");
+
+ disp__wglGetCurrentDC = (HDC (CALLBACK *)(VOID))
+ GET_GL_PROCADDRESS("wglGetCurrentDC");
+
+ disp__wglMakeCurrent = (BOOL (CALLBACK *)(HDC, HGLRC))
+ GET_GL_PROCADDRESS("wglMakeCurrent");
+
+ disp__wglShareLists = (BOOL (CALLBACK *)(HGLRC, HGLRC))
+ GET_GL_PROCADDRESS("wglShareLists");
+
+ diff --git a/C2J/manual/wgl-disp-var.h b/C2J/manual/wgl-disp-var.h new file mode 100644 index 0000000..44b47e3 --- /dev/null +++ b/C2J/manual/wgl-disp-var.h @@ -0,0 +1,12 @@ + +LIBAPI PROC (CALLBACK * disp__wglGetProcAddress)(LPCSTR); +LIBAPI BOOL (CALLBACK * disp__wglCopyContext)(HGLRC, HGLRC, UINT); +LIBAPI HGLRC (CALLBACK * disp__wglCreateContext)(HDC); +LIBAPI HGLRC (CALLBACK * disp__wglCreateLayerContext)(HDC, int); +LIBAPI BOOL (CALLBACK * disp__wglDeleteContext)(HGLRC); +LIBAPI HGLRC (CALLBACK * disp__wglGetCurrentContext)(VOID); +LIBAPI HDC (CALLBACK * disp__wglGetCurrentDC)(VOID); +LIBAPI BOOL (CALLBACK * disp__wglMakeCurrent)(HDC, HGLRC); +LIBAPI BOOL (CALLBACK * disp__wglShareLists)(HGLRC, HGLRC); + + diff --git a/C2J/manual/wgl-disp-var.hc b/C2J/manual/wgl-disp-var.hc new file mode 100644 index 0000000..8d4cde1 --- /dev/null +++ b/C2J/manual/wgl-disp-var.hc @@ -0,0 +1,11 @@ +PROC (CALLBACK * disp__wglGetProcAddress)(LPCSTR) = NULL; +BOOL (CALLBACK * disp__wglCopyContext)(HGLRC, HGLRC, UINT) = NULL; +HGLRC (CALLBACK * disp__wglCreateContext)(HDC) = NULL; +HGLRC (CALLBACK * disp__wglCreateLayerContext)(HDC, int) = NULL; +BOOL (CALLBACK * disp__wglDeleteContext)(HGLRC) = NULL; +HGLRC (CALLBACK * disp__wglGetCurrentContext)(VOID) = NULL; +HDC (CALLBACK * disp__wglGetCurrentDC)(VOID) = NULL; +BOOL (CALLBACK * disp__wglMakeCurrent)(HDC, HGLRC) = NULL; +BOOL (CALLBACK * disp__wglShareLists)(HGLRC, HGLRC) = NULL; + + diff --git a/CNativeCode/OpenGLU_JauJNI12nf_funcs.c b/CNativeCode/OpenGLU_JauJNI12nf_funcs.c new file mode 100755 index 0000000..7d40944 --- /dev/null +++ b/CNativeCode/OpenGLU_JauJNI12nf_funcs.c @@ -0,0 +1,2301 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!
+
+ DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
+*/
+
+
+/*
+ * Leo Chan -- 1995
+ *
+ * This C file takes care of all the native implementation for the
+ * OpenGL utility commands
+ * ---------------
+ *
+ * Sven Goethel
+ *
+ * September 1997
+ */
+
+
+/*--------------------------------------------------------------------------
+ * here on in is just regular apple pie C
+ */
+
+#include "OpenGL_misc.h"
+
+#include "gl4java_GLUFuncJauJNInf.h"
+
+#include "GLCallbackHelperJNI.h"
+#include "GLUCallbackJNI.h"
+#include "jnitools.h"
+
+/**
+ * herein lies the native JAVA methods for the OpenGL functions.
+ */
+
+static const char _glu_n_a_string[] = "GLU-String not avaiable !";
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluErrorString ( JNIEnv *env, jobject obj,
+ jint errorCode )
+{
+ const char *tmpString=0;
+
+ tmpString = disp__gluErrorString ( /* jint */ errorCode );
+ if(tmpString==NULL)
+ tmpString=_glu_n_a_string;
+
+ return (*env)->NewStringUTF(env, tmpString);
+}
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluGetString ( JNIEnv *env, jobject obj,
+ jint name )
+{
+ const char *tmpString=0;
+
+ tmpString = disp__gluGetString ( /* jint */ name);
+ if(tmpString==NULL)
+ tmpString=_glu_n_a_string;
+
+ return (*env)->NewStringUTF(env, tmpString);
+}
+
+static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
+static const char * _glu_lib_version_="2.7.0.0";
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLUFuncJauJNInf_getNativeVendor ( JNIEnv *env, jobject obj )
+{
+ return (*env)->NewStringUTF(env, _glu_lib_vendor_);
+}
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLUFuncJauJNInf_getNativeVersion ( JNIEnv *env, jobject obj )
+{
+ return (*env)->NewStringUTF(env, _glu_lib_version_);
+}
+
+static void _AddCallbackNode(JNIEnv *env,
+ jlong qnt_obj, jint which,
+ jobject methodClassInstance,
+ jstring methodName,
+ jstring signature,
+ jint arrayLen1,
+ jint arrayLen2,
+ jint arrayLen3,
+ jint arrayLen4,
+ jint arrayLen5)
+{
+ char * strMethodName = jnitoolsGetJavaString(env, methodName);
+ char * strSignature = jnitoolsGetJavaString(env, signature);
+ jlong glx=0;
+
+ glx = GetCurrentGLContext();
+
+ AddCallbackNode(env, methodClassInstance, strMethodName, strSignature,
+ arrayLen1, arrayLen2, arrayLen3,
+ arrayLen4, arrayLen5,
+ (void *)((PointerHolder)qnt_obj), which, glx);
+ free(strMethodName);
+ free(strSignature);
+}
+
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluQuadricCallback( JNIEnv *env, jobject obj,
+ jlong qobj, jint which,
+ jobject methodClassInstance,
+ jstring methodName,
+ jstring signature)
+{
+ switch(which)
+ {
+ case GLU_ERROR:
+ disp__gluQuadricCallback((void *)((PointerHolder)qobj),
+ which, cbf_GLU_ERROR );
+ break;
+ default:
+ jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !");
+ return;
+ }
+ _AddCallbackNode(env,
+ qobj, which, methodClassInstance, methodName,
+ signature,
+ 0, 0, 0, 0, 0);
+}
+
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluNurbsCallback( JNIEnv *env, jobject obj,
+ jlong nobj, jint which,
+ jobject methodClassInstance,
+ jstring methodName,
+ jstring signature)
+{
+ switch(which)
+ {
+ case GLU_ERROR:
+ disp__gluNurbsCallback((void *)((PointerHolder)nobj), which,
+ cbf_GLU_ERROR );
+ break;
+ default:
+ jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !");
+ return;
+ }
+ _AddCallbackNode(env,
+ nobj, which, methodClassInstance, methodName,
+ signature,
+ 0, 0, 0, 0, 0);
+}
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluTessCallback( JNIEnv *env, jobject obj,
+ jlong tobj, jint which,
+ jobject methodClassInstance,
+ jstring methodName,
+ jstring signature,
+ jint arrayLen1,
+ jint arrayLen2,
+ jint arrayLen3,
+ jint arrayLen4,
+ jint arrayLen5)
+{
+ switch(which)
+ {
+ case GLU_TESS_BEGIN:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_BEGIN );
+ break;
+ case GLU_TESS_BEGIN_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_BEGIN_DATA );
+ break;
+ case GLU_TESS_EDGE_FLAG:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_EDGE_FLAG );
+ break;
+ case GLU_TESS_EDGE_FLAG_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_EDGE_FLAG_DATA );
+ break;
+ case GLU_TESS_VERTEX:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_VERTEX );
+ break;
+ case GLU_TESS_VERTEX_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_VERTEX_DATA );
+ break;
+ case GLU_TESS_END:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_END );
+ break;
+ case GLU_TESS_END_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_END_DATA );
+ break;
+ case GLU_TESS_ERROR:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_ERROR );
+ break;
+ case GLU_TESS_ERROR_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_ERROR_DATA );
+ break;
+ case GLU_TESS_COMBINE:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_COMBINE );
+ break;
+ case GLU_TESS_COMBINE_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_COMBINE_DATA );
+ break;
+ default:
+ jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !");
+ return;
+ }
+ _AddCallbackNode(env,
+ tobj, which, methodClassInstance, methodName,
+ signature,
+ arrayLen1, arrayLen2, arrayLen3,
+ arrayLen4, arrayLen5);
+}
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluDeleteQuadric( JNIEnv *env, jobject obj,
+ jlong qobj )
+{
+ disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
+ RemoveCallbackNodes((void *)((PointerHolder)qobj));
+}
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
+ jlong nobj )
+{
+ disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
+ RemoveCallbackNodes((void *)((PointerHolder)nobj));
+}
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluDeleteTess( JNIEnv *env, jobject obj,
+ jlong tobj )
+{
+ disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
+ RemoveCallbackNodes((void *)((PointerHolder)tobj));
+}
+
+JNIEXPORT jlong JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluNewQuadric( JNIEnv *env, jobject obj)
+{
+ return (jlong)((PointerHolder)disp__gluNewQuadric());
+}
+
+JNIEXPORT jlong JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
+{
+ return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
+}
+
+JNIEXPORT jlong JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluNewTess( JNIEnv *env, jobject obj)
+{
+ return (jlong)((PointerHolder)disp__gluNewTess());
+}
+
+/**
+ * C2J Parser Version 2.0
+ * Jausoft - Sven Goethel Software Development
+ * Reading from file: glu-proto-auto.orig.h . . .
+ * Destination-Class: gl4java_GLUFuncJauJNInf !
+ */
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluLookAt (
+ JNIEnv *env, jobject obj,
+ jdouble eyex,
+ jdouble eyey,
+ jdouble eyez,
+ jdouble centerx,
+ jdouble centery,
+ jdouble centerz,
+ jdouble upx,
+ jdouble upy,
+ jdouble upz)
+ {
+
+ disp__gluLookAt (
+ (GLdouble) eyex,
+ (GLdouble) eyey,
+ (GLdouble) eyez,
+ (GLdouble) centerx,
+ (GLdouble) centery,
+ (GLdouble) centerz,
+ (GLdouble) upx,
+ (GLdouble) upy,
+ (GLdouble) upz
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluOrtho2D (
+ JNIEnv *env, jobject obj,
+ jdouble left,
+ jdouble right,
+ jdouble bottom,
+ jdouble top)
+ {
+
+ disp__gluOrtho2D (
+ (GLdouble) left,
+ (GLdouble) right,
+ (GLdouble) bottom,
+ (GLdouble) top
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluPerspective (
+ JNIEnv *env, jobject obj,
+ jdouble fovy,
+ jdouble aspect,
+ jdouble zNear,
+ jdouble zFar)
+ {
+
+ disp__gluPerspective (
+ (GLdouble) fovy,
+ (GLdouble) aspect,
+ (GLdouble) zNear,
+ (GLdouble) zFar
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluPickMatrix (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y,
+ jdouble width,
+ jdouble height,
+ jintArray viewport)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jint *ptr4 = NULL;
+
+ if(viewport!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray4);
+ }
+ disp__gluPickMatrix (
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) width,
+ (GLdouble) height,
+ (GLint *) ptr4
+ );
+
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluProject (
+ JNIEnv *env, jobject obj,
+ jdouble objx,
+ jdouble objy,
+ jdouble objz,
+ jdoubleArray modelMatrix,
+ jdoubleArray projMatrix,
+ jintArray viewport,
+ jdoubleArray winx,
+ jdoubleArray winy,
+ jdoubleArray winz)
+ {
+ jint ret;
+
+ jdouble *ptr3 = NULL;
+ jdouble *ptr4 = NULL;
+ jint *ptr5 = NULL;
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jdouble *ptr6 = NULL;
+ jboolean isCopiedArray7 = JNI_FALSE;
+ jdouble *ptr7 = NULL;
+ jboolean isCopiedArray8 = JNI_FALSE;
+ jdouble *ptr8 = NULL;
+
+ if(modelMatrix!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
+ }
+ if(projMatrix!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0);
+ }
+ if(viewport!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
+ }
+ if(winx!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winx, &isCopiedArray6);
+ }
+ if(winy!=NULL)
+ {
+ ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winy, &isCopiedArray7);
+ }
+ if(winz!=NULL)
+ {
+ ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winz, &isCopiedArray8);
+ }
+ ret = (jint) disp__gluProject (
+ (GLdouble) objx,
+ (GLdouble) objy,
+ (GLdouble) objz,
+ (const GLdouble *) ptr3,
+ (const GLdouble *) ptr4,
+ (const GLint *) ptr5,
+ (GLdouble *) ptr6,
+ (GLdouble *) ptr7,
+ (GLdouble *) ptr8
+ );
+
+ if(modelMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT);
+ }
+ if(projMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT);
+ }
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT);
+ }
+ if(winx!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, winx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(winy!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, winy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(winz!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, winz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluUnProject (
+ JNIEnv *env, jobject obj,
+ jdouble winx,
+ jdouble winy,
+ jdouble winz,
+ jdoubleArray modelMatrix,
+ jdoubleArray projMatrix,
+ jintArray viewport,
+ jdoubleArray objx,
+ jdoubleArray objy,
+ jdoubleArray objz)
+ {
+ jint ret;
+
+ jdouble *ptr3 = NULL;
+ jdouble *ptr4 = NULL;
+ jint *ptr5 = NULL;
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jdouble *ptr6 = NULL;
+ jboolean isCopiedArray7 = JNI_FALSE;
+ jdouble *ptr7 = NULL;
+ jboolean isCopiedArray8 = JNI_FALSE;
+ jdouble *ptr8 = NULL;
+
+ if(modelMatrix!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
+ }
+ if(projMatrix!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0);
+ }
+ if(viewport!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
+ }
+ if(objx!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objx, &isCopiedArray6);
+ }
+ if(objy!=NULL)
+ {
+ ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objy, &isCopiedArray7);
+ }
+ if(objz!=NULL)
+ {
+ ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objz, &isCopiedArray8);
+ }
+ ret = (jint) disp__gluUnProject (
+ (GLdouble) winx,
+ (GLdouble) winy,
+ (GLdouble) winz,
+ (const GLdouble *) ptr3,
+ (const GLdouble *) ptr4,
+ (const GLint *) ptr5,
+ (GLdouble *) ptr6,
+ (GLdouble *) ptr7,
+ (GLdouble *) ptr8
+ );
+
+ if(modelMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT);
+ }
+ if(projMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT);
+ }
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT);
+ }
+ if(objx!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, objx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(objy!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, objy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(objz!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, objz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluScaleImage (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint widthin,
+ jint heightin,
+ jint typein,
+ jbyteArray datain,
+ jint widthout,
+ jint heightout,
+ jint typeout,
+ jbyteArray dataout)
+ {
+ jint ret;
+
+ jbyte *ptr4 = NULL;
+ jboolean isCopiedArray8 = JNI_FALSE;
+ jbyte *ptr8 = NULL;
+
+ if(datain!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, datain, 0);
+ }
+ if(dataout!=NULL)
+ {
+ ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, dataout, &isCopiedArray8);
+ }
+ ret = (jint) disp__gluScaleImage (
+ (GLenum) format,
+ (GLsizei) widthin,
+ (GLsizei) heightin,
+ (GLenum) typein,
+ (const char *) ptr4,
+ (GLsizei) widthout,
+ (GLsizei) heightout,
+ (GLenum) typeout,
+ (char *) ptr8
+ );
+
+ if(datain!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, datain, ptr4, JNI_ABORT);
+ }
+ if(dataout!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, dataout, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jbyteArray data)
+ {
+ jint ret;
+
+ jbyte *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jshortArray data)
+ {
+ jint ret;
+
+ jshort *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jintArray data)
+ {
+ jint ret;
+
+ jint *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jfloatArray data)
+ {
+ jint ret;
+
+ jfloat *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jdoubleArray data)
+ {
+ jint ret;
+
+ jdouble *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jbooleanArray data)
+ {
+ jint ret;
+
+ jboolean *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jlongArray data)
+ {
+ jint ret;
+
+ jlong *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbyteArray data)
+ {
+ jint ret;
+
+ jbyte *ptr6 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jshortArray data)
+ {
+ jint ret;
+
+ jshort *ptr6 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jintArray data)
+ {
+ jint ret;
+
+ jint *ptr6 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jfloatArray data)
+ {
+ jint ret;
+
+ jfloat *ptr6 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jdoubleArray data)
+ {
+ jint ret;
+
+ jdouble *ptr6 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbooleanArray data)
+ {
+ jint ret;
+
+ jboolean *ptr6 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jlongArray data)
+ {
+ jint ret;
+
+ jlong *ptr6 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluQuadricDrawStyle (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jint drawStyle)
+ {
+
+ disp__gluQuadricDrawStyle (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLenum) drawStyle
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluQuadricOrientation (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jint orientation)
+ {
+
+ disp__gluQuadricOrientation (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLenum) orientation
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluQuadricNormals (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jint normals)
+ {
+
+ disp__gluQuadricNormals (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLenum) normals
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluQuadricTexture (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jboolean textureCoords)
+ {
+
+ disp__gluQuadricTexture (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLboolean) textureCoords
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluCylinder (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble baseRadius,
+ jdouble topRadius,
+ jdouble height,
+ jint slices,
+ jint stacks)
+ {
+
+ disp__gluCylinder (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) baseRadius,
+ (GLdouble) topRadius,
+ (GLdouble) height,
+ (GLint) slices,
+ (GLint) stacks
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluSphere (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble radius,
+ jint slices,
+ jint stacks)
+ {
+
+ disp__gluSphere (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) radius,
+ (GLint) slices,
+ (GLint) stacks
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluDisk (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble innerRadius,
+ jdouble outerRadius,
+ jint slices,
+ jint loops)
+ {
+
+ disp__gluDisk (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) innerRadius,
+ (GLdouble) outerRadius,
+ (GLint) slices,
+ (GLint) loops
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluPartialDisk (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble innerRadius,
+ jdouble outerRadius,
+ jint slices,
+ jint loops,
+ jdouble startAngle,
+ jdouble sweepAngle)
+ {
+
+ disp__gluPartialDisk (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) innerRadius,
+ (GLdouble) outerRadius,
+ (GLint) slices,
+ (GLint) loops,
+ (GLdouble) startAngle,
+ (GLdouble) sweepAngle
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluLoadSamplingMatrices (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jfloatArray modelMatrix,
+ jfloatArray projMatrix,
+ jintArray viewport)
+ {
+ jfloat *ptr1 = NULL;
+ jfloat *ptr2 = NULL;
+ jint *ptr3 = NULL;
+
+ if(modelMatrix!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
+ }
+ if(projMatrix!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0);
+ }
+ if(viewport!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
+ }
+ disp__gluLoadSamplingMatrices (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (const GLfloat *) ptr1,
+ (const GLfloat *) ptr2,
+ (const GLint *) ptr3
+ );
+
+ if(modelMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr1, JNI_ABORT);
+ }
+ if(projMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr2, JNI_ABORT);
+ }
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr3, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluNurbsProperty (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint property,
+ jfloat value)
+ {
+
+ disp__gluNurbsProperty (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLenum) property,
+ (GLfloat) value
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluGetNurbsProperty (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint property,
+ jfloatArray value)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(value!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
+ }
+ disp__gluGetNurbsProperty (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLenum) property,
+ (GLfloat *) ptr2
+ );
+
+ if(value!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBeginCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ disp__gluBeginCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluEndCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ disp__gluEndCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluNurbsCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint nknots,
+ jfloatArray knot,
+ jint stride,
+ jfloatArray ctlarray,
+ jint order,
+ jint type)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+
+ if(knot!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, knot, &isCopiedArray2);
+ }
+ if(ctlarray!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray4);
+ }
+ disp__gluNurbsCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLint) nknots,
+ (GLfloat *) ptr2,
+ (GLint) stride,
+ (GLfloat *) ptr4,
+ (GLint) order,
+ (GLenum) type
+ );
+
+ if(knot!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, knot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(ctlarray!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBeginSurface (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ disp__gluBeginSurface (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluEndSurface (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ disp__gluEndSurface (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluNurbsSurface (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint sknot_count,
+ jfloatArray sknot,
+ jint tknot_count,
+ jfloatArray tknot,
+ jint s_stride,
+ jint t_stride,
+ jfloatArray ctlarray,
+ jint sorder,
+ jint torder,
+ jint type)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+ jboolean isCopiedArray7 = JNI_FALSE;
+ jfloat *ptr7 = NULL;
+
+ if(sknot!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, sknot, &isCopiedArray2);
+ }
+ if(tknot!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, tknot, &isCopiedArray4);
+ }
+ if(ctlarray!=NULL)
+ {
+ ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray7);
+ }
+ disp__gluNurbsSurface (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLint) sknot_count,
+ (GLfloat *) ptr2,
+ (GLint) tknot_count,
+ (GLfloat *) ptr4,
+ (GLint) s_stride,
+ (GLint) t_stride,
+ (GLfloat *) ptr7,
+ (GLint) sorder,
+ (GLint) torder,
+ (GLenum) type
+ );
+
+ if(sknot!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, sknot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(tknot!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, tknot, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(ctlarray!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBeginTrim (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ disp__gluBeginTrim (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluEndTrim (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ disp__gluEndTrim (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluPwlCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint count,
+ jfloatArray array,
+ jint stride,
+ jint type)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(array!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, array, &isCopiedArray2);
+ }
+ disp__gluPwlCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLint) count,
+ (GLfloat *) ptr2,
+ (GLint) stride,
+ (GLenum) type
+ );
+
+ if(array!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, array, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3B (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jbyteArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jbyte *ptr1 = NULL;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3S (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jshortArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jshort *ptr1 = NULL;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3I (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jintArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3F (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jfloatArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jfloat *ptr1 = NULL;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3D (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3Z (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jbooleanArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jboolean *ptr1 = NULL;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3J (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jlongArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jlong *ptr1 = NULL;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginContour (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ disp__gluTessBeginContour (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3B (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jbyteArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jbyte *ptr2 = NULL;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3S (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jshortArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jshort *ptr2 = NULL;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3I (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jintArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3F (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jfloatArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3D (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jdoubleArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jdouble *ptr2 = NULL;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3Z (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jbooleanArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jboolean *ptr2 = NULL;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3J (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jlongArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jlong *ptr2 = NULL;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessEndContour (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ disp__gluTessEndContour (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessEndPolygon (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ disp__gluTessEndPolygon (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessProperty (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jint which,
+ jdouble value)
+ {
+
+ disp__gluTessProperty (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLenum) which,
+ (GLdouble) value
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessNormal (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdouble x,
+ jdouble y,
+ jdouble z)
+ {
+
+ disp__gluTessNormal (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluGetTessProperty (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jint which,
+ jdoubleArray value)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jdouble *ptr2 = NULL;
+
+ if(value!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
+ }
+ disp__gluGetTessProperty (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLenum) which,
+ (GLdouble *) ptr2
+ );
+
+ if(value!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBeginPolygon (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ disp__gluBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluNextContour (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jint type)
+ {
+
+ disp__gluNextContour (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLenum) type
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluEndPolygon (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ disp__gluEndPolygon (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGL_JauJNI12_funcs.c b/CNativeCode/OpenGL_JauJNI12_funcs.c new file mode 100755 index 0000000..025eb6f --- /dev/null +++ b/CNativeCode/OpenGL_JauJNI12_funcs.c @@ -0,0 +1,18877 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + +/* + * Leo Chan -- 1995 + * + * This mammoth C file takes care of all the native implementation for the + * bulk of OpenGL commands + * --------------- + * + * Sven Goethel + * + * September 1997 + */ + +/* + * need to include the JAVA internal header files for macros and function + * prototypes required to maipulated JAVA data structures and functions + * + * StubPreamble.h includes the structure and macro definitions neede to + * convert JAVA data structures into C data structures. + * + */ + +#include "OpenGL_misc.h" + +/* + * the next thing to include are special headers that were created by + * JAVAH. They include the C structure definitions for the JAVA classes + */ +#include "gl4java_GLFuncJauJNI.h" + +/*-------------------------------------------------------------------------- + * here on in is just regular apple pie C + */ + +#ifndef LIBAPIENTRY + #define LIBAPIENTRY +#endif +#ifndef LIBAPI + #define LIBAPI +#endif + +#ifndef CALLBACK + #define CALLBACK +#endif +/** THIS IS A MANUAL CODED PART + gl-manualCodedImplJNI.java +*/ + +static const char _gl_n_a_string[] = "GL-String not avaiable !"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj, + jint name ) +{ + const char * tmpString=0; + + tmpString = disp__glGetString ( /* jint */ name); + if(tmpString==NULL) + tmpString=_gl_n_a_string; + + return (*env)->NewStringUTF(env, tmpString); +} + +static const char * _gl_lib_vendor_="Jausoft - Sven Goethel Software Development"; +static const char * _gl_lib_version_="2.7.0.0"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _gl_lib_vendor_); +} + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _gl_lib_version_); +} + +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + * <pre> + extern void glClearIndex ( GLfloat c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearIndex ( + JNIEnv *env, jobject obj, + jfloat c) + { + + disp__glClearIndex ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glClearColor ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClear ( GLbitfield mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClear ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glClear ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexMask ( GLuint mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexMask ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glIndexMask ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMask ( + JNIEnv *env, jobject obj, + jboolean red, + jboolean green, + jboolean blue, + jboolean alpha) + { + + disp__glColorMask ( + (GLboolean) red, + (GLboolean) green, + (GLboolean) blue, + (GLboolean) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glAlphaFunc ( GLenum func , GLclampf ref ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAlphaFunc ( + JNIEnv *env, jobject obj, + jint func, + jfloat ref) + { + + disp__glAlphaFunc ( + (GLenum) func, + (GLclampf) ref + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendFunc ( + JNIEnv *env, jobject obj, + jint sfactor, + jint dfactor) + { + + disp__glBlendFunc ( + (GLenum) sfactor, + (GLenum) dfactor + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLogicOp ( GLenum opcode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLogicOp ( + JNIEnv *env, jobject obj, + jint opcode) + { + + disp__glLogicOp ( + (GLenum) opcode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCullFace ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCullFace ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glCullFace ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFrontFace ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrontFace ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glFrontFace ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPointSize ( GLfloat size ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointSize ( + JNIEnv *env, jobject obj, + jfloat size) + { + + disp__glPointSize ( + (GLfloat) size + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLineWidth ( GLfloat width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineWidth ( + JNIEnv *env, jobject obj, + jfloat width) + { + + disp__glLineWidth ( + (GLfloat) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLineStipple ( GLint factor , GLushort pattern ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineStipple ( + JNIEnv *env, jobject obj, + jint factor, + jshort pattern) + { + + disp__glLineStipple ( + (GLint) factor, + (GLushort) pattern + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonMode ( GLenum face , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonMode ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + + disp__glPolygonMode ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffset ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat units) + { + + disp__glPolygonOffset ( + (GLfloat) factor, + (GLfloat) units + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonStipple ( const GLubyte * mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + jbyte *ptr0 = NULL; + + if(mask!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, 0); + } + disp__glPolygonStipple ( + (const GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPolygonStipple ( GLubyte * mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + + if(mask!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0); + } + disp__glGetPolygonStipple ( + (GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, (isCopiedArray0 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlag ( GLboolean flag ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlag ( + JNIEnv *env, jobject obj, + jboolean flag) + { + + disp__glEdgeFlag ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagv ( const GLboolean * flag ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagv ( + JNIEnv *env, jobject obj, + jbooleanArray flag) + { + jboolean *ptr0 = NULL; + + if(flag!=NULL) + { + ptr0 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, flag, 0); + } + disp__glEdgeFlagv ( + (const GLboolean *) ptr0 + ); + + if(flag!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, flag, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScissor ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + + disp__glScissor ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + jdouble *ptr1 = NULL; + + if(equation!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, 0); + } + disp__glClipPlane ( + (GLenum) plane, + (const GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(equation!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1); + } + disp__glGetClipPlane ( + (GLenum) plane, + (GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawBuffer ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glDrawBuffer ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glReadBuffer ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glReadBuffer ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEnable ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnable ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glEnable ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDisable ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisable ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glDisable ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsEnabled ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsEnabled ( + JNIEnv *env, jobject obj, + jint cap) + { + jboolean ret; + + + ret = (jboolean) disp__glIsEnabled ( + (GLenum) cap + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEnableClientState ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glEnableClientState ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDisableClientState ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glDisableClientState ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetBooleanv ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetBooleanv ( + (GLenum) pname, + (GLboolean *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetDoublev ( GLenum pname , GLdouble * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetDoublev ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetDoublev ( + (GLenum) pname, + (GLdouble *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetFloatv ( GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetFloatv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetFloatv ( + (GLenum) pname, + (GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetIntegerv ( GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetIntegerv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetIntegerv ( + (GLenum) pname, + (GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushAttrib ( GLbitfield mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glPushAttrib ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopAttrib ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopAttrib ( + JNIEnv *env, jobject obj) + { + + disp__glPopAttrib ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushClientAttrib ( GLbitfield mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushClientAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glPushClientAttrib ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopClientAttrib ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopClientAttrib ( + JNIEnv *env, jobject obj) + { + + disp__glPopClientAttrib ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLint glRenderMode ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glRenderMode ( + JNIEnv *env, jobject obj, + jint mode) + { + jint ret; + + + ret = (jint) disp__glRenderMode ( + (GLenum) mode + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern GLenum glGetError ( void ) ; + * </pre> + */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGetError ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) disp__glGetError ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFinish ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFinish ( + JNIEnv *env, jobject obj) + { + + disp__glFinish ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFlush ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFlush ( + JNIEnv *env, jobject obj) + { + + disp__glFlush ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glHint ( GLenum target , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHint ( + JNIEnv *env, jobject obj, + jint target, + jint mode) + { + + disp__glHint ( + (GLenum) target, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearDepth ( GLclampd depth ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearDepth ( + JNIEnv *env, jobject obj, + jdouble depth) + { + + disp__glClearDepth ( + (GLclampd) depth + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthFunc ( GLenum func ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthFunc ( + JNIEnv *env, jobject obj, + jint func) + { + + disp__glDepthFunc ( + (GLenum) func + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthMask ( GLboolean flag ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthMask ( + JNIEnv *env, jobject obj, + jboolean flag) + { + + disp__glDepthMask ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthRange ( + JNIEnv *env, jobject obj, + jdouble near_val, + jdouble far_val) + { + + disp__glDepthRange ( + (GLclampd) near_val, + (GLclampd) far_val + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearAccum ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glClearAccum ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glAccum ( GLenum op , GLfloat value ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAccum ( + JNIEnv *env, jobject obj, + jint op, + jfloat value) + { + + disp__glAccum ( + (GLenum) op, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMatrixMode ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMatrixMode ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glMatrixMode ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glOrtho ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + + disp__glOrtho ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrustum ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + + disp__glFrustum ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glViewport ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + + disp__glViewport ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushMatrix ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushMatrix ( + JNIEnv *env, jobject obj) + { + + disp__glPushMatrix ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopMatrix ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopMatrix ( + JNIEnv *env, jobject obj) + { + + disp__glPopMatrix ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadIdentity ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadIdentity ( + JNIEnv *env, jobject obj) + { + + disp__glLoadIdentity ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixd ( const GLdouble * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + jdouble *ptr0 = NULL; + + if(m!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, 0); + } + disp__glLoadMatrixd ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixf ( const GLfloat * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + jfloat *ptr0 = NULL; + + if(m!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, 0); + } + disp__glLoadMatrixf ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixd ( const GLdouble * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + jdouble *ptr0 = NULL; + + if(m!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, 0); + } + disp__glMultMatrixd ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixf ( const GLfloat * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + jfloat *ptr0 = NULL; + + if(m!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, 0); + } + disp__glMultMatrixf ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotated ( + JNIEnv *env, jobject obj, + jdouble angle, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glRotated ( + (GLdouble) angle, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotatef ( + JNIEnv *env, jobject obj, + jfloat angle, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glRotatef ( + (GLfloat) angle, + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScaled ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glScaled ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScalef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glScalef ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslated ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glTranslated ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslatef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glTranslatef ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsList ( GLuint list ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsList ( + JNIEnv *env, jobject obj, + jint list) + { + jboolean ret; + + + ret = (jboolean) disp__glIsList ( + (GLuint) list + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteLists ( GLuint list , GLsizei range ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteLists ( + JNIEnv *env, jobject obj, + jint list, + jint range) + { + + disp__glDeleteLists ( + (GLuint) list, + (GLsizei) range + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLuint glGenLists ( GLsizei range ) ; + * </pre> + */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGenLists ( + JNIEnv *env, jobject obj, + jint range) + { + jint ret; + + + ret = (jint) disp__glGenLists ( + (GLsizei) range + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNewList ( GLuint list , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNewList ( + JNIEnv *env, jobject obj, + jint list, + jint mode) + { + + disp__glNewList ( + (GLuint) list, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEndList ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEndList ( + JNIEnv *env, jobject obj) + { + + disp__glEndList ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCallList ( GLuint list ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallList ( + JNIEnv *env, jobject obj, + jint list) + { + + disp__glCallList ( + (GLuint) list + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3B ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbyteArray lists) + { + jbyte *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3S ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jshortArray lists) + { + jshort *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3I ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jintArray lists) + { + jint *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3F ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jfloatArray lists) + { + jfloat *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3D ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jdoubleArray lists) + { + jdouble *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3Z ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbooleanArray lists) + { + jboolean *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3J ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jlongArray lists) + { + jlong *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glListBase ( GLuint base ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glListBase ( + JNIEnv *env, jobject obj, + jint base) + { + + disp__glListBase ( + (GLuint) base + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBegin ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBegin ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glBegin ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEnd ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnd ( + JNIEnv *env, jobject obj) + { + + disp__glEnd ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + + disp__glVertex2d ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + + disp__glVertex2f ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2i ( GLint x , GLint y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + + disp__glVertex2i ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2s ( GLshort x , GLshort y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + + disp__glVertex2s ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glVertex3d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glVertex3f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + + disp__glVertex3i ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + + disp__glVertex3s ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + + disp__glVertex4d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + + disp__glVertex4f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + + disp__glVertex4i ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + + disp__glVertex4s ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex2dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex2fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex2iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex2sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glVertex4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3b ( + JNIEnv *env, jobject obj, + jbyte nx, + jbyte ny, + jbyte nz) + { + + disp__glNormal3b ( + (GLbyte) nx, + (GLbyte) ny, + (GLbyte) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3d ( + JNIEnv *env, jobject obj, + jdouble nx, + jdouble ny, + jdouble nz) + { + + disp__glNormal3d ( + (GLdouble) nx, + (GLdouble) ny, + (GLdouble) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3f ( + JNIEnv *env, jobject obj, + jfloat nx, + jfloat ny, + jfloat nz) + { + + disp__glNormal3f ( + (GLfloat) nx, + (GLfloat) ny, + (GLfloat) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3i ( + JNIEnv *env, jobject obj, + jint nx, + jint ny, + jint nz) + { + + disp__glNormal3i ( + (GLint) nx, + (GLint) ny, + (GLint) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3s ( + JNIEnv *env, jobject obj, + jshort nx, + jshort ny, + jshort nz) + { + + disp__glNormal3s ( + (GLshort) nx, + (GLshort) ny, + (GLshort) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3bv ( const GLbyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glNormal3bv ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glNormal3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glNormal3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glNormal3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glNormal3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexd ( GLdouble c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexd ( + JNIEnv *env, jobject obj, + jdouble c) + { + + disp__glIndexd ( + (GLdouble) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexf ( GLfloat c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexf ( + JNIEnv *env, jobject obj, + jfloat c) + { + + disp__glIndexf ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexi ( GLint c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexi ( + JNIEnv *env, jobject obj, + jint c) + { + + disp__glIndexi ( + (GLint) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexs ( GLshort c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexs ( + JNIEnv *env, jobject obj, + jshort c) + { + + disp__glIndexs ( + (GLshort) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexub ( GLubyte c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexub ( + JNIEnv *env, jobject obj, + jbyte c) + { + + disp__glIndexub ( + (GLubyte) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexdv ( const GLdouble * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexdv ( + JNIEnv *env, jobject obj, + jdoubleArray c) + { + jdouble *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, c, 0); + } + disp__glIndexdv ( + (const GLdouble *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexfv ( const GLfloat * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexfv ( + JNIEnv *env, jobject obj, + jfloatArray c) + { + jfloat *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, c, 0); + } + disp__glIndexfv ( + (const GLfloat *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexiv ( const GLint * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexiv ( + JNIEnv *env, jobject obj, + jintArray c) + { + jint *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, c, 0); + } + disp__glIndexiv ( + (const GLint *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexsv ( const GLshort * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexsv ( + JNIEnv *env, jobject obj, + jshortArray c) + { + jshort *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, c, 0); + } + disp__glIndexsv ( + (const GLshort *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexubv ( const GLubyte * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexubv ( + JNIEnv *env, jobject obj, + jbyteArray c) + { + jbyte *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, c, 0); + } + disp__glIndexubv ( + (const GLubyte *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + + disp__glColor3b ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue) + { + + disp__glColor3d ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue) + { + + disp__glColor3f ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3i ( GLint red , GLint green , GLint blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + + disp__glColor3i ( + (GLint) red, + (GLint) green, + (GLint) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + + disp__glColor3s ( + (GLshort) red, + (GLshort) green, + (GLshort) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + + disp__glColor3ub ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + + disp__glColor3ui ( + (GLuint) red, + (GLuint) green, + (GLuint) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + + disp__glColor3us ( + (GLushort) red, + (GLushort) green, + (GLushort) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + + disp__glColor4b ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue, + (GLbyte) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue, + jdouble alpha) + { + + disp__glColor4d ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue, + (GLdouble) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glColor4f ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + + disp__glColor4i ( + (GLint) red, + (GLint) green, + (GLint) blue, + (GLint) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + + disp__glColor4s ( + (GLshort) red, + (GLshort) green, + (GLshort) blue, + (GLshort) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + + disp__glColor4ub ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue, + (GLubyte) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + + disp__glColor4ui ( + (GLuint) red, + (GLuint) green, + (GLuint) blue, + (GLuint) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + + disp__glColor4us ( + (GLushort) red, + (GLushort) green, + (GLushort) blue, + (GLushort) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3bv ( const GLbyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor3bv ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ubv ( const GLubyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor3ubv ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3uiv ( const GLuint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor3uiv ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3usv ( const GLushort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor3usv ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4bv ( const GLbyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor4bv ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ubv ( const GLubyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor4ubv ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4uiv ( const GLuint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor4uiv ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4usv ( const GLushort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glColor4usv ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1d ( GLdouble s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1d ( + JNIEnv *env, jobject obj, + jdouble s) + { + + disp__glTexCoord1d ( + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1f ( GLfloat s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1f ( + JNIEnv *env, jobject obj, + jfloat s) + { + + disp__glTexCoord1f ( + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1i ( GLint s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1i ( + JNIEnv *env, jobject obj, + jint s) + { + + disp__glTexCoord1i ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1s ( GLshort s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1s ( + JNIEnv *env, jobject obj, + jshort s) + { + + disp__glTexCoord1s ( + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2d ( GLdouble s , GLdouble t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t) + { + + disp__glTexCoord2d ( + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2f ( GLfloat s , GLfloat t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t) + { + + disp__glTexCoord2f ( + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2i ( GLint s , GLint t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2i ( + JNIEnv *env, jobject obj, + jint s, + jint t) + { + + disp__glTexCoord2i ( + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2s ( GLshort s , GLshort t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t) + { + + disp__glTexCoord2s ( + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r) + { + + disp__glTexCoord3d ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r) + { + + disp__glTexCoord3f ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r) + { + + disp__glTexCoord3i ( + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r) + { + + disp__glTexCoord3s ( + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + + disp__glTexCoord4d ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + + disp__glTexCoord4f ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r, + jint q) + { + + disp__glTexCoord4i ( + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r, + jshort q) + { + + disp__glTexCoord4s ( + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord1dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord1fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord1iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord1sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord2dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord2fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord2iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord2sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glTexCoord4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + + disp__glRasterPos2d ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + + disp__glRasterPos2f ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2i ( GLint x , GLint y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + + disp__glRasterPos2i ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2s ( GLshort x , GLshort y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + + disp__glRasterPos2s ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glRasterPos3d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glRasterPos3f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + + disp__glRasterPos3i ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + + disp__glRasterPos3s ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + + disp__glRasterPos4d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + + disp__glRasterPos4f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + + disp__glRasterPos4i ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + + disp__glRasterPos4s ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos2dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos2fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos2iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos2sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glRasterPos4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectd ( + JNIEnv *env, jobject obj, + jdouble x1, + jdouble y1, + jdouble x2, + jdouble y2) + { + + disp__glRectd ( + (GLdouble) x1, + (GLdouble) y1, + (GLdouble) x2, + (GLdouble) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectf ( + JNIEnv *env, jobject obj, + jfloat x1, + jfloat y1, + jfloat x2, + jfloat y2) + { + + disp__glRectf ( + (GLfloat) x1, + (GLfloat) y1, + (GLfloat) x2, + (GLfloat) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRecti ( + JNIEnv *env, jobject obj, + jint x1, + jint y1, + jint x2, + jint y2) + { + + disp__glRecti ( + (GLint) x1, + (GLint) y1, + (GLint) x2, + (GLint) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRects ( + JNIEnv *env, jobject obj, + jshort x1, + jshort y1, + jshort x2, + jshort y2) + { + + disp__glRects ( + (GLshort) x1, + (GLshort) y1, + (GLshort) x2, + (GLshort) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectdv ( + JNIEnv *env, jobject obj, + jdoubleArray v1, + jdoubleArray v2) + { + jdouble *ptr0 = NULL; + jdouble *ptr1 = NULL; + + if(v1!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v1, 0); + } + if(v2!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v2, 0); + } + disp__glRectdv ( + (const GLdouble *) ptr0, + (const GLdouble *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectfv ( + JNIEnv *env, jobject obj, + jfloatArray v1, + jfloatArray v2) + { + jfloat *ptr0 = NULL; + jfloat *ptr1 = NULL; + + if(v1!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v1, 0); + } + if(v2!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v2, 0); + } + disp__glRectfv ( + (const GLfloat *) ptr0, + (const GLfloat *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectiv ( + JNIEnv *env, jobject obj, + jintArray v1, + jintArray v2) + { + jint *ptr0 = NULL; + jint *ptr1 = NULL; + + if(v1!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v1, 0); + } + if(v2!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v2, 0); + } + disp__glRectiv ( + (const GLint *) ptr0, + (const GLint *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectsv ( + JNIEnv *env, jobject obj, + jshortArray v1, + jshortArray v2) + { + jshort *ptr0 = NULL; + jshort *ptr1 = NULL; + + if(v1!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v1, 0); + } + if(v2!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v2, 0); + } + disp__glRectsv ( + (const GLshort *) ptr0, + (const GLshort *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3B ( + JNIEnv *env, jobject obj, + jint stride, + jbyteArray ptr) + { + jbyte *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3S ( + JNIEnv *env, jobject obj, + jint stride, + jshortArray ptr) + { + jshort *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3I ( + JNIEnv *env, jobject obj, + jint stride, + jintArray ptr) + { + jint *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3F ( + JNIEnv *env, jobject obj, + jint stride, + jfloatArray ptr) + { + jfloat *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3D ( + JNIEnv *env, jobject obj, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3Z ( + JNIEnv *env, jobject obj, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3J ( + JNIEnv *env, jobject obj, + jint stride, + jlongArray ptr) + { + jlong *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointerv ( GLenum pname , void * * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElement ( GLint i ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElement ( + JNIEnv *env, jobject obj, + jint i) + { + + disp__glArrayElement ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArrays ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + + disp__glDrawArrays ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbyteArray indices) + { + jbyte *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jshortArray indices) + { + jshort *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jintArray indices) + { + jint *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jfloatArray indices) + { + jfloat *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jdoubleArray indices) + { + jdouble *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbooleanArray indices) + { + jboolean *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jlongArray indices) + { + jlong *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3B ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbyteArray pointer) + { + jbyte *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3S ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jshortArray pointer) + { + jshort *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3I ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jintArray pointer) + { + jint *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3F ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jfloatArray pointer) + { + jfloat *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3D ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jdoubleArray pointer) + { + jdouble *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3Z ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbooleanArray pointer) + { + jboolean *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3J ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jlongArray pointer) + { + jlong *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glShadeModel ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glShadeModel ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glShadeModel ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightf ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloat param) + { + + disp__glLightf ( + (GLenum) light, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLighti ( GLenum light , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLighti ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jint param) + { + + disp__glLighti ( + (GLenum) light, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glLightfv ( + (GLenum) light, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glLightiv ( + (GLenum) light, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetLightfv ( + (GLenum) light, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetLightiv ( + (GLenum) light, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glLightModelf ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeli ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeli ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glLightModeli ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glLightModelfv ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeliv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeliv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glLightModeliv ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialf ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloat param) + { + + disp__glMaterialf ( + (GLenum) face, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMateriali ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jint param) + { + + disp__glMateriali ( + (GLenum) face, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glMaterialfv ( + (GLenum) face, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glMaterialiv ( + (GLenum) face, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetMaterialfv ( + (GLenum) face, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetMaterialiv ( + (GLenum) face, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMaterial ( GLenum face , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMaterial ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + + disp__glColorMaterial ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelZoom ( + JNIEnv *env, jobject obj, + jfloat xfactor, + jfloat yfactor) + { + + disp__glPixelZoom ( + (GLfloat) xfactor, + (GLfloat) yfactor + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStoref ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStoref ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glPixelStoref ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStorei ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStorei ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glPixelStorei ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glPixelTransferf ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferi ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glPixelTransferi ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jfloatArray values) + { + jfloat *ptr2 = NULL; + + if(values!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, 0); + } + disp__glPixelMapfv ( + (GLenum) map, + (GLint) mapsize, + (const GLfloat *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jintArray values) + { + jint *ptr2 = NULL; + + if(values!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, 0); + } + disp__glPixelMapuiv ( + (GLenum) map, + (GLint) mapsize, + (const GLuint *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jshortArray values) + { + jshort *ptr2 = NULL; + + if(values!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, 0); + } + disp__glPixelMapusv ( + (GLenum) map, + (GLint) mapsize, + (const GLushort *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jfloatArray values) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(values!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1); + } + disp__glGetPixelMapfv ( + (GLenum) map, + (GLfloat *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jintArray values) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(values!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1); + } + disp__glGetPixelMapuiv ( + (GLenum) map, + (GLuint *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jshortArray values) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + if(values!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1); + } + disp__glGetPixelMapusv ( + (GLenum) map, + (GLushort *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBitmap ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jfloat xorig, + jfloat yorig, + jfloat xmove, + jfloat ymove, + jbyteArray bitmap) + { + jbyte *ptr6 = NULL; + + if(bitmap!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, bitmap, 0); + } + disp__glBitmap ( + (GLsizei) width, + (GLsizei) height, + (GLfloat) xorig, + (GLfloat) yorig, + (GLfloat) xmove, + (GLfloat) ymove, + (const GLubyte *) ptr6 + ); + + if(bitmap!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, bitmap, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3B ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3S ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3I ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + jint *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3F ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3D ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3Z ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3J ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyPixels ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint type) + { + + disp__glCopyPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilFunc ( + JNIEnv *env, jobject obj, + jint func, + jint ref, + jint mask) + { + + disp__glStencilFunc ( + (GLenum) func, + (GLint) ref, + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilMask ( GLuint mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilMask ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glStencilMask ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilOp ( + JNIEnv *env, jobject obj, + jint fail, + jint zfail, + jint zpass) + { + + disp__glStencilOp ( + (GLenum) fail, + (GLenum) zfail, + (GLenum) zpass + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearStencil ( GLint s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearStencil ( + JNIEnv *env, jobject obj, + jint s) + { + + disp__glClearStencil ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGend ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdouble param) + { + + disp__glTexGend ( + (GLenum) coord, + (GLenum) pname, + (GLdouble) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenf ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloat param) + { + + disp__glTexGenf ( + (GLenum) coord, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeni ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jint param) + { + + disp__glTexGeni ( + (GLenum) coord, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + jdouble *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glTexGendv ( + (GLenum) coord, + (GLenum) pname, + (const GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glTexGenfv ( + (GLenum) coord, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glTexGeniv ( + (GLenum) coord, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetTexGendv ( + (GLenum) coord, + (GLenum) pname, + (GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetTexGenfv ( + (GLenum) coord, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetTexGeniv ( + (GLenum) coord, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + + disp__glTexEnvf ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvi ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + + disp__glTexEnvi ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glTexEnvfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glTexEnviv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetTexEnvfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetTexEnviv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + + disp__glTexParameterf ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + + disp__glTexParameteri ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glTexParameterfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glTexParameteriv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetTexParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetTexParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + if(params!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3); + } + disp__glGetTexLevelParameterfv ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLfloat *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jintArray params) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + if(params!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3); + } + disp__glGetTexLevelParameteriv ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLint *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jintArray pixels) + { + jint *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jintArray pixels) + { + jint *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTextures ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + } + disp__glGenTextures ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jint *ptr1 = NULL; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0); + } + disp__glDeleteTextures ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTexture ( GLenum target , GLuint texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTexture ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + + disp__glBindTexture ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + jint *ptr1 = NULL; + jfloat *ptr2 = NULL; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0); + } + if(priorities!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, 0); + } + disp__glPrioritizeTextures ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResident ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + jboolean ret; + + jint *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0); + } + if(residences!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2); + } + ret = (jboolean) disp__glAreTexturesResident ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTexture ( GLuint texture ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTexture ( + JNIEnv *env, jobject obj, + jint texture) + { + jboolean ret; + + + ret = (jboolean) disp__glIsTexture ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jintArray pixels) + { + jint *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + jint *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint border) + { + + disp__glCopyTexImage1D ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint height, + jint border) + { + + disp__glCopyTexImage2D ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint x, + jint y, + jint width) + { + + disp__glCopyTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint stride, + jint order, + jdoubleArray points) + { + jdouble *ptr5 = NULL; + + if(points!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, 0); + } + disp__glMap1d ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) stride, + (GLint) order, + (const GLdouble *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint stride, + jint order, + jfloatArray points) + { + jfloat *ptr5 = NULL; + + if(points!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, 0); + } + disp__glMap1f ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) stride, + (GLint) order, + (const GLfloat *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint ustride, + jint uorder, + jdouble v1, + jdouble v2, + jint vstride, + jint vorder, + jdoubleArray points) + { + jdouble *ptr9 = NULL; + + if(points!=NULL) + { + ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, 0); + } + disp__glMap2d ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) ustride, + (GLint) uorder, + (GLdouble) v1, + (GLdouble) v2, + (GLint) vstride, + (GLint) vorder, + (const GLdouble *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint ustride, + jint uorder, + jfloat v1, + jfloat v2, + jint vstride, + jint vorder, + jfloatArray points) + { + jfloat *ptr9 = NULL; + + if(points!=NULL) + { + ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, 0); + } + disp__glMap2f ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) ustride, + (GLint) uorder, + (GLfloat) v1, + (GLfloat) v2, + (GLint) vstride, + (GLint) vorder, + (const GLfloat *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapdv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jdoubleArray v) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + if(v!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2); + } + disp__glGetMapdv ( + (GLenum) target, + (GLenum) query, + (GLdouble *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapfv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jfloatArray v) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(v!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2); + } + disp__glGetMapfv ( + (GLenum) target, + (GLenum) query, + (GLfloat *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapiv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jintArray v) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(v!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2); + } + disp__glGetMapiv ( + (GLenum) target, + (GLenum) query, + (GLint *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1d ( GLdouble u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1d ( + JNIEnv *env, jobject obj, + jdouble u) + { + + disp__glEvalCoord1d ( + (GLdouble) u + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1f ( GLfloat u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1f ( + JNIEnv *env, jobject obj, + jfloat u) + { + + disp__glEvalCoord1f ( + (GLfloat) u + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1dv ( const GLdouble * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + jdouble *ptr0 = NULL; + + if(u!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, 0); + } + disp__glEvalCoord1dv ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1fv ( const GLfloat * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + jfloat *ptr0 = NULL; + + if(u!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, 0); + } + disp__glEvalCoord1fv ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2d ( + JNIEnv *env, jobject obj, + jdouble u, + jdouble v) + { + + disp__glEvalCoord2d ( + (GLdouble) u, + (GLdouble) v + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2f ( + JNIEnv *env, jobject obj, + jfloat u, + jfloat v) + { + + disp__glEvalCoord2f ( + (GLfloat) u, + (GLfloat) v + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2dv ( const GLdouble * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + jdouble *ptr0 = NULL; + + if(u!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, 0); + } + disp__glEvalCoord2dv ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2fv ( const GLfloat * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + jfloat *ptr0 = NULL; + + if(u!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, 0); + } + disp__glEvalCoord2fv ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2) + { + + disp__glMapGrid1d ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2) + { + + disp__glMapGrid1f ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2, + jint vn, + jdouble v1, + jdouble v2) + { + + disp__glMapGrid2d ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2, + (GLint) vn, + (GLdouble) v1, + (GLdouble) v2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2, + jint vn, + jfloat v1, + jfloat v2) + { + + disp__glMapGrid2f ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2, + (GLint) vn, + (GLfloat) v1, + (GLfloat) v2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint1 ( GLint i ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint1 ( + JNIEnv *env, jobject obj, + jint i) + { + + disp__glEvalPoint1 ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint2 ( GLint i , GLint j ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint2 ( + JNIEnv *env, jobject obj, + jint i, + jint j) + { + + disp__glEvalPoint2 ( + (GLint) i, + (GLint) j + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh1 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2) + { + + disp__glEvalMesh1 ( + (GLenum) mode, + (GLint) i1, + (GLint) i2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh2 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2, + jint j1, + jint j2) + { + + disp__glEvalMesh2 ( + (GLenum) mode, + (GLint) i1, + (GLint) i2, + (GLint) j1, + (GLint) j2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glFogf ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogi ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glFogi ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glFogfv ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogiv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogiv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glFogiv ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFeedbackBuffer ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jfloatArray buffer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(buffer!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray2); + } + disp__glFeedbackBuffer ( + (GLsizei) size, + (GLenum) type, + (GLfloat *) ptr2 + ); + + if(buffer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPassThrough ( GLfloat token ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPassThrough ( + JNIEnv *env, jobject obj, + jfloat token) + { + + disp__glPassThrough ( + (GLfloat) token + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSelectBuffer ( + JNIEnv *env, jobject obj, + jint size, + jintArray buffer) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(buffer!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray1); + } + disp__glSelectBuffer ( + (GLsizei) size, + (GLuint *) ptr1 + ); + + if(buffer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glInitNames ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInitNames ( + JNIEnv *env, jobject obj) + { + + disp__glInitNames ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadName ( GLuint name ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadName ( + JNIEnv *env, jobject obj, + jint name) + { + + disp__glLoadName ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushName ( GLuint name ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushName ( + JNIEnv *env, jobject obj, + jint name) + { + + disp__glPushName ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopName ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopName ( + JNIEnv *env, jobject obj) + { + + disp__glPopName ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbyteArray indices) + { + jbyte *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jshortArray indices) + { + jshort *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jintArray indices) + { + jint *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jfloatArray indices) + { + jfloat *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jdoubleArray indices) + { + jdouble *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbooleanArray indices) + { + jboolean *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jlongArray indices) + { + jlong *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + jint *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + jint *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + jbyte *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + jshort *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + jint *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + jfloat *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + jdouble *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + jboolean *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + jlong *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + jbyte *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + jshort *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + jint *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + jfloat *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + jdouble *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + jboolean *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + jlong *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glColorTableParameteriv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glColorTableParameterfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorSubTable ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint x, + jint y, + jint width) + { + + disp__glCopyColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorTable ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + + disp__glCopyColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetColorTableParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetColorTableParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquation ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquation ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glBlendEquation ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glBlendColor ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHistogram ( + JNIEnv *env, jobject obj, + jint target, + jint width, + jint internalformat, + jboolean sink) + { + + disp__glHistogram ( + (GLenum) target, + (GLsizei) width, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glResetHistogram ( GLenum target ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetHistogram ( + JNIEnv *env, jobject obj, + jint target) + { + + disp__glResetHistogram ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbyteArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jshortArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jintArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jfloatArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jdoubleArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbooleanArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jlongArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetHistogramParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetHistogramParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMinmax ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jboolean sink) + { + + disp__glMinmax ( + (GLenum) target, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glResetMinmax ( GLenum target ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetMinmax ( + JNIEnv *env, jobject obj, + jint target) + { + + disp__glResetMinmax ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbyteArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jshortArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jintArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jfloatArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jdoubleArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbooleanArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jlongArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetMinmaxParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetMinmaxParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray image) + { + jbyte *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray image) + { + jshort *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray image) + { + jint *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray image) + { + jfloat *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray image) + { + jdouble *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray image) + { + jboolean *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray image) + { + jlong *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray image) + { + jbyte *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray image) + { + jshort *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray image) + { + jint *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray image) + { + jfloat *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray image) + { + jdouble *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray image) + { + jboolean *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray image) + { + jlong *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat params) + { + + disp__glConvolutionParameterf ( + (GLenum) target, + (GLenum) pname, + (GLfloat) params + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glConvolutionParameterfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint params) + { + + disp__glConvolutionParameteri ( + (GLenum) target, + (GLenum) pname, + (GLint) params + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glConvolutionParameteriv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter1D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + + disp__glCopyConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter2D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetConvolutionParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetConvolutionParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray row, + jbyteArray column) + { + jbyte *ptr6 = NULL; + jbyte *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray row, + jshortArray column) + { + jshort *ptr6 = NULL; + jshort *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray row, + jintArray column) + { + jint *ptr6 = NULL; + jint *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray row, + jfloatArray column) + { + jfloat *ptr6 = NULL; + jfloat *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column) + { + jdouble *ptr6 = NULL; + jdouble *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column) + { + jboolean *ptr6 = NULL; + jboolean *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray row, + jlongArray column) + { + jlong *ptr6 = NULL; + jlong *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3B_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray row, + jbyteArray column, + jbyteArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3S_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray row, + jshortArray column, + jshortArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3I_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray row, + jintArray column, + jintArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3F_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray row, + jfloatArray column, + jfloatArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3D_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column, + jdoubleArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3Z_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column, + jbooleanArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3J_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray row, + jlongArray column, + jlongArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColorEXT ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glBlendColorEXT ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffsetEXT ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat bias) + { + + disp__glPolygonOffsetEXT ( + (GLfloat) factor, + (GLfloat) bias + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + jint *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + jint *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3DEXT ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + } + disp__glGenTexturesEXT ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jint *ptr1 = NULL; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0); + } + disp__glDeleteTexturesEXT ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTextureEXT ( GLenum target , GLuint texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTextureEXT ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + + disp__glBindTextureEXT ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + jint *ptr1 = NULL; + jfloat *ptr2 = NULL; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0); + } + if(priorities!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, 0); + } + disp__glPrioritizeTexturesEXT ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResidentEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + jboolean ret; + + jint *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0); + } + if(residences!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2); + } + ret = (jboolean) disp__glAreTexturesResidentEXT ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTextureEXT ( GLuint texture ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTextureEXT ( + JNIEnv *env, jobject obj, + jint texture) + { + jboolean ret; + + + ret = (jboolean) disp__glIsTextureEXT ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointerEXT ( + JNIEnv *env, jobject obj, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0); + } + disp__glEdgeFlagPointerEXT ( + (GLsizei) stride, + (GLsizei) count, + (const GLboolean *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointervEXT ( GLenum pname , void * * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElementEXT ( GLint i ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElementEXT ( + JNIEnv *env, jobject obj, + jint i) + { + + disp__glArrayElementEXT ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArraysEXT ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + + disp__glDrawArraysEXT ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquationEXT ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquationEXT ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glBlendEquationEXT ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glPointParameterfEXT ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfvEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0); + } + disp__glPointParameterfvEXT ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + jbyte *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + jshort *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + jint *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + jfloat *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + jdouble *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + jboolean *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + jlong *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + jbyte *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + jshort *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + jint *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + jfloat *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + jdouble *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + jboolean *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + jlong *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfvEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetColorTableParameterfvEXT ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterivEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + } + disp__glGetColorTableParameterivEXT ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLockArraysEXT ( GLint first , GLsizei count ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLockArraysEXT ( + JNIEnv *env, jobject obj, + jint first, + jint count) + { + + disp__glLockArraysEXT ( + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glUnlockArraysEXT ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glUnlockArraysEXT ( + JNIEnv *env, jobject obj) + { + + disp__glUnlockArraysEXT ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + + disp__glActiveTextureARB ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClientActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClientActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + + disp__glClientActiveTextureARB ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s) + { + + disp__glMultiTexCoord1dARB ( + (GLenum) target, + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jdouble *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord1dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s) + { + + disp__glMultiTexCoord1fARB ( + (GLenum) target, + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jfloat *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord1fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s) + { + + disp__glMultiTexCoord1iARB ( + (GLenum) target, + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jint *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord1ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s) + { + + disp__glMultiTexCoord1sARB ( + (GLenum) target, + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jshort *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord1svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t) + { + + disp__glMultiTexCoord2dARB ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jdouble *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord2dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t) + { + + disp__glMultiTexCoord2fARB ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jfloat *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord2fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t) + { + + disp__glMultiTexCoord2iARB ( + (GLenum) target, + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jint *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord2ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t) + { + + disp__glMultiTexCoord2sARB ( + (GLenum) target, + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jshort *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord2svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r) + { + + disp__glMultiTexCoord3dARB ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jdouble *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord3dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r) + { + + disp__glMultiTexCoord3fARB ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jfloat *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord3fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r) + { + + disp__glMultiTexCoord3iARB ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jint *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord3ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r) + { + + disp__glMultiTexCoord3sARB ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jshort *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord3svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + + disp__glMultiTexCoord4dARB ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jdouble *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord4dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + + disp__glMultiTexCoord4fARB ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jfloat *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord4fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r, + jint q) + { + + disp__glMultiTexCoord4iARB ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jint *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord4ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r, + jshort q) + { + + disp__glMultiTexCoord4sARB ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jshort *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0); + } + disp__glMultiTexCoord4svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/CNativeCode/OpenGL_JauJNI12nf_funcs.c b/CNativeCode/OpenGL_JauJNI12nf_funcs.c new file mode 100755 index 0000000..92732f8 --- /dev/null +++ b/CNativeCode/OpenGL_JauJNI12nf_funcs.c @@ -0,0 +1,18877 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!
+
+ DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
+*/
+
+
+/*
+ * Leo Chan -- 1995
+ *
+ * This mammoth C file takes care of all the native implementation for the
+ * bulk of OpenGL commands
+ * ---------------
+ *
+ * Sven Goethel
+ *
+ * September 1997
+ */
+
+/*
+ * need to include the JAVA internal header files for macros and function
+ * prototypes required to maipulated JAVA data structures and functions
+ *
+ * StubPreamble.h includes the structure and macro definitions neede to
+ * convert JAVA data structures into C data structures.
+ *
+ */
+
+#include "OpenGL_misc.h"
+
+/*
+ * the next thing to include are special headers that were created by
+ * JAVAH. They include the C structure definitions for the JAVA classes
+ */
+#include "gl4java_GLFuncJauJNInf.h"
+
+/*--------------------------------------------------------------------------
+ * here on in is just regular apple pie C
+ */
+
+#ifndef LIBAPIENTRY
+ #define LIBAPIENTRY
+#endif
+#ifndef LIBAPI
+ #define LIBAPI
+#endif
+
+#ifndef CALLBACK
+ #define CALLBACK
+#endif
+/** THIS IS A MANUAL CODED PART
+ gl-manualCodedImplJNI.java
+*/
+
+static const char _gl_n_a_string[] = "GL-String not avaiable !";
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLFuncJauJNInf_glGetString ( JNIEnv *env, jobject obj,
+ jint name )
+{
+ const char * tmpString=0;
+
+ tmpString = disp__glGetString ( /* jint */ name);
+ if(tmpString==NULL)
+ tmpString=_gl_n_a_string;
+
+ return (*env)->NewStringUTF(env, tmpString);
+}
+
+static const char * _gl_lib_vendor_="Jausoft - Sven Goethel Software Development";
+static const char * _gl_lib_version_="2.7.0.0";
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLFuncJauJNInf_getNativeVendor ( JNIEnv *env, jobject obj )
+{
+ return (*env)->NewStringUTF(env, _gl_lib_vendor_);
+}
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLFuncJauJNInf_getNativeVersion ( JNIEnv *env, jobject obj )
+{
+ return (*env)->NewStringUTF(env, _gl_lib_version_);
+}
+
+/**
+ * C2J Parser Version 2.0
+ * Jausoft - Sven Goethel Software Development
+ * Reading from file: gl-proto-auto.orig.h . . .
+ * Destination-Class: gl4java_GLFuncJauJNInf !
+ */
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearIndex ( GLfloat c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glClearIndex (
+ JNIEnv *env, jobject obj,
+ jfloat c)
+ {
+
+ disp__glClearIndex (
+ (GLfloat) c
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glClearColor (
+ JNIEnv *env, jobject obj,
+ jfloat red,
+ jfloat green,
+ jfloat blue,
+ jfloat alpha)
+ {
+
+ disp__glClearColor (
+ (GLclampf) red,
+ (GLclampf) green,
+ (GLclampf) blue,
+ (GLclampf) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClear ( GLbitfield mask ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glClear (
+ JNIEnv *env, jobject obj,
+ jint mask)
+ {
+
+ disp__glClear (
+ (GLbitfield) mask
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexMask ( GLuint mask ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexMask (
+ JNIEnv *env, jobject obj,
+ jint mask)
+ {
+
+ disp__glIndexMask (
+ (GLuint) mask
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorMask (
+ JNIEnv *env, jobject obj,
+ jboolean red,
+ jboolean green,
+ jboolean blue,
+ jboolean alpha)
+ {
+
+ disp__glColorMask (
+ (GLboolean) red,
+ (GLboolean) green,
+ (GLboolean) blue,
+ (GLboolean) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glAlphaFunc ( GLenum func , GLclampf ref ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glAlphaFunc (
+ JNIEnv *env, jobject obj,
+ jint func,
+ jfloat ref)
+ {
+
+ disp__glAlphaFunc (
+ (GLenum) func,
+ (GLclampf) ref
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glBlendFunc (
+ JNIEnv *env, jobject obj,
+ jint sfactor,
+ jint dfactor)
+ {
+
+ disp__glBlendFunc (
+ (GLenum) sfactor,
+ (GLenum) dfactor
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLogicOp ( GLenum opcode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLogicOp (
+ JNIEnv *env, jobject obj,
+ jint opcode)
+ {
+
+ disp__glLogicOp (
+ (GLenum) opcode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCullFace ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCullFace (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+
+ disp__glCullFace (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFrontFace ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFrontFace (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+
+ disp__glFrontFace (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPointSize ( GLfloat size ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPointSize (
+ JNIEnv *env, jobject obj,
+ jfloat size)
+ {
+
+ disp__glPointSize (
+ (GLfloat) size
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLineWidth ( GLfloat width ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLineWidth (
+ JNIEnv *env, jobject obj,
+ jfloat width)
+ {
+
+ disp__glLineWidth (
+ (GLfloat) width
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLineStipple ( GLint factor , GLushort pattern ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLineStipple (
+ JNIEnv *env, jobject obj,
+ jint factor,
+ jshort pattern)
+ {
+
+ disp__glLineStipple (
+ (GLint) factor,
+ (GLushort) pattern
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPolygonMode ( GLenum face , GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPolygonMode (
+ JNIEnv *env, jobject obj,
+ jint face,
+ jint mode)
+ {
+
+ disp__glPolygonMode (
+ (GLenum) face,
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPolygonOffset (
+ JNIEnv *env, jobject obj,
+ jfloat factor,
+ jfloat units)
+ {
+
+ disp__glPolygonOffset (
+ (GLfloat) factor,
+ (GLfloat) units
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPolygonStipple ( const GLubyte * mask ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPolygonStipple (
+ JNIEnv *env, jobject obj,
+ jbyteArray mask)
+ {
+ jbyte *ptr0 = NULL;
+
+ if(mask!=NULL)
+ {
+ ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, 0);
+ }
+ disp__glPolygonStipple (
+ (const GLubyte *) ptr0
+ );
+
+ if(mask!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPolygonStipple ( GLubyte * mask ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPolygonStipple (
+ JNIEnv *env, jobject obj,
+ jbyteArray mask)
+ {
+ jboolean isCopiedArray0 = JNI_FALSE;
+ jbyte *ptr0 = NULL;
+
+ if(mask!=NULL)
+ {
+ ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0);
+ }
+ disp__glGetPolygonStipple (
+ (GLubyte *) ptr0
+ );
+
+ if(mask!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, (isCopiedArray0 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEdgeFlag ( GLboolean flag ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlag (
+ JNIEnv *env, jobject obj,
+ jboolean flag)
+ {
+
+ disp__glEdgeFlag (
+ (GLboolean) flag
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEdgeFlagv ( const GLboolean * flag ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlagv (
+ JNIEnv *env, jobject obj,
+ jbooleanArray flag)
+ {
+ jboolean *ptr0 = NULL;
+
+ if(flag!=NULL)
+ {
+ ptr0 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, flag, 0);
+ }
+ disp__glEdgeFlagv (
+ (const GLboolean *) ptr0
+ );
+
+ if(flag!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, flag, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glScissor (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height)
+ {
+
+ disp__glScissor (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glClipPlane (
+ JNIEnv *env, jobject obj,
+ jint plane,
+ jdoubleArray equation)
+ {
+ jdouble *ptr1 = NULL;
+
+ if(equation!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, 0);
+ }
+ disp__glClipPlane (
+ (GLenum) plane,
+ (const GLdouble *) ptr1
+ );
+
+ if(equation!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetClipPlane (
+ JNIEnv *env, jobject obj,
+ jint plane,
+ jdoubleArray equation)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+
+ if(equation!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1);
+ }
+ disp__glGetClipPlane (
+ (GLenum) plane,
+ (GLdouble *) ptr1
+ );
+
+ if(equation!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawBuffer ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawBuffer (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+
+ disp__glDrawBuffer (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glReadBuffer ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glReadBuffer (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+
+ disp__glReadBuffer (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEnable ( GLenum cap ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEnable (
+ JNIEnv *env, jobject obj,
+ jint cap)
+ {
+
+ disp__glEnable (
+ (GLenum) cap
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDisable ( GLenum cap ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDisable (
+ JNIEnv *env, jobject obj,
+ jint cap)
+ {
+
+ disp__glDisable (
+ (GLenum) cap
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glIsEnabled ( GLenum cap ) ;
+ * </pre>
+ */
+ JNIEXPORT jboolean JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIsEnabled (
+ JNIEnv *env, jobject obj,
+ jint cap)
+ {
+ jboolean ret;
+
+
+ ret = (jboolean) disp__glIsEnabled (
+ (GLenum) cap
+ );
+
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEnableClientState ( GLenum cap ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEnableClientState (
+ JNIEnv *env, jobject obj,
+ jint cap)
+ {
+
+ disp__glEnableClientState (
+ (GLenum) cap
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDisableClientState ( GLenum cap ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDisableClientState (
+ JNIEnv *env, jobject obj,
+ jint cap)
+ {
+
+ disp__glDisableClientState (
+ (GLenum) cap
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetBooleanv (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jbooleanArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jboolean *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetBooleanv (
+ (GLenum) pname,
+ (GLboolean *) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetDoublev ( GLenum pname , GLdouble * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetDoublev (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jdoubleArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetDoublev (
+ (GLenum) pname,
+ (GLdouble *) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetFloatv ( GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetFloatv (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jfloat *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetFloatv (
+ (GLenum) pname,
+ (GLfloat *) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetIntegerv ( GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetIntegerv (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetIntegerv (
+ (GLenum) pname,
+ (GLint *) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPushAttrib ( GLbitfield mask ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPushAttrib (
+ JNIEnv *env, jobject obj,
+ jint mask)
+ {
+
+ disp__glPushAttrib (
+ (GLbitfield) mask
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopAttrib ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPopAttrib (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glPopAttrib (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPushClientAttrib ( GLbitfield mask ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPushClientAttrib (
+ JNIEnv *env, jobject obj,
+ jint mask)
+ {
+
+ disp__glPushClientAttrib (
+ (GLbitfield) mask
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopClientAttrib ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPopClientAttrib (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glPopClientAttrib (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint glRenderMode ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRenderMode (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+ jint ret;
+
+
+ ret = (jint) disp__glRenderMode (
+ (GLenum) mode
+ );
+
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLenum glGetError ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetError (
+ JNIEnv *env, jobject obj)
+ {
+ jint ret;
+
+
+ ret = (jint) disp__glGetError (
+ );
+
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFinish ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFinish (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glFinish (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFlush ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFlush (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glFlush (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glHint ( GLenum target , GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glHint (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint mode)
+ {
+
+ disp__glHint (
+ (GLenum) target,
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearDepth ( GLclampd depth ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glClearDepth (
+ JNIEnv *env, jobject obj,
+ jdouble depth)
+ {
+
+ disp__glClearDepth (
+ (GLclampd) depth
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDepthFunc ( GLenum func ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDepthFunc (
+ JNIEnv *env, jobject obj,
+ jint func)
+ {
+
+ disp__glDepthFunc (
+ (GLenum) func
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDepthMask ( GLboolean flag ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDepthMask (
+ JNIEnv *env, jobject obj,
+ jboolean flag)
+ {
+
+ disp__glDepthMask (
+ (GLboolean) flag
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDepthRange (
+ JNIEnv *env, jobject obj,
+ jdouble near_val,
+ jdouble far_val)
+ {
+
+ disp__glDepthRange (
+ (GLclampd) near_val,
+ (GLclampd) far_val
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glClearAccum (
+ JNIEnv *env, jobject obj,
+ jfloat red,
+ jfloat green,
+ jfloat blue,
+ jfloat alpha)
+ {
+
+ disp__glClearAccum (
+ (GLfloat) red,
+ (GLfloat) green,
+ (GLfloat) blue,
+ (GLfloat) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glAccum ( GLenum op , GLfloat value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glAccum (
+ JNIEnv *env, jobject obj,
+ jint op,
+ jfloat value)
+ {
+
+ disp__glAccum (
+ (GLenum) op,
+ (GLfloat) value
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMatrixMode ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMatrixMode (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+
+ disp__glMatrixMode (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glOrtho (
+ JNIEnv *env, jobject obj,
+ jdouble left,
+ jdouble right,
+ jdouble bottom,
+ jdouble top,
+ jdouble near_val,
+ jdouble far_val)
+ {
+
+ disp__glOrtho (
+ (GLdouble) left,
+ (GLdouble) right,
+ (GLdouble) bottom,
+ (GLdouble) top,
+ (GLdouble) near_val,
+ (GLdouble) far_val
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFrustum (
+ JNIEnv *env, jobject obj,
+ jdouble left,
+ jdouble right,
+ jdouble bottom,
+ jdouble top,
+ jdouble near_val,
+ jdouble far_val)
+ {
+
+ disp__glFrustum (
+ (GLdouble) left,
+ (GLdouble) right,
+ (GLdouble) bottom,
+ (GLdouble) top,
+ (GLdouble) near_val,
+ (GLdouble) far_val
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glViewport (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height)
+ {
+
+ disp__glViewport (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPushMatrix ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPushMatrix (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glPushMatrix (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopMatrix ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPopMatrix (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glPopMatrix (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLoadIdentity ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLoadIdentity (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glLoadIdentity (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLoadMatrixd ( const GLdouble * m ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLoadMatrixd (
+ JNIEnv *env, jobject obj,
+ jdoubleArray m)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(m!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
+ }
+ disp__glLoadMatrixd (
+ (const GLdouble *) ptr0
+ );
+
+ if(m!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLoadMatrixf ( const GLfloat * m ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLoadMatrixf (
+ JNIEnv *env, jobject obj,
+ jfloatArray m)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(m!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
+ }
+ disp__glLoadMatrixf (
+ (const GLfloat *) ptr0
+ );
+
+ if(m!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultMatrixd ( const GLdouble * m ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultMatrixd (
+ JNIEnv *env, jobject obj,
+ jdoubleArray m)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(m!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
+ }
+ disp__glMultMatrixd (
+ (const GLdouble *) ptr0
+ );
+
+ if(m!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultMatrixf ( const GLfloat * m ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultMatrixf (
+ JNIEnv *env, jobject obj,
+ jfloatArray m)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(m!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
+ }
+ disp__glMultMatrixf (
+ (const GLfloat *) ptr0
+ );
+
+ if(m!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRotated (
+ JNIEnv *env, jobject obj,
+ jdouble angle,
+ jdouble x,
+ jdouble y,
+ jdouble z)
+ {
+
+ disp__glRotated (
+ (GLdouble) angle,
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRotatef (
+ JNIEnv *env, jobject obj,
+ jfloat angle,
+ jfloat x,
+ jfloat y,
+ jfloat z)
+ {
+
+ disp__glRotatef (
+ (GLfloat) angle,
+ (GLfloat) x,
+ (GLfloat) y,
+ (GLfloat) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glScaled (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y,
+ jdouble z)
+ {
+
+ disp__glScaled (
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glScalef (
+ JNIEnv *env, jobject obj,
+ jfloat x,
+ jfloat y,
+ jfloat z)
+ {
+
+ disp__glScalef (
+ (GLfloat) x,
+ (GLfloat) y,
+ (GLfloat) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTranslated (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y,
+ jdouble z)
+ {
+
+ disp__glTranslated (
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTranslatef (
+ JNIEnv *env, jobject obj,
+ jfloat x,
+ jfloat y,
+ jfloat z)
+ {
+
+ disp__glTranslatef (
+ (GLfloat) x,
+ (GLfloat) y,
+ (GLfloat) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glIsList ( GLuint list ) ;
+ * </pre>
+ */
+ JNIEXPORT jboolean JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIsList (
+ JNIEnv *env, jobject obj,
+ jint list)
+ {
+ jboolean ret;
+
+
+ ret = (jboolean) disp__glIsList (
+ (GLuint) list
+ );
+
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDeleteLists ( GLuint list , GLsizei range ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDeleteLists (
+ JNIEnv *env, jobject obj,
+ jint list,
+ jint range)
+ {
+
+ disp__glDeleteLists (
+ (GLuint) list,
+ (GLsizei) range
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLuint glGenLists ( GLsizei range ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGenLists (
+ JNIEnv *env, jobject obj,
+ jint range)
+ {
+ jint ret;
+
+
+ ret = (jint) disp__glGenLists (
+ (GLsizei) range
+ );
+
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNewList ( GLuint list , GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNewList (
+ JNIEnv *env, jobject obj,
+ jint list,
+ jint mode)
+ {
+
+ disp__glNewList (
+ (GLuint) list,
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEndList ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEndList (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glEndList (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCallList ( GLuint list ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCallList (
+ JNIEnv *env, jobject obj,
+ jint list)
+ {
+
+ disp__glCallList (
+ (GLuint) list
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCallLists__II_3B (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jint type,
+ jbyteArray lists)
+ {
+ jbyte *ptr2 = NULL;
+
+ if(lists!=NULL)
+ {
+ ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
+ }
+ disp__glCallLists (
+ (GLsizei) n,
+ (GLenum) type,
+ (const GLvoid *) ptr2
+ );
+
+ if(lists!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCallLists__II_3S (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jint type,
+ jshortArray lists)
+ {
+ jshort *ptr2 = NULL;
+
+ if(lists!=NULL)
+ {
+ ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
+ }
+ disp__glCallLists (
+ (GLsizei) n,
+ (GLenum) type,
+ (const GLvoid *) ptr2
+ );
+
+ if(lists!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCallLists__II_3I (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jint type,
+ jintArray lists)
+ {
+ jint *ptr2 = NULL;
+
+ if(lists!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
+ }
+ disp__glCallLists (
+ (GLsizei) n,
+ (GLenum) type,
+ (const GLvoid *) ptr2
+ );
+
+ if(lists!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCallLists__II_3F (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jint type,
+ jfloatArray lists)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(lists!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
+ }
+ disp__glCallLists (
+ (GLsizei) n,
+ (GLenum) type,
+ (const GLvoid *) ptr2
+ );
+
+ if(lists!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCallLists__II_3D (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jint type,
+ jdoubleArray lists)
+ {
+ jdouble *ptr2 = NULL;
+
+ if(lists!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
+ }
+ disp__glCallLists (
+ (GLsizei) n,
+ (GLenum) type,
+ (const GLvoid *) ptr2
+ );
+
+ if(lists!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCallLists__II_3Z (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jint type,
+ jbooleanArray lists)
+ {
+ jboolean *ptr2 = NULL;
+
+ if(lists!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
+ }
+ disp__glCallLists (
+ (GLsizei) n,
+ (GLenum) type,
+ (const GLvoid *) ptr2
+ );
+
+ if(lists!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCallLists__II_3J (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jint type,
+ jlongArray lists)
+ {
+ jlong *ptr2 = NULL;
+
+ if(lists!=NULL)
+ {
+ ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
+ }
+ disp__glCallLists (
+ (GLsizei) n,
+ (GLenum) type,
+ (const GLvoid *) ptr2
+ );
+
+ if(lists!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glListBase ( GLuint base ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glListBase (
+ JNIEnv *env, jobject obj,
+ jint base)
+ {
+
+ disp__glListBase (
+ (GLuint) base
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBegin ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glBegin (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+
+ disp__glBegin (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEnd ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEnd (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glEnd (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2d ( GLdouble x , GLdouble y ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex2d (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y)
+ {
+
+ disp__glVertex2d (
+ (GLdouble) x,
+ (GLdouble) y
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2f ( GLfloat x , GLfloat y ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex2f (
+ JNIEnv *env, jobject obj,
+ jfloat x,
+ jfloat y)
+ {
+
+ disp__glVertex2f (
+ (GLfloat) x,
+ (GLfloat) y
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2i ( GLint x , GLint y ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex2i (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y)
+ {
+
+ disp__glVertex2i (
+ (GLint) x,
+ (GLint) y
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2s ( GLshort x , GLshort y ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex2s (
+ JNIEnv *env, jobject obj,
+ jshort x,
+ jshort y)
+ {
+
+ disp__glVertex2s (
+ (GLshort) x,
+ (GLshort) y
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex3d (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y,
+ jdouble z)
+ {
+
+ disp__glVertex3d (
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex3f (
+ JNIEnv *env, jobject obj,
+ jfloat x,
+ jfloat y,
+ jfloat z)
+ {
+
+ disp__glVertex3f (
+ (GLfloat) x,
+ (GLfloat) y,
+ (GLfloat) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3i ( GLint x , GLint y , GLint z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex3i (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint z)
+ {
+
+ disp__glVertex3i (
+ (GLint) x,
+ (GLint) y,
+ (GLint) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex3s (
+ JNIEnv *env, jobject obj,
+ jshort x,
+ jshort y,
+ jshort z)
+ {
+
+ disp__glVertex3s (
+ (GLshort) x,
+ (GLshort) y,
+ (GLshort) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex4d (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y,
+ jdouble z,
+ jdouble w)
+ {
+
+ disp__glVertex4d (
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z,
+ (GLdouble) w
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex4f (
+ JNIEnv *env, jobject obj,
+ jfloat x,
+ jfloat y,
+ jfloat z,
+ jfloat w)
+ {
+
+ disp__glVertex4f (
+ (GLfloat) x,
+ (GLfloat) y,
+ (GLfloat) z,
+ (GLfloat) w
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex4i (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint z,
+ jint w)
+ {
+
+ disp__glVertex4i (
+ (GLint) x,
+ (GLint) y,
+ (GLint) z,
+ (GLint) w
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex4s (
+ JNIEnv *env, jobject obj,
+ jshort x,
+ jshort y,
+ jshort z,
+ jshort w)
+ {
+
+ disp__glVertex4s (
+ (GLshort) x,
+ (GLshort) y,
+ (GLshort) z,
+ (GLshort) w
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex2dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex2dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex2fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex2fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex2iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex2iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex2sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex2sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex2sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex3dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex3dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex3fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex3fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex3iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex3iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex3sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex3sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex4dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex4dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex4fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex4fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex4iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex4iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertex4sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertex4sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glVertex4sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3b (
+ JNIEnv *env, jobject obj,
+ jbyte nx,
+ jbyte ny,
+ jbyte nz)
+ {
+
+ disp__glNormal3b (
+ (GLbyte) nx,
+ (GLbyte) ny,
+ (GLbyte) nz
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3d (
+ JNIEnv *env, jobject obj,
+ jdouble nx,
+ jdouble ny,
+ jdouble nz)
+ {
+
+ disp__glNormal3d (
+ (GLdouble) nx,
+ (GLdouble) ny,
+ (GLdouble) nz
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3f (
+ JNIEnv *env, jobject obj,
+ jfloat nx,
+ jfloat ny,
+ jfloat nz)
+ {
+
+ disp__glNormal3f (
+ (GLfloat) nx,
+ (GLfloat) ny,
+ (GLfloat) nz
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3i (
+ JNIEnv *env, jobject obj,
+ jint nx,
+ jint ny,
+ jint nz)
+ {
+
+ disp__glNormal3i (
+ (GLint) nx,
+ (GLint) ny,
+ (GLint) nz
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3s (
+ JNIEnv *env, jobject obj,
+ jshort nx,
+ jshort ny,
+ jshort nz)
+ {
+
+ disp__glNormal3s (
+ (GLshort) nx,
+ (GLshort) ny,
+ (GLshort) nz
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3bv ( const GLbyte * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3bv (
+ JNIEnv *env, jobject obj,
+ jbyteArray v)
+ {
+ jbyte *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glNormal3bv (
+ (const GLbyte *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glNormal3dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glNormal3fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glNormal3iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormal3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormal3sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glNormal3sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexd ( GLdouble c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexd (
+ JNIEnv *env, jobject obj,
+ jdouble c)
+ {
+
+ disp__glIndexd (
+ (GLdouble) c
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexf ( GLfloat c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexf (
+ JNIEnv *env, jobject obj,
+ jfloat c)
+ {
+
+ disp__glIndexf (
+ (GLfloat) c
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexi ( GLint c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexi (
+ JNIEnv *env, jobject obj,
+ jint c)
+ {
+
+ disp__glIndexi (
+ (GLint) c
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexs ( GLshort c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexs (
+ JNIEnv *env, jobject obj,
+ jshort c)
+ {
+
+ disp__glIndexs (
+ (GLshort) c
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexub ( GLubyte c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexub (
+ JNIEnv *env, jobject obj,
+ jbyte c)
+ {
+
+ disp__glIndexub (
+ (GLubyte) c
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexdv ( const GLdouble * c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexdv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray c)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(c!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
+ }
+ disp__glIndexdv (
+ (const GLdouble *) ptr0
+ );
+
+ if(c!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexfv ( const GLfloat * c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexfv (
+ JNIEnv *env, jobject obj,
+ jfloatArray c)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(c!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
+ }
+ disp__glIndexfv (
+ (const GLfloat *) ptr0
+ );
+
+ if(c!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexiv ( const GLint * c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexiv (
+ JNIEnv *env, jobject obj,
+ jintArray c)
+ {
+ jint *ptr0 = NULL;
+
+ if(c!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
+ }
+ disp__glIndexiv (
+ (const GLint *) ptr0
+ );
+
+ if(c!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexsv ( const GLshort * c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexsv (
+ JNIEnv *env, jobject obj,
+ jshortArray c)
+ {
+ jshort *ptr0 = NULL;
+
+ if(c!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
+ }
+ disp__glIndexsv (
+ (const GLshort *) ptr0
+ );
+
+ if(c!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexubv ( const GLubyte * c ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexubv (
+ JNIEnv *env, jobject obj,
+ jbyteArray c)
+ {
+ jbyte *ptr0 = NULL;
+
+ if(c!=NULL)
+ {
+ ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
+ }
+ disp__glIndexubv (
+ (const GLubyte *) ptr0
+ );
+
+ if(c!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3b (
+ JNIEnv *env, jobject obj,
+ jbyte red,
+ jbyte green,
+ jbyte blue)
+ {
+
+ disp__glColor3b (
+ (GLbyte) red,
+ (GLbyte) green,
+ (GLbyte) blue
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3d (
+ JNIEnv *env, jobject obj,
+ jdouble red,
+ jdouble green,
+ jdouble blue)
+ {
+
+ disp__glColor3d (
+ (GLdouble) red,
+ (GLdouble) green,
+ (GLdouble) blue
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3f (
+ JNIEnv *env, jobject obj,
+ jfloat red,
+ jfloat green,
+ jfloat blue)
+ {
+
+ disp__glColor3f (
+ (GLfloat) red,
+ (GLfloat) green,
+ (GLfloat) blue
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3i ( GLint red , GLint green , GLint blue ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3i (
+ JNIEnv *env, jobject obj,
+ jint red,
+ jint green,
+ jint blue)
+ {
+
+ disp__glColor3i (
+ (GLint) red,
+ (GLint) green,
+ (GLint) blue
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3s (
+ JNIEnv *env, jobject obj,
+ jshort red,
+ jshort green,
+ jshort blue)
+ {
+
+ disp__glColor3s (
+ (GLshort) red,
+ (GLshort) green,
+ (GLshort) blue
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3ub (
+ JNIEnv *env, jobject obj,
+ jbyte red,
+ jbyte green,
+ jbyte blue)
+ {
+
+ disp__glColor3ub (
+ (GLubyte) red,
+ (GLubyte) green,
+ (GLubyte) blue
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3ui (
+ JNIEnv *env, jobject obj,
+ jint red,
+ jint green,
+ jint blue)
+ {
+
+ disp__glColor3ui (
+ (GLuint) red,
+ (GLuint) green,
+ (GLuint) blue
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3us (
+ JNIEnv *env, jobject obj,
+ jshort red,
+ jshort green,
+ jshort blue)
+ {
+
+ disp__glColor3us (
+ (GLushort) red,
+ (GLushort) green,
+ (GLushort) blue
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4b (
+ JNIEnv *env, jobject obj,
+ jbyte red,
+ jbyte green,
+ jbyte blue,
+ jbyte alpha)
+ {
+
+ disp__glColor4b (
+ (GLbyte) red,
+ (GLbyte) green,
+ (GLbyte) blue,
+ (GLbyte) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4d (
+ JNIEnv *env, jobject obj,
+ jdouble red,
+ jdouble green,
+ jdouble blue,
+ jdouble alpha)
+ {
+
+ disp__glColor4d (
+ (GLdouble) red,
+ (GLdouble) green,
+ (GLdouble) blue,
+ (GLdouble) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4f (
+ JNIEnv *env, jobject obj,
+ jfloat red,
+ jfloat green,
+ jfloat blue,
+ jfloat alpha)
+ {
+
+ disp__glColor4f (
+ (GLfloat) red,
+ (GLfloat) green,
+ (GLfloat) blue,
+ (GLfloat) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4i (
+ JNIEnv *env, jobject obj,
+ jint red,
+ jint green,
+ jint blue,
+ jint alpha)
+ {
+
+ disp__glColor4i (
+ (GLint) red,
+ (GLint) green,
+ (GLint) blue,
+ (GLint) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4s (
+ JNIEnv *env, jobject obj,
+ jshort red,
+ jshort green,
+ jshort blue,
+ jshort alpha)
+ {
+
+ disp__glColor4s (
+ (GLshort) red,
+ (GLshort) green,
+ (GLshort) blue,
+ (GLshort) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4ub (
+ JNIEnv *env, jobject obj,
+ jbyte red,
+ jbyte green,
+ jbyte blue,
+ jbyte alpha)
+ {
+
+ disp__glColor4ub (
+ (GLubyte) red,
+ (GLubyte) green,
+ (GLubyte) blue,
+ (GLubyte) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4ui (
+ JNIEnv *env, jobject obj,
+ jint red,
+ jint green,
+ jint blue,
+ jint alpha)
+ {
+
+ disp__glColor4ui (
+ (GLuint) red,
+ (GLuint) green,
+ (GLuint) blue,
+ (GLuint) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4us (
+ JNIEnv *env, jobject obj,
+ jshort red,
+ jshort green,
+ jshort blue,
+ jshort alpha)
+ {
+
+ disp__glColor4us (
+ (GLushort) red,
+ (GLushort) green,
+ (GLushort) blue,
+ (GLushort) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3bv ( const GLbyte * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3bv (
+ JNIEnv *env, jobject obj,
+ jbyteArray v)
+ {
+ jbyte *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor3bv (
+ (const GLbyte *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor3dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor3fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor3iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor3sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3ubv ( const GLubyte * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3ubv (
+ JNIEnv *env, jobject obj,
+ jbyteArray v)
+ {
+ jbyte *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor3ubv (
+ (const GLubyte *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3uiv ( const GLuint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3uiv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor3uiv (
+ (const GLuint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor3usv ( const GLushort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor3usv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor3usv (
+ (const GLushort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4bv ( const GLbyte * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4bv (
+ JNIEnv *env, jobject obj,
+ jbyteArray v)
+ {
+ jbyte *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor4bv (
+ (const GLbyte *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor4dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor4fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor4iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor4sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4ubv ( const GLubyte * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4ubv (
+ JNIEnv *env, jobject obj,
+ jbyteArray v)
+ {
+ jbyte *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor4ubv (
+ (const GLubyte *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4uiv ( const GLuint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4uiv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor4uiv (
+ (const GLuint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColor4usv ( const GLushort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColor4usv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glColor4usv (
+ (const GLushort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1d ( GLdouble s ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord1d (
+ JNIEnv *env, jobject obj,
+ jdouble s)
+ {
+
+ disp__glTexCoord1d (
+ (GLdouble) s
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1f ( GLfloat s ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord1f (
+ JNIEnv *env, jobject obj,
+ jfloat s)
+ {
+
+ disp__glTexCoord1f (
+ (GLfloat) s
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1i ( GLint s ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord1i (
+ JNIEnv *env, jobject obj,
+ jint s)
+ {
+
+ disp__glTexCoord1i (
+ (GLint) s
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1s ( GLshort s ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord1s (
+ JNIEnv *env, jobject obj,
+ jshort s)
+ {
+
+ disp__glTexCoord1s (
+ (GLshort) s
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2d ( GLdouble s , GLdouble t ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord2d (
+ JNIEnv *env, jobject obj,
+ jdouble s,
+ jdouble t)
+ {
+
+ disp__glTexCoord2d (
+ (GLdouble) s,
+ (GLdouble) t
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2f ( GLfloat s , GLfloat t ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord2f (
+ JNIEnv *env, jobject obj,
+ jfloat s,
+ jfloat t)
+ {
+
+ disp__glTexCoord2f (
+ (GLfloat) s,
+ (GLfloat) t
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2i ( GLint s , GLint t ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord2i (
+ JNIEnv *env, jobject obj,
+ jint s,
+ jint t)
+ {
+
+ disp__glTexCoord2i (
+ (GLint) s,
+ (GLint) t
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2s ( GLshort s , GLshort t ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord2s (
+ JNIEnv *env, jobject obj,
+ jshort s,
+ jshort t)
+ {
+
+ disp__glTexCoord2s (
+ (GLshort) s,
+ (GLshort) t
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord3d (
+ JNIEnv *env, jobject obj,
+ jdouble s,
+ jdouble t,
+ jdouble r)
+ {
+
+ disp__glTexCoord3d (
+ (GLdouble) s,
+ (GLdouble) t,
+ (GLdouble) r
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord3f (
+ JNIEnv *env, jobject obj,
+ jfloat s,
+ jfloat t,
+ jfloat r)
+ {
+
+ disp__glTexCoord3f (
+ (GLfloat) s,
+ (GLfloat) t,
+ (GLfloat) r
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord3i (
+ JNIEnv *env, jobject obj,
+ jint s,
+ jint t,
+ jint r)
+ {
+
+ disp__glTexCoord3i (
+ (GLint) s,
+ (GLint) t,
+ (GLint) r
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord3s (
+ JNIEnv *env, jobject obj,
+ jshort s,
+ jshort t,
+ jshort r)
+ {
+
+ disp__glTexCoord3s (
+ (GLshort) s,
+ (GLshort) t,
+ (GLshort) r
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord4d (
+ JNIEnv *env, jobject obj,
+ jdouble s,
+ jdouble t,
+ jdouble r,
+ jdouble q)
+ {
+
+ disp__glTexCoord4d (
+ (GLdouble) s,
+ (GLdouble) t,
+ (GLdouble) r,
+ (GLdouble) q
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord4f (
+ JNIEnv *env, jobject obj,
+ jfloat s,
+ jfloat t,
+ jfloat r,
+ jfloat q)
+ {
+
+ disp__glTexCoord4f (
+ (GLfloat) s,
+ (GLfloat) t,
+ (GLfloat) r,
+ (GLfloat) q
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord4i (
+ JNIEnv *env, jobject obj,
+ jint s,
+ jint t,
+ jint r,
+ jint q)
+ {
+
+ disp__glTexCoord4i (
+ (GLint) s,
+ (GLint) t,
+ (GLint) r,
+ (GLint) q
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord4s (
+ JNIEnv *env, jobject obj,
+ jshort s,
+ jshort t,
+ jshort r,
+ jshort q)
+ {
+
+ disp__glTexCoord4s (
+ (GLshort) s,
+ (GLshort) t,
+ (GLshort) r,
+ (GLshort) q
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord1dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord1dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord1fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord1fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord1iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord1iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord1sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord1sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord1sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord2dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord2dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord2fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord2fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord2iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord2iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord2sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord2sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord2sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord3dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord3dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord3fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord3fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord3iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord3iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord3sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord3sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord4dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord4dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord4fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord4fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord4iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord4iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoord4sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoord4sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glTexCoord4sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2d ( GLdouble x , GLdouble y ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos2d (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y)
+ {
+
+ disp__glRasterPos2d (
+ (GLdouble) x,
+ (GLdouble) y
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2f ( GLfloat x , GLfloat y ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos2f (
+ JNIEnv *env, jobject obj,
+ jfloat x,
+ jfloat y)
+ {
+
+ disp__glRasterPos2f (
+ (GLfloat) x,
+ (GLfloat) y
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2i ( GLint x , GLint y ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos2i (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y)
+ {
+
+ disp__glRasterPos2i (
+ (GLint) x,
+ (GLint) y
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2s ( GLshort x , GLshort y ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos2s (
+ JNIEnv *env, jobject obj,
+ jshort x,
+ jshort y)
+ {
+
+ disp__glRasterPos2s (
+ (GLshort) x,
+ (GLshort) y
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos3d (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y,
+ jdouble z)
+ {
+
+ disp__glRasterPos3d (
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos3f (
+ JNIEnv *env, jobject obj,
+ jfloat x,
+ jfloat y,
+ jfloat z)
+ {
+
+ disp__glRasterPos3f (
+ (GLfloat) x,
+ (GLfloat) y,
+ (GLfloat) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos3i (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint z)
+ {
+
+ disp__glRasterPos3i (
+ (GLint) x,
+ (GLint) y,
+ (GLint) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos3s (
+ JNIEnv *env, jobject obj,
+ jshort x,
+ jshort y,
+ jshort z)
+ {
+
+ disp__glRasterPos3s (
+ (GLshort) x,
+ (GLshort) y,
+ (GLshort) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos4d (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y,
+ jdouble z,
+ jdouble w)
+ {
+
+ disp__glRasterPos4d (
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z,
+ (GLdouble) w
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos4f (
+ JNIEnv *env, jobject obj,
+ jfloat x,
+ jfloat y,
+ jfloat z,
+ jfloat w)
+ {
+
+ disp__glRasterPos4f (
+ (GLfloat) x,
+ (GLfloat) y,
+ (GLfloat) z,
+ (GLfloat) w
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos4i (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint z,
+ jint w)
+ {
+
+ disp__glRasterPos4i (
+ (GLint) x,
+ (GLint) y,
+ (GLint) z,
+ (GLint) w
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos4s (
+ JNIEnv *env, jobject obj,
+ jshort x,
+ jshort y,
+ jshort z,
+ jshort w)
+ {
+
+ disp__glRasterPos4s (
+ (GLshort) x,
+ (GLshort) y,
+ (GLshort) z,
+ (GLshort) w
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos2dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos2dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos2fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos2fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos2iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos2iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos2sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos2sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos2sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos3dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos3dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos3fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos3fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos3iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos3iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos3sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos3sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos3sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4dv ( const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos4dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos4dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4fv ( const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos4fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos4fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4iv ( const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos4iv (
+ JNIEnv *env, jobject obj,
+ jintArray v)
+ {
+ jint *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos4iv (
+ (const GLint *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRasterPos4sv ( const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRasterPos4sv (
+ JNIEnv *env, jobject obj,
+ jshortArray v)
+ {
+ jshort *ptr0 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glRasterPos4sv (
+ (const GLshort *) ptr0
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRectd (
+ JNIEnv *env, jobject obj,
+ jdouble x1,
+ jdouble y1,
+ jdouble x2,
+ jdouble y2)
+ {
+
+ disp__glRectd (
+ (GLdouble) x1,
+ (GLdouble) y1,
+ (GLdouble) x2,
+ (GLdouble) y2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRectf (
+ JNIEnv *env, jobject obj,
+ jfloat x1,
+ jfloat y1,
+ jfloat x2,
+ jfloat y2)
+ {
+
+ disp__glRectf (
+ (GLfloat) x1,
+ (GLfloat) y1,
+ (GLfloat) x2,
+ (GLfloat) y2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRecti (
+ JNIEnv *env, jobject obj,
+ jint x1,
+ jint y1,
+ jint x2,
+ jint y2)
+ {
+
+ disp__glRecti (
+ (GLint) x1,
+ (GLint) y1,
+ (GLint) x2,
+ (GLint) y2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRects (
+ JNIEnv *env, jobject obj,
+ jshort x1,
+ jshort y1,
+ jshort x2,
+ jshort y2)
+ {
+
+ disp__glRects (
+ (GLshort) x1,
+ (GLshort) y1,
+ (GLshort) x2,
+ (GLshort) y2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRectdv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray v1,
+ jdoubleArray v2)
+ {
+ jdouble *ptr0 = NULL;
+ jdouble *ptr1 = NULL;
+
+ if(v1!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
+ }
+ if(v2!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v2, 0);
+ }
+ disp__glRectdv (
+ (const GLdouble *) ptr0,
+ (const GLdouble *) ptr1
+ );
+
+ if(v1!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT);
+ }
+ if(v2!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRectfv (
+ JNIEnv *env, jobject obj,
+ jfloatArray v1,
+ jfloatArray v2)
+ {
+ jfloat *ptr0 = NULL;
+ jfloat *ptr1 = NULL;
+
+ if(v1!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
+ }
+ if(v2!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v2, 0);
+ }
+ disp__glRectfv (
+ (const GLfloat *) ptr0,
+ (const GLfloat *) ptr1
+ );
+
+ if(v1!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT);
+ }
+ if(v2!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRectiv (
+ JNIEnv *env, jobject obj,
+ jintArray v1,
+ jintArray v2)
+ {
+ jint *ptr0 = NULL;
+ jint *ptr1 = NULL;
+
+ if(v1!=NULL)
+ {
+ ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
+ }
+ if(v2!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v2, 0);
+ }
+ disp__glRectiv (
+ (const GLint *) ptr0,
+ (const GLint *) ptr1
+ );
+
+ if(v1!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT);
+ }
+ if(v2!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glRectsv (
+ JNIEnv *env, jobject obj,
+ jshortArray v1,
+ jshortArray v2)
+ {
+ jshort *ptr0 = NULL;
+ jshort *ptr1 = NULL;
+
+ if(v1!=NULL)
+ {
+ ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
+ }
+ if(v2!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v2, 0);
+ }
+ disp__glRectsv (
+ (const GLshort *) ptr0,
+ (const GLshort *) ptr1
+ );
+
+ if(v1!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT);
+ }
+ if(v2!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointer__III_3B (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jbyteArray ptr)
+ {
+ jbyte *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointer__III_3S (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jshortArray ptr)
+ {
+ jshort *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointer__III_3I (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jintArray ptr)
+ {
+ jint *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointer__III_3F (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jfloatArray ptr)
+ {
+ jfloat *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointer__III_3D (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointer__III_3Z (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointer__III_3J (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jlongArray ptr)
+ {
+ jlong *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointer__II_3B (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jbyteArray ptr)
+ {
+ jbyte *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointer__II_3S (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jshortArray ptr)
+ {
+ jshort *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointer__II_3I (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jintArray ptr)
+ {
+ jint *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointer__II_3F (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jfloatArray ptr)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointer__II_3D (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointer__II_3Z (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointer__II_3J (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jlongArray ptr)
+ {
+ jlong *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointer__III_3B (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jbyteArray ptr)
+ {
+ jbyte *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointer__III_3S (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jshortArray ptr)
+ {
+ jshort *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointer__III_3I (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jintArray ptr)
+ {
+ jint *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointer__III_3F (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jfloatArray ptr)
+ {
+ jfloat *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointer__III_3D (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointer__III_3Z (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointer__III_3J (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jlongArray ptr)
+ {
+ jlong *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointer__II_3B (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jbyteArray ptr)
+ {
+ jbyte *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointer__II_3S (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jshortArray ptr)
+ {
+ jshort *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointer__II_3I (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jintArray ptr)
+ {
+ jint *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointer__II_3F (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jfloatArray ptr)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointer__II_3D (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointer__II_3Z (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointer__II_3J (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jlongArray ptr)
+ {
+ jlong *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointer (
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointer__III_3B (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jbyteArray ptr)
+ {
+ jbyte *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointer__III_3S (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jshortArray ptr)
+ {
+ jshort *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointer__III_3I (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jintArray ptr)
+ {
+ jint *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointer__III_3F (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jfloatArray ptr)
+ {
+ jfloat *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointer__III_3D (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointer__III_3Z (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointer__III_3J (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jlongArray ptr)
+ {
+ jlong *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointer (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlagPointer__I_3B (
+ JNIEnv *env, jobject obj,
+ jint stride,
+ jbyteArray ptr)
+ {
+ jbyte *ptr1 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glEdgeFlagPointer (
+ (GLsizei) stride,
+ (const GLvoid *) ptr1
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlagPointer__I_3S (
+ JNIEnv *env, jobject obj,
+ jint stride,
+ jshortArray ptr)
+ {
+ jshort *ptr1 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glEdgeFlagPointer (
+ (GLsizei) stride,
+ (const GLvoid *) ptr1
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlagPointer__I_3I (
+ JNIEnv *env, jobject obj,
+ jint stride,
+ jintArray ptr)
+ {
+ jint *ptr1 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glEdgeFlagPointer (
+ (GLsizei) stride,
+ (const GLvoid *) ptr1
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlagPointer__I_3F (
+ JNIEnv *env, jobject obj,
+ jint stride,
+ jfloatArray ptr)
+ {
+ jfloat *ptr1 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glEdgeFlagPointer (
+ (GLsizei) stride,
+ (const GLvoid *) ptr1
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlagPointer__I_3D (
+ JNIEnv *env, jobject obj,
+ jint stride,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr1 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glEdgeFlagPointer (
+ (GLsizei) stride,
+ (const GLvoid *) ptr1
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlagPointer__I_3Z (
+ JNIEnv *env, jobject obj,
+ jint stride,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr1 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glEdgeFlagPointer (
+ (GLsizei) stride,
+ (const GLvoid *) ptr1
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlagPointer__I_3J (
+ JNIEnv *env, jobject obj,
+ jint stride,
+ jlongArray ptr)
+ {
+ jlong *ptr1 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glEdgeFlagPointer (
+ (GLsizei) stride,
+ (const GLvoid *) ptr1
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPointerv ( GLenum pname , void * * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointerv__I_3_3B (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jbyteArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jbyte *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointerv (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointerv__I_3_3S (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jshortArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jshort *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointerv (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointerv__I_3_3I (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointerv (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointerv__I_3_3F (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jfloat *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointerv (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointerv__I_3_3D (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jdoubleArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointerv (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointerv__I_3_3Z (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jbooleanArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jboolean *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointerv (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointerv__I_3_3J (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jlongArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jlong *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointerv (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glArrayElement ( GLint i ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glArrayElement (
+ JNIEnv *env, jobject obj,
+ jint i)
+ {
+
+ disp__glArrayElement (
+ (GLint) i
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawArrays (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint first,
+ jint count)
+ {
+
+ disp__glDrawArrays (
+ (GLenum) mode,
+ (GLint) first,
+ (GLsizei) count
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawElements__III_3B (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint count,
+ jint type,
+ jbyteArray indices)
+ {
+ jbyte *ptr3 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawElements (
+ (GLenum) mode,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr3
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawElements__III_3S (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint count,
+ jint type,
+ jshortArray indices)
+ {
+ jshort *ptr3 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawElements (
+ (GLenum) mode,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr3
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawElements__III_3I (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint count,
+ jint type,
+ jintArray indices)
+ {
+ jint *ptr3 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawElements (
+ (GLenum) mode,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr3
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawElements__III_3F (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint count,
+ jint type,
+ jfloatArray indices)
+ {
+ jfloat *ptr3 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawElements (
+ (GLenum) mode,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr3
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawElements__III_3D (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint count,
+ jint type,
+ jdoubleArray indices)
+ {
+ jdouble *ptr3 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawElements (
+ (GLenum) mode,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr3
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawElements__III_3Z (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint count,
+ jint type,
+ jbooleanArray indices)
+ {
+ jboolean *ptr3 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawElements (
+ (GLenum) mode,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr3
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawElements__III_3J (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint count,
+ jint type,
+ jlongArray indices)
+ {
+ jlong *ptr3 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawElements (
+ (GLenum) mode,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr3
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glInterleavedArrays__II_3B (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint stride,
+ jbyteArray pointer)
+ {
+ jbyte *ptr2 = NULL;
+
+ if(pointer!=NULL)
+ {
+ ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
+ }
+ disp__glInterleavedArrays (
+ (GLenum) format,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(pointer!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glInterleavedArrays__II_3S (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint stride,
+ jshortArray pointer)
+ {
+ jshort *ptr2 = NULL;
+
+ if(pointer!=NULL)
+ {
+ ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
+ }
+ disp__glInterleavedArrays (
+ (GLenum) format,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(pointer!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glInterleavedArrays__II_3I (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint stride,
+ jintArray pointer)
+ {
+ jint *ptr2 = NULL;
+
+ if(pointer!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
+ }
+ disp__glInterleavedArrays (
+ (GLenum) format,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(pointer!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glInterleavedArrays__II_3F (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint stride,
+ jfloatArray pointer)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(pointer!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
+ }
+ disp__glInterleavedArrays (
+ (GLenum) format,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(pointer!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glInterleavedArrays__II_3D (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint stride,
+ jdoubleArray pointer)
+ {
+ jdouble *ptr2 = NULL;
+
+ if(pointer!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
+ }
+ disp__glInterleavedArrays (
+ (GLenum) format,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(pointer!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glInterleavedArrays__II_3Z (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint stride,
+ jbooleanArray pointer)
+ {
+ jboolean *ptr2 = NULL;
+
+ if(pointer!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
+ }
+ disp__glInterleavedArrays (
+ (GLenum) format,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(pointer!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glInterleavedArrays__II_3J (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint stride,
+ jlongArray pointer)
+ {
+ jlong *ptr2 = NULL;
+
+ if(pointer!=NULL)
+ {
+ ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
+ }
+ disp__glInterleavedArrays (
+ (GLenum) format,
+ (GLsizei) stride,
+ (const GLvoid *) ptr2
+ );
+
+ if(pointer!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glShadeModel ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glShadeModel (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+
+ disp__glShadeModel (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLightf (
+ JNIEnv *env, jobject obj,
+ jint light,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glLightf (
+ (GLenum) light,
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLighti ( GLenum light , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLighti (
+ JNIEnv *env, jobject obj,
+ jint light,
+ jint pname,
+ jint param)
+ {
+
+ disp__glLighti (
+ (GLenum) light,
+ (GLenum) pname,
+ (GLint) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLightfv (
+ JNIEnv *env, jobject obj,
+ jint light,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glLightfv (
+ (GLenum) light,
+ (GLenum) pname,
+ (const GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLightiv (
+ JNIEnv *env, jobject obj,
+ jint light,
+ jint pname,
+ jintArray params)
+ {
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glLightiv (
+ (GLenum) light,
+ (GLenum) pname,
+ (const GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetLightfv (
+ JNIEnv *env, jobject obj,
+ jint light,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetLightfv (
+ (GLenum) light,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetLightiv (
+ JNIEnv *env, jobject obj,
+ jint light,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetLightiv (
+ (GLenum) light,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightModelf ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLightModelf (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glLightModelf (
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightModeli ( GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLightModeli (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jint param)
+ {
+
+ disp__glLightModeli (
+ (GLenum) pname,
+ (GLint) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLightModelfv (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glLightModelfv (
+ (GLenum) pname,
+ (const GLfloat *) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLightModeliv ( GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLightModeliv (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jintArray params)
+ {
+ jint *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glLightModeliv (
+ (GLenum) pname,
+ (const GLint *) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMaterialf (
+ JNIEnv *env, jobject obj,
+ jint face,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glMaterialf (
+ (GLenum) face,
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMateriali (
+ JNIEnv *env, jobject obj,
+ jint face,
+ jint pname,
+ jint param)
+ {
+
+ disp__glMateriali (
+ (GLenum) face,
+ (GLenum) pname,
+ (GLint) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMaterialfv (
+ JNIEnv *env, jobject obj,
+ jint face,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glMaterialfv (
+ (GLenum) face,
+ (GLenum) pname,
+ (const GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMaterialiv (
+ JNIEnv *env, jobject obj,
+ jint face,
+ jint pname,
+ jintArray params)
+ {
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glMaterialiv (
+ (GLenum) face,
+ (GLenum) pname,
+ (const GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMaterialfv (
+ JNIEnv *env, jobject obj,
+ jint face,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetMaterialfv (
+ (GLenum) face,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMaterialiv (
+ JNIEnv *env, jobject obj,
+ jint face,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetMaterialiv (
+ (GLenum) face,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorMaterial ( GLenum face , GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorMaterial (
+ JNIEnv *env, jobject obj,
+ jint face,
+ jint mode)
+ {
+
+ disp__glColorMaterial (
+ (GLenum) face,
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPixelZoom (
+ JNIEnv *env, jobject obj,
+ jfloat xfactor,
+ jfloat yfactor)
+ {
+
+ disp__glPixelZoom (
+ (GLfloat) xfactor,
+ (GLfloat) yfactor
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelStoref ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPixelStoref (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glPixelStoref (
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelStorei ( GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPixelStorei (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jint param)
+ {
+
+ disp__glPixelStorei (
+ (GLenum) pname,
+ (GLint) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelTransferf ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPixelTransferf (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glPixelTransferf (
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelTransferi ( GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPixelTransferi (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jint param)
+ {
+
+ disp__glPixelTransferi (
+ (GLenum) pname,
+ (GLint) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPixelMapfv (
+ JNIEnv *env, jobject obj,
+ jint map,
+ jint mapsize,
+ jfloatArray values)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, 0);
+ }
+ disp__glPixelMapfv (
+ (GLenum) map,
+ (GLint) mapsize,
+ (const GLfloat *) ptr2
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPixelMapuiv (
+ JNIEnv *env, jobject obj,
+ jint map,
+ jint mapsize,
+ jintArray values)
+ {
+ jint *ptr2 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, 0);
+ }
+ disp__glPixelMapuiv (
+ (GLenum) map,
+ (GLint) mapsize,
+ (const GLuint *) ptr2
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPixelMapusv (
+ JNIEnv *env, jobject obj,
+ jint map,
+ jint mapsize,
+ jshortArray values)
+ {
+ jshort *ptr2 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, 0);
+ }
+ disp__glPixelMapusv (
+ (GLenum) map,
+ (GLint) mapsize,
+ (const GLushort *) ptr2
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPixelMapfv (
+ JNIEnv *env, jobject obj,
+ jint map,
+ jfloatArray values)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jfloat *ptr1 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
+ }
+ disp__glGetPixelMapfv (
+ (GLenum) map,
+ (GLfloat *) ptr1
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPixelMapuiv (
+ JNIEnv *env, jobject obj,
+ jint map,
+ jintArray values)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
+ }
+ disp__glGetPixelMapuiv (
+ (GLenum) map,
+ (GLuint *) ptr1
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPixelMapusv (
+ JNIEnv *env, jobject obj,
+ jint map,
+ jshortArray values)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jshort *ptr1 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
+ }
+ disp__glGetPixelMapusv (
+ (GLenum) map,
+ (GLushort *) ptr1
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glBitmap (
+ JNIEnv *env, jobject obj,
+ jint width,
+ jint height,
+ jfloat xorig,
+ jfloat yorig,
+ jfloat xmove,
+ jfloat ymove,
+ jbyteArray bitmap)
+ {
+ jbyte *ptr6 = NULL;
+
+ if(bitmap!=NULL)
+ {
+ ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, bitmap, 0);
+ }
+ disp__glBitmap (
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLfloat) xorig,
+ (GLfloat) yorig,
+ (GLfloat) xmove,
+ (GLfloat) ymove,
+ (const GLubyte *) ptr6
+ );
+
+ if(bitmap!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, bitmap, ptr6, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glReadPixels__IIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jbyte *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
+ }
+ disp__glReadPixels (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glReadPixels__IIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jshort *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
+ }
+ disp__glReadPixels (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glReadPixels__IIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jint *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
+ }
+ disp__glReadPixels (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glReadPixels__IIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jfloat *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
+ }
+ disp__glReadPixels (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glReadPixels__IIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jdouble *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
+ }
+ disp__glReadPixels (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glReadPixels__IIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jboolean *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
+ }
+ disp__glReadPixels (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glReadPixels__IIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jlong *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
+ }
+ disp__glReadPixels (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawPixels__IIII_3B (
+ JNIEnv *env, jobject obj,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jbyte *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glDrawPixels (
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawPixels__IIII_3S (
+ JNIEnv *env, jobject obj,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jshort *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glDrawPixels (
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawPixels__IIII_3I (
+ JNIEnv *env, jobject obj,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jint *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glDrawPixels (
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawPixels__IIII_3F (
+ JNIEnv *env, jobject obj,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jfloat *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glDrawPixels (
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawPixels__IIII_3D (
+ JNIEnv *env, jobject obj,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jdouble *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glDrawPixels (
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawPixels__IIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glDrawPixels (
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawPixels__IIII_3J (
+ JNIEnv *env, jobject obj,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jlong *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glDrawPixels (
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyPixels (
+ JNIEnv *env, jobject obj,
+ jint x,
+ jint y,
+ jint width,
+ jint height,
+ jint type)
+ {
+
+ disp__glCopyPixels (
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) type
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glStencilFunc (
+ JNIEnv *env, jobject obj,
+ jint func,
+ jint ref,
+ jint mask)
+ {
+
+ disp__glStencilFunc (
+ (GLenum) func,
+ (GLint) ref,
+ (GLuint) mask
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glStencilMask ( GLuint mask ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glStencilMask (
+ JNIEnv *env, jobject obj,
+ jint mask)
+ {
+
+ disp__glStencilMask (
+ (GLuint) mask
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glStencilOp (
+ JNIEnv *env, jobject obj,
+ jint fail,
+ jint zfail,
+ jint zpass)
+ {
+
+ disp__glStencilOp (
+ (GLenum) fail,
+ (GLenum) zfail,
+ (GLenum) zpass
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClearStencil ( GLint s ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glClearStencil (
+ JNIEnv *env, jobject obj,
+ jint s)
+ {
+
+ disp__glClearStencil (
+ (GLint) s
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexGend (
+ JNIEnv *env, jobject obj,
+ jint coord,
+ jint pname,
+ jdouble param)
+ {
+
+ disp__glTexGend (
+ (GLenum) coord,
+ (GLenum) pname,
+ (GLdouble) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexGenf (
+ JNIEnv *env, jobject obj,
+ jint coord,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glTexGenf (
+ (GLenum) coord,
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexGeni (
+ JNIEnv *env, jobject obj,
+ jint coord,
+ jint pname,
+ jint param)
+ {
+
+ disp__glTexGeni (
+ (GLenum) coord,
+ (GLenum) pname,
+ (GLint) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexGendv (
+ JNIEnv *env, jobject obj,
+ jint coord,
+ jint pname,
+ jdoubleArray params)
+ {
+ jdouble *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glTexGendv (
+ (GLenum) coord,
+ (GLenum) pname,
+ (const GLdouble *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexGenfv (
+ JNIEnv *env, jobject obj,
+ jint coord,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glTexGenfv (
+ (GLenum) coord,
+ (GLenum) pname,
+ (const GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexGeniv (
+ JNIEnv *env, jobject obj,
+ jint coord,
+ jint pname,
+ jintArray params)
+ {
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glTexGeniv (
+ (GLenum) coord,
+ (GLenum) pname,
+ (const GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexGendv (
+ JNIEnv *env, jobject obj,
+ jint coord,
+ jint pname,
+ jdoubleArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jdouble *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetTexGendv (
+ (GLenum) coord,
+ (GLenum) pname,
+ (GLdouble *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexGenfv (
+ JNIEnv *env, jobject obj,
+ jint coord,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetTexGenfv (
+ (GLenum) coord,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexGeniv (
+ JNIEnv *env, jobject obj,
+ jint coord,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetTexGeniv (
+ (GLenum) coord,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexEnvf (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glTexEnvf (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexEnvi (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jint param)
+ {
+
+ disp__glTexEnvi (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexEnvfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glTexEnvfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (const GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexEnviv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glTexEnviv (
+ (GLenum) target,
+ (GLenum) pname,
+ (const GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexEnvfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetTexEnvfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexEnviv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetTexEnviv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexParameterf (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glTexParameterf (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexParameteri (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jint param)
+ {
+
+ disp__glTexParameteri (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexParameterfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glTexParameterfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (const GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexParameteriv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glTexParameteriv (
+ (GLenum) target,
+ (GLenum) pname,
+ (const GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexParameterfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetTexParameterfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexParameteriv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetTexParameteriv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexLevelParameterfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jfloat *ptr3 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
+ }
+ disp__glGetTexLevelParameterfv (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) pname,
+ (GLfloat *) ptr3
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexLevelParameteriv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jint *ptr3 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
+ }
+ disp__glGetTexLevelParameteriv (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) pname,
+ (GLint *) ptr3
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage1D__IIIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint border,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jbyte *ptr7 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr7
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage1D__IIIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint border,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jshort *ptr7 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr7
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage1D__IIIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint border,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jint *ptr7 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr7
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage1D__IIIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint border,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jfloat *ptr7 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr7
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage1D__IIIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint border,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jdouble *ptr7 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr7
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage1D__IIIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint border,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean *ptr7 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr7
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage1D__IIIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint border,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jlong *ptr7 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr7
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage2D__IIIIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint border,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jbyte *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage2D__IIIIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint border,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jshort *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage2D__IIIIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint border,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jint *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage2D__IIIIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint border,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jfloat *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage2D__IIIIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint border,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jdouble *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage2D__IIIIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint border,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage2D__IIIIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint border,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jlong *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexImage__IIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jbyte *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
+ }
+ disp__glGetTexImage (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexImage__IIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jshort *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
+ }
+ disp__glGetTexImage (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexImage__IIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jint *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
+ }
+ disp__glGetTexImage (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexImage__IIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
+ }
+ disp__glGetTexImage (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexImage__IIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jdouble *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
+ }
+ disp__glGetTexImage (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexImage__IIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jboolean *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
+ }
+ disp__glGetTexImage (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetTexImage__IIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jlong *ptr4 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
+ }
+ disp__glGetTexImage (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGenTextures ( GLsizei n , GLuint * textures ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGenTextures (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jintArray textures)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+
+ if(textures!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
+ }
+ disp__glGenTextures (
+ (GLsizei) n,
+ (GLuint *) ptr1
+ );
+
+ if(textures!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDeleteTextures (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jintArray textures)
+ {
+ jint *ptr1 = NULL;
+
+ if(textures!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
+ }
+ disp__glDeleteTextures (
+ (GLsizei) n,
+ (const GLuint *) ptr1
+ );
+
+ if(textures!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBindTexture ( GLenum target , GLuint texture ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glBindTexture (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint texture)
+ {
+
+ disp__glBindTexture (
+ (GLenum) target,
+ (GLuint) texture
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPrioritizeTextures (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jintArray textures,
+ jfloatArray priorities)
+ {
+ jint *ptr1 = NULL;
+ jfloat *ptr2 = NULL;
+
+ if(textures!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
+ }
+ if(priorities!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, 0);
+ }
+ disp__glPrioritizeTextures (
+ (GLsizei) n,
+ (const GLuint *) ptr1,
+ (const GLclampf *) ptr2
+ );
+
+ if(textures!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT);
+ }
+ if(priorities!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * </pre>
+ */
+ JNIEXPORT jboolean JNICALL
+ Java_gl4java_GLFuncJauJNInf_glAreTexturesResident (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jintArray textures,
+ jbooleanArray residences)
+ {
+ jboolean ret;
+
+ jint *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jboolean *ptr2 = NULL;
+
+ if(textures!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
+ }
+ if(residences!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2);
+ }
+ ret = (jboolean) disp__glAreTexturesResident (
+ (GLsizei) n,
+ (const GLuint *) ptr1,
+ (GLboolean *) ptr2
+ );
+
+ if(textures!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT);
+ }
+ if(residences!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glIsTexture ( GLuint texture ) ;
+ * </pre>
+ */
+ JNIEXPORT jboolean JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIsTexture (
+ JNIEnv *env, jobject obj,
+ jint texture)
+ {
+ jboolean ret;
+
+
+ ret = (jboolean) disp__glIsTexture (
+ (GLuint) texture
+ );
+
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage1D__IIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint width,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jbyte *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage1D__IIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint width,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jshort *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage1D__IIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint width,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jint *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage1D__IIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint width,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jfloat *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage1D__IIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint width,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jdouble *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage1D__IIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint width,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage1D__IIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint width,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jlong *ptr6 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage2D__IIIIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jbyte *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage2D__IIIIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jshort *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage2D__IIIIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jint *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage2D__IIIIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jfloat *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage2D__IIIIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jdouble *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage2D__IIIIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage2D__IIIIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jlong *ptr8 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr8
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyTexImage1D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalformat,
+ jint x,
+ jint y,
+ jint width,
+ jint border)
+ {
+
+ disp__glCopyTexImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) internalformat,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLint) border
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyTexImage2D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalformat,
+ jint x,
+ jint y,
+ jint width,
+ jint height,
+ jint border)
+ {
+
+ disp__glCopyTexImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) internalformat,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLint) border
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyTexSubImage1D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint x,
+ jint y,
+ jint width)
+ {
+
+ disp__glCopyTexSubImage1D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyTexSubImage2D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint x,
+ jint y,
+ jint width,
+ jint height)
+ {
+
+ disp__glCopyTexSubImage2D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMap1d (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdouble u1,
+ jdouble u2,
+ jint stride,
+ jint order,
+ jdoubleArray points)
+ {
+ jdouble *ptr5 = NULL;
+
+ if(points!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
+ }
+ disp__glMap1d (
+ (GLenum) target,
+ (GLdouble) u1,
+ (GLdouble) u2,
+ (GLint) stride,
+ (GLint) order,
+ (const GLdouble *) ptr5
+ );
+
+ if(points!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMap1f (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloat u1,
+ jfloat u2,
+ jint stride,
+ jint order,
+ jfloatArray points)
+ {
+ jfloat *ptr5 = NULL;
+
+ if(points!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
+ }
+ disp__glMap1f (
+ (GLenum) target,
+ (GLfloat) u1,
+ (GLfloat) u2,
+ (GLint) stride,
+ (GLint) order,
+ (const GLfloat *) ptr5
+ );
+
+ if(points!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMap2d (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdouble u1,
+ jdouble u2,
+ jint ustride,
+ jint uorder,
+ jdouble v1,
+ jdouble v2,
+ jint vstride,
+ jint vorder,
+ jdoubleArray points)
+ {
+ jdouble *ptr9 = NULL;
+
+ if(points!=NULL)
+ {
+ ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
+ }
+ disp__glMap2d (
+ (GLenum) target,
+ (GLdouble) u1,
+ (GLdouble) u2,
+ (GLint) ustride,
+ (GLint) uorder,
+ (GLdouble) v1,
+ (GLdouble) v2,
+ (GLint) vstride,
+ (GLint) vorder,
+ (const GLdouble *) ptr9
+ );
+
+ if(points!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMap2f (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloat u1,
+ jfloat u2,
+ jint ustride,
+ jint uorder,
+ jfloat v1,
+ jfloat v2,
+ jint vstride,
+ jint vorder,
+ jfloatArray points)
+ {
+ jfloat *ptr9 = NULL;
+
+ if(points!=NULL)
+ {
+ ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
+ }
+ disp__glMap2f (
+ (GLenum) target,
+ (GLfloat) u1,
+ (GLfloat) u2,
+ (GLint) ustride,
+ (GLint) uorder,
+ (GLfloat) v1,
+ (GLfloat) v2,
+ (GLint) vstride,
+ (GLint) vorder,
+ (const GLfloat *) ptr9
+ );
+
+ if(points!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMapdv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint query,
+ jdoubleArray v)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jdouble *ptr2 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
+ }
+ disp__glGetMapdv (
+ (GLenum) target,
+ (GLenum) query,
+ (GLdouble *) ptr2
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMapfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint query,
+ jfloatArray v)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
+ }
+ disp__glGetMapfv (
+ (GLenum) target,
+ (GLenum) query,
+ (GLfloat *) ptr2
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMapiv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint query,
+ jintArray v)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
+ }
+ disp__glGetMapiv (
+ (GLenum) target,
+ (GLenum) query,
+ (GLint *) ptr2
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord1d ( GLdouble u ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalCoord1d (
+ JNIEnv *env, jobject obj,
+ jdouble u)
+ {
+
+ disp__glEvalCoord1d (
+ (GLdouble) u
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord1f ( GLfloat u ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalCoord1f (
+ JNIEnv *env, jobject obj,
+ jfloat u)
+ {
+
+ disp__glEvalCoord1f (
+ (GLfloat) u
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord1dv ( const GLdouble * u ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalCoord1dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray u)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(u!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
+ }
+ disp__glEvalCoord1dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(u!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord1fv ( const GLfloat * u ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalCoord1fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray u)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(u!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
+ }
+ disp__glEvalCoord1fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(u!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalCoord2d (
+ JNIEnv *env, jobject obj,
+ jdouble u,
+ jdouble v)
+ {
+
+ disp__glEvalCoord2d (
+ (GLdouble) u,
+ (GLdouble) v
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalCoord2f (
+ JNIEnv *env, jobject obj,
+ jfloat u,
+ jfloat v)
+ {
+
+ disp__glEvalCoord2f (
+ (GLfloat) u,
+ (GLfloat) v
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord2dv ( const GLdouble * u ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalCoord2dv (
+ JNIEnv *env, jobject obj,
+ jdoubleArray u)
+ {
+ jdouble *ptr0 = NULL;
+
+ if(u!=NULL)
+ {
+ ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
+ }
+ disp__glEvalCoord2dv (
+ (const GLdouble *) ptr0
+ );
+
+ if(u!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalCoord2fv ( const GLfloat * u ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalCoord2fv (
+ JNIEnv *env, jobject obj,
+ jfloatArray u)
+ {
+ jfloat *ptr0 = NULL;
+
+ if(u!=NULL)
+ {
+ ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
+ }
+ disp__glEvalCoord2fv (
+ (const GLfloat *) ptr0
+ );
+
+ if(u!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMapGrid1d (
+ JNIEnv *env, jobject obj,
+ jint un,
+ jdouble u1,
+ jdouble u2)
+ {
+
+ disp__glMapGrid1d (
+ (GLint) un,
+ (GLdouble) u1,
+ (GLdouble) u2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMapGrid1f (
+ JNIEnv *env, jobject obj,
+ jint un,
+ jfloat u1,
+ jfloat u2)
+ {
+
+ disp__glMapGrid1f (
+ (GLint) un,
+ (GLfloat) u1,
+ (GLfloat) u2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMapGrid2d (
+ JNIEnv *env, jobject obj,
+ jint un,
+ jdouble u1,
+ jdouble u2,
+ jint vn,
+ jdouble v1,
+ jdouble v2)
+ {
+
+ disp__glMapGrid2d (
+ (GLint) un,
+ (GLdouble) u1,
+ (GLdouble) u2,
+ (GLint) vn,
+ (GLdouble) v1,
+ (GLdouble) v2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMapGrid2f (
+ JNIEnv *env, jobject obj,
+ jint un,
+ jfloat u1,
+ jfloat u2,
+ jint vn,
+ jfloat v1,
+ jfloat v2)
+ {
+
+ disp__glMapGrid2f (
+ (GLint) un,
+ (GLfloat) u1,
+ (GLfloat) u2,
+ (GLint) vn,
+ (GLfloat) v1,
+ (GLfloat) v2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalPoint1 ( GLint i ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalPoint1 (
+ JNIEnv *env, jobject obj,
+ jint i)
+ {
+
+ disp__glEvalPoint1 (
+ (GLint) i
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalPoint2 ( GLint i , GLint j ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalPoint2 (
+ JNIEnv *env, jobject obj,
+ jint i,
+ jint j)
+ {
+
+ disp__glEvalPoint2 (
+ (GLint) i,
+ (GLint) j
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalMesh1 (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint i1,
+ jint i2)
+ {
+
+ disp__glEvalMesh1 (
+ (GLenum) mode,
+ (GLint) i1,
+ (GLint) i2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEvalMesh2 (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint i1,
+ jint i2,
+ jint j1,
+ jint j2)
+ {
+
+ disp__glEvalMesh2 (
+ (GLenum) mode,
+ (GLint) i1,
+ (GLint) i2,
+ (GLint) j1,
+ (GLint) j2
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFogf ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFogf (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glFogf (
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFogi ( GLenum pname , GLint param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFogi (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jint param)
+ {
+
+ disp__glFogi (
+ (GLenum) pname,
+ (GLint) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFogfv ( GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFogfv (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glFogfv (
+ (GLenum) pname,
+ (const GLfloat *) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFogiv ( GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFogiv (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jintArray params)
+ {
+ jint *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glFogiv (
+ (GLenum) pname,
+ (const GLint *) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFeedbackBuffer (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jfloatArray buffer)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(buffer!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray2);
+ }
+ disp__glFeedbackBuffer (
+ (GLsizei) size,
+ (GLenum) type,
+ (GLfloat *) ptr2
+ );
+
+ if(buffer!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPassThrough ( GLfloat token ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPassThrough (
+ JNIEnv *env, jobject obj,
+ jfloat token)
+ {
+
+ disp__glPassThrough (
+ (GLfloat) token
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glSelectBuffer (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jintArray buffer)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+
+ if(buffer!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray1);
+ }
+ disp__glSelectBuffer (
+ (GLsizei) size,
+ (GLuint *) ptr1
+ );
+
+ if(buffer!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glInitNames ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glInitNames (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glInitNames (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLoadName ( GLuint name ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLoadName (
+ JNIEnv *env, jobject obj,
+ jint name)
+ {
+
+ disp__glLoadName (
+ (GLuint) name
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPushName ( GLuint name ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPushName (
+ JNIEnv *env, jobject obj,
+ jint name)
+ {
+
+ disp__glPushName (
+ (GLuint) name
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopName ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPopName (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glPopName (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawRangeElements__IIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint start,
+ jint end,
+ jint count,
+ jint type,
+ jbyteArray indices)
+ {
+ jbyte *ptr5 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawRangeElements (
+ (GLenum) mode,
+ (GLuint) start,
+ (GLuint) end,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawRangeElements__IIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint start,
+ jint end,
+ jint count,
+ jint type,
+ jshortArray indices)
+ {
+ jshort *ptr5 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawRangeElements (
+ (GLenum) mode,
+ (GLuint) start,
+ (GLuint) end,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawRangeElements__IIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint start,
+ jint end,
+ jint count,
+ jint type,
+ jintArray indices)
+ {
+ jint *ptr5 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawRangeElements (
+ (GLenum) mode,
+ (GLuint) start,
+ (GLuint) end,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawRangeElements__IIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint start,
+ jint end,
+ jint count,
+ jint type,
+ jfloatArray indices)
+ {
+ jfloat *ptr5 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawRangeElements (
+ (GLenum) mode,
+ (GLuint) start,
+ (GLuint) end,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawRangeElements__IIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint start,
+ jint end,
+ jint count,
+ jint type,
+ jdoubleArray indices)
+ {
+ jdouble *ptr5 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawRangeElements (
+ (GLenum) mode,
+ (GLuint) start,
+ (GLuint) end,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawRangeElements__IIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint start,
+ jint end,
+ jint count,
+ jint type,
+ jbooleanArray indices)
+ {
+ jboolean *ptr5 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawRangeElements (
+ (GLenum) mode,
+ (GLuint) start,
+ (GLuint) end,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawRangeElements__IIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint start,
+ jint end,
+ jint count,
+ jint type,
+ jlongArray indices)
+ {
+ jlong *ptr5 = NULL;
+
+ if(indices!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
+ }
+ disp__glDrawRangeElements (
+ (GLenum) mode,
+ (GLuint) start,
+ (GLuint) end,
+ (GLsizei) count,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(indices!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3D__IIIIIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jbyte *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3D__IIIIIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jshort *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3D__IIIIIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jint *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3D__IIIIIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jfloat *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3D__IIIIIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jdouble *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3D__IIIIIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3D__IIIIIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jlong *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3D__IIIIIIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jbyte *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3D__IIIIIIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jshort *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3D__IIIIIIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jint *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3D__IIIIIIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jfloat *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3D__IIIIIIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jdouble *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3D__IIIIIIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3D__IIIIIIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jlong *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyTexSubImage3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint x,
+ jint y,
+ jint width,
+ jint height)
+ {
+
+ disp__glCopyTexSubImage3D (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTable__IIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jbyteArray table)
+ {
+ jbyte *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTable (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTable__IIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jshortArray table)
+ {
+ jshort *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTable (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTable__IIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jintArray table)
+ {
+ jint *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTable (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTable__IIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jfloatArray table)
+ {
+ jfloat *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTable (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTable__IIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jdoubleArray table)
+ {
+ jdouble *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTable (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTable__IIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jbooleanArray table)
+ {
+ jboolean *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTable (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTable__IIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jlongArray table)
+ {
+ jlong *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTable (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTable__IIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jbyteArray data)
+ {
+ jbyte *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTable (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTable__IIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jshortArray data)
+ {
+ jshort *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTable (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTable__IIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jintArray data)
+ {
+ jint *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTable (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTable__IIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jfloatArray data)
+ {
+ jfloat *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTable (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTable__IIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jdoubleArray data)
+ {
+ jdouble *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTable (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTable__IIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jbooleanArray data)
+ {
+ jboolean *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTable (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTable__IIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jlongArray data)
+ {
+ jlong *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTable (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTableParameteriv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glColorTableParameteriv (
+ (GLenum) target,
+ (GLenum) pname,
+ (const GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTableParameterfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glColorTableParameterfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (const GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyColorSubTable (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint x,
+ jint y,
+ jint width)
+ {
+
+ disp__glCopyColorSubTable (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyColorTable (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint x,
+ jint y,
+ jint width)
+ {
+
+ disp__glCopyColorTable (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTable__III_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jbyteArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jbyte *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTable (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTable__III_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jshortArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jshort *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTable (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTable__III_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jintArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jint *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTable (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTable__III_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jfloatArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jfloat *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTable (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTable__III_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jdoubleArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jdouble *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTable (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTable__III_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jbooleanArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jboolean *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTable (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTable__III_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jlongArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jlong *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTable (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableParameterfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetColorTableParameterfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableParameteriv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetColorTableParameteriv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendEquation ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glBlendEquation (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+
+ disp__glBlendEquation (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glBlendColor (
+ JNIEnv *env, jobject obj,
+ jfloat red,
+ jfloat green,
+ jfloat blue,
+ jfloat alpha)
+ {
+
+ disp__glBlendColor (
+ (GLclampf) red,
+ (GLclampf) green,
+ (GLclampf) blue,
+ (GLclampf) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glHistogram (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint width,
+ jint internalformat,
+ jboolean sink)
+ {
+
+ disp__glHistogram (
+ (GLenum) target,
+ (GLsizei) width,
+ (GLenum) internalformat,
+ (GLboolean) sink
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glResetHistogram ( GLenum target ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glResetHistogram (
+ JNIEnv *env, jobject obj,
+ jint target)
+ {
+
+ disp__glResetHistogram (
+ (GLenum) target
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetHistogram__IZII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint type,
+ jbyteArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jbyte *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetHistogram (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetHistogram__IZII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint type,
+ jshortArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jshort *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetHistogram (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetHistogram__IZII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint type,
+ jintArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jint *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetHistogram (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetHistogram__IZII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint type,
+ jfloatArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetHistogram (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetHistogram__IZII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint type,
+ jdoubleArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jdouble *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetHistogram (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetHistogram__IZII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint type,
+ jbooleanArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jboolean *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetHistogram (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetHistogram__IZII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint type,
+ jlongArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jlong *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetHistogram (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetHistogramParameterfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetHistogramParameterfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetHistogramParameteriv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetHistogramParameteriv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMinmax (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jboolean sink)
+ {
+
+ disp__glMinmax (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLboolean) sink
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glResetMinmax ( GLenum target ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glResetMinmax (
+ JNIEnv *env, jobject obj,
+ jint target)
+ {
+
+ disp__glResetMinmax (
+ (GLenum) target
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMinmax__IZII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint types,
+ jbyteArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jbyte *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetMinmax (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) types,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMinmax__IZII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint types,
+ jshortArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jshort *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetMinmax (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) types,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMinmax__IZII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint types,
+ jintArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jint *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetMinmax (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) types,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMinmax__IZII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint types,
+ jfloatArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetMinmax (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) types,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMinmax__IZII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint types,
+ jdoubleArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jdouble *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetMinmax (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) types,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMinmax__IZII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint types,
+ jbooleanArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jboolean *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetMinmax (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) types,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMinmax__IZII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jboolean reset,
+ jint format,
+ jint types,
+ jlongArray values)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jlong *ptr4 = NULL;
+
+ if(values!=NULL)
+ {
+ ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
+ }
+ disp__glGetMinmax (
+ (GLenum) target,
+ (GLboolean) reset,
+ (GLenum) format,
+ (GLenum) types,
+ (GLvoid *) ptr4
+ );
+
+ if(values!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMinmaxParameterfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetMinmaxParameterfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetMinmaxParameteriv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetMinmaxParameteriv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter1D__IIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jbyteArray image)
+ {
+ jbyte *ptr5 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter1D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter1D__IIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jshortArray image)
+ {
+ jshort *ptr5 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter1D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter1D__IIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jintArray image)
+ {
+ jint *ptr5 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter1D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter1D__IIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jfloatArray image)
+ {
+ jfloat *ptr5 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter1D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter1D__IIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jdoubleArray image)
+ {
+ jdouble *ptr5 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter1D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter1D__IIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jbooleanArray image)
+ {
+ jboolean *ptr5 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter1D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter1D__IIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jlongArray image)
+ {
+ jlong *ptr5 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter1D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter2D__IIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbyteArray image)
+ {
+ jbyte *ptr6 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter2D__IIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jshortArray image)
+ {
+ jshort *ptr6 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter2D__IIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jintArray image)
+ {
+ jint *ptr6 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter2D__IIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jfloatArray image)
+ {
+ jfloat *ptr6 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter2D__IIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jdoubleArray image)
+ {
+ jdouble *ptr6 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter2D__IIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbooleanArray image)
+ {
+ jboolean *ptr6 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionFilter2D__IIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jlongArray image)
+ {
+ jlong *ptr6 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
+ }
+ disp__glConvolutionFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionParameterf (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloat params)
+ {
+
+ disp__glConvolutionParameterf (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat) params
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionParameterfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glConvolutionParameterfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (const GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionParameteri (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jint params)
+ {
+
+ disp__glConvolutionParameteri (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint) params
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glConvolutionParameteriv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glConvolutionParameteriv (
+ (GLenum) target,
+ (GLenum) pname,
+ (const GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyConvolutionFilter1D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint x,
+ jint y,
+ jint width)
+ {
+
+ disp__glCopyConvolutionFilter1D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyConvolutionFilter2D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint x,
+ jint y,
+ jint width,
+ jint height)
+ {
+
+ disp__glCopyConvolutionFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetConvolutionFilter__III_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jbyteArray image)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jbyte *ptr3 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
+ }
+ disp__glGetConvolutionFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetConvolutionFilter__III_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jshortArray image)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jshort *ptr3 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
+ }
+ disp__glGetConvolutionFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetConvolutionFilter__III_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jintArray image)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jint *ptr3 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
+ }
+ disp__glGetConvolutionFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetConvolutionFilter__III_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jfloatArray image)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jfloat *ptr3 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
+ }
+ disp__glGetConvolutionFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetConvolutionFilter__III_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jdoubleArray image)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jdouble *ptr3 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
+ }
+ disp__glGetConvolutionFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetConvolutionFilter__III_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jbooleanArray image)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jboolean *ptr3 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
+ }
+ disp__glGetConvolutionFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetConvolutionFilter__III_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jlongArray image)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jlong *ptr3 = NULL;
+
+ if(image!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
+ }
+ disp__glGetConvolutionFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(image!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetConvolutionParameterfv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetConvolutionParameterfv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetConvolutionParameteriv (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetConvolutionParameteriv (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glSeparableFilter2D__IIIIII_3B_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbyteArray row,
+ jbyteArray column)
+ {
+ jbyte *ptr6 = NULL;
+ jbyte *ptr7 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
+ }
+ if(column!=NULL)
+ {
+ ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
+ }
+ disp__glSeparableFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6,
+ (const GLvoid *) ptr7
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glSeparableFilter2D__IIIIII_3S_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jshortArray row,
+ jshortArray column)
+ {
+ jshort *ptr6 = NULL;
+ jshort *ptr7 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
+ }
+ if(column!=NULL)
+ {
+ ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
+ }
+ disp__glSeparableFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6,
+ (const GLvoid *) ptr7
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glSeparableFilter2D__IIIIII_3I_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jintArray row,
+ jintArray column)
+ {
+ jint *ptr6 = NULL;
+ jint *ptr7 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
+ }
+ if(column!=NULL)
+ {
+ ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
+ }
+ disp__glSeparableFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6,
+ (const GLvoid *) ptr7
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glSeparableFilter2D__IIIIII_3F_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jfloatArray row,
+ jfloatArray column)
+ {
+ jfloat *ptr6 = NULL;
+ jfloat *ptr7 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
+ }
+ if(column!=NULL)
+ {
+ ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
+ }
+ disp__glSeparableFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6,
+ (const GLvoid *) ptr7
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glSeparableFilter2D__IIIIII_3D_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jdoubleArray row,
+ jdoubleArray column)
+ {
+ jdouble *ptr6 = NULL;
+ jdouble *ptr7 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
+ }
+ if(column!=NULL)
+ {
+ ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
+ }
+ disp__glSeparableFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6,
+ (const GLvoid *) ptr7
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glSeparableFilter2D__IIIIII_3Z_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbooleanArray row,
+ jbooleanArray column)
+ {
+ jboolean *ptr6 = NULL;
+ jboolean *ptr7 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
+ }
+ if(column!=NULL)
+ {
+ ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
+ }
+ disp__glSeparableFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6,
+ (const GLvoid *) ptr7
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glSeparableFilter2D__IIIIII_3J_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jlongArray row,
+ jlongArray column)
+ {
+ jlong *ptr6 = NULL;
+ jlong *ptr7 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
+ }
+ if(column!=NULL)
+ {
+ ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, 0);
+ }
+ disp__glSeparableFilter2D (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr6,
+ (const GLvoid *) ptr7
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetSeparableFilter__III_3B_3B_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jbyteArray row,
+ jbyteArray column,
+ jbyteArray span)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jbyte *ptr3 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jbyte *ptr4 = NULL;
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jbyte *ptr5 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
+ }
+ if(column!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4);
+ }
+ if(span!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
+ }
+ disp__glGetSeparableFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3,
+ (GLvoid *) ptr4,
+ (GLvoid *) ptr5
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(span!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetSeparableFilter__III_3S_3S_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jshortArray row,
+ jshortArray column,
+ jshortArray span)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jshort *ptr3 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jshort *ptr4 = NULL;
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jshort *ptr5 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
+ }
+ if(column!=NULL)
+ {
+ ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4);
+ }
+ if(span!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
+ }
+ disp__glGetSeparableFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3,
+ (GLvoid *) ptr4,
+ (GLvoid *) ptr5
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(span!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetSeparableFilter__III_3I_3I_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jintArray row,
+ jintArray column,
+ jintArray span)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jint *ptr3 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jint *ptr4 = NULL;
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jint *ptr5 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
+ }
+ if(column!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4);
+ }
+ if(span!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
+ }
+ disp__glGetSeparableFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3,
+ (GLvoid *) ptr4,
+ (GLvoid *) ptr5
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(span!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetSeparableFilter__III_3F_3F_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jfloatArray row,
+ jfloatArray column,
+ jfloatArray span)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jfloat *ptr3 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jfloat *ptr5 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
+ }
+ if(column!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4);
+ }
+ if(span!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
+ }
+ disp__glGetSeparableFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3,
+ (GLvoid *) ptr4,
+ (GLvoid *) ptr5
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(span!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetSeparableFilter__III_3D_3D_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jdoubleArray row,
+ jdoubleArray column,
+ jdoubleArray span)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jdouble *ptr3 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jdouble *ptr4 = NULL;
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jdouble *ptr5 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
+ }
+ if(column!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4);
+ }
+ if(span!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
+ }
+ disp__glGetSeparableFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3,
+ (GLvoid *) ptr4,
+ (GLvoid *) ptr5
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(span!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetSeparableFilter__III_3Z_3Z_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jbooleanArray row,
+ jbooleanArray column,
+ jbooleanArray span)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jboolean *ptr3 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jboolean *ptr4 = NULL;
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jboolean *ptr5 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
+ }
+ if(column!=NULL)
+ {
+ ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4);
+ }
+ if(span!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
+ }
+ disp__glGetSeparableFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3,
+ (GLvoid *) ptr4,
+ (GLvoid *) ptr5
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(span!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetSeparableFilter__III_3J_3J_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jlongArray row,
+ jlongArray column,
+ jlongArray span)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jlong *ptr3 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jlong *ptr4 = NULL;
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jlong *ptr5 = NULL;
+
+ if(row!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
+ }
+ if(column!=NULL)
+ {
+ ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4);
+ }
+ if(span!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5);
+ }
+ disp__glGetSeparableFilter (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3,
+ (GLvoid *) ptr4,
+ (GLvoid *) ptr5
+ );
+
+ if(row!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(column!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(span!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glBlendColorEXT (
+ JNIEnv *env, jobject obj,
+ jfloat red,
+ jfloat green,
+ jfloat blue,
+ jfloat alpha)
+ {
+
+ disp__glBlendColorEXT (
+ (GLclampf) red,
+ (GLclampf) green,
+ (GLclampf) blue,
+ (GLclampf) alpha
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPolygonOffsetEXT (
+ JNIEnv *env, jobject obj,
+ jfloat factor,
+ jfloat bias)
+ {
+
+ disp__glPolygonOffsetEXT (
+ (GLfloat) factor,
+ (GLfloat) bias
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3DEXT__IIIIIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jbyte *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3DEXT__IIIIIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jshort *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3DEXT__IIIIIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jint *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3DEXT__IIIIIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jfloat *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3DEXT__IIIIIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jdouble *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3DEXT__IIIIIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexImage3DEXT__IIIIIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint internalFormat,
+ jint width,
+ jint height,
+ jint depth,
+ jint border,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jlong *ptr9 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLenum) internalFormat,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLint) border,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr9
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3DEXT__IIIIIIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jbyteArray pixels)
+ {
+ jbyte *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3DEXT__IIIIIIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jshortArray pixels)
+ {
+ jshort *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3DEXT__IIIIIIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jintArray pixels)
+ {
+ jint *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3DEXT__IIIIIIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jfloatArray pixels)
+ {
+ jfloat *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3DEXT__IIIIIIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jdoubleArray pixels)
+ {
+ jdouble *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3DEXT__IIIIIIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jbooleanArray pixels)
+ {
+ jboolean *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexSubImage3DEXT__IIIIIIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint width,
+ jint height,
+ jint depth,
+ jint format,
+ jint type,
+ jlongArray pixels)
+ {
+ jlong *ptr10 = NULL;
+
+ if(pixels!=NULL)
+ {
+ ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
+ }
+ disp__glTexSubImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLsizei) width,
+ (GLsizei) height,
+ (GLsizei) depth,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr10
+ );
+
+ if(pixels!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glCopyTexSubImage3DEXT (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint level,
+ jint xoffset,
+ jint yoffset,
+ jint zoffset,
+ jint x,
+ jint y,
+ jint width,
+ jint height)
+ {
+
+ disp__glCopyTexSubImage3DEXT (
+ (GLenum) target,
+ (GLint) level,
+ (GLint) xoffset,
+ (GLint) yoffset,
+ (GLint) zoffset,
+ (GLint) x,
+ (GLint) y,
+ (GLsizei) width,
+ (GLsizei) height
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGenTexturesEXT (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jintArray textures)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+
+ if(textures!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
+ }
+ disp__glGenTexturesEXT (
+ (GLsizei) n,
+ (GLuint *) ptr1
+ );
+
+ if(textures!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDeleteTexturesEXT (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jintArray textures)
+ {
+ jint *ptr1 = NULL;
+
+ if(textures!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
+ }
+ disp__glDeleteTexturesEXT (
+ (GLsizei) n,
+ (const GLuint *) ptr1
+ );
+
+ if(textures!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBindTextureEXT ( GLenum target , GLuint texture ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glBindTextureEXT (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint texture)
+ {
+
+ disp__glBindTextureEXT (
+ (GLenum) target,
+ (GLuint) texture
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPrioritizeTexturesEXT (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jintArray textures,
+ jfloatArray priorities)
+ {
+ jint *ptr1 = NULL;
+ jfloat *ptr2 = NULL;
+
+ if(textures!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
+ }
+ if(priorities!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, 0);
+ }
+ disp__glPrioritizeTexturesEXT (
+ (GLsizei) n,
+ (const GLuint *) ptr1,
+ (const GLclampf *) ptr2
+ );
+
+ if(textures!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT);
+ }
+ if(priorities!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ;
+ * </pre>
+ */
+ JNIEXPORT jboolean JNICALL
+ Java_gl4java_GLFuncJauJNInf_glAreTexturesResidentEXT (
+ JNIEnv *env, jobject obj,
+ jint n,
+ jintArray textures,
+ jbooleanArray residences)
+ {
+ jboolean ret;
+
+ jint *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jboolean *ptr2 = NULL;
+
+ if(textures!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
+ }
+ if(residences!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2);
+ }
+ ret = (jboolean) disp__glAreTexturesResidentEXT (
+ (GLsizei) n,
+ (const GLuint *) ptr1,
+ (GLboolean *) ptr2
+ );
+
+ if(textures!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT);
+ }
+ if(residences!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLboolean glIsTextureEXT ( GLuint texture ) ;
+ * </pre>
+ */
+ JNIEXPORT jboolean JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIsTextureEXT (
+ JNIEnv *env, jobject obj,
+ jint texture)
+ {
+ jboolean ret;
+
+
+ ret = (jboolean) disp__glIsTextureEXT (
+ (GLuint) texture
+ );
+
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointerEXT__IIII_3B (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jbyteArray ptr)
+ {
+ jbyte *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointerEXT__IIII_3S (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jshortArray ptr)
+ {
+ jshort *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointerEXT__IIII_3I (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jintArray ptr)
+ {
+ jint *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointerEXT__IIII_3F (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jfloatArray ptr)
+ {
+ jfloat *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointerEXT__IIII_3D (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointerEXT__IIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glVertexPointerEXT__IIII_3J (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jlongArray ptr)
+ {
+ jlong *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glVertexPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointerEXT__III_3B (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jbyteArray ptr)
+ {
+ jbyte *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointerEXT__III_3S (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jshortArray ptr)
+ {
+ jshort *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointerEXT__III_3I (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jintArray ptr)
+ {
+ jint *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointerEXT__III_3F (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jfloatArray ptr)
+ {
+ jfloat *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointerEXT__III_3D (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointerEXT__III_3Z (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glNormalPointerEXT__III_3J (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jlongArray ptr)
+ {
+ jlong *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glNormalPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointerEXT__IIII_3B (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jbyteArray ptr)
+ {
+ jbyte *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointerEXT__IIII_3S (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jshortArray ptr)
+ {
+ jshort *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointerEXT__IIII_3I (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jintArray ptr)
+ {
+ jint *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointerEXT__IIII_3F (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jfloatArray ptr)
+ {
+ jfloat *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointerEXT__IIII_3D (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointerEXT__IIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorPointerEXT__IIII_3J (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jlongArray ptr)
+ {
+ jlong *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glColorPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointerEXT__III_3B (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jbyteArray ptr)
+ {
+ jbyte *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointerEXT__III_3S (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jshortArray ptr)
+ {
+ jshort *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointerEXT__III_3I (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jintArray ptr)
+ {
+ jint *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointerEXT__III_3F (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jfloatArray ptr)
+ {
+ jfloat *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointerEXT__III_3D (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointerEXT__III_3Z (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glIndexPointerEXT__III_3J (
+ JNIEnv *env, jobject obj,
+ jint type,
+ jint stride,
+ jint count,
+ jlongArray ptr)
+ {
+ jlong *ptr3 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glIndexPointerEXT (
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr3
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointerEXT__IIII_3B (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jbyteArray ptr)
+ {
+ jbyte *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointerEXT__IIII_3S (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jshortArray ptr)
+ {
+ jshort *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointerEXT__IIII_3I (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jintArray ptr)
+ {
+ jint *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointerEXT__IIII_3F (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jfloatArray ptr)
+ {
+ jfloat *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointerEXT__IIII_3D (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jdoubleArray ptr)
+ {
+ jdouble *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointerEXT__IIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glTexCoordPointerEXT__IIII_3J (
+ JNIEnv *env, jobject obj,
+ jint size,
+ jint type,
+ jint stride,
+ jint count,
+ jlongArray ptr)
+ {
+ jlong *ptr4 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glTexCoordPointerEXT (
+ (GLint) size,
+ (GLenum) type,
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLvoid *) ptr4
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEdgeFlagPointerEXT (
+ JNIEnv *env, jobject obj,
+ jint stride,
+ jint count,
+ jbooleanArray ptr)
+ {
+ jboolean *ptr2 = NULL;
+
+ if(ptr!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
+ }
+ disp__glEdgeFlagPointerEXT (
+ (GLsizei) stride,
+ (GLsizei) count,
+ (const GLboolean *) ptr2
+ );
+
+ if(ptr!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetPointervEXT ( GLenum pname , void * * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointervEXT__I_3_3B (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jbyteArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jbyte *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointervEXT (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointervEXT__I_3_3S (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jshortArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jshort *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointervEXT (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointervEXT__I_3_3I (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointervEXT (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointervEXT__I_3_3F (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jfloat *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointervEXT (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointervEXT__I_3_3D (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jdoubleArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointervEXT (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointervEXT__I_3_3Z (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jbooleanArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jboolean *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointervEXT (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetPointervEXT__I_3_3J (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jlongArray params)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jlong *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
+ }
+ disp__glGetPointervEXT (
+ (GLenum) pname,
+ (void **) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glArrayElementEXT ( GLint i ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glArrayElementEXT (
+ JNIEnv *env, jobject obj,
+ jint i)
+ {
+
+ disp__glArrayElementEXT (
+ (GLint) i
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glDrawArraysEXT (
+ JNIEnv *env, jobject obj,
+ jint mode,
+ jint first,
+ jint count)
+ {
+
+ disp__glDrawArraysEXT (
+ (GLenum) mode,
+ (GLint) first,
+ (GLsizei) count
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glBlendEquationEXT ( GLenum mode ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glBlendEquationEXT (
+ JNIEnv *env, jobject obj,
+ jint mode)
+ {
+
+ disp__glBlendEquationEXT (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPointParameterfEXT (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloat param)
+ {
+
+ disp__glPointParameterfEXT (
+ (GLenum) pname,
+ (GLfloat) param
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPointParameterfvEXT (
+ JNIEnv *env, jobject obj,
+ jint pname,
+ jfloatArray params)
+ {
+ jfloat *ptr1 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
+ }
+ disp__glPointParameterfvEXT (
+ (GLenum) pname,
+ (const GLfloat *) ptr1
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTableEXT__IIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jbyteArray table)
+ {
+ jbyte *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTableEXT (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTableEXT__IIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jshortArray table)
+ {
+ jshort *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTableEXT (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTableEXT__IIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jintArray table)
+ {
+ jint *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTableEXT (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTableEXT__IIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jfloatArray table)
+ {
+ jfloat *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTableEXT (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTableEXT__IIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jdoubleArray table)
+ {
+ jdouble *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTableEXT (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTableEXT__IIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jbooleanArray table)
+ {
+ jboolean *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTableEXT (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorTableEXT__IIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint internalformat,
+ jint width,
+ jint format,
+ jint type,
+ jlongArray table)
+ {
+ jlong *ptr5 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
+ }
+ disp__glColorTableEXT (
+ (GLenum) target,
+ (GLenum) internalformat,
+ (GLsizei) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTableEXT__IIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jbyteArray data)
+ {
+ jbyte *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTableEXT (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTableEXT__IIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jshortArray data)
+ {
+ jshort *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTableEXT (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTableEXT__IIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jintArray data)
+ {
+ jint *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTableEXT (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTableEXT__IIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jfloatArray data)
+ {
+ jfloat *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTableEXT (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTableEXT__IIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jdoubleArray data)
+ {
+ jdouble *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTableEXT (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTableEXT__IIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jbooleanArray data)
+ {
+ jboolean *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTableEXT (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glColorSubTableEXT__IIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint start,
+ jint count,
+ jint format,
+ jint type,
+ jlongArray data)
+ {
+ jlong *ptr5 = NULL;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ disp__glColorSubTableEXT (
+ (GLenum) target,
+ (GLsizei) start,
+ (GLsizei) count,
+ (GLenum) format,
+ (GLenum) type,
+ (const GLvoid *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableEXT__III_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jbyteArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jbyte *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTableEXT (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableEXT__III_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jshortArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jshort *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTableEXT (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableEXT__III_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jintArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jint *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTableEXT (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableEXT__III_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jfloatArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jfloat *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTableEXT (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableEXT__III_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jdoubleArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jdouble *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTableEXT (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableEXT__III_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jbooleanArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jboolean *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTableEXT (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableEXT__III_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint format,
+ jint type,
+ jlongArray table)
+ {
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jlong *ptr3 = NULL;
+
+ if(table!=NULL)
+ {
+ ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
+ }
+ disp__glGetColorTableEXT (
+ (GLenum) target,
+ (GLenum) format,
+ (GLenum) type,
+ (GLvoid *) ptr3
+ );
+
+ if(table!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableParameterfvEXT (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jfloatArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetColorTableParameterfvEXT (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLfloat *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glGetColorTableParameterivEXT (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint pname,
+ jintArray params)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if(params!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
+ }
+ disp__glGetColorTableParameterivEXT (
+ (GLenum) target,
+ (GLenum) pname,
+ (GLint *) ptr2
+ );
+
+ if(params!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLockArraysEXT ( GLint first , GLsizei count ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLockArraysEXT (
+ JNIEnv *env, jobject obj,
+ jint first,
+ jint count)
+ {
+
+ disp__glLockArraysEXT (
+ (GLint) first,
+ (GLsizei) count
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glUnlockArraysEXT ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glUnlockArraysEXT (
+ JNIEnv *env, jobject obj)
+ {
+
+ disp__glUnlockArraysEXT (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glActiveTextureARB ( GLenum texture ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glActiveTextureARB (
+ JNIEnv *env, jobject obj,
+ jint texture)
+ {
+
+ disp__glActiveTextureARB (
+ (GLenum) texture
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glClientActiveTextureARB ( GLenum texture ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glClientActiveTextureARB (
+ JNIEnv *env, jobject obj,
+ jint texture)
+ {
+
+ disp__glClientActiveTextureARB (
+ (GLenum) texture
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord1dARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdouble s)
+ {
+
+ disp__glMultiTexCoord1dARB (
+ (GLenum) target,
+ (GLdouble) s
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord1dvARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdoubleArray v)
+ {
+ jdouble *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord1dvARB (
+ (GLenum) target,
+ (const GLdouble *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord1fARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloat s)
+ {
+
+ disp__glMultiTexCoord1fARB (
+ (GLenum) target,
+ (GLfloat) s
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord1fvARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloatArray v)
+ {
+ jfloat *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord1fvARB (
+ (GLenum) target,
+ (const GLfloat *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord1iARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint s)
+ {
+
+ disp__glMultiTexCoord1iARB (
+ (GLenum) target,
+ (GLint) s
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord1ivARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jintArray v)
+ {
+ jint *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord1ivARB (
+ (GLenum) target,
+ (const GLint *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord1sARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jshort s)
+ {
+
+ disp__glMultiTexCoord1sARB (
+ (GLenum) target,
+ (GLshort) s
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord1svARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jshortArray v)
+ {
+ jshort *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord1svARB (
+ (GLenum) target,
+ (const GLshort *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord2dARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdouble s,
+ jdouble t)
+ {
+
+ disp__glMultiTexCoord2dARB (
+ (GLenum) target,
+ (GLdouble) s,
+ (GLdouble) t
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord2dvARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdoubleArray v)
+ {
+ jdouble *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord2dvARB (
+ (GLenum) target,
+ (const GLdouble *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord2fARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloat s,
+ jfloat t)
+ {
+
+ disp__glMultiTexCoord2fARB (
+ (GLenum) target,
+ (GLfloat) s,
+ (GLfloat) t
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord2fvARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloatArray v)
+ {
+ jfloat *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord2fvARB (
+ (GLenum) target,
+ (const GLfloat *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord2iARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint s,
+ jint t)
+ {
+
+ disp__glMultiTexCoord2iARB (
+ (GLenum) target,
+ (GLint) s,
+ (GLint) t
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord2ivARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jintArray v)
+ {
+ jint *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord2ivARB (
+ (GLenum) target,
+ (const GLint *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord2sARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jshort s,
+ jshort t)
+ {
+
+ disp__glMultiTexCoord2sARB (
+ (GLenum) target,
+ (GLshort) s,
+ (GLshort) t
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord2svARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jshortArray v)
+ {
+ jshort *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord2svARB (
+ (GLenum) target,
+ (const GLshort *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord3dARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdouble s,
+ jdouble t,
+ jdouble r)
+ {
+
+ disp__glMultiTexCoord3dARB (
+ (GLenum) target,
+ (GLdouble) s,
+ (GLdouble) t,
+ (GLdouble) r
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord3dvARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdoubleArray v)
+ {
+ jdouble *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord3dvARB (
+ (GLenum) target,
+ (const GLdouble *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord3fARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloat s,
+ jfloat t,
+ jfloat r)
+ {
+
+ disp__glMultiTexCoord3fARB (
+ (GLenum) target,
+ (GLfloat) s,
+ (GLfloat) t,
+ (GLfloat) r
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord3fvARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloatArray v)
+ {
+ jfloat *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord3fvARB (
+ (GLenum) target,
+ (const GLfloat *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord3iARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint s,
+ jint t,
+ jint r)
+ {
+
+ disp__glMultiTexCoord3iARB (
+ (GLenum) target,
+ (GLint) s,
+ (GLint) t,
+ (GLint) r
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord3ivARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jintArray v)
+ {
+ jint *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord3ivARB (
+ (GLenum) target,
+ (const GLint *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord3sARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jshort s,
+ jshort t,
+ jshort r)
+ {
+
+ disp__glMultiTexCoord3sARB (
+ (GLenum) target,
+ (GLshort) s,
+ (GLshort) t,
+ (GLshort) r
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord3svARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jshortArray v)
+ {
+ jshort *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord3svARB (
+ (GLenum) target,
+ (const GLshort *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord4dARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdouble s,
+ jdouble t,
+ jdouble r,
+ jdouble q)
+ {
+
+ disp__glMultiTexCoord4dARB (
+ (GLenum) target,
+ (GLdouble) s,
+ (GLdouble) t,
+ (GLdouble) r,
+ (GLdouble) q
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord4dvARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jdoubleArray v)
+ {
+ jdouble *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord4dvARB (
+ (GLenum) target,
+ (const GLdouble *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord4fARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloat s,
+ jfloat t,
+ jfloat r,
+ jfloat q)
+ {
+
+ disp__glMultiTexCoord4fARB (
+ (GLenum) target,
+ (GLfloat) s,
+ (GLfloat) t,
+ (GLfloat) r,
+ (GLfloat) q
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord4fvARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jfloatArray v)
+ {
+ jfloat *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord4fvARB (
+ (GLenum) target,
+ (const GLfloat *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord4iARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint s,
+ jint t,
+ jint r,
+ jint q)
+ {
+
+ disp__glMultiTexCoord4iARB (
+ (GLenum) target,
+ (GLint) s,
+ (GLint) t,
+ (GLint) r,
+ (GLint) q
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord4ivARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jintArray v)
+ {
+ jint *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord4ivARB (
+ (GLenum) target,
+ (const GLint *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord4sARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jshort s,
+ jshort t,
+ jshort r,
+ jshort q)
+ {
+
+ disp__glMultiTexCoord4sARB (
+ (GLenum) target,
+ (GLshort) s,
+ (GLshort) t,
+ (GLshort) r,
+ (GLshort) q
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glMultiTexCoord4svARB (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jshortArray v)
+ {
+ jshort *ptr1 = NULL;
+
+ if(v!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
+ }
+ disp__glMultiTexCoord4svARB (
+ (GLenum) target,
+ (const GLshort *) ptr1
+ );
+
+ if(v!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT);
+ }
+ }
+
+/* C2J Parser Version 2.0: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGL_JauJNI12tst_funcs.c b/CNativeCode/OpenGL_JauJNI12tst_funcs.c new file mode 100755 index 0000000..2030c89 --- /dev/null +++ b/CNativeCode/OpenGL_JauJNI12tst_funcs.c @@ -0,0 +1,21674 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + +/* + * Leo Chan -- 1995 + * + * This mammoth C file takes care of all the native implementation for the + * bulk of OpenGL commands + * --------------- + * + * Sven Goethel + * + * September 1997 + */ + +/* + * need to include the JAVA internal header files for macros and function + * prototypes required to maipulated JAVA data structures and functions + * + * StubPreamble.h includes the structure and macro definitions neede to + * convert JAVA data structures into C data structures. + * + */ + +#include "OpenGL_misc.h" + +/* + * the next thing to include are special headers that were created by + * JAVAH. They include the C structure definitions for the JAVA classes + */ +#include "gl4java_GLFuncJauJNI.h" + +/*-------------------------------------------------------------------------- + * here on in is just regular apple pie C + */ + +#ifndef LIBAPIENTRY + #define LIBAPIENTRY +#endif +#ifndef LIBAPI + #define LIBAPI +#endif + +#ifndef CALLBACK + #define CALLBACK +#endif +/** THIS IS A MANUAL CODED PART + gl-manualCodedImplJNI.java +*/ + +static const char _gl_n_a_string[] = "GL-String not avaiable !"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj, + jint name ) +{ + const char * tmpString=0; + + tmpString = disp__glGetString ( /* jint */ name); + if(tmpString==NULL) + tmpString=_gl_n_a_string; + + return (*env)->NewStringUTF(env, tmpString); +} + +static const char * _gl_lib_vendor_="Jausoft - Sven Goethel Software Development"; +static const char * _gl_lib_version_="2.7.0.0"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _gl_lib_vendor_); +} + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _gl_lib_version_); +} + +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + * <pre> + extern void glClearIndex ( GLfloat c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearIndex ( + JNIEnv *env, jobject obj, + jfloat c) + { + + disp__glClearIndex ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glClearColor ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClear ( GLbitfield mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClear ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glClear ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexMask ( GLuint mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexMask ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glIndexMask ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMask ( + JNIEnv *env, jobject obj, + jboolean red, + jboolean green, + jboolean blue, + jboolean alpha) + { + + disp__glColorMask ( + (GLboolean) red, + (GLboolean) green, + (GLboolean) blue, + (GLboolean) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glAlphaFunc ( GLenum func , GLclampf ref ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAlphaFunc ( + JNIEnv *env, jobject obj, + jint func, + jfloat ref) + { + + disp__glAlphaFunc ( + (GLenum) func, + (GLclampf) ref + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendFunc ( + JNIEnv *env, jobject obj, + jint sfactor, + jint dfactor) + { + + disp__glBlendFunc ( + (GLenum) sfactor, + (GLenum) dfactor + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLogicOp ( GLenum opcode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLogicOp ( + JNIEnv *env, jobject obj, + jint opcode) + { + + disp__glLogicOp ( + (GLenum) opcode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCullFace ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCullFace ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glCullFace ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFrontFace ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrontFace ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glFrontFace ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPointSize ( GLfloat size ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointSize ( + JNIEnv *env, jobject obj, + jfloat size) + { + + disp__glPointSize ( + (GLfloat) size + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLineWidth ( GLfloat width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineWidth ( + JNIEnv *env, jobject obj, + jfloat width) + { + + disp__glLineWidth ( + (GLfloat) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLineStipple ( GLint factor , GLushort pattern ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineStipple ( + JNIEnv *env, jobject obj, + jint factor, + jshort pattern) + { + + disp__glLineStipple ( + (GLint) factor, + (GLushort) pattern + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonMode ( GLenum face , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonMode ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + + disp__glPolygonMode ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffset ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat units) + { + + disp__glPolygonOffset ( + (GLfloat) factor, + (GLfloat) units + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonStipple ( const GLubyte * mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(mask!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glPolygonStipple arg: mask"); + } + } + disp__glPolygonStipple ( + (const GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPolygonStipple ( GLubyte * mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(mask!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glGetPolygonStipple arg: mask"); + } + } + disp__glGetPolygonStipple ( + (GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, mask, ptr0, (isCopiedArray0 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlag ( GLboolean flag ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlag ( + JNIEnv *env, jobject obj, + jboolean flag) + { + + disp__glEdgeFlag ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagv ( const GLboolean * flag ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagv ( + JNIEnv *env, jobject obj, + jbooleanArray flag) + { + jboolean isCopiedArray0 = JNI_FALSE; + jboolean *ptr0 = NULL; + static int isWarned0 = 0; + + if(flag!=NULL) + { + ptr0 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, flag, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEdgeFlagv arg: flag"); + } + } + disp__glEdgeFlagv ( + (const GLboolean *) ptr0 + ); + + if(flag!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, flag, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScissor ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + + disp__glScissor ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(equation!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glClipPlane arg: equation"); + } + } + disp__glClipPlane ( + (GLenum) plane, + (const GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(equation!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetClipPlane arg: equation"); + } + } + disp__glGetClipPlane ( + (GLenum) plane, + (GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, equation, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawBuffer ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glDrawBuffer ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glReadBuffer ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glReadBuffer ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEnable ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnable ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glEnable ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDisable ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisable ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glDisable ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsEnabled ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsEnabled ( + JNIEnv *env, jobject obj, + jint cap) + { + jboolean ret; + + + ret = (jboolean) disp__glIsEnabled ( + (GLenum) cap + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEnableClientState ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glEnableClientState ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDisableClientState ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glDisableClientState ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetBooleanv ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetBooleanv arg: params"); + } + } + disp__glGetBooleanv ( + (GLenum) pname, + (GLboolean *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetDoublev ( GLenum pname , GLdouble * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetDoublev ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetDoublev arg: params"); + } + } + disp__glGetDoublev ( + (GLenum) pname, + (GLdouble *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetFloatv ( GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetFloatv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetFloatv arg: params"); + } + } + disp__glGetFloatv ( + (GLenum) pname, + (GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetIntegerv ( GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetIntegerv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetIntegerv arg: params"); + } + } + disp__glGetIntegerv ( + (GLenum) pname, + (GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushAttrib ( GLbitfield mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glPushAttrib ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopAttrib ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopAttrib ( + JNIEnv *env, jobject obj) + { + + disp__glPopAttrib ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushClientAttrib ( GLbitfield mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushClientAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glPushClientAttrib ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopClientAttrib ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopClientAttrib ( + JNIEnv *env, jobject obj) + { + + disp__glPopClientAttrib ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLint glRenderMode ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glRenderMode ( + JNIEnv *env, jobject obj, + jint mode) + { + jint ret; + + + ret = (jint) disp__glRenderMode ( + (GLenum) mode + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern GLenum glGetError ( void ) ; + * </pre> + */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGetError ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) disp__glGetError ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFinish ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFinish ( + JNIEnv *env, jobject obj) + { + + disp__glFinish ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFlush ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFlush ( + JNIEnv *env, jobject obj) + { + + disp__glFlush ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glHint ( GLenum target , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHint ( + JNIEnv *env, jobject obj, + jint target, + jint mode) + { + + disp__glHint ( + (GLenum) target, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearDepth ( GLclampd depth ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearDepth ( + JNIEnv *env, jobject obj, + jdouble depth) + { + + disp__glClearDepth ( + (GLclampd) depth + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthFunc ( GLenum func ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthFunc ( + JNIEnv *env, jobject obj, + jint func) + { + + disp__glDepthFunc ( + (GLenum) func + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthMask ( GLboolean flag ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthMask ( + JNIEnv *env, jobject obj, + jboolean flag) + { + + disp__glDepthMask ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthRange ( + JNIEnv *env, jobject obj, + jdouble near_val, + jdouble far_val) + { + + disp__glDepthRange ( + (GLclampd) near_val, + (GLclampd) far_val + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearAccum ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glClearAccum ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glAccum ( GLenum op , GLfloat value ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAccum ( + JNIEnv *env, jobject obj, + jint op, + jfloat value) + { + + disp__glAccum ( + (GLenum) op, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMatrixMode ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMatrixMode ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glMatrixMode ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glOrtho ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + + disp__glOrtho ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrustum ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + + disp__glFrustum ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glViewport ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + + disp__glViewport ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushMatrix ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushMatrix ( + JNIEnv *env, jobject obj) + { + + disp__glPushMatrix ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopMatrix ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopMatrix ( + JNIEnv *env, jobject obj) + { + + disp__glPopMatrix ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadIdentity ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadIdentity ( + JNIEnv *env, jobject obj) + { + + disp__glLoadIdentity ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixd ( const GLdouble * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(m!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glLoadMatrixd arg: m"); + } + } + disp__glLoadMatrixd ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixf ( const GLfloat * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(m!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glLoadMatrixf arg: m"); + } + } + disp__glLoadMatrixf ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixd ( const GLdouble * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(m!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glMultMatrixd arg: m"); + } + } + disp__glMultMatrixd ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixf ( const GLfloat * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(m!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glMultMatrixf arg: m"); + } + } + disp__glMultMatrixf ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotated ( + JNIEnv *env, jobject obj, + jdouble angle, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glRotated ( + (GLdouble) angle, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotatef ( + JNIEnv *env, jobject obj, + jfloat angle, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glRotatef ( + (GLfloat) angle, + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScaled ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glScaled ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScalef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glScalef ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslated ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glTranslated ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslatef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glTranslatef ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsList ( GLuint list ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsList ( + JNIEnv *env, jobject obj, + jint list) + { + jboolean ret; + + + ret = (jboolean) disp__glIsList ( + (GLuint) list + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteLists ( GLuint list , GLsizei range ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteLists ( + JNIEnv *env, jobject obj, + jint list, + jint range) + { + + disp__glDeleteLists ( + (GLuint) list, + (GLsizei) range + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLuint glGenLists ( GLsizei range ) ; + * </pre> + */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGenLists ( + JNIEnv *env, jobject obj, + jint range) + { + jint ret; + + + ret = (jint) disp__glGenLists ( + (GLsizei) range + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNewList ( GLuint list , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNewList ( + JNIEnv *env, jobject obj, + jint list, + jint mode) + { + + disp__glNewList ( + (GLuint) list, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEndList ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEndList ( + JNIEnv *env, jobject obj) + { + + disp__glEndList ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCallList ( GLuint list ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallList ( + JNIEnv *env, jobject obj, + jint list) + { + + disp__glCallList ( + (GLuint) list + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3B ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbyteArray lists) + { + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(lists!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3S ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jshortArray lists) + { + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(lists!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3I ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jintArray lists) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(lists!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3F ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jfloatArray lists) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(lists!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3D ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jdoubleArray lists) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(lists!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3Z ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbooleanArray lists) + { + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(lists!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3J ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jlongArray lists) + { + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + static int isWarned2 = 0; + + if(lists!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glCallLists arg: lists"); + } + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, lists, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glListBase ( GLuint base ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glListBase ( + JNIEnv *env, jobject obj, + jint base) + { + + disp__glListBase ( + (GLuint) base + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBegin ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBegin ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glBegin ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEnd ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnd ( + JNIEnv *env, jobject obj) + { + + disp__glEnd ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + + disp__glVertex2d ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + + disp__glVertex2f ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2i ( GLint x , GLint y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + + disp__glVertex2i ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2s ( GLshort x , GLshort y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + + disp__glVertex2s ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glVertex3d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glVertex3f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + + disp__glVertex3i ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + + disp__glVertex3s ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + + disp__glVertex4d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + + disp__glVertex4f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + + disp__glVertex4i ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + + disp__glVertex4s ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2dv arg: v"); + } + } + disp__glVertex2dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2fv arg: v"); + } + } + disp__glVertex2fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2iv arg: v"); + } + } + disp__glVertex2iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex2sv arg: v"); + } + } + disp__glVertex2sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3dv arg: v"); + } + } + disp__glVertex3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3fv arg: v"); + } + } + disp__glVertex3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3iv arg: v"); + } + } + disp__glVertex3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex3sv arg: v"); + } + } + disp__glVertex3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4dv arg: v"); + } + } + disp__glVertex4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4fv arg: v"); + } + } + disp__glVertex4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4iv arg: v"); + } + } + disp__glVertex4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glVertex4sv arg: v"); + } + } + disp__glVertex4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3b ( + JNIEnv *env, jobject obj, + jbyte nx, + jbyte ny, + jbyte nz) + { + + disp__glNormal3b ( + (GLbyte) nx, + (GLbyte) ny, + (GLbyte) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3d ( + JNIEnv *env, jobject obj, + jdouble nx, + jdouble ny, + jdouble nz) + { + + disp__glNormal3d ( + (GLdouble) nx, + (GLdouble) ny, + (GLdouble) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3f ( + JNIEnv *env, jobject obj, + jfloat nx, + jfloat ny, + jfloat nz) + { + + disp__glNormal3f ( + (GLfloat) nx, + (GLfloat) ny, + (GLfloat) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3i ( + JNIEnv *env, jobject obj, + jint nx, + jint ny, + jint nz) + { + + disp__glNormal3i ( + (GLint) nx, + (GLint) ny, + (GLint) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3s ( + JNIEnv *env, jobject obj, + jshort nx, + jshort ny, + jshort nz) + { + + disp__glNormal3s ( + (GLshort) nx, + (GLshort) ny, + (GLshort) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3bv ( const GLbyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3bv arg: v"); + } + } + disp__glNormal3bv ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3dv arg: v"); + } + } + disp__glNormal3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3fv arg: v"); + } + } + disp__glNormal3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3iv arg: v"); + } + } + disp__glNormal3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glNormal3sv arg: v"); + } + } + disp__glNormal3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexd ( GLdouble c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexd ( + JNIEnv *env, jobject obj, + jdouble c) + { + + disp__glIndexd ( + (GLdouble) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexf ( GLfloat c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexf ( + JNIEnv *env, jobject obj, + jfloat c) + { + + disp__glIndexf ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexi ( GLint c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexi ( + JNIEnv *env, jobject obj, + jint c) + { + + disp__glIndexi ( + (GLint) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexs ( GLshort c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexs ( + JNIEnv *env, jobject obj, + jshort c) + { + + disp__glIndexs ( + (GLshort) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexub ( GLubyte c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexub ( + JNIEnv *env, jobject obj, + jbyte c) + { + + disp__glIndexub ( + (GLubyte) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexdv ( const GLdouble * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexdv ( + JNIEnv *env, jobject obj, + jdoubleArray c) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(c!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexdv arg: c"); + } + } + disp__glIndexdv ( + (const GLdouble *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexfv ( const GLfloat * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexfv ( + JNIEnv *env, jobject obj, + jfloatArray c) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(c!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexfv arg: c"); + } + } + disp__glIndexfv ( + (const GLfloat *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexiv ( const GLint * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexiv ( + JNIEnv *env, jobject obj, + jintArray c) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(c!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexiv arg: c"); + } + } + disp__glIndexiv ( + (const GLint *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexsv ( const GLshort * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexsv ( + JNIEnv *env, jobject obj, + jshortArray c) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(c!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexsv arg: c"); + } + } + disp__glIndexsv ( + (const GLshort *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexubv ( const GLubyte * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexubv ( + JNIEnv *env, jobject obj, + jbyteArray c) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(c!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glIndexubv arg: c"); + } + } + disp__glIndexubv ( + (const GLubyte *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + + disp__glColor3b ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue) + { + + disp__glColor3d ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue) + { + + disp__glColor3f ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3i ( GLint red , GLint green , GLint blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + + disp__glColor3i ( + (GLint) red, + (GLint) green, + (GLint) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + + disp__glColor3s ( + (GLshort) red, + (GLshort) green, + (GLshort) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + + disp__glColor3ub ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + + disp__glColor3ui ( + (GLuint) red, + (GLuint) green, + (GLuint) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + + disp__glColor3us ( + (GLushort) red, + (GLushort) green, + (GLushort) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + + disp__glColor4b ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue, + (GLbyte) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue, + jdouble alpha) + { + + disp__glColor4d ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue, + (GLdouble) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glColor4f ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + + disp__glColor4i ( + (GLint) red, + (GLint) green, + (GLint) blue, + (GLint) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + + disp__glColor4s ( + (GLshort) red, + (GLshort) green, + (GLshort) blue, + (GLshort) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + + disp__glColor4ub ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue, + (GLubyte) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + + disp__glColor4ui ( + (GLuint) red, + (GLuint) green, + (GLuint) blue, + (GLuint) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + + disp__glColor4us ( + (GLushort) red, + (GLushort) green, + (GLushort) blue, + (GLushort) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3bv ( const GLbyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3bv arg: v"); + } + } + disp__glColor3bv ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3dv arg: v"); + } + } + disp__glColor3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3fv arg: v"); + } + } + disp__glColor3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3iv arg: v"); + } + } + disp__glColor3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3sv arg: v"); + } + } + disp__glColor3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ubv ( const GLubyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3ubv arg: v"); + } + } + disp__glColor3ubv ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3uiv ( const GLuint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3uiv arg: v"); + } + } + disp__glColor3uiv ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3usv ( const GLushort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor3usv arg: v"); + } + } + disp__glColor3usv ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4bv ( const GLbyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4bv arg: v"); + } + } + disp__glColor4bv ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4dv arg: v"); + } + } + disp__glColor4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4fv arg: v"); + } + } + disp__glColor4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4iv arg: v"); + } + } + disp__glColor4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4sv arg: v"); + } + } + disp__glColor4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ubv ( const GLubyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4ubv arg: v"); + } + } + disp__glColor4ubv ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4uiv ( const GLuint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4uiv arg: v"); + } + } + disp__glColor4uiv ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4usv ( const GLushort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glColor4usv arg: v"); + } + } + disp__glColor4usv ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1d ( GLdouble s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1d ( + JNIEnv *env, jobject obj, + jdouble s) + { + + disp__glTexCoord1d ( + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1f ( GLfloat s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1f ( + JNIEnv *env, jobject obj, + jfloat s) + { + + disp__glTexCoord1f ( + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1i ( GLint s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1i ( + JNIEnv *env, jobject obj, + jint s) + { + + disp__glTexCoord1i ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1s ( GLshort s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1s ( + JNIEnv *env, jobject obj, + jshort s) + { + + disp__glTexCoord1s ( + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2d ( GLdouble s , GLdouble t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t) + { + + disp__glTexCoord2d ( + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2f ( GLfloat s , GLfloat t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t) + { + + disp__glTexCoord2f ( + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2i ( GLint s , GLint t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2i ( + JNIEnv *env, jobject obj, + jint s, + jint t) + { + + disp__glTexCoord2i ( + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2s ( GLshort s , GLshort t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t) + { + + disp__glTexCoord2s ( + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r) + { + + disp__glTexCoord3d ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r) + { + + disp__glTexCoord3f ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r) + { + + disp__glTexCoord3i ( + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r) + { + + disp__glTexCoord3s ( + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + + disp__glTexCoord4d ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + + disp__glTexCoord4f ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r, + jint q) + { + + disp__glTexCoord4i ( + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r, + jshort q) + { + + disp__glTexCoord4s ( + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1dv arg: v"); + } + } + disp__glTexCoord1dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1fv arg: v"); + } + } + disp__glTexCoord1fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1iv arg: v"); + } + } + disp__glTexCoord1iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord1sv arg: v"); + } + } + disp__glTexCoord1sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2dv arg: v"); + } + } + disp__glTexCoord2dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2fv arg: v"); + } + } + disp__glTexCoord2fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2iv arg: v"); + } + } + disp__glTexCoord2iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord2sv arg: v"); + } + } + disp__glTexCoord2sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3dv arg: v"); + } + } + disp__glTexCoord3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3fv arg: v"); + } + } + disp__glTexCoord3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3iv arg: v"); + } + } + disp__glTexCoord3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord3sv arg: v"); + } + } + disp__glTexCoord3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4dv arg: v"); + } + } + disp__glTexCoord4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4fv arg: v"); + } + } + disp__glTexCoord4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4iv arg: v"); + } + } + disp__glTexCoord4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glTexCoord4sv arg: v"); + } + } + disp__glTexCoord4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + + disp__glRasterPos2d ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + + disp__glRasterPos2f ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2i ( GLint x , GLint y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + + disp__glRasterPos2i ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2s ( GLshort x , GLshort y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + + disp__glRasterPos2s ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glRasterPos3d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glRasterPos3f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + + disp__glRasterPos3i ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + + disp__glRasterPos3s ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + + disp__glRasterPos4d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + + disp__glRasterPos4f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + + disp__glRasterPos4i ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + + disp__glRasterPos4s ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2dv arg: v"); + } + } + disp__glRasterPos2dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2fv arg: v"); + } + } + disp__glRasterPos2fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2iv arg: v"); + } + } + disp__glRasterPos2iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos2sv arg: v"); + } + } + disp__glRasterPos2sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3dv arg: v"); + } + } + disp__glRasterPos3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3fv arg: v"); + } + } + disp__glRasterPos3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3iv arg: v"); + } + } + disp__glRasterPos3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos3sv arg: v"); + } + } + disp__glRasterPos3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4dv arg: v"); + } + } + disp__glRasterPos4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4fv arg: v"); + } + } + disp__glRasterPos4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4iv arg: v"); + } + } + disp__glRasterPos4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + + if(v!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRasterPos4sv arg: v"); + } + } + disp__glRasterPos4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectd ( + JNIEnv *env, jobject obj, + jdouble x1, + jdouble y1, + jdouble x2, + jdouble y2) + { + + disp__glRectd ( + (GLdouble) x1, + (GLdouble) y1, + (GLdouble) x2, + (GLdouble) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectf ( + JNIEnv *env, jobject obj, + jfloat x1, + jfloat y1, + jfloat x2, + jfloat y2) + { + + disp__glRectf ( + (GLfloat) x1, + (GLfloat) y1, + (GLfloat) x2, + (GLfloat) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRecti ( + JNIEnv *env, jobject obj, + jint x1, + jint y1, + jint x2, + jint y2) + { + + disp__glRecti ( + (GLint) x1, + (GLint) y1, + (GLint) x2, + (GLint) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRects ( + JNIEnv *env, jobject obj, + jshort x1, + jshort y1, + jshort x2, + jshort y2) + { + + disp__glRects ( + (GLshort) x1, + (GLshort) y1, + (GLshort) x2, + (GLshort) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectdv ( + JNIEnv *env, jobject obj, + jdoubleArray v1, + jdoubleArray v2) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(v1!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectdv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectdv arg: v2"); + } + } + disp__glRectdv ( + (const GLdouble *) ptr0, + (const GLdouble *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectfv ( + JNIEnv *env, jobject obj, + jfloatArray v1, + jfloatArray v2) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(v1!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectfv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectfv arg: v2"); + } + } + disp__glRectfv ( + (const GLfloat *) ptr0, + (const GLfloat *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectiv ( + JNIEnv *env, jobject obj, + jintArray v1, + jintArray v2) + { + jboolean isCopiedArray0 = JNI_FALSE; + jint *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(v1!=NULL) + { + ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectiv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectiv arg: v2"); + } + } + disp__glRectiv ( + (const GLint *) ptr0, + (const GLint *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectsv ( + JNIEnv *env, jobject obj, + jshortArray v1, + jshortArray v2) + { + jboolean isCopiedArray0 = JNI_FALSE; + jshort *ptr0 = NULL; + static int isWarned0 = 0; + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(v1!=NULL) + { + ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glRectsv arg: v1"); + } + } + if(v2!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v2, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glRectsv arg: v2"); + } + } + disp__glRectsv ( + (const GLshort *) ptr0, + (const GLshort *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glVertexPointer arg: ptr"); + } + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glNormalPointer arg: ptr"); + } + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glColorPointer arg: ptr"); + } + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glIndexPointer arg: ptr"); + } + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glTexCoordPointer arg: ptr"); + } + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3B ( + JNIEnv *env, jobject obj, + jint stride, + jbyteArray ptr) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(ptr!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3S ( + JNIEnv *env, jobject obj, + jint stride, + jshortArray ptr) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(ptr!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3I ( + JNIEnv *env, jobject obj, + jint stride, + jintArray ptr) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(ptr!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3F ( + JNIEnv *env, jobject obj, + jint stride, + jfloatArray ptr) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(ptr!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3D ( + JNIEnv *env, jobject obj, + jint stride, + jdoubleArray ptr) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(ptr!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3Z ( + JNIEnv *env, jobject obj, + jint stride, + jbooleanArray ptr) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(ptr!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3J ( + JNIEnv *env, jobject obj, + jint stride, + jlongArray ptr) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + static int isWarned1 = 0; + + if(ptr!=NULL) + { + ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glEdgeFlagPointer arg: ptr"); + } + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointerv ( GLenum pname , void * * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointerv arg: params"); + } + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElement ( GLint i ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElement ( + JNIEnv *env, jobject obj, + jint i) + { + + disp__glArrayElement ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArrays ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + + disp__glDrawArrays ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbyteArray indices) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(indices!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jshortArray indices) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(indices!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jintArray indices) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(indices!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jfloatArray indices) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(indices!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jdoubleArray indices) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(indices!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbooleanArray indices) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(indices!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jlongArray indices) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(indices!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glDrawElements arg: indices"); + } + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3B ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbyteArray pointer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jbyte *ptr2 = NULL; + static int isWarned2 = 0; + + if(pointer!=NULL) + { + ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3S ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jshortArray pointer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(pointer!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3I ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jintArray pointer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(pointer!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3F ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jfloatArray pointer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(pointer!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3D ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jdoubleArray pointer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(pointer!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3Z ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbooleanArray pointer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(pointer!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3J ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jlongArray pointer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jlong *ptr2 = NULL; + static int isWarned2 = 0; + + if(pointer!=NULL) + { + ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glInterleavedArrays arg: pointer"); + } + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pointer, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glShadeModel ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glShadeModel ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glShadeModel ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightf ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloat param) + { + + disp__glLightf ( + (GLenum) light, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLighti ( GLenum light , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLighti ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jint param) + { + + disp__glLighti ( + (GLenum) light, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glLightfv arg: params"); + } + } + disp__glLightfv ( + (GLenum) light, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glLightiv arg: params"); + } + } + disp__glLightiv ( + (GLenum) light, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetLightfv arg: params"); + } + } + disp__glGetLightfv ( + (GLenum) light, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetLightiv arg: params"); + } + } + disp__glGetLightiv ( + (GLenum) light, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glLightModelf ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeli ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeli ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glLightModeli ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glLightModelfv arg: params"); + } + } + disp__glLightModelfv ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeliv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeliv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glLightModeliv arg: params"); + } + } + disp__glLightModeliv ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialf ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloat param) + { + + disp__glMaterialf ( + (GLenum) face, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMateriali ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jint param) + { + + disp__glMateriali ( + (GLenum) face, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glMaterialfv arg: params"); + } + } + disp__glMaterialfv ( + (GLenum) face, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glMaterialiv arg: params"); + } + } + disp__glMaterialiv ( + (GLenum) face, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMaterialfv arg: params"); + } + } + disp__glGetMaterialfv ( + (GLenum) face, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMaterialiv arg: params"); + } + } + disp__glGetMaterialiv ( + (GLenum) face, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMaterial ( GLenum face , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMaterial ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + + disp__glColorMaterial ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelZoom ( + JNIEnv *env, jobject obj, + jfloat xfactor, + jfloat yfactor) + { + + disp__glPixelZoom ( + (GLfloat) xfactor, + (GLfloat) yfactor + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStoref ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStoref ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glPixelStoref ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStorei ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStorei ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glPixelStorei ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glPixelTransferf ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferi ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glPixelTransferi ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jfloatArray values) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(values!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPixelMapfv arg: values"); + } + } + disp__glPixelMapfv ( + (GLenum) map, + (GLint) mapsize, + (const GLfloat *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jintArray values) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(values!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPixelMapuiv arg: values"); + } + } + disp__glPixelMapuiv ( + (GLenum) map, + (GLint) mapsize, + (const GLuint *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jshortArray values) + { + jboolean isCopiedArray2 = JNI_FALSE; + jshort *ptr2 = NULL; + static int isWarned2 = 0; + + if(values!=NULL) + { + ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPixelMapusv arg: values"); + } + } + disp__glPixelMapusv ( + (GLenum) map, + (GLint) mapsize, + (const GLushort *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jfloatArray values) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(values!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPixelMapfv arg: values"); + } + } + disp__glGetPixelMapfv ( + (GLenum) map, + (GLfloat *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jintArray values) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(values!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPixelMapuiv arg: values"); + } + } + disp__glGetPixelMapuiv ( + (GLenum) map, + (GLuint *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jshortArray values) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(values!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPixelMapusv arg: values"); + } + } + disp__glGetPixelMapusv ( + (GLenum) map, + (GLushort *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBitmap ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jfloat xorig, + jfloat yorig, + jfloat xmove, + jfloat ymove, + jbyteArray bitmap) + { + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(bitmap!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, bitmap, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glBitmap arg: bitmap"); + } + } + disp__glBitmap ( + (GLsizei) width, + (GLsizei) height, + (GLfloat) xorig, + (GLfloat) yorig, + (GLfloat) xmove, + (GLfloat) ymove, + (const GLubyte *) ptr6 + ); + + if(bitmap!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, bitmap, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glReadPixels arg: pixels"); + } + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3B ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3S ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3I ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3F ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3D ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3Z ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3J ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glDrawPixels arg: pixels"); + } + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyPixels ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint type) + { + + disp__glCopyPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilFunc ( + JNIEnv *env, jobject obj, + jint func, + jint ref, + jint mask) + { + + disp__glStencilFunc ( + (GLenum) func, + (GLint) ref, + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilMask ( GLuint mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilMask ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glStencilMask ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilOp ( + JNIEnv *env, jobject obj, + jint fail, + jint zfail, + jint zpass) + { + + disp__glStencilOp ( + (GLenum) fail, + (GLenum) zfail, + (GLenum) zpass + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearStencil ( GLint s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearStencil ( + JNIEnv *env, jobject obj, + jint s) + { + + disp__glClearStencil ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGend ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdouble param) + { + + disp__glTexGend ( + (GLenum) coord, + (GLenum) pname, + (GLdouble) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenf ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloat param) + { + + disp__glTexGenf ( + (GLenum) coord, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeni ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jint param) + { + + disp__glTexGeni ( + (GLenum) coord, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexGendv arg: params"); + } + } + disp__glTexGendv ( + (GLenum) coord, + (GLenum) pname, + (const GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexGenfv arg: params"); + } + } + disp__glTexGenfv ( + (GLenum) coord, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexGeniv arg: params"); + } + } + disp__glTexGeniv ( + (GLenum) coord, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexGendv arg: params"); + } + } + disp__glGetTexGendv ( + (GLenum) coord, + (GLenum) pname, + (GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexGenfv arg: params"); + } + } + disp__glGetTexGenfv ( + (GLenum) coord, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexGeniv arg: params"); + } + } + disp__glGetTexGeniv ( + (GLenum) coord, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + + disp__glTexEnvf ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvi ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + + disp__glTexEnvi ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexEnvfv arg: params"); + } + } + disp__glTexEnvfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexEnviv arg: params"); + } + } + disp__glTexEnviv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexEnvfv arg: params"); + } + } + disp__glGetTexEnvfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexEnviv arg: params"); + } + } + disp__glGetTexEnviv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + + disp__glTexParameterf ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + + disp__glTexParameteri ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexParameterfv arg: params"); + } + } + disp__glTexParameterfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glTexParameteriv arg: params"); + } + } + disp__glTexParameteriv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexParameterfv arg: params"); + } + } + disp__glGetTexParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetTexParameteriv arg: params"); + } + } + disp__glGetTexParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(params!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetTexLevelParameterfv arg: params"); + } + } + disp__glGetTexLevelParameterfv ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLfloat *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jintArray params) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(params!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetTexLevelParameteriv arg: params"); + } + } + disp__glGetTexLevelParameteriv ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLint *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray7 = JNI_FALSE; + jbyte *ptr7 = NULL; + static int isWarned7 = 0; + + if(pixels!=NULL) + { + ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray7 = JNI_FALSE; + jshort *ptr7 = NULL; + static int isWarned7 = 0; + + if(pixels!=NULL) + { + ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray7 = JNI_FALSE; + jint *ptr7 = NULL; + static int isWarned7 = 0; + + if(pixels!=NULL) + { + ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray7 = JNI_FALSE; + jfloat *ptr7 = NULL; + static int isWarned7 = 0; + + if(pixels!=NULL) + { + ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray7 = JNI_FALSE; + jdouble *ptr7 = NULL; + static int isWarned7 = 0; + + if(pixels!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray7 = JNI_FALSE; + jboolean *ptr7 = NULL; + static int isWarned7 = 0; + + if(pixels!=NULL) + { + ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray7 = JNI_FALSE; + jlong *ptr7 = NULL; + static int isWarned7 = 0; + + if(pixels!=NULL) + { + ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glTexImage1D arg: pixels"); + } + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jbyte *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jshort *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jint *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jfloat *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jdouble *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jboolean *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jlong *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexImage2D arg: pixels"); + } + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(pixels!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetTexImage arg: pixels"); + } + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTextures ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGenTextures arg: textures"); + } + } + disp__glGenTextures ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glDeleteTextures arg: textures"); + } + } + disp__glDeleteTextures ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTexture ( GLenum target , GLuint texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTexture ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + + disp__glBindTexture ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glPrioritizeTextures arg: textures"); + } + } + if(priorities!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPrioritizeTextures arg: priorities"); + } + } + disp__glPrioritizeTextures ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResident ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + jboolean ret; + + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glAreTexturesResident arg: textures"); + } + } + if(residences!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glAreTexturesResident arg: residences"); + } + } + ret = (jboolean) disp__glAreTexturesResident ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTexture ( GLuint texture ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTexture ( + JNIEnv *env, jobject obj, + jint texture) + { + jboolean ret; + + + ret = (jboolean) disp__glIsTexture ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + + if(pixels!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glTexSubImage1D arg: pixels"); + } + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jbyte *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jshort *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jint *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jfloat *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jdouble *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jboolean *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray8 = JNI_FALSE; + jlong *ptr8 = NULL; + static int isWarned8 = 0; + + if(pixels!=NULL) + { + ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8); + if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { + isWarned8=1; + printf("COPY by glTexSubImage2D arg: pixels"); + } + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint border) + { + + disp__glCopyTexImage1D ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint height, + jint border) + { + + disp__glCopyTexImage2D ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint x, + jint y, + jint width) + { + + disp__glCopyTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint stride, + jint order, + jdoubleArray points) + { + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(points!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glMap1d arg: points"); + } + } + disp__glMap1d ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) stride, + (GLint) order, + (const GLdouble *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint stride, + jint order, + jfloatArray points) + { + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(points!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glMap1f arg: points"); + } + } + disp__glMap1f ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) stride, + (GLint) order, + (const GLfloat *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint ustride, + jint uorder, + jdouble v1, + jdouble v2, + jint vstride, + jint vorder, + jdoubleArray points) + { + jboolean isCopiedArray9 = JNI_FALSE; + jdouble *ptr9 = NULL; + static int isWarned9 = 0; + + if(points!=NULL) + { + ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glMap2d arg: points"); + } + } + disp__glMap2d ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) ustride, + (GLint) uorder, + (GLdouble) v1, + (GLdouble) v2, + (GLint) vstride, + (GLint) vorder, + (const GLdouble *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint ustride, + jint uorder, + jfloat v1, + jfloat v2, + jint vstride, + jint vorder, + jfloatArray points) + { + jboolean isCopiedArray9 = JNI_FALSE; + jfloat *ptr9 = NULL; + static int isWarned9 = 0; + + if(points!=NULL) + { + ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glMap2f arg: points"); + } + } + disp__glMap2f ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) ustride, + (GLint) uorder, + (GLfloat) v1, + (GLfloat) v2, + (GLint) vstride, + (GLint) vorder, + (const GLfloat *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapdv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jdoubleArray v) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + static int isWarned2 = 0; + + if(v!=NULL) + { + ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMapdv arg: v"); + } + } + disp__glGetMapdv ( + (GLenum) target, + (GLenum) query, + (GLdouble *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapfv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jfloatArray v) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(v!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMapfv arg: v"); + } + } + disp__glGetMapfv ( + (GLenum) target, + (GLenum) query, + (GLfloat *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapiv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jintArray v) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(v!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMapiv arg: v"); + } + } + disp__glGetMapiv ( + (GLenum) target, + (GLenum) query, + (GLint *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1d ( GLdouble u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1d ( + JNIEnv *env, jobject obj, + jdouble u) + { + + disp__glEvalCoord1d ( + (GLdouble) u + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1f ( GLfloat u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1f ( + JNIEnv *env, jobject obj, + jfloat u) + { + + disp__glEvalCoord1f ( + (GLfloat) u + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1dv ( const GLdouble * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(u!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord1dv arg: u"); + } + } + disp__glEvalCoord1dv ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1fv ( const GLfloat * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(u!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord1fv arg: u"); + } + } + disp__glEvalCoord1fv ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2d ( + JNIEnv *env, jobject obj, + jdouble u, + jdouble v) + { + + disp__glEvalCoord2d ( + (GLdouble) u, + (GLdouble) v + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2f ( + JNIEnv *env, jobject obj, + jfloat u, + jfloat v) + { + + disp__glEvalCoord2f ( + (GLfloat) u, + (GLfloat) v + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2dv ( const GLdouble * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + jboolean isCopiedArray0 = JNI_FALSE; + jdouble *ptr0 = NULL; + static int isWarned0 = 0; + + if(u!=NULL) + { + ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord2dv arg: u"); + } + } + disp__glEvalCoord2dv ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2fv ( const GLfloat * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + jboolean isCopiedArray0 = JNI_FALSE; + jfloat *ptr0 = NULL; + static int isWarned0 = 0; + + if(u!=NULL) + { + ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0); + if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { + isWarned0=1; + printf("COPY by glEvalCoord2fv arg: u"); + } + } + disp__glEvalCoord2fv ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2) + { + + disp__glMapGrid1d ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2) + { + + disp__glMapGrid1f ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2, + jint vn, + jdouble v1, + jdouble v2) + { + + disp__glMapGrid2d ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2, + (GLint) vn, + (GLdouble) v1, + (GLdouble) v2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2, + jint vn, + jfloat v1, + jfloat v2) + { + + disp__glMapGrid2f ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2, + (GLint) vn, + (GLfloat) v1, + (GLfloat) v2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint1 ( GLint i ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint1 ( + JNIEnv *env, jobject obj, + jint i) + { + + disp__glEvalPoint1 ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint2 ( GLint i , GLint j ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint2 ( + JNIEnv *env, jobject obj, + jint i, + jint j) + { + + disp__glEvalPoint2 ( + (GLint) i, + (GLint) j + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh1 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2) + { + + disp__glEvalMesh1 ( + (GLenum) mode, + (GLint) i1, + (GLint) i2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh2 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2, + jint j1, + jint j2) + { + + disp__glEvalMesh2 ( + (GLenum) mode, + (GLint) i1, + (GLint) i2, + (GLint) j1, + (GLint) j2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glFogf ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogi ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glFogi ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glFogfv arg: params"); + } + } + disp__glFogfv ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogiv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogiv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glFogiv arg: params"); + } + } + disp__glFogiv ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFeedbackBuffer ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jfloatArray buffer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(buffer!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glFeedbackBuffer arg: buffer"); + } + } + disp__glFeedbackBuffer ( + (GLsizei) size, + (GLenum) type, + (GLfloat *) ptr2 + ); + + if(buffer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPassThrough ( GLfloat token ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPassThrough ( + JNIEnv *env, jobject obj, + jfloat token) + { + + disp__glPassThrough ( + (GLfloat) token + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSelectBuffer ( + JNIEnv *env, jobject obj, + jint size, + jintArray buffer) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(buffer!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glSelectBuffer arg: buffer"); + } + } + disp__glSelectBuffer ( + (GLsizei) size, + (GLuint *) ptr1 + ); + + if(buffer!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, buffer, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glInitNames ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInitNames ( + JNIEnv *env, jobject obj) + { + + disp__glInitNames ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadName ( GLuint name ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadName ( + JNIEnv *env, jobject obj, + jint name) + { + + disp__glLoadName ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushName ( GLuint name ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushName ( + JNIEnv *env, jobject obj, + jint name) + { + + disp__glPushName ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopName ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopName ( + JNIEnv *env, jobject obj) + { + + disp__glPopName ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbyteArray indices) + { + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(indices!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jshortArray indices) + { + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(indices!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jintArray indices) + { + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(indices!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jfloatArray indices) + { + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(indices!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jdoubleArray indices) + { + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(indices!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbooleanArray indices) + { + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(indices!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jlongArray indices) + { + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(indices!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glDrawRangeElements arg: indices"); + } + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, indices, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jbyte *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jshort *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jint *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jfloat *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jdouble *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jboolean *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jlong *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3D arg: pixels"); + } + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jbyte *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jshort *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jint *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jfloat *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jdouble *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jboolean *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jlong *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3D arg: pixels"); + } + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTable arg: table"); + } + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTable arg: data"); + } + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glColorTableParameteriv arg: params"); + } + } + disp__glColorTableParameteriv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glColorTableParameterfv arg: params"); + } + } + disp__glColorTableParameterfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorSubTable ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint x, + jint y, + jint width) + { + + disp__glCopyColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorTable ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + + disp__glCopyColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTable arg: table"); + } + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameterfv arg: params"); + } + } + disp__glGetColorTableParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameteriv arg: params"); + } + } + disp__glGetColorTableParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquation ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquation ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glBlendEquation ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glBlendColor ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHistogram ( + JNIEnv *env, jobject obj, + jint target, + jint width, + jint internalformat, + jboolean sink) + { + + disp__glHistogram ( + (GLenum) target, + (GLsizei) width, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glResetHistogram ( GLenum target ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetHistogram ( + JNIEnv *env, jobject obj, + jint target) + { + + disp__glResetHistogram ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbyteArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jshortArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jintArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jfloatArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jdoubleArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbooleanArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jlongArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetHistogram arg: values"); + } + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetHistogramParameterfv arg: params"); + } + } + disp__glGetHistogramParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetHistogramParameteriv arg: params"); + } + } + disp__glGetHistogramParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMinmax ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jboolean sink) + { + + disp__glMinmax ( + (GLenum) target, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glResetMinmax ( GLenum target ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetMinmax ( + JNIEnv *env, jobject obj, + jint target) + { + + disp__glResetMinmax ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbyteArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jshortArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jintArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jfloatArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jdoubleArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbooleanArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jlongArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(values!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetMinmax arg: values"); + } + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMinmaxParameterfv arg: params"); + } + } + disp__glGetMinmaxParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetMinmaxParameteriv arg: params"); + } + } + disp__glGetMinmaxParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray image) + { + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(image!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray image) + { + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(image!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray image) + { + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(image!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray image) + { + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(image!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray image) + { + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(image!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray image) + { + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(image!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray image) + { + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(image!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glConvolutionFilter1D arg: image"); + } + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray image) + { + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + + if(image!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray image) + { + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + + if(image!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray image) + { + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + + if(image!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray image) + { + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + + if(image!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray image) + { + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + + if(image!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray image) + { + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + + if(image!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray image) + { + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + + if(image!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glConvolutionFilter2D arg: image"); + } + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat params) + { + + disp__glConvolutionParameterf ( + (GLenum) target, + (GLenum) pname, + (GLfloat) params + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glConvolutionParameterfv arg: params"); + } + } + disp__glConvolutionParameterfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint params) + { + + disp__glConvolutionParameteri ( + (GLenum) target, + (GLenum) pname, + (GLint) params + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glConvolutionParameteriv arg: params"); + } + } + disp__glConvolutionParameteriv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter1D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + + disp__glCopyConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter2D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(image!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(image!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(image!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(image!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(image!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(image!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(image!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetConvolutionFilter arg: image"); + } + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetConvolutionParameterfv arg: params"); + } + } + disp__glGetConvolutionParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetConvolutionParameteriv arg: params"); + } + } + disp__glGetConvolutionParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray row, + jbyteArray column) + { + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jbyte *ptr7 = NULL; + static int isWarned7 = 0; + + if(row!=NULL) + { + ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray row, + jshortArray column) + { + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jshort *ptr7 = NULL; + static int isWarned7 = 0; + + if(row!=NULL) + { + ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray row, + jintArray column) + { + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jint *ptr7 = NULL; + static int isWarned7 = 0; + + if(row!=NULL) + { + ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray row, + jfloatArray column) + { + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jfloat *ptr7 = NULL; + static int isWarned7 = 0; + + if(row!=NULL) + { + ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column) + { + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jdouble *ptr7 = NULL; + static int isWarned7 = 0; + + if(row!=NULL) + { + ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column) + { + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jboolean *ptr7 = NULL; + static int isWarned7 = 0; + + if(row!=NULL) + { + ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray row, + jlongArray column) + { + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + static int isWarned6 = 0; + jboolean isCopiedArray7 = JNI_FALSE; + jlong *ptr7 = NULL; + static int isWarned7 = 0; + + if(row!=NULL) + { + ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6); + if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { + isWarned6=1; + printf("COPY by glSeparableFilter2D arg: row"); + } + } + if(column!=NULL) + { + ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray7); + if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { + isWarned7=1; + printf("COPY by glSeparableFilter2D arg: column"); + } + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3B_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray row, + jbyteArray column, + jbyteArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(row!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3S_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray row, + jshortArray column, + jshortArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(row!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3I_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray row, + jintArray column, + jintArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(row!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3F_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray row, + jfloatArray column, + jfloatArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(row!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3D_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column, + jdoubleArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(row!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3Z_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column, + jbooleanArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(row!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3J_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray row, + jlongArray column, + jlongArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(row!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetSeparableFilter arg: row"); + } + } + if(column!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, column, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glGetSeparableFilter arg: column"); + } + } + if(span!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, span, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glGetSeparableFilter arg: span"); + } + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColorEXT ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glBlendColorEXT ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffsetEXT ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat bias) + { + + disp__glPolygonOffsetEXT ( + (GLfloat) factor, + (GLfloat) bias + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jbyte *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jshort *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jint *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jfloat *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jdouble *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jboolean *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray9 = JNI_FALSE; + jlong *ptr9 = NULL; + static int isWarned9 = 0; + + if(pixels!=NULL) + { + ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9); + if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { + isWarned9=1; + printf("COPY by glTexImage3DEXT arg: pixels"); + } + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jbyte *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jshort *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jint *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jfloat *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jdouble *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jboolean *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray10 = JNI_FALSE; + jlong *ptr10 = NULL; + static int isWarned10 = 0; + + if(pixels!=NULL) + { + ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10); + if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { + isWarned10=1; + printf("COPY by glTexSubImage3DEXT arg: pixels"); + } + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3DEXT ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGenTexturesEXT arg: textures"); + } + } + disp__glGenTexturesEXT ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glDeleteTexturesEXT arg: textures"); + } + } + disp__glDeleteTexturesEXT ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTextureEXT ( GLenum target , GLuint texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTextureEXT ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + + disp__glBindTextureEXT ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glPrioritizeTexturesEXT arg: textures"); + } + } + if(priorities!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, priorities, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glPrioritizeTexturesEXT arg: priorities"); + } + } + disp__glPrioritizeTexturesEXT ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResidentEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + jboolean ret; + + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(textures!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glAreTexturesResidentEXT arg: textures"); + } + } + if(residences!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, residences, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glAreTexturesResidentEXT arg: residences"); + } + } + ret = (jboolean) disp__glAreTexturesResidentEXT ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTextureEXT ( GLuint texture ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTextureEXT ( + JNIEnv *env, jobject obj, + jint texture) + { + jboolean ret; + + + ret = (jboolean) disp__glIsTextureEXT ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glVertexPointerEXT arg: ptr"); + } + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glNormalPointerEXT arg: ptr"); + } + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glColorPointerEXT arg: ptr"); + } + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(ptr!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glIndexPointerEXT arg: ptr"); + } + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + static int isWarned4 = 0; + + if(ptr!=NULL) + { + ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4); + if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { + isWarned4=1; + printf("COPY by glTexCoordPointerEXT arg: ptr"); + } + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointerEXT ( + JNIEnv *env, jobject obj, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + static int isWarned2 = 0; + + if(ptr!=NULL) + { + ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glEdgeFlagPointerEXT arg: ptr"); + } + } + disp__glEdgeFlagPointerEXT ( + (GLsizei) stride, + (GLsizei) count, + (const GLboolean *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointervEXT ( GLenum pname , void * * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glGetPointervEXT arg: params"); + } + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElementEXT ( GLint i ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElementEXT ( + JNIEnv *env, jobject obj, + jint i) + { + + disp__glArrayElementEXT ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArraysEXT ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + + disp__glDrawArraysEXT ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquationEXT ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquationEXT ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glBlendEquationEXT ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glPointParameterfEXT ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfvEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(params!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glPointParameterfvEXT arg: params"); + } + } + disp__glPointParameterfvEXT ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(table!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorTableEXT arg: table"); + } + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + static int isWarned5 = 0; + + if(data!=NULL) + { + ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5); + if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { + isWarned5=1; + printf("COPY by glColorSubTableEXT arg: data"); + } + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + static int isWarned3 = 0; + + if(table!=NULL) + { + ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3); + if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { + isWarned3=1; + printf("COPY by glGetColorTableEXT arg: table"); + } + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfvEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameterfvEXT arg: params"); + } + } + disp__glGetColorTableParameterfvEXT ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterivEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + static int isWarned2 = 0; + + if(params!=NULL) + { + ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2); + if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { + isWarned2=1; + printf("COPY by glGetColorTableParameterivEXT arg: params"); + } + } + disp__glGetColorTableParameterivEXT ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLockArraysEXT ( GLint first , GLsizei count ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLockArraysEXT ( + JNIEnv *env, jobject obj, + jint first, + jint count) + { + + disp__glLockArraysEXT ( + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glUnlockArraysEXT ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glUnlockArraysEXT ( + JNIEnv *env, jobject obj) + { + + disp__glUnlockArraysEXT ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + + disp__glActiveTextureARB ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClientActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClientActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + + disp__glClientActiveTextureARB ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s) + { + + disp__glMultiTexCoord1dARB ( + (GLenum) target, + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1dvARB arg: v"); + } + } + disp__glMultiTexCoord1dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s) + { + + disp__glMultiTexCoord1fARB ( + (GLenum) target, + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1fvARB arg: v"); + } + } + disp__glMultiTexCoord1fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s) + { + + disp__glMultiTexCoord1iARB ( + (GLenum) target, + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1ivARB arg: v"); + } + } + disp__glMultiTexCoord1ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s) + { + + disp__glMultiTexCoord1sARB ( + (GLenum) target, + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord1svARB arg: v"); + } + } + disp__glMultiTexCoord1svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t) + { + + disp__glMultiTexCoord2dARB ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2dvARB arg: v"); + } + } + disp__glMultiTexCoord2dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t) + { + + disp__glMultiTexCoord2fARB ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2fvARB arg: v"); + } + } + disp__glMultiTexCoord2fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t) + { + + disp__glMultiTexCoord2iARB ( + (GLenum) target, + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2ivARB arg: v"); + } + } + disp__glMultiTexCoord2ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t) + { + + disp__glMultiTexCoord2sARB ( + (GLenum) target, + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord2svARB arg: v"); + } + } + disp__glMultiTexCoord2svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r) + { + + disp__glMultiTexCoord3dARB ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3dvARB arg: v"); + } + } + disp__glMultiTexCoord3dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r) + { + + disp__glMultiTexCoord3fARB ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3fvARB arg: v"); + } + } + disp__glMultiTexCoord3fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r) + { + + disp__glMultiTexCoord3iARB ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3ivARB arg: v"); + } + } + disp__glMultiTexCoord3ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r) + { + + disp__glMultiTexCoord3sARB ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord3svARB arg: v"); + } + } + disp__glMultiTexCoord3svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + + disp__glMultiTexCoord4dARB ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4dvARB arg: v"); + } + } + disp__glMultiTexCoord4dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + + disp__glMultiTexCoord4fARB ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4fvARB arg: v"); + } + } + disp__glMultiTexCoord4fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r, + jint q) + { + + disp__glMultiTexCoord4iARB ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4ivARB arg: v"); + } + } + disp__glMultiTexCoord4ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r, + jshort q) + { + + disp__glMultiTexCoord4sARB ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + static int isWarned1 = 0; + + if(v!=NULL) + { + ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1); + if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { + isWarned1=1; + printf("COPY by glMultiTexCoord4svARB arg: v"); + } + } + disp__glMultiTexCoord4svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleasePrimitiveArrayCritical(env, v, ptr1, JNI_ABORT); + } + } + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/CNativeCode/OpenGL_JauJNI_funcs.c b/CNativeCode/OpenGL_JauJNI_funcs.c new file mode 100755 index 0000000..a1552b3 --- /dev/null +++ b/CNativeCode/OpenGL_JauJNI_funcs.c @@ -0,0 +1,18877 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + +/* + * Leo Chan -- 1995 + * + * This mammoth C file takes care of all the native implementation for the + * bulk of OpenGL commands + * --------------- + * + * Sven Goethel + * + * September 1997 + */ + +/* + * need to include the JAVA internal header files for macros and function + * prototypes required to maipulated JAVA data structures and functions + * + * StubPreamble.h includes the structure and macro definitions neede to + * convert JAVA data structures into C data structures. + * + */ + +#include "OpenGL_misc.h" + +/* + * the next thing to include are special headers that were created by + * JAVAH. They include the C structure definitions for the JAVA classes + */ +#include "gl4java_GLFuncJauJNI.h" + +/*-------------------------------------------------------------------------- + * here on in is just regular apple pie C + */ + +#ifndef LIBAPIENTRY + #define LIBAPIENTRY +#endif +#ifndef LIBAPI + #define LIBAPI +#endif + +#ifndef CALLBACK + #define CALLBACK +#endif +/** THIS IS A MANUAL CODED PART + gl-manualCodedImplJNI.java +*/ + +static const char _gl_n_a_string[] = "GL-String not avaiable !"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj, + jint name ) +{ + const char * tmpString=0; + + tmpString = disp__glGetString ( /* jint */ name); + if(tmpString==NULL) + tmpString=_gl_n_a_string; + + return (*env)->NewStringUTF(env, tmpString); +} + +static const char * _gl_lib_vendor_="Jausoft - Sven Goethel Software Development"; +static const char * _gl_lib_version_="2.7.0.0"; + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _gl_lib_vendor_); +} + +JNIEXPORT jstring JNICALL +Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj ) +{ + return (*env)->NewStringUTF(env, _gl_lib_version_); +} + +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + * <pre> + extern void glClearIndex ( GLfloat c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearIndex ( + JNIEnv *env, jobject obj, + jfloat c) + { + + disp__glClearIndex ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glClearColor ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClear ( GLbitfield mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClear ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glClear ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexMask ( GLuint mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexMask ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glIndexMask ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMask ( + JNIEnv *env, jobject obj, + jboolean red, + jboolean green, + jboolean blue, + jboolean alpha) + { + + disp__glColorMask ( + (GLboolean) red, + (GLboolean) green, + (GLboolean) blue, + (GLboolean) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glAlphaFunc ( GLenum func , GLclampf ref ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAlphaFunc ( + JNIEnv *env, jobject obj, + jint func, + jfloat ref) + { + + disp__glAlphaFunc ( + (GLenum) func, + (GLclampf) ref + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendFunc ( + JNIEnv *env, jobject obj, + jint sfactor, + jint dfactor) + { + + disp__glBlendFunc ( + (GLenum) sfactor, + (GLenum) dfactor + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLogicOp ( GLenum opcode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLogicOp ( + JNIEnv *env, jobject obj, + jint opcode) + { + + disp__glLogicOp ( + (GLenum) opcode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCullFace ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCullFace ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glCullFace ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFrontFace ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrontFace ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glFrontFace ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPointSize ( GLfloat size ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointSize ( + JNIEnv *env, jobject obj, + jfloat size) + { + + disp__glPointSize ( + (GLfloat) size + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLineWidth ( GLfloat width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineWidth ( + JNIEnv *env, jobject obj, + jfloat width) + { + + disp__glLineWidth ( + (GLfloat) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLineStipple ( GLint factor , GLushort pattern ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLineStipple ( + JNIEnv *env, jobject obj, + jint factor, + jshort pattern) + { + + disp__glLineStipple ( + (GLint) factor, + (GLushort) pattern + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonMode ( GLenum face , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonMode ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + + disp__glPolygonMode ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffset ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat units) + { + + disp__glPolygonOffset ( + (GLfloat) factor, + (GLfloat) units + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonStipple ( const GLubyte * mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + jbyte *ptr0 = NULL; + + if(mask!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, mask, 0); + } + disp__glPolygonStipple ( + (const GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleaseByteArrayElements(env, mask, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPolygonStipple ( GLubyte * mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPolygonStipple ( + JNIEnv *env, jobject obj, + jbyteArray mask) + { + jboolean isCopiedArray0 = JNI_FALSE; + jbyte *ptr0 = NULL; + + if(mask!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, mask, &isCopiedArray0); + } + disp__glGetPolygonStipple ( + (GLubyte *) ptr0 + ); + + if(mask!=NULL) + { + (*env)->ReleaseByteArrayElements(env, mask, ptr0, (isCopiedArray0 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlag ( GLboolean flag ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlag ( + JNIEnv *env, jobject obj, + jboolean flag) + { + + disp__glEdgeFlag ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagv ( const GLboolean * flag ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagv ( + JNIEnv *env, jobject obj, + jbooleanArray flag) + { + jboolean *ptr0 = NULL; + + if(flag!=NULL) + { + ptr0 = (*env)->GetBooleanArrayElements(env, flag, 0); + } + disp__glEdgeFlagv ( + (const GLboolean *) ptr0 + ); + + if(flag!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, flag, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScissor ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + + disp__glScissor ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + jdouble *ptr1 = NULL; + + if(equation!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, equation, 0); + } + disp__glClipPlane ( + (GLenum) plane, + (const GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, equation, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetClipPlane ( + JNIEnv *env, jobject obj, + jint plane, + jdoubleArray equation) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(equation!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, equation, &isCopiedArray1); + } + disp__glGetClipPlane ( + (GLenum) plane, + (GLdouble *) ptr1 + ); + + if(equation!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, equation, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawBuffer ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glDrawBuffer ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glReadBuffer ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadBuffer ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glReadBuffer ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEnable ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnable ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glEnable ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDisable ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisable ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glDisable ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsEnabled ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsEnabled ( + JNIEnv *env, jobject obj, + jint cap) + { + jboolean ret; + + + ret = (jboolean) disp__glIsEnabled ( + (GLenum) cap + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEnableClientState ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glEnableClientState ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDisableClientState ( GLenum cap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDisableClientState ( + JNIEnv *env, jobject obj, + jint cap) + { + + disp__glDisableClientState ( + (GLenum) cap + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetBooleanv ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1); + } + disp__glGetBooleanv ( + (GLenum) pname, + (GLboolean *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetDoublev ( GLenum pname , GLdouble * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetDoublev ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1); + } + disp__glGetDoublev ( + (GLenum) pname, + (GLdouble *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetFloatv ( GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetFloatv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); + } + disp__glGetFloatv ( + (GLenum) pname, + (GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetIntegerv ( GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetIntegerv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); + } + disp__glGetIntegerv ( + (GLenum) pname, + (GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushAttrib ( GLbitfield mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glPushAttrib ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopAttrib ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopAttrib ( + JNIEnv *env, jobject obj) + { + + disp__glPopAttrib ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushClientAttrib ( GLbitfield mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushClientAttrib ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glPushClientAttrib ( + (GLbitfield) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopClientAttrib ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopClientAttrib ( + JNIEnv *env, jobject obj) + { + + disp__glPopClientAttrib ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLint glRenderMode ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glRenderMode ( + JNIEnv *env, jobject obj, + jint mode) + { + jint ret; + + + ret = (jint) disp__glRenderMode ( + (GLenum) mode + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern GLenum glGetError ( void ) ; + * </pre> + */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGetError ( + JNIEnv *env, jobject obj) + { + jint ret; + + + ret = (jint) disp__glGetError ( + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFinish ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFinish ( + JNIEnv *env, jobject obj) + { + + disp__glFinish ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFlush ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFlush ( + JNIEnv *env, jobject obj) + { + + disp__glFlush ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glHint ( GLenum target , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHint ( + JNIEnv *env, jobject obj, + jint target, + jint mode) + { + + disp__glHint ( + (GLenum) target, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearDepth ( GLclampd depth ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearDepth ( + JNIEnv *env, jobject obj, + jdouble depth) + { + + disp__glClearDepth ( + (GLclampd) depth + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthFunc ( GLenum func ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthFunc ( + JNIEnv *env, jobject obj, + jint func) + { + + disp__glDepthFunc ( + (GLenum) func + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthMask ( GLboolean flag ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthMask ( + JNIEnv *env, jobject obj, + jboolean flag) + { + + disp__glDepthMask ( + (GLboolean) flag + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDepthRange ( + JNIEnv *env, jobject obj, + jdouble near_val, + jdouble far_val) + { + + disp__glDepthRange ( + (GLclampd) near_val, + (GLclampd) far_val + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearAccum ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glClearAccum ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glAccum ( GLenum op , GLfloat value ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glAccum ( + JNIEnv *env, jobject obj, + jint op, + jfloat value) + { + + disp__glAccum ( + (GLenum) op, + (GLfloat) value + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMatrixMode ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMatrixMode ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glMatrixMode ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glOrtho ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + + disp__glOrtho ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFrustum ( + JNIEnv *env, jobject obj, + jdouble left, + jdouble right, + jdouble bottom, + jdouble top, + jdouble near_val, + jdouble far_val) + { + + disp__glFrustum ( + (GLdouble) left, + (GLdouble) right, + (GLdouble) bottom, + (GLdouble) top, + (GLdouble) near_val, + (GLdouble) far_val + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glViewport ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height) + { + + disp__glViewport ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushMatrix ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushMatrix ( + JNIEnv *env, jobject obj) + { + + disp__glPushMatrix ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopMatrix ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopMatrix ( + JNIEnv *env, jobject obj) + { + + disp__glPopMatrix ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadIdentity ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadIdentity ( + JNIEnv *env, jobject obj) + { + + disp__glLoadIdentity ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixd ( const GLdouble * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + jdouble *ptr0 = NULL; + + if(m!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, m, 0); + } + disp__glLoadMatrixd ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixf ( const GLfloat * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + jfloat *ptr0 = NULL; + + if(m!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, m, 0); + } + disp__glLoadMatrixf ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixd ( const GLdouble * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixd ( + JNIEnv *env, jobject obj, + jdoubleArray m) + { + jdouble *ptr0 = NULL; + + if(m!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, m, 0); + } + disp__glMultMatrixd ( + (const GLdouble *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixf ( const GLfloat * m ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultMatrixf ( + JNIEnv *env, jobject obj, + jfloatArray m) + { + jfloat *ptr0 = NULL; + + if(m!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, m, 0); + } + disp__glMultMatrixf ( + (const GLfloat *) ptr0 + ); + + if(m!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, m, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotated ( + JNIEnv *env, jobject obj, + jdouble angle, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glRotated ( + (GLdouble) angle, + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRotatef ( + JNIEnv *env, jobject obj, + jfloat angle, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glRotatef ( + (GLfloat) angle, + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScaled ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glScaled ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glScalef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glScalef ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslated ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glTranslated ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTranslatef ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glTranslatef ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsList ( GLuint list ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsList ( + JNIEnv *env, jobject obj, + jint list) + { + jboolean ret; + + + ret = (jboolean) disp__glIsList ( + (GLuint) list + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteLists ( GLuint list , GLsizei range ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteLists ( + JNIEnv *env, jobject obj, + jint list, + jint range) + { + + disp__glDeleteLists ( + (GLuint) list, + (GLsizei) range + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern GLuint glGenLists ( GLsizei range ) ; + * </pre> + */ + JNIEXPORT jint JNICALL + Java_gl4java_GLFuncJauJNI_glGenLists ( + JNIEnv *env, jobject obj, + jint range) + { + jint ret; + + + ret = (jint) disp__glGenLists ( + (GLsizei) range + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNewList ( GLuint list , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNewList ( + JNIEnv *env, jobject obj, + jint list, + jint mode) + { + + disp__glNewList ( + (GLuint) list, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEndList ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEndList ( + JNIEnv *env, jobject obj) + { + + disp__glEndList ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCallList ( GLuint list ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallList ( + JNIEnv *env, jobject obj, + jint list) + { + + disp__glCallList ( + (GLuint) list + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3B ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbyteArray lists) + { + jbyte *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (*env)->GetByteArrayElements(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseByteArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3S ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jshortArray lists) + { + jshort *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseShortArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3I ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jintArray lists) + { + jint *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseIntArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3F ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jfloatArray lists) + { + jfloat *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3D ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jdoubleArray lists) + { + jdouble *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3Z ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jbooleanArray lists) + { + jboolean *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCallLists__II_3J ( + JNIEnv *env, jobject obj, + jint n, + jint type, + jlongArray lists) + { + jlong *ptr2 = NULL; + + if(lists!=NULL) + { + ptr2 = (*env)->GetLongArrayElements(env, lists, 0); + } + disp__glCallLists ( + (GLsizei) n, + (GLenum) type, + (const GLvoid *) ptr2 + ); + + if(lists!=NULL) + { + (*env)->ReleaseLongArrayElements(env, lists, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glListBase ( GLuint base ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glListBase ( + JNIEnv *env, jobject obj, + jint base) + { + + disp__glListBase ( + (GLuint) base + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBegin ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBegin ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glBegin ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEnd ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEnd ( + JNIEnv *env, jobject obj) + { + + disp__glEnd ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + + disp__glVertex2d ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + + disp__glVertex2f ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2i ( GLint x , GLint y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + + disp__glVertex2i ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2s ( GLshort x , GLshort y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + + disp__glVertex2s ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glVertex3d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glVertex3f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + + disp__glVertex3i ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + + disp__glVertex3s ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + + disp__glVertex4d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + + disp__glVertex4f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + + disp__glVertex4i ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + + disp__glVertex4s ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glVertex2dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glVertex2fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glVertex2iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glVertex2sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glVertex3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glVertex3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glVertex3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glVertex3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glVertex4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glVertex4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glVertex4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertex4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glVertex4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3b ( + JNIEnv *env, jobject obj, + jbyte nx, + jbyte ny, + jbyte nz) + { + + disp__glNormal3b ( + (GLbyte) nx, + (GLbyte) ny, + (GLbyte) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3d ( + JNIEnv *env, jobject obj, + jdouble nx, + jdouble ny, + jdouble nz) + { + + disp__glNormal3d ( + (GLdouble) nx, + (GLdouble) ny, + (GLdouble) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3f ( + JNIEnv *env, jobject obj, + jfloat nx, + jfloat ny, + jfloat nz) + { + + disp__glNormal3f ( + (GLfloat) nx, + (GLfloat) ny, + (GLfloat) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3i ( + JNIEnv *env, jobject obj, + jint nx, + jint ny, + jint nz) + { + + disp__glNormal3i ( + (GLint) nx, + (GLint) ny, + (GLint) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3s ( + JNIEnv *env, jobject obj, + jshort nx, + jshort ny, + jshort nz) + { + + disp__glNormal3s ( + (GLshort) nx, + (GLshort) ny, + (GLshort) nz + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3bv ( const GLbyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, 0); + } + disp__glNormal3bv ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glNormal3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glNormal3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glNormal3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormal3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glNormal3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexd ( GLdouble c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexd ( + JNIEnv *env, jobject obj, + jdouble c) + { + + disp__glIndexd ( + (GLdouble) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexf ( GLfloat c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexf ( + JNIEnv *env, jobject obj, + jfloat c) + { + + disp__glIndexf ( + (GLfloat) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexi ( GLint c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexi ( + JNIEnv *env, jobject obj, + jint c) + { + + disp__glIndexi ( + (GLint) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexs ( GLshort c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexs ( + JNIEnv *env, jobject obj, + jshort c) + { + + disp__glIndexs ( + (GLshort) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexub ( GLubyte c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexub ( + JNIEnv *env, jobject obj, + jbyte c) + { + + disp__glIndexub ( + (GLubyte) c + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexdv ( const GLdouble * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexdv ( + JNIEnv *env, jobject obj, + jdoubleArray c) + { + jdouble *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, c, 0); + } + disp__glIndexdv ( + (const GLdouble *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexfv ( const GLfloat * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexfv ( + JNIEnv *env, jobject obj, + jfloatArray c) + { + jfloat *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, c, 0); + } + disp__glIndexfv ( + (const GLfloat *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexiv ( const GLint * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexiv ( + JNIEnv *env, jobject obj, + jintArray c) + { + jint *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, c, 0); + } + disp__glIndexiv ( + (const GLint *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseIntArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexsv ( const GLshort * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexsv ( + JNIEnv *env, jobject obj, + jshortArray c) + { + jshort *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, c, 0); + } + disp__glIndexsv ( + (const GLshort *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseShortArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexubv ( const GLubyte * c ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexubv ( + JNIEnv *env, jobject obj, + jbyteArray c) + { + jbyte *ptr0 = NULL; + + if(c!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, c, 0); + } + disp__glIndexubv ( + (const GLubyte *) ptr0 + ); + + if(c!=NULL) + { + (*env)->ReleaseByteArrayElements(env, c, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + + disp__glColor3b ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue) + { + + disp__glColor3d ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue) + { + + disp__glColor3f ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3i ( GLint red , GLint green , GLint blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + + disp__glColor3i ( + (GLint) red, + (GLint) green, + (GLint) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + + disp__glColor3s ( + (GLshort) red, + (GLshort) green, + (GLshort) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue) + { + + disp__glColor3ub ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue) + { + + disp__glColor3ui ( + (GLuint) red, + (GLuint) green, + (GLuint) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue) + { + + disp__glColor3us ( + (GLushort) red, + (GLushort) green, + (GLushort) blue + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4b ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + + disp__glColor4b ( + (GLbyte) red, + (GLbyte) green, + (GLbyte) blue, + (GLbyte) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4d ( + JNIEnv *env, jobject obj, + jdouble red, + jdouble green, + jdouble blue, + jdouble alpha) + { + + disp__glColor4d ( + (GLdouble) red, + (GLdouble) green, + (GLdouble) blue, + (GLdouble) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4f ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glColor4f ( + (GLfloat) red, + (GLfloat) green, + (GLfloat) blue, + (GLfloat) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4i ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + + disp__glColor4i ( + (GLint) red, + (GLint) green, + (GLint) blue, + (GLint) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4s ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + + disp__glColor4s ( + (GLshort) red, + (GLshort) green, + (GLshort) blue, + (GLshort) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ub ( + JNIEnv *env, jobject obj, + jbyte red, + jbyte green, + jbyte blue, + jbyte alpha) + { + + disp__glColor4ub ( + (GLubyte) red, + (GLubyte) green, + (GLubyte) blue, + (GLubyte) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ui ( + JNIEnv *env, jobject obj, + jint red, + jint green, + jint blue, + jint alpha) + { + + disp__glColor4ui ( + (GLuint) red, + (GLuint) green, + (GLuint) blue, + (GLuint) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4us ( + JNIEnv *env, jobject obj, + jshort red, + jshort green, + jshort blue, + jshort alpha) + { + + disp__glColor4us ( + (GLushort) red, + (GLushort) green, + (GLushort) blue, + (GLushort) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3bv ( const GLbyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, 0); + } + disp__glColor3bv ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glColor3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glColor3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glColor3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glColor3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ubv ( const GLubyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, 0); + } + disp__glColor3ubv ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3uiv ( const GLuint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glColor3uiv ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3usv ( const GLushort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor3usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glColor3usv ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4bv ( const GLbyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4bv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, 0); + } + disp__glColor4bv ( + (const GLbyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glColor4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glColor4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glColor4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glColor4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ubv ( const GLubyte * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4ubv ( + JNIEnv *env, jobject obj, + jbyteArray v) + { + jbyte *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetByteArrayElements(env, v, 0); + } + disp__glColor4ubv ( + (const GLubyte *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4uiv ( const GLuint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4uiv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glColor4uiv ( + (const GLuint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4usv ( const GLushort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColor4usv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glColor4usv ( + (const GLushort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1d ( GLdouble s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1d ( + JNIEnv *env, jobject obj, + jdouble s) + { + + disp__glTexCoord1d ( + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1f ( GLfloat s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1f ( + JNIEnv *env, jobject obj, + jfloat s) + { + + disp__glTexCoord1f ( + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1i ( GLint s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1i ( + JNIEnv *env, jobject obj, + jint s) + { + + disp__glTexCoord1i ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1s ( GLshort s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1s ( + JNIEnv *env, jobject obj, + jshort s) + { + + disp__glTexCoord1s ( + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2d ( GLdouble s , GLdouble t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t) + { + + disp__glTexCoord2d ( + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2f ( GLfloat s , GLfloat t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t) + { + + disp__glTexCoord2f ( + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2i ( GLint s , GLint t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2i ( + JNIEnv *env, jobject obj, + jint s, + jint t) + { + + disp__glTexCoord2i ( + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2s ( GLshort s , GLshort t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t) + { + + disp__glTexCoord2s ( + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r) + { + + disp__glTexCoord3d ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r) + { + + disp__glTexCoord3f ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r) + { + + disp__glTexCoord3i ( + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r) + { + + disp__glTexCoord3s ( + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4d ( + JNIEnv *env, jobject obj, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + + disp__glTexCoord4d ( + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4f ( + JNIEnv *env, jobject obj, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + + disp__glTexCoord4f ( + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4i ( + JNIEnv *env, jobject obj, + jint s, + jint t, + jint r, + jint q) + { + + disp__glTexCoord4i ( + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4s ( + JNIEnv *env, jobject obj, + jshort s, + jshort t, + jshort r, + jshort q) + { + + disp__glTexCoord4s ( + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glTexCoord1dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glTexCoord1fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glTexCoord1iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord1sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glTexCoord1sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glTexCoord2dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glTexCoord2fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glTexCoord2iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glTexCoord2sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glTexCoord3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glTexCoord3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glTexCoord3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glTexCoord3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glTexCoord4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glTexCoord4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glTexCoord4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoord4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glTexCoord4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y) + { + + disp__glRasterPos2d ( + (GLdouble) x, + (GLdouble) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y) + { + + disp__glRasterPos2f ( + (GLfloat) x, + (GLfloat) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2i ( GLint x , GLint y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2i ( + JNIEnv *env, jobject obj, + jint x, + jint y) + { + + disp__glRasterPos2i ( + (GLint) x, + (GLint) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2s ( GLshort x , GLshort y ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y) + { + + disp__glRasterPos2s ( + (GLshort) x, + (GLshort) y + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z) + { + + disp__glRasterPos3d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z) + { + + disp__glRasterPos3f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z) + { + + disp__glRasterPos3i ( + (GLint) x, + (GLint) y, + (GLint) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z) + { + + disp__glRasterPos3s ( + (GLshort) x, + (GLshort) y, + (GLshort) z + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4d ( + JNIEnv *env, jobject obj, + jdouble x, + jdouble y, + jdouble z, + jdouble w) + { + + disp__glRasterPos4d ( + (GLdouble) x, + (GLdouble) y, + (GLdouble) z, + (GLdouble) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4f ( + JNIEnv *env, jobject obj, + jfloat x, + jfloat y, + jfloat z, + jfloat w) + { + + disp__glRasterPos4f ( + (GLfloat) x, + (GLfloat) y, + (GLfloat) z, + (GLfloat) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4i ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint z, + jint w) + { + + disp__glRasterPos4i ( + (GLint) x, + (GLint) y, + (GLint) z, + (GLint) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4s ( + JNIEnv *env, jobject obj, + jshort x, + jshort y, + jshort z, + jshort w) + { + + disp__glRasterPos4s ( + (GLshort) x, + (GLshort) y, + (GLshort) z, + (GLshort) w + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glRasterPos2dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glRasterPos2fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glRasterPos2iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos2sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glRasterPos2sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glRasterPos3dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glRasterPos3fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glRasterPos3iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos3sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glRasterPos3sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4dv ( const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4dv ( + JNIEnv *env, jobject obj, + jdoubleArray v) + { + jdouble *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glRasterPos4dv ( + (const GLdouble *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4fv ( const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4fv ( + JNIEnv *env, jobject obj, + jfloatArray v) + { + jfloat *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glRasterPos4fv ( + (const GLfloat *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4iv ( const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4iv ( + JNIEnv *env, jobject obj, + jintArray v) + { + jint *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glRasterPos4iv ( + (const GLint *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4sv ( const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRasterPos4sv ( + JNIEnv *env, jobject obj, + jshortArray v) + { + jshort *ptr0 = NULL; + + if(v!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glRasterPos4sv ( + (const GLshort *) ptr0 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectd ( + JNIEnv *env, jobject obj, + jdouble x1, + jdouble y1, + jdouble x2, + jdouble y2) + { + + disp__glRectd ( + (GLdouble) x1, + (GLdouble) y1, + (GLdouble) x2, + (GLdouble) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectf ( + JNIEnv *env, jobject obj, + jfloat x1, + jfloat y1, + jfloat x2, + jfloat y2) + { + + disp__glRectf ( + (GLfloat) x1, + (GLfloat) y1, + (GLfloat) x2, + (GLfloat) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRecti ( + JNIEnv *env, jobject obj, + jint x1, + jint y1, + jint x2, + jint y2) + { + + disp__glRecti ( + (GLint) x1, + (GLint) y1, + (GLint) x2, + (GLint) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRects ( + JNIEnv *env, jobject obj, + jshort x1, + jshort y1, + jshort x2, + jshort y2) + { + + disp__glRects ( + (GLshort) x1, + (GLshort) y1, + (GLshort) x2, + (GLshort) y2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectdv ( + JNIEnv *env, jobject obj, + jdoubleArray v1, + jdoubleArray v2) + { + jdouble *ptr0 = NULL; + jdouble *ptr1 = NULL; + + if(v1!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, v1, 0); + } + if(v2!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v2, 0); + } + disp__glRectdv ( + (const GLdouble *) ptr0, + (const GLdouble *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectfv ( + JNIEnv *env, jobject obj, + jfloatArray v1, + jfloatArray v2) + { + jfloat *ptr0 = NULL; + jfloat *ptr1 = NULL; + + if(v1!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, v1, 0); + } + if(v2!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v2, 0); + } + disp__glRectfv ( + (const GLfloat *) ptr0, + (const GLfloat *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectiv ( + JNIEnv *env, jobject obj, + jintArray v1, + jintArray v2) + { + jint *ptr0 = NULL; + jint *ptr1 = NULL; + + if(v1!=NULL) + { + ptr0 = (*env)->GetIntArrayElements(env, v1, 0); + } + if(v2!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v2, 0); + } + disp__glRectiv ( + (const GLint *) ptr0, + (const GLint *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glRectsv ( + JNIEnv *env, jobject obj, + jshortArray v1, + jshortArray v2) + { + jshort *ptr0 = NULL; + jshort *ptr1 = NULL; + + if(v1!=NULL) + { + ptr0 = (*env)->GetShortArrayElements(env, v1, 0); + } + if(v2!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v2, 0); + } + disp__glRectsv ( + (const GLshort *) ptr0, + (const GLshort *) ptr1 + ); + + if(v1!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v1, ptr0, JNI_ABORT); + } + if(v2!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v2, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glVertexPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glNormalPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glColorPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glIndexPointer ( + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glTexCoordPointer ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3B ( + JNIEnv *env, jobject obj, + jint stride, + jbyteArray ptr) + { + jbyte *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3S ( + JNIEnv *env, jobject obj, + jint stride, + jshortArray ptr) + { + jshort *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3I ( + JNIEnv *env, jobject obj, + jint stride, + jintArray ptr) + { + jint *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3F ( + JNIEnv *env, jobject obj, + jint stride, + jfloatArray ptr) + { + jfloat *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3D ( + JNIEnv *env, jobject obj, + jint stride, + jdoubleArray ptr) + { + jdouble *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3Z ( + JNIEnv *env, jobject obj, + jint stride, + jbooleanArray ptr) + { + jboolean *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3J ( + JNIEnv *env, jobject obj, + jint stride, + jlongArray ptr) + { + jlong *ptr1 = NULL; + + if(ptr!=NULL) + { + ptr1 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glEdgeFlagPointer ( + (GLsizei) stride, + (const GLvoid *) ptr1 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointerv ( GLenum pname , void * * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetByteArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseByteArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseShortArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetLongArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointerv ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseLongArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElement ( GLint i ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElement ( + JNIEnv *env, jobject obj, + jint i) + { + + disp__glArrayElement ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArrays ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + + disp__glDrawArrays ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbyteArray indices) + { + jbyte *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseByteArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jshortArray indices) + { + jshort *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseShortArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jintArray indices) + { + jint *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseIntArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jfloatArray indices) + { + jfloat *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jdoubleArray indices) + { + jdouble *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jbooleanArray indices) + { + jboolean *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawElements__III_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint count, + jint type, + jlongArray indices) + { + jlong *ptr3 = NULL; + + if(indices!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, indices, 0); + } + disp__glDrawElements ( + (GLenum) mode, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr3 + ); + + if(indices!=NULL) + { + (*env)->ReleaseLongArrayElements(env, indices, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3B ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbyteArray pointer) + { + jbyte *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (*env)->GetByteArrayElements(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3S ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jshortArray pointer) + { + jshort *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3I ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jintArray pointer) + { + jint *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3F ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jfloatArray pointer) + { + jfloat *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3D ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jdoubleArray pointer) + { + jdouble *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3Z ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jbooleanArray pointer) + { + jboolean *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3J ( + JNIEnv *env, jobject obj, + jint format, + jint stride, + jlongArray pointer) + { + jlong *ptr2 = NULL; + + if(pointer!=NULL) + { + ptr2 = (*env)->GetLongArrayElements(env, pointer, 0); + } + disp__glInterleavedArrays ( + (GLenum) format, + (GLsizei) stride, + (const GLvoid *) ptr2 + ); + + if(pointer!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pointer, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glShadeModel ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glShadeModel ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glShadeModel ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightf ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloat param) + { + + disp__glLightf ( + (GLenum) light, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLighti ( GLenum light , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLighti ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jint param) + { + + disp__glLighti ( + (GLenum) light, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glLightfv ( + (GLenum) light, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, 0); + } + disp__glLightiv ( + (GLenum) light, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightfv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetLightfv ( + (GLenum) light, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetLightiv ( + JNIEnv *env, jobject obj, + jint light, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetLightiv ( + (GLenum) light, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glLightModelf ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeli ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeli ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glLightModeli ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModelfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glLightModelfv ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeliv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLightModeliv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, 0); + } + disp__glLightModeliv ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialf ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloat param) + { + + disp__glMaterialf ( + (GLenum) face, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMateriali ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jint param) + { + + disp__glMateriali ( + (GLenum) face, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glMaterialfv ( + (GLenum) face, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, 0); + } + disp__glMaterialiv ( + (GLenum) face, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialfv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetMaterialfv ( + (GLenum) face, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMaterialiv ( + JNIEnv *env, jobject obj, + jint face, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetMaterialiv ( + (GLenum) face, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMaterial ( GLenum face , GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorMaterial ( + JNIEnv *env, jobject obj, + jint face, + jint mode) + { + + disp__glColorMaterial ( + (GLenum) face, + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelZoom ( + JNIEnv *env, jobject obj, + jfloat xfactor, + jfloat yfactor) + { + + disp__glPixelZoom ( + (GLfloat) xfactor, + (GLfloat) yfactor + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStoref ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStoref ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glPixelStoref ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStorei ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelStorei ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glPixelStorei ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glPixelTransferf ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferi ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelTransferi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glPixelTransferi ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jfloatArray values) + { + jfloat *ptr2 = NULL; + + if(values!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, values, 0); + } + disp__glPixelMapfv ( + (GLenum) map, + (GLint) mapsize, + (const GLfloat *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jintArray values) + { + jint *ptr2 = NULL; + + if(values!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, values, 0); + } + disp__glPixelMapuiv ( + (GLenum) map, + (GLint) mapsize, + (const GLuint *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jint mapsize, + jshortArray values) + { + jshort *ptr2 = NULL; + + if(values!=NULL) + { + ptr2 = (*env)->GetShortArrayElements(env, values, 0); + } + disp__glPixelMapusv ( + (GLenum) map, + (GLint) mapsize, + (const GLushort *) ptr2 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapfv ( + JNIEnv *env, jobject obj, + jint map, + jfloatArray values) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(values!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray1); + } + disp__glGetPixelMapfv ( + (GLenum) map, + (GLfloat *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapuiv ( + JNIEnv *env, jobject obj, + jint map, + jintArray values) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(values!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, values, &isCopiedArray1); + } + disp__glGetPixelMapuiv ( + (GLenum) map, + (GLuint *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPixelMapusv ( + JNIEnv *env, jobject obj, + jint map, + jshortArray values) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + if(values!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, values, &isCopiedArray1); + } + disp__glGetPixelMapusv ( + (GLenum) map, + (GLushort *) ptr1 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBitmap ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jfloat xorig, + jfloat yorig, + jfloat xmove, + jfloat ymove, + jbyteArray bitmap) + { + jbyte *ptr6 = NULL; + + if(bitmap!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, bitmap, 0); + } + disp__glBitmap ( + (GLsizei) width, + (GLsizei) height, + (GLfloat) xorig, + (GLfloat) yorig, + (GLfloat) xmove, + (GLfloat) ymove, + (const GLubyte *) ptr6 + ); + + if(bitmap!=NULL) + { + (*env)->ReleaseByteArrayElements(env, bitmap, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jbyte *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jshort *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jint *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jfloat *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jdouble *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jboolean *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray6 = JNI_FALSE; + jlong *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray6); + } + disp__glReadPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3B ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3S ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3I ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + jint *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3F ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3D ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3Z ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3J ( + JNIEnv *env, jobject obj, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, pixels, 0); + } + disp__glDrawPixels ( + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyPixels ( + JNIEnv *env, jobject obj, + jint x, + jint y, + jint width, + jint height, + jint type) + { + + disp__glCopyPixels ( + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLenum) type + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilFunc ( + JNIEnv *env, jobject obj, + jint func, + jint ref, + jint mask) + { + + disp__glStencilFunc ( + (GLenum) func, + (GLint) ref, + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilMask ( GLuint mask ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilMask ( + JNIEnv *env, jobject obj, + jint mask) + { + + disp__glStencilMask ( + (GLuint) mask + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glStencilOp ( + JNIEnv *env, jobject obj, + jint fail, + jint zfail, + jint zpass) + { + + disp__glStencilOp ( + (GLenum) fail, + (GLenum) zfail, + (GLenum) zpass + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClearStencil ( GLint s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClearStencil ( + JNIEnv *env, jobject obj, + jint s) + { + + disp__glClearStencil ( + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGend ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdouble param) + { + + disp__glTexGend ( + (GLenum) coord, + (GLenum) pname, + (GLdouble) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenf ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloat param) + { + + disp__glTexGenf ( + (GLenum) coord, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeni ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jint param) + { + + disp__glTexGeni ( + (GLenum) coord, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + jdouble *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, params, 0); + } + disp__glTexGendv ( + (GLenum) coord, + (GLenum) pname, + (const GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glTexGenfv ( + (GLenum) coord, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, 0); + } + disp__glTexGeniv ( + (GLenum) coord, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGendv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray2); + } + disp__glGetTexGendv ( + (GLenum) coord, + (GLenum) pname, + (GLdouble *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGenfv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetTexGenfv ( + (GLenum) coord, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexGeniv ( + JNIEnv *env, jobject obj, + jint coord, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetTexGeniv ( + (GLenum) coord, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + + disp__glTexEnvf ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvi ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + + disp__glTexEnvi ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glTexEnvfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, 0); + } + disp__glTexEnviv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnvfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetTexEnvfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexEnviv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetTexEnviv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat param) + { + + disp__glTexParameterf ( + (GLenum) target, + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint param) + { + + disp__glTexParameteri ( + (GLenum) target, + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glTexParameterfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, 0); + } + disp__glTexParameteriv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetTexParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetTexParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + if(params!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray3); + } + disp__glGetTexLevelParameterfv ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLfloat *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexLevelParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint pname, + jintArray params) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + if(params!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, params, &isCopiedArray3); + } + disp__glGetTexLevelParameteriv ( + (GLenum) target, + (GLint) level, + (GLenum) pname, + (GLint *) ptr3 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (*env)->GetByteArrayElements(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (*env)->GetShortArrayElements(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jintArray pixels) + { + jint *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (*env)->GetIntArrayElements(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (*env)->GetFloatArrayElements(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (*env)->GetDoubleArrayElements(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (*env)->GetBooleanArrayElements(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr7 = NULL; + + if(pixels!=NULL) + { + ptr7 = (*env)->GetLongArrayElements(env, pixels, 0); + } + disp__glTexImage1D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr7 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetByteArrayElements(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetShortArrayElements(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jintArray pixels) + { + jint *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetIntArrayElements(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetFloatArrayElements(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetDoubleArrayElements(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetBooleanArrayElements(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetLongArrayElements(env, pixels, 0); + } + disp__glTexImage2D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbyteArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jshortArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jintArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jfloatArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jdoubleArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint format, + jint type, + jlongArray pixels) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + + if(pixels!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray4); + } + disp__glGetTexImage ( + (GLenum) target, + (GLint) level, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTextures ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + } + disp__glGenTextures ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jint *ptr1 = NULL; + + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, 0); + } + disp__glDeleteTextures ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTexture ( GLenum target , GLuint texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTexture ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + + disp__glBindTexture ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTextures ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + jint *ptr1 = NULL; + jfloat *ptr2 = NULL; + + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, 0); + } + if(priorities!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, priorities, 0); + } + disp__glPrioritizeTextures ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResident ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + jboolean ret; + + jint *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, 0); + } + if(residences!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2); + } + ret = (jboolean) disp__glAreTexturesResident ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTexture ( GLuint texture ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTexture ( + JNIEnv *env, jobject obj, + jint texture) + { + jboolean ret; + + + ret = (jboolean) disp__glIsTexture ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetShortArrayElements(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jintArray pixels) + { + jint *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetIntArrayElements(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetFloatArrayElements(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetBooleanArrayElements(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint width, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr6 = NULL; + + if(pixels!=NULL) + { + ptr6 = (*env)->GetLongArrayElements(env, pixels, 0); + } + disp__glTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetByteArrayElements(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetShortArrayElements(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jintArray pixels) + { + jint *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetIntArrayElements(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetFloatArrayElements(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetDoubleArrayElements(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetBooleanArrayElements(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint width, + jint height, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr8 = NULL; + + if(pixels!=NULL) + { + ptr8 = (*env)->GetLongArrayElements(env, pixels, 0); + } + disp__glTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr8 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr8, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint border) + { + + disp__glCopyTexImage1D ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalformat, + jint x, + jint y, + jint width, + jint height, + jint border) + { + + disp__glCopyTexImage2D ( + (GLenum) target, + (GLint) level, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height, + (GLint) border + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage1D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint x, + jint y, + jint width) + { + + disp__glCopyTexSubImage1D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage2D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyTexSubImage2D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint stride, + jint order, + jdoubleArray points) + { + jdouble *ptr5 = NULL; + + if(points!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, points, 0); + } + disp__glMap1d ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) stride, + (GLint) order, + (const GLdouble *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap1f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint stride, + jint order, + jfloatArray points) + { + jfloat *ptr5 = NULL; + + if(points!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, points, 0); + } + disp__glMap1f ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) stride, + (GLint) order, + (const GLfloat *) ptr5 + ); + + if(points!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, points, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2d ( + JNIEnv *env, jobject obj, + jint target, + jdouble u1, + jdouble u2, + jint ustride, + jint uorder, + jdouble v1, + jdouble v2, + jint vstride, + jint vorder, + jdoubleArray points) + { + jdouble *ptr9 = NULL; + + if(points!=NULL) + { + ptr9 = (*env)->GetDoubleArrayElements(env, points, 0); + } + disp__glMap2d ( + (GLenum) target, + (GLdouble) u1, + (GLdouble) u2, + (GLint) ustride, + (GLint) uorder, + (GLdouble) v1, + (GLdouble) v2, + (GLint) vstride, + (GLint) vorder, + (const GLdouble *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMap2f ( + JNIEnv *env, jobject obj, + jint target, + jfloat u1, + jfloat u2, + jint ustride, + jint uorder, + jfloat v1, + jfloat v2, + jint vstride, + jint vorder, + jfloatArray points) + { + jfloat *ptr9 = NULL; + + if(points!=NULL) + { + ptr9 = (*env)->GetFloatArrayElements(env, points, 0); + } + disp__glMap2f ( + (GLenum) target, + (GLfloat) u1, + (GLfloat) u2, + (GLint) ustride, + (GLint) uorder, + (GLfloat) v1, + (GLfloat) v2, + (GLint) vstride, + (GLint) vorder, + (const GLfloat *) ptr9 + ); + + if(points!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, points, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapdv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jdoubleArray v) + { + jboolean isCopiedArray2 = JNI_FALSE; + jdouble *ptr2 = NULL; + + if(v!=NULL) + { + ptr2 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray2); + } + disp__glGetMapdv ( + (GLenum) target, + (GLenum) query, + (GLdouble *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapfv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jfloatArray v) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(v!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray2); + } + disp__glGetMapfv ( + (GLenum) target, + (GLenum) query, + (GLfloat *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMapiv ( + JNIEnv *env, jobject obj, + jint target, + jint query, + jintArray v) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(v!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, v, &isCopiedArray2); + } + disp__glGetMapiv ( + (GLenum) target, + (GLenum) query, + (GLint *) ptr2 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1d ( GLdouble u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1d ( + JNIEnv *env, jobject obj, + jdouble u) + { + + disp__glEvalCoord1d ( + (GLdouble) u + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1f ( GLfloat u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1f ( + JNIEnv *env, jobject obj, + jfloat u) + { + + disp__glEvalCoord1f ( + (GLfloat) u + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1dv ( const GLdouble * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + jdouble *ptr0 = NULL; + + if(u!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, u, 0); + } + disp__glEvalCoord1dv ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1fv ( const GLfloat * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord1fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + jfloat *ptr0 = NULL; + + if(u!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, u, 0); + } + disp__glEvalCoord1fv ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2d ( + JNIEnv *env, jobject obj, + jdouble u, + jdouble v) + { + + disp__glEvalCoord2d ( + (GLdouble) u, + (GLdouble) v + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2f ( + JNIEnv *env, jobject obj, + jfloat u, + jfloat v) + { + + disp__glEvalCoord2f ( + (GLfloat) u, + (GLfloat) v + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2dv ( const GLdouble * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2dv ( + JNIEnv *env, jobject obj, + jdoubleArray u) + { + jdouble *ptr0 = NULL; + + if(u!=NULL) + { + ptr0 = (*env)->GetDoubleArrayElements(env, u, 0); + } + disp__glEvalCoord2dv ( + (const GLdouble *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2fv ( const GLfloat * u ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalCoord2fv ( + JNIEnv *env, jobject obj, + jfloatArray u) + { + jfloat *ptr0 = NULL; + + if(u!=NULL) + { + ptr0 = (*env)->GetFloatArrayElements(env, u, 0); + } + disp__glEvalCoord2fv ( + (const GLfloat *) ptr0 + ); + + if(u!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, u, ptr0, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2) + { + + disp__glMapGrid1d ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid1f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2) + { + + disp__glMapGrid1f ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2d ( + JNIEnv *env, jobject obj, + jint un, + jdouble u1, + jdouble u2, + jint vn, + jdouble v1, + jdouble v2) + { + + disp__glMapGrid2d ( + (GLint) un, + (GLdouble) u1, + (GLdouble) u2, + (GLint) vn, + (GLdouble) v1, + (GLdouble) v2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMapGrid2f ( + JNIEnv *env, jobject obj, + jint un, + jfloat u1, + jfloat u2, + jint vn, + jfloat v1, + jfloat v2) + { + + disp__glMapGrid2f ( + (GLint) un, + (GLfloat) u1, + (GLfloat) u2, + (GLint) vn, + (GLfloat) v1, + (GLfloat) v2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint1 ( GLint i ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint1 ( + JNIEnv *env, jobject obj, + jint i) + { + + disp__glEvalPoint1 ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint2 ( GLint i , GLint j ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalPoint2 ( + JNIEnv *env, jobject obj, + jint i, + jint j) + { + + disp__glEvalPoint2 ( + (GLint) i, + (GLint) j + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh1 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2) + { + + disp__glEvalMesh1 ( + (GLenum) mode, + (GLint) i1, + (GLint) i2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEvalMesh2 ( + JNIEnv *env, jobject obj, + jint mode, + jint i1, + jint i2, + jint j1, + jint j2) + { + + disp__glEvalMesh2 ( + (GLenum) mode, + (GLint) i1, + (GLint) i2, + (GLint) j1, + (GLint) j2 + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogf ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glFogf ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogi ( GLenum pname , GLint param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogi ( + JNIEnv *env, jobject obj, + jint pname, + jint param) + { + + disp__glFogi ( + (GLenum) pname, + (GLint) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogfv ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glFogfv ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFogiv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFogiv ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, 0); + } + disp__glFogiv ( + (GLenum) pname, + (const GLint *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glFeedbackBuffer ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jfloatArray buffer) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(buffer!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, buffer, &isCopiedArray2); + } + disp__glFeedbackBuffer ( + (GLsizei) size, + (GLenum) type, + (GLfloat *) ptr2 + ); + + if(buffer!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, buffer, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPassThrough ( GLfloat token ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPassThrough ( + JNIEnv *env, jobject obj, + jfloat token) + { + + disp__glPassThrough ( + (GLfloat) token + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSelectBuffer ( + JNIEnv *env, jobject obj, + jint size, + jintArray buffer) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(buffer!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, buffer, &isCopiedArray1); + } + disp__glSelectBuffer ( + (GLsizei) size, + (GLuint *) ptr1 + ); + + if(buffer!=NULL) + { + (*env)->ReleaseIntArrayElements(env, buffer, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glInitNames ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glInitNames ( + JNIEnv *env, jobject obj) + { + + disp__glInitNames ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadName ( GLuint name ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLoadName ( + JNIEnv *env, jobject obj, + jint name) + { + + disp__glLoadName ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPushName ( GLuint name ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPushName ( + JNIEnv *env, jobject obj, + jint name) + { + + disp__glPushName ( + (GLuint) name + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPopName ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPopName ( + JNIEnv *env, jobject obj) + { + + disp__glPopName ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3B ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbyteArray indices) + { + jbyte *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseByteArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3S ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jshortArray indices) + { + jshort *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseShortArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3I ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jintArray indices) + { + jint *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseIntArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3F ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jfloatArray indices) + { + jfloat *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3D ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jdoubleArray indices) + { + jdouble *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jbooleanArray indices) + { + jboolean *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3J ( + JNIEnv *env, jobject obj, + jint mode, + jint start, + jint end, + jint count, + jint type, + jlongArray indices) + { + jlong *ptr5 = NULL; + + if(indices!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, indices, 0); + } + disp__glDrawRangeElements ( + (GLenum) mode, + (GLuint) start, + (GLuint) end, + (GLsizei) count, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(indices!=NULL) + { + (*env)->ReleaseLongArrayElements(env, indices, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetByteArrayElements(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetShortArrayElements(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + jint *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetIntArrayElements(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetFloatArrayElements(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetDoubleArrayElements(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetBooleanArrayElements(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetLongArrayElements(env, pixels, 0); + } + disp__glTexImage3D ( + (GLenum) target, + (GLint) level, + (GLint) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetByteArrayElements(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetShortArrayElements(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + jint *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetIntArrayElements(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetFloatArrayElements(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetDoubleArrayElements(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetBooleanArrayElements(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetLongArrayElements(env, pixels, 0); + } + disp__glTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyTexSubImage3D ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + jbyte *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + jshort *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + jint *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + jfloat *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + jdouble *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + jboolean *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + jlong *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, table, 0); + } + disp__glColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + jbyte *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseByteArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + jshort *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseShortArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + jint *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseIntArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + jfloat *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + jdouble *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + jboolean *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + jlong *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, data, 0); + } + disp__glColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseLongArrayElements(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, 0); + } + disp__glColorTableParameteriv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glColorTableParameterfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorSubTable ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint x, + jint y, + jint width) + { + + disp__glCopyColorSubTable ( + (GLenum) target, + (GLsizei) start, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyColorTable ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + + disp__glCopyColorTable ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTable ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetColorTableParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetColorTableParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquation ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquation ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glBlendEquation ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColor ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glBlendColor ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glHistogram ( + JNIEnv *env, jobject obj, + jint target, + jint width, + jint internalformat, + jboolean sink) + { + + disp__glHistogram ( + (GLenum) target, + (GLsizei) width, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glResetHistogram ( GLenum target ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetHistogram ( + JNIEnv *env, jobject obj, + jint target) + { + + disp__glResetHistogram ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbyteArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseByteArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jshortArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jintArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jfloatArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jdoubleArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jbooleanArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint type, + jlongArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, values, &isCopiedArray4); + } + disp__glGetHistogram ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseLongArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetHistogramParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetHistogramParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetHistogramParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMinmax ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jboolean sink) + { + + disp__glMinmax ( + (GLenum) target, + (GLenum) internalformat, + (GLboolean) sink + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glResetMinmax ( GLenum target ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glResetMinmax ( + JNIEnv *env, jobject obj, + jint target) + { + + disp__glResetMinmax ( + (GLenum) target + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3B ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbyteArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseByteArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3S ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jshortArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseShortArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3I ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jintArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseIntArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3F ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jfloatArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3D ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jdoubleArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jbooleanArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3J ( + JNIEnv *env, jobject obj, + jint target, + jboolean reset, + jint format, + jint types, + jlongArray values) + { + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + + if(values!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, values, &isCopiedArray4); + } + disp__glGetMinmax ( + (GLenum) target, + (GLboolean) reset, + (GLenum) format, + (GLenum) types, + (GLvoid *) ptr4 + ); + + if(values!=NULL) + { + (*env)->ReleaseLongArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetMinmaxParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetMinmaxParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetMinmaxParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray image) + { + jbyte *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseByteArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray image) + { + jshort *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseShortArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray image) + { + jint *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseIntArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray image) + { + jfloat *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray image) + { + jdouble *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray image) + { + jboolean *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, image, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray image) + { + jlong *ptr5 = NULL; + + if(image!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, image, 0); + } + disp__glConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(image!=NULL) + { + (*env)->ReleaseLongArrayElements(env, image, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray image) + { + jbyte *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseByteArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray image) + { + jshort *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (*env)->GetShortArrayElements(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseShortArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray image) + { + jint *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (*env)->GetIntArrayElements(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseIntArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray image) + { + jfloat *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (*env)->GetFloatArrayElements(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray image) + { + jdouble *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray image) + { + jboolean *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (*env)->GetBooleanArrayElements(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, image, ptr6, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray image) + { + jlong *ptr6 = NULL; + + if(image!=NULL) + { + ptr6 = (*env)->GetLongArrayElements(env, image, 0); + } + disp__glConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6 + ); + + if(image!=NULL) + { + (*env)->ReleaseLongArrayElements(env, image, ptr6, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterf ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloat params) + { + + disp__glConvolutionParameterf ( + (GLenum) target, + (GLenum) pname, + (GLfloat) params + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glConvolutionParameterfv ( + (GLenum) target, + (GLenum) pname, + (const GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteri ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jint params) + { + + disp__glConvolutionParameteri ( + (GLenum) target, + (GLenum) pname, + (GLint) params + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, 0); + } + disp__glConvolutionParameteriv ( + (GLenum) target, + (GLenum) pname, + (const GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter1D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width) + { + + disp__glCopyConvolutionFilter1D ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter2D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyConvolutionFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseByteArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseShortArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseIntArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray image) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + + if(image!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, image, &isCopiedArray3); + } + disp__glGetConvolutionFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(image!=NULL) + { + (*env)->ReleaseLongArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameterfv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetConvolutionParameterfv ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetConvolutionParameteriv ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetConvolutionParameteriv ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbyteArray row, + jbyteArray column) + { + jbyte *ptr6 = NULL; + jbyte *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (*env)->GetByteArrayElements(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (*env)->GetByteArrayElements(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseByteArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseByteArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jshortArray row, + jshortArray column) + { + jshort *ptr6 = NULL; + jshort *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (*env)->GetShortArrayElements(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (*env)->GetShortArrayElements(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseShortArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseShortArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jintArray row, + jintArray column) + { + jint *ptr6 = NULL; + jint *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (*env)->GetIntArrayElements(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (*env)->GetIntArrayElements(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseIntArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseIntArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jfloatArray row, + jfloatArray column) + { + jfloat *ptr6 = NULL; + jfloat *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (*env)->GetFloatArrayElements(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (*env)->GetFloatArrayElements(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column) + { + jdouble *ptr6 = NULL; + jdouble *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (*env)->GetDoubleArrayElements(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (*env)->GetDoubleArrayElements(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column) + { + jboolean *ptr6 = NULL; + jboolean *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (*env)->GetBooleanArrayElements(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (*env)->GetBooleanArrayElements(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, column, ptr7, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint height, + jint format, + jint type, + jlongArray row, + jlongArray column) + { + jlong *ptr6 = NULL; + jlong *ptr7 = NULL; + + if(row!=NULL) + { + ptr6 = (*env)->GetLongArrayElements(env, row, 0); + } + if(column!=NULL) + { + ptr7 = (*env)->GetLongArrayElements(env, column, 0); + } + disp__glSeparableFilter2D ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLsizei) height, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr6, + (const GLvoid *) ptr7 + ); + + if(row!=NULL) + { + (*env)->ReleaseLongArrayElements(env, row, ptr6, JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseLongArrayElements(env, column, ptr7, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3B_3B_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray row, + jbyteArray column, + jbyteArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jbyte *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jbyte *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseByteArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseByteArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseByteArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3S_3S_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray row, + jshortArray column, + jshortArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jshort *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jshort *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseShortArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseShortArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseShortArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3I_3I_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray row, + jintArray column, + jintArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jint *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jint *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseIntArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseIntArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseIntArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3F_3F_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray row, + jfloatArray column, + jfloatArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jfloat *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jfloat *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3D_3D_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray row, + jdoubleArray column, + jdoubleArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jdouble *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jdouble *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3Z_3Z_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray row, + jbooleanArray column, + jbooleanArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jboolean *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jboolean *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3J_3J_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray row, + jlongArray column, + jlongArray span) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + jboolean isCopiedArray4 = JNI_FALSE; + jlong *ptr4 = NULL; + jboolean isCopiedArray5 = JNI_FALSE; + jlong *ptr5 = NULL; + + if(row!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, row, &isCopiedArray3); + } + if(column!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, column, &isCopiedArray4); + } + if(span!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, span, &isCopiedArray5); + } + disp__glGetSeparableFilter ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3, + (GLvoid *) ptr4, + (GLvoid *) ptr5 + ); + + if(row!=NULL) + { + (*env)->ReleaseLongArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + if(column!=NULL) + { + (*env)->ReleaseLongArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); + } + if(span!=NULL) + { + (*env)->ReleaseLongArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendColorEXT ( + JNIEnv *env, jobject obj, + jfloat red, + jfloat green, + jfloat blue, + jfloat alpha) + { + + disp__glBlendColorEXT ( + (GLclampf) red, + (GLclampf) green, + (GLclampf) blue, + (GLclampf) alpha + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPolygonOffsetEXT ( + JNIEnv *env, jobject obj, + jfloat factor, + jfloat bias) + { + + disp__glPolygonOffsetEXT ( + (GLfloat) factor, + (GLfloat) bias + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetByteArrayElements(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetShortArrayElements(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jintArray pixels) + { + jint *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetIntArrayElements(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetFloatArrayElements(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetDoubleArrayElements(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetBooleanArrayElements(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint internalFormat, + jint width, + jint height, + jint depth, + jint border, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr9 = NULL; + + if(pixels!=NULL) + { + ptr9 = (*env)->GetLongArrayElements(env, pixels, 0); + } + disp__glTexImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLenum) internalFormat, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLint) border, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr9 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr9, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbyteArray pixels) + { + jbyte *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetByteArrayElements(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseByteArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jshortArray pixels) + { + jshort *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetShortArrayElements(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseShortArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jintArray pixels) + { + jint *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetIntArrayElements(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseIntArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jfloatArray pixels) + { + jfloat *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetFloatArrayElements(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jdoubleArray pixels) + { + jdouble *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetDoubleArrayElements(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jbooleanArray pixels) + { + jboolean *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetBooleanArrayElements(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint width, + jint height, + jint depth, + jint format, + jint type, + jlongArray pixels) + { + jlong *ptr10 = NULL; + + if(pixels!=NULL) + { + ptr10 = (*env)->GetLongArrayElements(env, pixels, 0); + } + disp__glTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLsizei) width, + (GLsizei) height, + (GLsizei) depth, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr10 + ); + + if(pixels!=NULL) + { + (*env)->ReleaseLongArrayElements(env, pixels, ptr10, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3DEXT ( + JNIEnv *env, jobject obj, + jint target, + jint level, + jint xoffset, + jint yoffset, + jint zoffset, + jint x, + jint y, + jint width, + jint height) + { + + disp__glCopyTexSubImage3DEXT ( + (GLenum) target, + (GLint) level, + (GLint) xoffset, + (GLint) yoffset, + (GLint) zoffset, + (GLint) x, + (GLint) y, + (GLsizei) width, + (GLsizei) height + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGenTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); + } + disp__glGenTexturesEXT ( + (GLsizei) n, + (GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDeleteTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures) + { + jint *ptr1 = NULL; + + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, 0); + } + disp__glDeleteTexturesEXT ( + (GLsizei) n, + (const GLuint *) ptr1 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTextureEXT ( GLenum target , GLuint texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBindTextureEXT ( + JNIEnv *env, jobject obj, + jint target, + jint texture) + { + + disp__glBindTextureEXT ( + (GLenum) target, + (GLuint) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPrioritizeTexturesEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jfloatArray priorities) + { + jint *ptr1 = NULL; + jfloat *ptr2 = NULL; + + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, 0); + } + if(priorities!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, priorities, 0); + } + disp__glPrioritizeTexturesEXT ( + (GLsizei) n, + (const GLuint *) ptr1, + (const GLclampf *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(priorities!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, priorities, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glAreTexturesResidentEXT ( + JNIEnv *env, jobject obj, + jint n, + jintArray textures, + jbooleanArray residences) + { + jboolean ret; + + jint *ptr1 = NULL; + jboolean isCopiedArray2 = JNI_FALSE; + jboolean *ptr2 = NULL; + + if(textures!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, textures, 0); + } + if(residences!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2); + } + ret = (jboolean) disp__glAreTexturesResidentEXT ( + (GLsizei) n, + (const GLuint *) ptr1, + (GLboolean *) ptr2 + ); + + if(textures!=NULL) + { + (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); + } + if(residences!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTextureEXT ( GLuint texture ) ; + * </pre> + */ + JNIEXPORT jboolean JNICALL + Java_gl4java_GLFuncJauJNI_glIsTextureEXT ( + JNIEnv *env, jobject obj, + jint texture) + { + jboolean ret; + + + ret = (jboolean) disp__glIsTextureEXT ( + (GLuint) texture + ); + + return ret; + } + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glVertexPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glNormalPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glColorPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3B ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3S ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3I ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3F ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3D ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3J ( + JNIEnv *env, jobject obj, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr3 = NULL; + + if(ptr!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glIndexPointerEXT ( + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr3 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3B ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbyteArray ptr) + { + jbyte *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetByteArrayElements(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3S ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jshortArray ptr) + { + jshort *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetShortArrayElements(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3I ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jintArray ptr) + { + jint *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetIntArrayElements(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3F ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jfloatArray ptr) + { + jfloat *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetFloatArrayElements(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3D ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jdoubleArray ptr) + { + jdouble *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetDoubleArrayElements(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3Z ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3J ( + JNIEnv *env, jobject obj, + jint size, + jint type, + jint stride, + jint count, + jlongArray ptr) + { + jlong *ptr4 = NULL; + + if(ptr!=NULL) + { + ptr4 = (*env)->GetLongArrayElements(env, ptr, 0); + } + disp__glTexCoordPointerEXT ( + (GLint) size, + (GLenum) type, + (GLsizei) stride, + (GLsizei) count, + (const GLvoid *) ptr4 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glEdgeFlagPointerEXT ( + JNIEnv *env, jobject obj, + jint stride, + jint count, + jbooleanArray ptr) + { + jboolean *ptr2 = NULL; + + if(ptr!=NULL) + { + ptr2 = (*env)->GetBooleanArrayElements(env, ptr, 0); + } + disp__glEdgeFlagPointerEXT ( + (GLsizei) stride, + (GLsizei) count, + (const GLboolean *) ptr2 + ); + + if(ptr!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointervEXT ( GLenum pname , void * * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3B ( + JNIEnv *env, jobject obj, + jint pname, + jbyteArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jbyte *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetByteArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseByteArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3S ( + JNIEnv *env, jobject obj, + jint pname, + jshortArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jshort *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseShortArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3I ( + JNIEnv *env, jobject obj, + jint pname, + jintArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jint *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3F ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3D ( + JNIEnv *env, jobject obj, + jint pname, + jdoubleArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jdouble *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3Z ( + JNIEnv *env, jobject obj, + jint pname, + jbooleanArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jboolean *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3J ( + JNIEnv *env, jobject obj, + jint pname, + jlongArray params) + { + jboolean isCopiedArray1 = JNI_FALSE; + jlong *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetLongArrayElements(env, params, &isCopiedArray1); + } + disp__glGetPointervEXT ( + (GLenum) pname, + (void **) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseLongArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElementEXT ( GLint i ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glArrayElementEXT ( + JNIEnv *env, jobject obj, + jint i) + { + + disp__glArrayElementEXT ( + (GLint) i + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glDrawArraysEXT ( + JNIEnv *env, jobject obj, + jint mode, + jint first, + jint count) + { + + disp__glDrawArraysEXT ( + (GLenum) mode, + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquationEXT ( GLenum mode ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glBlendEquationEXT ( + JNIEnv *env, jobject obj, + jint mode) + { + + disp__glBlendEquationEXT ( + (GLenum) mode + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloat param) + { + + disp__glPointParameterfEXT ( + (GLenum) pname, + (GLfloat) param + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glPointParameterfvEXT ( + JNIEnv *env, jobject obj, + jint pname, + jfloatArray params) + { + jfloat *ptr1 = NULL; + + if(params!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, params, 0); + } + disp__glPointParameterfvEXT ( + (GLenum) pname, + (const GLfloat *) ptr1 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbyteArray table) + { + jbyte *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jshortArray table) + { + jshort *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jintArray table) + { + jint *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jfloatArray table) + { + jfloat *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jdoubleArray table) + { + jdouble *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jbooleanArray table) + { + jboolean *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint internalformat, + jint width, + jint format, + jint type, + jlongArray table) + { + jlong *ptr5 = NULL; + + if(table!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, table, 0); + } + disp__glColorTableEXT ( + (GLenum) target, + (GLenum) internalformat, + (GLsizei) width, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3B ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbyteArray data) + { + jbyte *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetByteArrayElements(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseByteArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3S ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jshortArray data) + { + jshort *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetShortArrayElements(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseShortArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3I ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jintArray data) + { + jint *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetIntArrayElements(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseIntArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3F ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jfloatArray data) + { + jfloat *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetFloatArrayElements(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3D ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jdoubleArray data) + { + jdouble *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetDoubleArrayElements(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jbooleanArray data) + { + jboolean *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetBooleanArrayElements(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, data, ptr5, JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3J ( + JNIEnv *env, jobject obj, + jint target, + jint start, + jint count, + jint format, + jint type, + jlongArray data) + { + jlong *ptr5 = NULL; + + if(data!=NULL) + { + ptr5 = (*env)->GetLongArrayElements(env, data, 0); + } + disp__glColorSubTableEXT ( + (GLenum) target, + (GLsizei) start, + (GLsizei) count, + (GLenum) format, + (GLenum) type, + (const GLvoid *) ptr5 + ); + + if(data!=NULL) + { + (*env)->ReleaseLongArrayElements(env, data, ptr5, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3B ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbyteArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jbyte *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetByteArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseByteArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3S ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jshortArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jshort *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetShortArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseShortArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3I ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jintArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jint *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetIntArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseIntArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3F ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jfloatArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jfloat *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3D ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jdoubleArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jdouble *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3Z ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jbooleanArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jboolean *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseBooleanArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3J ( + JNIEnv *env, jobject obj, + jint target, + jint format, + jint type, + jlongArray table) + { + jboolean isCopiedArray3 = JNI_FALSE; + jlong *ptr3 = NULL; + + if(table!=NULL) + { + ptr3 = (*env)->GetLongArrayElements(env, table, &isCopiedArray3); + } + disp__glGetColorTableEXT ( + (GLenum) target, + (GLenum) format, + (GLenum) type, + (GLvoid *) ptr3 + ); + + if(table!=NULL) + { + (*env)->ReleaseLongArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfvEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jfloatArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jfloat *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); + } + disp__glGetColorTableParameterfvEXT ( + (GLenum) target, + (GLenum) pname, + (GLfloat *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glGetColorTableParameterivEXT ( + JNIEnv *env, jobject obj, + jint target, + jint pname, + jintArray params) + { + jboolean isCopiedArray2 = JNI_FALSE; + jint *ptr2 = NULL; + + if(params!=NULL) + { + ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); + } + disp__glGetColorTableParameterivEXT ( + (GLenum) target, + (GLenum) pname, + (GLint *) ptr2 + ); + + if(params!=NULL) + { + (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glLockArraysEXT ( GLint first , GLsizei count ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glLockArraysEXT ( + JNIEnv *env, jobject obj, + jint first, + jint count) + { + + disp__glLockArraysEXT ( + (GLint) first, + (GLsizei) count + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glUnlockArraysEXT ( void ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glUnlockArraysEXT ( + JNIEnv *env, jobject obj) + { + + disp__glUnlockArraysEXT ( + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + + disp__glActiveTextureARB ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glClientActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glClientActiveTextureARB ( + JNIEnv *env, jobject obj, + jint texture) + { + + disp__glClientActiveTextureARB ( + (GLenum) texture + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s) + { + + disp__glMultiTexCoord1dARB ( + (GLenum) target, + (GLdouble) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jdouble *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glMultiTexCoord1dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s) + { + + disp__glMultiTexCoord1fARB ( + (GLenum) target, + (GLfloat) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jfloat *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glMultiTexCoord1fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s) + { + + disp__glMultiTexCoord1iARB ( + (GLenum) target, + (GLint) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jint *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glMultiTexCoord1ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s) + { + + disp__glMultiTexCoord1sARB ( + (GLenum) target, + (GLshort) s + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord1svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jshort *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glMultiTexCoord1svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t) + { + + disp__glMultiTexCoord2dARB ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jdouble *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glMultiTexCoord2dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t) + { + + disp__glMultiTexCoord2fARB ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jfloat *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glMultiTexCoord2fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t) + { + + disp__glMultiTexCoord2iARB ( + (GLenum) target, + (GLint) s, + (GLint) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jint *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glMultiTexCoord2ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t) + { + + disp__glMultiTexCoord2sARB ( + (GLenum) target, + (GLshort) s, + (GLshort) t + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord2svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jshort *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glMultiTexCoord2svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r) + { + + disp__glMultiTexCoord3dARB ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jdouble *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glMultiTexCoord3dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r) + { + + disp__glMultiTexCoord3fARB ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jfloat *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glMultiTexCoord3fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r) + { + + disp__glMultiTexCoord3iARB ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jint *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glMultiTexCoord3ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r) + { + + disp__glMultiTexCoord3sARB ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord3svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jshort *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glMultiTexCoord3svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dARB ( + JNIEnv *env, jobject obj, + jint target, + jdouble s, + jdouble t, + jdouble r, + jdouble q) + { + + disp__glMultiTexCoord4dARB ( + (GLenum) target, + (GLdouble) s, + (GLdouble) t, + (GLdouble) r, + (GLdouble) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dvARB ( + JNIEnv *env, jobject obj, + jint target, + jdoubleArray v) + { + jdouble *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetDoubleArrayElements(env, v, 0); + } + disp__glMultiTexCoord4dvARB ( + (GLenum) target, + (const GLdouble *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fARB ( + JNIEnv *env, jobject obj, + jint target, + jfloat s, + jfloat t, + jfloat r, + jfloat q) + { + + disp__glMultiTexCoord4fARB ( + (GLenum) target, + (GLfloat) s, + (GLfloat) t, + (GLfloat) r, + (GLfloat) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fvARB ( + JNIEnv *env, jobject obj, + jint target, + jfloatArray v) + { + jfloat *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetFloatArrayElements(env, v, 0); + } + disp__glMultiTexCoord4fvARB ( + (GLenum) target, + (const GLfloat *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4iARB ( + JNIEnv *env, jobject obj, + jint target, + jint s, + jint t, + jint r, + jint q) + { + + disp__glMultiTexCoord4iARB ( + (GLenum) target, + (GLint) s, + (GLint) t, + (GLint) r, + (GLint) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4ivARB ( + JNIEnv *env, jobject obj, + jint target, + jintArray v) + { + jint *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetIntArrayElements(env, v, 0); + } + disp__glMultiTexCoord4ivARB ( + (GLenum) target, + (const GLint *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4sARB ( + JNIEnv *env, jobject obj, + jint target, + jshort s, + jshort t, + jshort r, + jshort q) + { + + disp__glMultiTexCoord4sARB ( + (GLenum) target, + (GLshort) s, + (GLshort) t, + (GLshort) r, + (GLshort) q + ); + + } + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + JNIEXPORT void JNICALL + Java_gl4java_GLFuncJauJNI_glMultiTexCoord4svARB ( + JNIEnv *env, jobject obj, + jint target, + jshortArray v) + { + jshort *ptr1 = NULL; + + if(v!=NULL) + { + ptr1 = (*env)->GetShortArrayElements(env, v, 0); + } + disp__glMultiTexCoord4svARB ( + (GLenum) target, + (const GLshort *) ptr1 + ); + + if(v!=NULL) + { + (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); + } + } + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/CNativeCode/gl-disp-fetch.hc b/CNativeCode/gl-disp-fetch.hc new file mode 100755 index 0000000..8caeb97 --- /dev/null +++ b/CNativeCode/gl-disp-fetch.hc @@ -0,0 +1,1328 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + + disp__glGetString = (const GLubyte *(CALLBACK *)( GLenum)) + GET_GL_PROCADDRESS ("glGetString"); + +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + + disp__glClearIndex = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glClearIndex"); + + disp__glClearColor = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + GET_GL_PROCADDRESS ("glClearColor"); + + disp__glClear = (void (CALLBACK *)(GLbitfield)) + GET_GL_PROCADDRESS ("glClear"); + + disp__glIndexMask = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glIndexMask"); + + disp__glColorMask = (void (CALLBACK *)(GLboolean, GLboolean, GLboolean, GLboolean)) + GET_GL_PROCADDRESS ("glColorMask"); + + disp__glAlphaFunc = (void (CALLBACK *)(GLenum, GLclampf)) + GET_GL_PROCADDRESS ("glAlphaFunc"); + + disp__glBlendFunc = (void (CALLBACK *)(GLenum, GLenum)) + GET_GL_PROCADDRESS ("glBlendFunc"); + + disp__glLogicOp = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glLogicOp"); + + disp__glCullFace = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glCullFace"); + + disp__glFrontFace = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glFrontFace"); + + disp__glPointSize = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glPointSize"); + + disp__glLineWidth = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glLineWidth"); + + disp__glLineStipple = (void (CALLBACK *)(GLint, GLushort)) + GET_GL_PROCADDRESS ("glLineStipple"); + + disp__glPolygonMode = (void (CALLBACK *)(GLenum, GLenum)) + GET_GL_PROCADDRESS ("glPolygonMode"); + + disp__glPolygonOffset = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glPolygonOffset"); + + disp__glPolygonStipple = (void (CALLBACK *)(const GLubyte *)) + GET_GL_PROCADDRESS ("glPolygonStipple"); + + disp__glGetPolygonStipple = (void (CALLBACK *)(GLubyte *)) + GET_GL_PROCADDRESS ("glGetPolygonStipple"); + + disp__glEdgeFlag = (void (CALLBACK *)(GLboolean)) + GET_GL_PROCADDRESS ("glEdgeFlag"); + + disp__glEdgeFlagv = (void (CALLBACK *)(const GLboolean *)) + GET_GL_PROCADDRESS ("glEdgeFlagv"); + + disp__glScissor = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glScissor"); + + disp__glClipPlane = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glClipPlane"); + + disp__glGetClipPlane = (void (CALLBACK *)(GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("glGetClipPlane"); + + disp__glDrawBuffer = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glDrawBuffer"); + + disp__glReadBuffer = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glReadBuffer"); + + disp__glEnable = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glEnable"); + + disp__glDisable = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glDisable"); + + disp__glIsEnabled = (GLboolean (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glIsEnabled"); + + disp__glEnableClientState = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glEnableClientState"); + + disp__glDisableClientState = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glDisableClientState"); + + disp__glGetBooleanv = (void (CALLBACK *)(GLenum, GLboolean *)) + GET_GL_PROCADDRESS ("glGetBooleanv"); + + disp__glGetDoublev = (void (CALLBACK *)(GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("glGetDoublev"); + + disp__glGetFloatv = (void (CALLBACK *)(GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetFloatv"); + + disp__glGetIntegerv = (void (CALLBACK *)(GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetIntegerv"); + + disp__glPushAttrib = (void (CALLBACK *)(GLbitfield)) + GET_GL_PROCADDRESS ("glPushAttrib"); + + disp__glPopAttrib = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPopAttrib"); + + disp__glPushClientAttrib = (void (CALLBACK *)(GLbitfield)) + GET_GL_PROCADDRESS ("glPushClientAttrib"); + + disp__glPopClientAttrib = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPopClientAttrib"); + + disp__glRenderMode = (GLint (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glRenderMode"); + + disp__glGetError = (GLenum (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glGetError"); + + disp__glFinish = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glFinish"); + + disp__glFlush = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glFlush"); + + disp__glHint = (void (CALLBACK *)(GLenum, GLenum)) + GET_GL_PROCADDRESS ("glHint"); + + disp__glClearDepth = (void (CALLBACK *)(GLclampd)) + GET_GL_PROCADDRESS ("glClearDepth"); + + disp__glDepthFunc = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glDepthFunc"); + + disp__glDepthMask = (void (CALLBACK *)(GLboolean)) + GET_GL_PROCADDRESS ("glDepthMask"); + + disp__glDepthRange = (void (CALLBACK *)(GLclampd, GLclampd)) + GET_GL_PROCADDRESS ("glDepthRange"); + + disp__glClearAccum = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glClearAccum"); + + disp__glAccum = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glAccum"); + + disp__glMatrixMode = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glMatrixMode"); + + disp__glOrtho = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glOrtho"); + + disp__glFrustum = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glFrustum"); + + disp__glViewport = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glViewport"); + + disp__glPushMatrix = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPushMatrix"); + + disp__glPopMatrix = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPopMatrix"); + + disp__glLoadIdentity = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glLoadIdentity"); + + disp__glLoadMatrixd = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glLoadMatrixd"); + + disp__glLoadMatrixf = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glLoadMatrixf"); + + disp__glMultMatrixd = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glMultMatrixd"); + + disp__glMultMatrixf = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glMultMatrixf"); + + disp__glRotated = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRotated"); + + disp__glRotatef = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRotatef"); + + disp__glScaled = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glScaled"); + + disp__glScalef = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glScalef"); + + disp__glTranslated = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glTranslated"); + + disp__glTranslatef = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glTranslatef"); + + disp__glIsList = (GLboolean (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glIsList"); + + disp__glDeleteLists = (void (CALLBACK *)(GLuint, GLsizei)) + GET_GL_PROCADDRESS ("glDeleteLists"); + + disp__glGenLists = (GLuint (CALLBACK *)(GLsizei)) + GET_GL_PROCADDRESS ("glGenLists"); + + disp__glNewList = (void (CALLBACK *)(GLuint, GLenum)) + GET_GL_PROCADDRESS ("glNewList"); + + disp__glEndList = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glEndList"); + + disp__glCallList = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glCallList"); + + disp__glCallLists = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glCallLists"); + + disp__glListBase = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glListBase"); + + disp__glBegin = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glBegin"); + + disp__glEnd = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glEnd"); + + disp__glVertex2d = (void (CALLBACK *)(GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glVertex2d"); + + disp__glVertex2f = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glVertex2f"); + + disp__glVertex2i = (void (CALLBACK *)(GLint, GLint)) + GET_GL_PROCADDRESS ("glVertex2i"); + + disp__glVertex2s = (void (CALLBACK *)(GLshort, GLshort)) + GET_GL_PROCADDRESS ("glVertex2s"); + + disp__glVertex3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glVertex3d"); + + disp__glVertex3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glVertex3f"); + + disp__glVertex3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glVertex3i"); + + disp__glVertex3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glVertex3s"); + + disp__glVertex4d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glVertex4d"); + + disp__glVertex4f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glVertex4f"); + + disp__glVertex4i = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glVertex4i"); + + disp__glVertex4s = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glVertex4s"); + + disp__glVertex2dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glVertex2dv"); + + disp__glVertex2fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glVertex2fv"); + + disp__glVertex2iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glVertex2iv"); + + disp__glVertex2sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glVertex2sv"); + + disp__glVertex3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glVertex3dv"); + + disp__glVertex3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glVertex3fv"); + + disp__glVertex3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glVertex3iv"); + + disp__glVertex3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glVertex3sv"); + + disp__glVertex4dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glVertex4dv"); + + disp__glVertex4fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glVertex4fv"); + + disp__glVertex4iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glVertex4iv"); + + disp__glVertex4sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glVertex4sv"); + + disp__glNormal3b = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + GET_GL_PROCADDRESS ("glNormal3b"); + + disp__glNormal3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glNormal3d"); + + disp__glNormal3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glNormal3f"); + + disp__glNormal3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glNormal3i"); + + disp__glNormal3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glNormal3s"); + + disp__glNormal3bv = (void (CALLBACK *)(const GLbyte *)) + GET_GL_PROCADDRESS ("glNormal3bv"); + + disp__glNormal3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glNormal3dv"); + + disp__glNormal3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glNormal3fv"); + + disp__glNormal3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glNormal3iv"); + + disp__glNormal3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glNormal3sv"); + + disp__glIndexd = (void (CALLBACK *)(GLdouble)) + GET_GL_PROCADDRESS ("glIndexd"); + + disp__glIndexf = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glIndexf"); + + disp__glIndexi = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glIndexi"); + + disp__glIndexs = (void (CALLBACK *)(GLshort)) + GET_GL_PROCADDRESS ("glIndexs"); + + disp__glIndexub = (void (CALLBACK *)(GLubyte)) + GET_GL_PROCADDRESS ("glIndexub"); + + disp__glIndexdv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glIndexdv"); + + disp__glIndexfv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glIndexfv"); + + disp__glIndexiv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glIndexiv"); + + disp__glIndexsv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glIndexsv"); + + disp__glIndexubv = (void (CALLBACK *)(const GLubyte *)) + GET_GL_PROCADDRESS ("glIndexubv"); + + disp__glColor3b = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) + GET_GL_PROCADDRESS ("glColor3b"); + + disp__glColor3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glColor3d"); + + disp__glColor3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glColor3f"); + + disp__glColor3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glColor3i"); + + disp__glColor3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glColor3s"); + + disp__glColor3ub = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte)) + GET_GL_PROCADDRESS ("glColor3ub"); + + disp__glColor3ui = (void (CALLBACK *)(GLuint, GLuint, GLuint)) + GET_GL_PROCADDRESS ("glColor3ui"); + + disp__glColor3us = (void (CALLBACK *)(GLushort, GLushort, GLushort)) + GET_GL_PROCADDRESS ("glColor3us"); + + disp__glColor4b = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte, GLbyte)) + GET_GL_PROCADDRESS ("glColor4b"); + + disp__glColor4d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glColor4d"); + + disp__glColor4f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glColor4f"); + + disp__glColor4i = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glColor4i"); + + disp__glColor4s = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glColor4s"); + + disp__glColor4ub = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte, GLubyte)) + GET_GL_PROCADDRESS ("glColor4ub"); + + disp__glColor4ui = (void (CALLBACK *)(GLuint, GLuint, GLuint, GLuint)) + GET_GL_PROCADDRESS ("glColor4ui"); + + disp__glColor4us = (void (CALLBACK *)(GLushort, GLushort, GLushort, GLushort)) + GET_GL_PROCADDRESS ("glColor4us"); + + disp__glColor3bv = (void (CALLBACK *)(const GLbyte *)) + GET_GL_PROCADDRESS ("glColor3bv"); + + disp__glColor3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glColor3dv"); + + disp__glColor3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glColor3fv"); + + disp__glColor3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glColor3iv"); + + disp__glColor3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glColor3sv"); + + disp__glColor3ubv = (void (CALLBACK *)(const GLubyte *)) + GET_GL_PROCADDRESS ("glColor3ubv"); + + disp__glColor3uiv = (void (CALLBACK *)(const GLuint *)) + GET_GL_PROCADDRESS ("glColor3uiv"); + + disp__glColor3usv = (void (CALLBACK *)(const GLushort *)) + GET_GL_PROCADDRESS ("glColor3usv"); + + disp__glColor4bv = (void (CALLBACK *)(const GLbyte *)) + GET_GL_PROCADDRESS ("glColor4bv"); + + disp__glColor4dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glColor4dv"); + + disp__glColor4fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glColor4fv"); + + disp__glColor4iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glColor4iv"); + + disp__glColor4sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glColor4sv"); + + disp__glColor4ubv = (void (CALLBACK *)(const GLubyte *)) + GET_GL_PROCADDRESS ("glColor4ubv"); + + disp__glColor4uiv = (void (CALLBACK *)(const GLuint *)) + GET_GL_PROCADDRESS ("glColor4uiv"); + + disp__glColor4usv = (void (CALLBACK *)(const GLushort *)) + GET_GL_PROCADDRESS ("glColor4usv"); + + disp__glTexCoord1d = (void (CALLBACK *)(GLdouble)) + GET_GL_PROCADDRESS ("glTexCoord1d"); + + disp__glTexCoord1f = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glTexCoord1f"); + + disp__glTexCoord1i = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glTexCoord1i"); + + disp__glTexCoord1s = (void (CALLBACK *)(GLshort)) + GET_GL_PROCADDRESS ("glTexCoord1s"); + + disp__glTexCoord2d = (void (CALLBACK *)(GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glTexCoord2d"); + + disp__glTexCoord2f = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glTexCoord2f"); + + disp__glTexCoord2i = (void (CALLBACK *)(GLint, GLint)) + GET_GL_PROCADDRESS ("glTexCoord2i"); + + disp__glTexCoord2s = (void (CALLBACK *)(GLshort, GLshort)) + GET_GL_PROCADDRESS ("glTexCoord2s"); + + disp__glTexCoord3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glTexCoord3d"); + + disp__glTexCoord3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glTexCoord3f"); + + disp__glTexCoord3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glTexCoord3i"); + + disp__glTexCoord3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glTexCoord3s"); + + disp__glTexCoord4d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glTexCoord4d"); + + disp__glTexCoord4f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glTexCoord4f"); + + disp__glTexCoord4i = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glTexCoord4i"); + + disp__glTexCoord4s = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glTexCoord4s"); + + disp__glTexCoord1dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glTexCoord1dv"); + + disp__glTexCoord1fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glTexCoord1fv"); + + disp__glTexCoord1iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glTexCoord1iv"); + + disp__glTexCoord1sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glTexCoord1sv"); + + disp__glTexCoord2dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glTexCoord2dv"); + + disp__glTexCoord2fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glTexCoord2fv"); + + disp__glTexCoord2iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glTexCoord2iv"); + + disp__glTexCoord2sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glTexCoord2sv"); + + disp__glTexCoord3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glTexCoord3dv"); + + disp__glTexCoord3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glTexCoord3fv"); + + disp__glTexCoord3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glTexCoord3iv"); + + disp__glTexCoord3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glTexCoord3sv"); + + disp__glTexCoord4dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glTexCoord4dv"); + + disp__glTexCoord4fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glTexCoord4fv"); + + disp__glTexCoord4iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glTexCoord4iv"); + + disp__glTexCoord4sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glTexCoord4sv"); + + disp__glRasterPos2d = (void (CALLBACK *)(GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRasterPos2d"); + + disp__glRasterPos2f = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRasterPos2f"); + + disp__glRasterPos2i = (void (CALLBACK *)(GLint, GLint)) + GET_GL_PROCADDRESS ("glRasterPos2i"); + + disp__glRasterPos2s = (void (CALLBACK *)(GLshort, GLshort)) + GET_GL_PROCADDRESS ("glRasterPos2s"); + + disp__glRasterPos3d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRasterPos3d"); + + disp__glRasterPos3f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRasterPos3f"); + + disp__glRasterPos3i = (void (CALLBACK *)(GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glRasterPos3i"); + + disp__glRasterPos3s = (void (CALLBACK *)(GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glRasterPos3s"); + + disp__glRasterPos4d = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRasterPos4d"); + + disp__glRasterPos4f = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRasterPos4f"); + + disp__glRasterPos4i = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glRasterPos4i"); + + disp__glRasterPos4s = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glRasterPos4s"); + + disp__glRasterPos2dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glRasterPos2dv"); + + disp__glRasterPos2fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glRasterPos2fv"); + + disp__glRasterPos2iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glRasterPos2iv"); + + disp__glRasterPos2sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glRasterPos2sv"); + + disp__glRasterPos3dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glRasterPos3dv"); + + disp__glRasterPos3fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glRasterPos3fv"); + + disp__glRasterPos3iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glRasterPos3iv"); + + disp__glRasterPos3sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glRasterPos3sv"); + + disp__glRasterPos4dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glRasterPos4dv"); + + disp__glRasterPos4fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glRasterPos4fv"); + + disp__glRasterPos4iv = (void (CALLBACK *)(const GLint *)) + GET_GL_PROCADDRESS ("glRasterPos4iv"); + + disp__glRasterPos4sv = (void (CALLBACK *)(const GLshort *)) + GET_GL_PROCADDRESS ("glRasterPos4sv"); + + disp__glRectd = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glRectd"); + + disp__glRectf = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glRectf"); + + disp__glRecti = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glRecti"); + + disp__glRects = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glRects"); + + disp__glRectdv = (void (CALLBACK *)(const GLdouble *, const GLdouble *)) + GET_GL_PROCADDRESS ("glRectdv"); + + disp__glRectfv = (void (CALLBACK *)(const GLfloat *, const GLfloat *)) + GET_GL_PROCADDRESS ("glRectfv"); + + disp__glRectiv = (void (CALLBACK *)(const GLint *, const GLint *)) + GET_GL_PROCADDRESS ("glRectiv"); + + disp__glRectsv = (void (CALLBACK *)(const GLshort *, const GLshort *)) + GET_GL_PROCADDRESS ("glRectsv"); + + disp__glVertexPointer = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glVertexPointer"); + + disp__glNormalPointer = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glNormalPointer"); + + disp__glColorPointer = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorPointer"); + + disp__glIndexPointer = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glIndexPointer"); + + disp__glTexCoordPointer = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexCoordPointer"); + + disp__glEdgeFlagPointer = (void (CALLBACK *)(GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glEdgeFlagPointer"); + + disp__glGetPointerv = (void (CALLBACK *)(GLenum, void **)) + GET_GL_PROCADDRESS ("glGetPointerv"); + + disp__glArrayElement = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glArrayElement"); + + disp__glDrawArrays = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glDrawArrays"); + + disp__glDrawElements = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glDrawElements"); + + disp__glInterleavedArrays = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glInterleavedArrays"); + + disp__glShadeModel = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glShadeModel"); + + disp__glLightf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glLightf"); + + disp__glLighti = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glLighti"); + + disp__glLightfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glLightfv"); + + disp__glLightiv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glLightiv"); + + disp__glGetLightfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetLightfv"); + + disp__glGetLightiv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetLightiv"); + + disp__glLightModelf = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glLightModelf"); + + disp__glLightModeli = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glLightModeli"); + + disp__glLightModelfv = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glLightModelfv"); + + disp__glLightModeliv = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glLightModeliv"); + + disp__glMaterialf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glMaterialf"); + + disp__glMateriali = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glMateriali"); + + disp__glMaterialfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMaterialfv"); + + disp__glMaterialiv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMaterialiv"); + + disp__glGetMaterialfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetMaterialfv"); + + disp__glGetMaterialiv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetMaterialiv"); + + disp__glColorMaterial = (void (CALLBACK *)(GLenum, GLenum)) + GET_GL_PROCADDRESS ("glColorMaterial"); + + disp__glPixelZoom = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glPixelZoom"); + + disp__glPixelStoref = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glPixelStoref"); + + disp__glPixelStorei = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glPixelStorei"); + + disp__glPixelTransferf = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glPixelTransferf"); + + disp__glPixelTransferi = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glPixelTransferi"); + + disp__glPixelMapfv = (void (CALLBACK *)(GLenum, GLint, const GLfloat *)) + GET_GL_PROCADDRESS ("glPixelMapfv"); + + disp__glPixelMapuiv = (void (CALLBACK *)(GLenum, GLint, const GLuint *)) + GET_GL_PROCADDRESS ("glPixelMapuiv"); + + disp__glPixelMapusv = (void (CALLBACK *)(GLenum, GLint, const GLushort *)) + GET_GL_PROCADDRESS ("glPixelMapusv"); + + disp__glGetPixelMapfv = (void (CALLBACK *)(GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetPixelMapfv"); + + disp__glGetPixelMapuiv = (void (CALLBACK *)(GLenum, GLuint *)) + GET_GL_PROCADDRESS ("glGetPixelMapuiv"); + + disp__glGetPixelMapusv = (void (CALLBACK *)(GLenum, GLushort *)) + GET_GL_PROCADDRESS ("glGetPixelMapusv"); + + disp__glBitmap = (void (CALLBACK *)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *)) + GET_GL_PROCADDRESS ("glBitmap"); + + disp__glReadPixels = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glReadPixels"); + + disp__glDrawPixels = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glDrawPixels"); + + disp__glCopyPixels = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum)) + GET_GL_PROCADDRESS ("glCopyPixels"); + + disp__glStencilFunc = (void (CALLBACK *)(GLenum, GLint, GLuint)) + GET_GL_PROCADDRESS ("glStencilFunc"); + + disp__glStencilMask = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glStencilMask"); + + disp__glStencilOp = (void (CALLBACK *)(GLenum, GLenum, GLenum)) + GET_GL_PROCADDRESS ("glStencilOp"); + + disp__glClearStencil = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glClearStencil"); + + disp__glTexGend = (void (CALLBACK *)(GLenum, GLenum, GLdouble)) + GET_GL_PROCADDRESS ("glTexGend"); + + disp__glTexGenf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glTexGenf"); + + disp__glTexGeni = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glTexGeni"); + + disp__glTexGendv = (void (CALLBACK *)(GLenum, GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glTexGendv"); + + disp__glTexGenfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glTexGenfv"); + + disp__glTexGeniv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glTexGeniv"); + + disp__glGetTexGendv = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("glGetTexGendv"); + + disp__glGetTexGenfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetTexGenfv"); + + disp__glGetTexGeniv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetTexGeniv"); + + disp__glTexEnvf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glTexEnvf"); + + disp__glTexEnvi = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glTexEnvi"); + + disp__glTexEnvfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glTexEnvfv"); + + disp__glTexEnviv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glTexEnviv"); + + disp__glGetTexEnvfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetTexEnvfv"); + + disp__glGetTexEnviv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetTexEnviv"); + + disp__glTexParameterf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glTexParameterf"); + + disp__glTexParameteri = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glTexParameteri"); + + disp__glTexParameterfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glTexParameterfv"); + + disp__glTexParameteriv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glTexParameteriv"); + + disp__glGetTexParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetTexParameterfv"); + + disp__glGetTexParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetTexParameteriv"); + + disp__glGetTexLevelParameterfv = (void (CALLBACK *)(GLenum, GLint, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetTexLevelParameterfv"); + + disp__glGetTexLevelParameteriv = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetTexLevelParameteriv"); + + disp__glTexImage1D = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexImage1D"); + + disp__glTexImage2D = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexImage2D"); + + disp__glGetTexImage = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetTexImage"); + + disp__glGenTextures = (void (CALLBACK *)(GLsizei, GLuint *)) + GET_GL_PROCADDRESS ("glGenTextures"); + + disp__glDeleteTextures = (void (CALLBACK *)(GLsizei, const GLuint *)) + GET_GL_PROCADDRESS ("glDeleteTextures"); + + disp__glBindTexture = (void (CALLBACK *)(GLenum, GLuint)) + GET_GL_PROCADDRESS ("glBindTexture"); + + disp__glPrioritizeTextures = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) + GET_GL_PROCADDRESS ("glPrioritizeTextures"); + + disp__glAreTexturesResident = (GLboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) + GET_GL_PROCADDRESS ("glAreTexturesResident"); + + disp__glIsTexture = (GLboolean (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glIsTexture"); + + disp__glTexSubImage1D = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexSubImage1D"); + + disp__glTexSubImage2D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexSubImage2D"); + + disp__glCopyTexImage1D = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) + GET_GL_PROCADDRESS ("glCopyTexImage1D"); + + disp__glCopyTexImage2D = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) + GET_GL_PROCADDRESS ("glCopyTexImage2D"); + + disp__glCopyTexSubImage1D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glCopyTexSubImage1D"); + + disp__glCopyTexSubImage2D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glCopyTexSubImage2D"); + + disp__glMap1d = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) + GET_GL_PROCADDRESS ("glMap1d"); + + disp__glMap1f = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) + GET_GL_PROCADDRESS ("glMap1f"); + + disp__glMap2d = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) + GET_GL_PROCADDRESS ("glMap2d"); + + disp__glMap2f = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) + GET_GL_PROCADDRESS ("glMap2f"); + + disp__glGetMapdv = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("glGetMapdv"); + + disp__glGetMapfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetMapfv"); + + disp__glGetMapiv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetMapiv"); + + disp__glEvalCoord1d = (void (CALLBACK *)(GLdouble)) + GET_GL_PROCADDRESS ("glEvalCoord1d"); + + disp__glEvalCoord1f = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glEvalCoord1f"); + + disp__glEvalCoord1dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glEvalCoord1dv"); + + disp__glEvalCoord1fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glEvalCoord1fv"); + + disp__glEvalCoord2d = (void (CALLBACK *)(GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glEvalCoord2d"); + + disp__glEvalCoord2f = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glEvalCoord2f"); + + disp__glEvalCoord2dv = (void (CALLBACK *)(const GLdouble *)) + GET_GL_PROCADDRESS ("glEvalCoord2dv"); + + disp__glEvalCoord2fv = (void (CALLBACK *)(const GLfloat *)) + GET_GL_PROCADDRESS ("glEvalCoord2fv"); + + disp__glMapGrid1d = (void (CALLBACK *)(GLint, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMapGrid1d"); + + disp__glMapGrid1f = (void (CALLBACK *)(GLint, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMapGrid1f"); + + disp__glMapGrid2d = (void (CALLBACK *)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMapGrid2d"); + + disp__glMapGrid2f = (void (CALLBACK *)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMapGrid2f"); + + disp__glEvalPoint1 = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glEvalPoint1"); + + disp__glEvalPoint2 = (void (CALLBACK *)(GLint, GLint)) + GET_GL_PROCADDRESS ("glEvalPoint2"); + + disp__glEvalMesh1 = (void (CALLBACK *)(GLenum, GLint, GLint)) + GET_GL_PROCADDRESS ("glEvalMesh1"); + + disp__glEvalMesh2 = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glEvalMesh2"); + + disp__glFogf = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glFogf"); + + disp__glFogi = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glFogi"); + + disp__glFogfv = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glFogfv"); + + disp__glFogiv = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glFogiv"); + + disp__glFeedbackBuffer = (void (CALLBACK *)(GLsizei, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glFeedbackBuffer"); + + disp__glPassThrough = (void (CALLBACK *)(GLfloat)) + GET_GL_PROCADDRESS ("glPassThrough"); + + disp__glSelectBuffer = (void (CALLBACK *)(GLsizei, GLuint *)) + GET_GL_PROCADDRESS ("glSelectBuffer"); + + disp__glInitNames = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glInitNames"); + + disp__glLoadName = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glLoadName"); + + disp__glPushName = (void (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glPushName"); + + disp__glPopName = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glPopName"); + + disp__glDrawRangeElements = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glDrawRangeElements"); + + disp__glTexImage3D = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexImage3D"); + + disp__glTexSubImage3D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexSubImage3D"); + + disp__glCopyTexSubImage3D = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glCopyTexSubImage3D"); + + disp__glColorTable = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorTable"); + + disp__glColorSubTable = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorSubTable"); + + disp__glColorTableParameteriv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glColorTableParameteriv"); + + disp__glColorTableParameterfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glColorTableParameterfv"); + + disp__glCopyColorSubTable = (void (CALLBACK *)(GLenum, GLsizei, GLint, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glCopyColorSubTable"); + + disp__glCopyColorTable = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glCopyColorTable"); + + disp__glGetColorTable = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetColorTable"); + + disp__glGetColorTableParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetColorTableParameterfv"); + + disp__glGetColorTableParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetColorTableParameteriv"); + + disp__glBlendEquation = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glBlendEquation"); + + disp__glBlendColor = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + GET_GL_PROCADDRESS ("glBlendColor"); + + disp__glHistogram = (void (CALLBACK *)(GLenum, GLsizei, GLenum, GLboolean)) + GET_GL_PROCADDRESS ("glHistogram"); + + disp__glResetHistogram = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glResetHistogram"); + + disp__glGetHistogram = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetHistogram"); + + disp__glGetHistogramParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetHistogramParameterfv"); + + disp__glGetHistogramParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetHistogramParameteriv"); + + disp__glMinmax = (void (CALLBACK *)(GLenum, GLenum, GLboolean)) + GET_GL_PROCADDRESS ("glMinmax"); + + disp__glResetMinmax = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glResetMinmax"); + + disp__glGetMinmax = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetMinmax"); + + disp__glGetMinmaxParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetMinmaxParameterfv"); + + disp__glGetMinmaxParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetMinmaxParameteriv"); + + disp__glConvolutionFilter1D = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glConvolutionFilter1D"); + + disp__glConvolutionFilter2D = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glConvolutionFilter2D"); + + disp__glConvolutionParameterf = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glConvolutionParameterf"); + + disp__glConvolutionParameterfv = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glConvolutionParameterfv"); + + disp__glConvolutionParameteri = (void (CALLBACK *)(GLenum, GLenum, GLint)) + GET_GL_PROCADDRESS ("glConvolutionParameteri"); + + disp__glConvolutionParameteriv = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glConvolutionParameteriv"); + + disp__glCopyConvolutionFilter1D = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glCopyConvolutionFilter1D"); + + disp__glCopyConvolutionFilter2D = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glCopyConvolutionFilter2D"); + + disp__glGetConvolutionFilter = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetConvolutionFilter"); + + disp__glGetConvolutionParameterfv = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetConvolutionParameterfv"); + + disp__glGetConvolutionParameteriv = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetConvolutionParameteriv"); + + disp__glSeparableFilter2D = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) + GET_GL_PROCADDRESS ("glSeparableFilter2D"); + + disp__glGetSeparableFilter = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) + GET_GL_PROCADDRESS ("glGetSeparableFilter"); + + disp__glBlendColorEXT = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) + GET_GL_PROCADDRESS ("glBlendColorEXT"); + + disp__glPolygonOffsetEXT = (void (CALLBACK *)(GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glPolygonOffsetEXT"); + + disp__glTexImage3DEXT = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexImage3DEXT"); + + disp__glTexSubImage3DEXT = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexSubImage3DEXT"); + + disp__glCopyTexSubImage3DEXT = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) + GET_GL_PROCADDRESS ("glCopyTexSubImage3DEXT"); + + disp__glGenTexturesEXT = (void (CALLBACK *)(GLsizei, GLuint *)) + GET_GL_PROCADDRESS ("glGenTexturesEXT"); + + disp__glDeleteTexturesEXT = (void (CALLBACK *)(GLsizei, const GLuint *)) + GET_GL_PROCADDRESS ("glDeleteTexturesEXT"); + + disp__glBindTextureEXT = (void (CALLBACK *)(GLenum, GLuint)) + GET_GL_PROCADDRESS ("glBindTextureEXT"); + + disp__glPrioritizeTexturesEXT = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) + GET_GL_PROCADDRESS ("glPrioritizeTexturesEXT"); + + disp__glAreTexturesResidentEXT = (GLboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) + GET_GL_PROCADDRESS ("glAreTexturesResidentEXT"); + + disp__glIsTextureEXT = (GLboolean (CALLBACK *)(GLuint)) + GET_GL_PROCADDRESS ("glIsTextureEXT"); + + disp__glVertexPointerEXT = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glVertexPointerEXT"); + + disp__glNormalPointerEXT = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glNormalPointerEXT"); + + disp__glColorPointerEXT = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorPointerEXT"); + + disp__glIndexPointerEXT = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glIndexPointerEXT"); + + disp__glTexCoordPointerEXT = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) + GET_GL_PROCADDRESS ("glTexCoordPointerEXT"); + + disp__glEdgeFlagPointerEXT = (void (CALLBACK *)(GLsizei, GLsizei, const GLboolean *)) + GET_GL_PROCADDRESS ("glEdgeFlagPointerEXT"); + + disp__glGetPointervEXT = (void (CALLBACK *)(GLenum, void **)) + GET_GL_PROCADDRESS ("glGetPointervEXT"); + + disp__glArrayElementEXT = (void (CALLBACK *)(GLint)) + GET_GL_PROCADDRESS ("glArrayElementEXT"); + + disp__glDrawArraysEXT = (void (CALLBACK *)(GLenum, GLint, GLsizei)) + GET_GL_PROCADDRESS ("glDrawArraysEXT"); + + disp__glBlendEquationEXT = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glBlendEquationEXT"); + + disp__glPointParameterfEXT = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glPointParameterfEXT"); + + disp__glPointParameterfvEXT = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glPointParameterfvEXT"); + + disp__glColorTableEXT = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorTableEXT"); + + disp__glColorSubTableEXT = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) + GET_GL_PROCADDRESS ("glColorSubTableEXT"); + + disp__glGetColorTableEXT = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) + GET_GL_PROCADDRESS ("glGetColorTableEXT"); + + disp__glGetColorTableParameterfvEXT = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("glGetColorTableParameterfvEXT"); + + disp__glGetColorTableParameterivEXT = (void (CALLBACK *)(GLenum, GLenum, GLint *)) + GET_GL_PROCADDRESS ("glGetColorTableParameterivEXT"); + + disp__glLockArraysEXT = (void (CALLBACK *)(GLint, GLsizei)) + GET_GL_PROCADDRESS ("glLockArraysEXT"); + + disp__glUnlockArraysEXT = (void (CALLBACK *)(void)) + GET_GL_PROCADDRESS ("glUnlockArraysEXT"); + + disp__glActiveTextureARB = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glActiveTextureARB"); + + disp__glClientActiveTextureARB = (void (CALLBACK *)(GLenum)) + GET_GL_PROCADDRESS ("glClientActiveTextureARB"); + + disp__glMultiTexCoord1dARB = (void (CALLBACK *)(GLenum, GLdouble)) + GET_GL_PROCADDRESS ("glMultiTexCoord1dARB"); + + disp__glMultiTexCoord1dvARB = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glMultiTexCoord1dvARB"); + + disp__glMultiTexCoord1fARB = (void (CALLBACK *)(GLenum, GLfloat)) + GET_GL_PROCADDRESS ("glMultiTexCoord1fARB"); + + disp__glMultiTexCoord1fvARB = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMultiTexCoord1fvARB"); + + disp__glMultiTexCoord1iARB = (void (CALLBACK *)(GLenum, GLint)) + GET_GL_PROCADDRESS ("glMultiTexCoord1iARB"); + + disp__glMultiTexCoord1ivARB = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMultiTexCoord1ivARB"); + + disp__glMultiTexCoord1sARB = (void (CALLBACK *)(GLenum, GLshort)) + GET_GL_PROCADDRESS ("glMultiTexCoord1sARB"); + + disp__glMultiTexCoord1svARB = (void (CALLBACK *)(GLenum, const GLshort *)) + GET_GL_PROCADDRESS ("glMultiTexCoord1svARB"); + + disp__glMultiTexCoord2dARB = (void (CALLBACK *)(GLenum, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMultiTexCoord2dARB"); + + disp__glMultiTexCoord2dvARB = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glMultiTexCoord2dvARB"); + + disp__glMultiTexCoord2fARB = (void (CALLBACK *)(GLenum, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMultiTexCoord2fARB"); + + disp__glMultiTexCoord2fvARB = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMultiTexCoord2fvARB"); + + disp__glMultiTexCoord2iARB = (void (CALLBACK *)(GLenum, GLint, GLint)) + GET_GL_PROCADDRESS ("glMultiTexCoord2iARB"); + + disp__glMultiTexCoord2ivARB = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMultiTexCoord2ivARB"); + + disp__glMultiTexCoord2sARB = (void (CALLBACK *)(GLenum, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glMultiTexCoord2sARB"); + + disp__glMultiTexCoord2svARB = (void (CALLBACK *)(GLenum, const GLshort *)) + GET_GL_PROCADDRESS ("glMultiTexCoord2svARB"); + + disp__glMultiTexCoord3dARB = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMultiTexCoord3dARB"); + + disp__glMultiTexCoord3dvARB = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glMultiTexCoord3dvARB"); + + disp__glMultiTexCoord3fARB = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMultiTexCoord3fARB"); + + disp__glMultiTexCoord3fvARB = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMultiTexCoord3fvARB"); + + disp__glMultiTexCoord3iARB = (void (CALLBACK *)(GLenum, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glMultiTexCoord3iARB"); + + disp__glMultiTexCoord3ivARB = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMultiTexCoord3ivARB"); + + disp__glMultiTexCoord3sARB = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glMultiTexCoord3sARB"); + + disp__glMultiTexCoord3svARB = (void (CALLBACK *)(GLenum, const GLshort *)) + GET_GL_PROCADDRESS ("glMultiTexCoord3svARB"); + + disp__glMultiTexCoord4dARB = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("glMultiTexCoord4dARB"); + + disp__glMultiTexCoord4dvARB = (void (CALLBACK *)(GLenum, const GLdouble *)) + GET_GL_PROCADDRESS ("glMultiTexCoord4dvARB"); + + disp__glMultiTexCoord4fARB = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) + GET_GL_PROCADDRESS ("glMultiTexCoord4fARB"); + + disp__glMultiTexCoord4fvARB = (void (CALLBACK *)(GLenum, const GLfloat *)) + GET_GL_PROCADDRESS ("glMultiTexCoord4fvARB"); + + disp__glMultiTexCoord4iARB = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) + GET_GL_PROCADDRESS ("glMultiTexCoord4iARB"); + + disp__glMultiTexCoord4ivARB = (void (CALLBACK *)(GLenum, const GLint *)) + GET_GL_PROCADDRESS ("glMultiTexCoord4ivARB"); + + disp__glMultiTexCoord4sARB = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort, GLshort)) + GET_GL_PROCADDRESS ("glMultiTexCoord4sARB"); + + disp__glMultiTexCoord4svARB = (void (CALLBACK *)(GLenum, const GLshort *)) + GET_GL_PROCADDRESS ("glMultiTexCoord4svARB"); + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/CNativeCode/gl-disp-var.h b/CNativeCode/gl-disp-var.h new file mode 100755 index 0000000..8ed3a45 --- /dev/null +++ b/CNativeCode/gl-disp-var.h @@ -0,0 +1,3511 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + + LIBAPI const GLubyte *(CALLBACK * disp__glGetString )( GLenum name ); +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + * <pre> + extern void glClearIndex ( GLfloat c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearIndex )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearColor )(GLclampf, GLclampf, GLclampf, GLclampf); + +/** + * Original Function-Prototype : + * <pre> + extern void glClear ( GLbitfield mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClear )(GLbitfield); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexMask ( GLuint mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexMask )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorMask )(GLboolean, GLboolean, GLboolean, GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glAlphaFunc ( GLenum func , GLclampf ref ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glAlphaFunc )(GLenum, GLclampf); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendFunc )(GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glLogicOp ( GLenum opcode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLogicOp )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glCullFace ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCullFace )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glFrontFace ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFrontFace )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glPointSize ( GLfloat size ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPointSize )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glLineWidth ( GLfloat width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLineWidth )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glLineStipple ( GLint factor , GLushort pattern ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLineStipple )(GLint, GLushort); + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonMode ( GLenum face , GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPolygonMode )(GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPolygonOffset )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonStipple ( const GLubyte * mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPolygonStipple )(const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPolygonStipple ( GLubyte * mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPolygonStipple )(GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlag ( GLboolean flag ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEdgeFlag )(GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagv ( const GLboolean * flag ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEdgeFlagv )(const GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glScissor )(GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClipPlane )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetClipPlane )(GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawBuffer ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawBuffer )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glReadBuffer ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glReadBuffer )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glEnable ( GLenum cap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEnable )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glDisable ( GLenum cap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDisable )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsEnabled ( GLenum cap ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glIsEnabled )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glEnableClientState ( GLenum cap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEnableClientState )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glDisableClientState ( GLenum cap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDisableClientState )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetBooleanv )(GLenum, GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetDoublev ( GLenum pname , GLdouble * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetDoublev )(GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetFloatv ( GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetFloatv )(GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetIntegerv ( GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetIntegerv )(GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glPushAttrib ( GLbitfield mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPushAttrib )(GLbitfield); + +/** + * Original Function-Prototype : + * <pre> + extern void glPopAttrib ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPopAttrib )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glPushClientAttrib ( GLbitfield mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPushClientAttrib )(GLbitfield); + +/** + * Original Function-Prototype : + * <pre> + extern void glPopClientAttrib ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPopClientAttrib )(void); + +/** + * Original Function-Prototype : + * <pre> + extern GLint glRenderMode ( GLenum mode ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__glRenderMode )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern GLenum glGetError ( void ) ; + * </pre> + */ + LIBAPI GLenum (CALLBACK * disp__glGetError )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glFinish ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFinish )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glFlush ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFlush )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glHint ( GLenum target , GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glHint )(GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glClearDepth ( GLclampd depth ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearDepth )(GLclampd); + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthFunc ( GLenum func ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDepthFunc )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthMask ( GLboolean flag ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDepthMask )(GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDepthRange )(GLclampd, GLclampd); + +/** + * Original Function-Prototype : + * <pre> + extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearAccum )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glAccum ( GLenum op , GLfloat value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glAccum )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMatrixMode ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMatrixMode )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glOrtho )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFrustum )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glViewport )(GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glPushMatrix ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPushMatrix )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glPopMatrix ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPopMatrix )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadIdentity ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLoadIdentity )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixd ( const GLdouble * m ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLoadMatrixd )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadMatrixf ( const GLfloat * m ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLoadMatrixf )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixd ( const GLdouble * m ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultMatrixd )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultMatrixf ( const GLfloat * m ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultMatrixf )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRotated )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRotatef )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glScaled )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glScalef )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTranslated )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTranslatef )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsList ( GLuint list ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glIsList )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteLists ( GLuint list , GLsizei range ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDeleteLists )(GLuint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern GLuint glGenLists ( GLsizei range ) ; + * </pre> + */ + LIBAPI GLuint (CALLBACK * disp__glGenLists )(GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glNewList ( GLuint list , GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNewList )(GLuint, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glEndList ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEndList )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glCallList ( GLuint list ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCallList )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCallLists )(GLsizei, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glListBase ( GLuint base ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glListBase )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glBegin ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBegin )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glEnd ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEnd )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2d )(GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2f )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2i ( GLint x , GLint y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2i )(GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2s ( GLshort x , GLshort y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2s )(GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4d )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4f )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4i )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4s )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex2sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex2sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertex4sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertex4sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3b )(GLbyte, GLbyte, GLbyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3bv ( const GLbyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3bv )(const GLbyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormal3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormal3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexd ( GLdouble c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexd )(GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexf ( GLfloat c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexf )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexi ( GLint c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexi )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexs ( GLshort c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexs )(GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexub ( GLubyte c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexub )(GLubyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexdv ( const GLdouble * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexdv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexfv ( const GLfloat * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexfv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexiv ( const GLint * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexiv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexsv ( const GLshort * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexsv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexubv ( const GLubyte * c ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexubv )(const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3b )(GLbyte, GLbyte, GLbyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3i ( GLint red , GLint green , GLint blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3ub )(GLubyte, GLubyte, GLubyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3ui )(GLuint, GLuint, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3us )(GLushort, GLushort, GLushort); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4b )(GLbyte, GLbyte, GLbyte, GLbyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4d )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4f )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4i )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4s )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4ub )(GLubyte, GLubyte, GLubyte, GLubyte); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4ui )(GLuint, GLuint, GLuint, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4us )(GLushort, GLushort, GLushort, GLushort); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3bv ( const GLbyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3bv )(const GLbyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3ubv ( const GLubyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3ubv )(const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3uiv ( const GLuint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3uiv )(const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor3usv ( const GLushort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor3usv )(const GLushort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4bv ( const GLbyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4bv )(const GLbyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4ubv ( const GLubyte * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4ubv )(const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4uiv ( const GLuint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4uiv )(const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColor4usv ( const GLushort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColor4usv )(const GLushort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1d ( GLdouble s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1d )(GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1f ( GLfloat s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1f )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1i ( GLint s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1i )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1s ( GLshort s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1s )(GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2d ( GLdouble s , GLdouble t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2d )(GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2f ( GLfloat s , GLfloat t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2f )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2i ( GLint s , GLint t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2i )(GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2s ( GLshort s , GLshort t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2s )(GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4d )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4f )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4i )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4s )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord1sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord1sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord2sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord2sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoord4sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoord4sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2d ( GLdouble x , GLdouble y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2d )(GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2f ( GLfloat x , GLfloat y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2f )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2i ( GLint x , GLint y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2i )(GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2s ( GLshort x , GLshort y ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2s )(GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3d )(GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3f )(GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3i )(GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3s )(GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4d )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4f )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4i )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4s )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos2sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos2sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos3sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos3sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4dv ( const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4fv ( const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4iv ( const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4iv )(const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRasterPos4sv ( const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRasterPos4sv )(const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectd )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectf )(GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRecti )(GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRects )(GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectdv )(const GLdouble *, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectfv )(const GLfloat *, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectiv )(const GLint *, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glRectsv )(const GLshort *, const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertexPointer )(GLint, GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormalPointer )(GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorPointer )(GLint, GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexPointer )(GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoordPointer )(GLint, GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEdgeFlagPointer )(GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointerv ( GLenum pname , void * * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPointerv )(GLenum, void **); + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElement ( GLint i ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glArrayElement )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawArrays )(GLenum, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawElements )(GLenum, GLsizei, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glInterleavedArrays )(GLenum, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glShadeModel ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glShadeModel )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glLighti ( GLenum light , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLighti )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightiv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetLightfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetLightiv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightModelf )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeli ( GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightModeli )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightModelfv )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLightModeliv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLightModeliv )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMaterialf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMateriali )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMaterialfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMaterialiv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMaterialfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMaterialiv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorMaterial ( GLenum face , GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorMaterial )(GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelZoom )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStoref ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelStoref )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelStorei ( GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelStorei )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelTransferf )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelTransferi ( GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelTransferi )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelMapfv )(GLenum, GLint, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelMapuiv )(GLenum, GLint, const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPixelMapusv )(GLenum, GLint, const GLushort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPixelMapfv )(GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPixelMapuiv )(GLenum, GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPixelMapusv )(GLenum, GLushort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBitmap )(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *); + +/** + * Original Function-Prototype : + * <pre> + extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glReadPixels )(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawPixels )(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyPixels )(GLint, GLint, GLsizei, GLsizei, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glStencilFunc )(GLenum, GLint, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilMask ( GLuint mask ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glStencilMask )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glStencilOp )(GLenum, GLenum, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glClearStencil ( GLint s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClearStencil )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGend )(GLenum, GLenum, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGenf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGeni )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGendv )(GLenum, GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGenfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexGeniv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexGendv )(GLenum, GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexGenfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexGeniv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexEnvf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexEnvi )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexEnvfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexEnviv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexEnvfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexEnviv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexParameterf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexParameteri )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexParameterfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexParameteriv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexLevelParameterfv )(GLenum, GLint, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexLevelParameteriv )(GLenum, GLint, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexImage1D )(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexImage2D )(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetTexImage )(GLenum, GLint, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTextures ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGenTextures )(GLsizei, GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDeleteTextures )(GLsizei, const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTexture ( GLenum target , GLuint texture ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBindTexture )(GLenum, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPrioritizeTextures )(GLsizei, const GLuint *, const GLclampf *); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glAreTexturesResident )(GLsizei, const GLuint *, GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTexture ( GLuint texture ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glIsTexture )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexSubImage1D )(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexSubImage2D )(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexImage1D )(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexImage2D )(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexSubImage1D )(GLenum, GLint, GLint, GLint, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexSubImage2D )(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMap1d )(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMap1f )(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMap2d )(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMap2f )(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMapdv )(GLenum, GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMapfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMapiv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1d ( GLdouble u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord1d )(GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1f ( GLfloat u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord1f )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1dv ( const GLdouble * u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord1dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord1fv ( const GLfloat * u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord1fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord2d )(GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord2f )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2dv ( const GLdouble * u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord2dv )(const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalCoord2fv ( const GLfloat * u ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalCoord2fv )(const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMapGrid1d )(GLint, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMapGrid1f )(GLint, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMapGrid2d )(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMapGrid2f )(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint1 ( GLint i ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalPoint1 )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalPoint2 ( GLint i , GLint j ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalPoint2 )(GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalMesh1 )(GLenum, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEvalMesh2 )(GLenum, GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glFogf ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFogf )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glFogi ( GLenum pname , GLint param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFogi )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glFogfv ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFogfv )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glFogiv ( GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFogiv )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glFeedbackBuffer )(GLsizei, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glPassThrough ( GLfloat token ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPassThrough )(GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glSelectBuffer )(GLsizei, GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glInitNames ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glInitNames )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glLoadName ( GLuint name ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLoadName )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPushName ( GLuint name ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPushName )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPopName ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPopName )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawRangeElements )(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexImage3D )(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexSubImage3D )(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexSubImage3D )(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorTable )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorSubTable )(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorTableParameteriv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorTableParameterfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyColorSubTable )(GLenum, GLsizei, GLint, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyColorTable )(GLenum, GLenum, GLint, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTable )(GLenum, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquation ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendEquation )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendColor )(GLclampf, GLclampf, GLclampf, GLclampf); + +/** + * Original Function-Prototype : + * <pre> + extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glHistogram )(GLenum, GLsizei, GLenum, GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glResetHistogram ( GLenum target ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glResetHistogram )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetHistogram )(GLenum, GLboolean, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetHistogramParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetHistogramParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMinmax )(GLenum, GLenum, GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void glResetMinmax ( GLenum target ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glResetMinmax )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMinmax )(GLenum, GLboolean, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMinmaxParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetMinmaxParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionFilter1D )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionFilter2D )(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionParameterf )(GLenum, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionParameterfv )(GLenum, GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionParameteri )(GLenum, GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glConvolutionParameteriv )(GLenum, GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyConvolutionFilter1D )(GLenum, GLenum, GLint, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyConvolutionFilter2D )(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetConvolutionFilter )(GLenum, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetConvolutionParameterfv )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetConvolutionParameteriv )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glSeparableFilter2D )(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetSeparableFilter )(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendColorEXT )(GLclampf, GLclampf, GLclampf, GLclampf); + +/** + * Original Function-Prototype : + * <pre> + extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPolygonOffsetEXT )(GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexImage3DEXT )(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLsizei width , GLsizei height , GLsizei depth , GLenum format , GLenum type , const GLvoid * pixels ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexSubImage3DEXT )(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glCopyTexSubImage3DEXT )(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGenTexturesEXT )(GLsizei, GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDeleteTexturesEXT )(GLsizei, const GLuint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glBindTextureEXT ( GLenum target , GLuint texture ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBindTextureEXT )(GLenum, GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPrioritizeTexturesEXT )(GLsizei, const GLuint *, const GLclampf *); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glAreTexturesResidentEXT )(GLsizei, const GLuint *, GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern GLboolean glIsTextureEXT ( GLuint texture ) ; + * </pre> + */ + LIBAPI GLboolean (CALLBACK * disp__glIsTextureEXT )(GLuint); + +/** + * Original Function-Prototype : + * <pre> + extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glVertexPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glNormalPointerEXT )(GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glIndexPointerEXT )(GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glTexCoordPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glEdgeFlagPointerEXT )(GLsizei, GLsizei, const GLboolean *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetPointervEXT ( GLenum pname , void * * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetPointervEXT )(GLenum, void **); + +/** + * Original Function-Prototype : + * <pre> + extern void glArrayElementEXT ( GLint i ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glArrayElementEXT )(GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glDrawArraysEXT )(GLenum, GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glBlendEquationEXT ( GLenum mode ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glBlendEquationEXT )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPointParameterfEXT )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glPointParameterfvEXT )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorTableEXT )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glColorSubTableEXT )(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableEXT )(GLenum, GLenum, GLenum, GLvoid *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableParameterfvEXT )(GLenum, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glGetColorTableParameterivEXT )(GLenum, GLenum, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glLockArraysEXT ( GLint first , GLsizei count ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glLockArraysEXT )(GLint, GLsizei); + +/** + * Original Function-Prototype : + * <pre> + extern void glUnlockArraysEXT ( void ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glUnlockArraysEXT )(void); + +/** + * Original Function-Prototype : + * <pre> + extern void glActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glActiveTextureARB )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glClientActiveTextureARB ( GLenum texture ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glClientActiveTextureARB )(GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1dARB )(GLenum, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1dvARB )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1fARB )(GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1fvARB )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1iARB )(GLenum, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1ivARB )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1sARB )(GLenum, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord1svARB )(GLenum, const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2dARB )(GLenum, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2dvARB )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2fARB )(GLenum, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2fvARB )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2iARB )(GLenum, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2ivARB )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2sARB )(GLenum, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord2svARB )(GLenum, const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3dARB )(GLenum, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3dvARB )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3fARB )(GLenum, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3fvARB )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3iARB )(GLenum, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3ivARB )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3sARB )(GLenum, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord3svARB )(GLenum, const GLshort *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4dARB )(GLenum, GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4dvARB )(GLenum, const GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4fARB )(GLenum, GLfloat, GLfloat, GLfloat, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4fvARB )(GLenum, const GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4iARB )(GLenum, GLint, GLint, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4ivARB )(GLenum, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4sARB )(GLenum, GLshort, GLshort, GLshort, GLshort); + +/** + * Original Function-Prototype : + * <pre> + extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__glMultiTexCoord4svARB )(GLenum, const GLshort *); + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/CNativeCode/gl-disp-var.hc b/CNativeCode/gl-disp-var.hc new file mode 100755 index 0000000..9b732fe --- /dev/null +++ b/CNativeCode/gl-disp-var.hc @@ -0,0 +1,889 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + + const GLubyte *(CALLBACK * disp__glGetString )( GLenum name ) = NULL; +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: gl-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + + void (CALLBACK * disp__glClearIndex )(GLfloat) = NULL; + + void (CALLBACK * disp__glClearColor )(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + void (CALLBACK * disp__glClear )(GLbitfield) = NULL; + + void (CALLBACK * disp__glIndexMask )(GLuint) = NULL; + + void (CALLBACK * disp__glColorMask )(GLboolean, GLboolean, GLboolean, GLboolean) = NULL; + + void (CALLBACK * disp__glAlphaFunc )(GLenum, GLclampf) = NULL; + + void (CALLBACK * disp__glBlendFunc )(GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glLogicOp )(GLenum) = NULL; + + void (CALLBACK * disp__glCullFace )(GLenum) = NULL; + + void (CALLBACK * disp__glFrontFace )(GLenum) = NULL; + + void (CALLBACK * disp__glPointSize )(GLfloat) = NULL; + + void (CALLBACK * disp__glLineWidth )(GLfloat) = NULL; + + void (CALLBACK * disp__glLineStipple )(GLint, GLushort) = NULL; + + void (CALLBACK * disp__glPolygonMode )(GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glPolygonOffset )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glPolygonStipple )(const GLubyte *) = NULL; + + void (CALLBACK * disp__glGetPolygonStipple )(GLubyte *) = NULL; + + void (CALLBACK * disp__glEdgeFlag )(GLboolean) = NULL; + + void (CALLBACK * disp__glEdgeFlagv )(const GLboolean *) = NULL; + + void (CALLBACK * disp__glScissor )(GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glClipPlane )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glGetClipPlane )(GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__glDrawBuffer )(GLenum) = NULL; + + void (CALLBACK * disp__glReadBuffer )(GLenum) = NULL; + + void (CALLBACK * disp__glEnable )(GLenum) = NULL; + + void (CALLBACK * disp__glDisable )(GLenum) = NULL; + + GLboolean (CALLBACK * disp__glIsEnabled )(GLenum) = NULL; + + void (CALLBACK * disp__glEnableClientState )(GLenum) = NULL; + + void (CALLBACK * disp__glDisableClientState )(GLenum) = NULL; + + void (CALLBACK * disp__glGetBooleanv )(GLenum, GLboolean *) = NULL; + + void (CALLBACK * disp__glGetDoublev )(GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__glGetFloatv )(GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetIntegerv )(GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glPushAttrib )(GLbitfield) = NULL; + + void (CALLBACK * disp__glPopAttrib )(void) = NULL; + + void (CALLBACK * disp__glPushClientAttrib )(GLbitfield) = NULL; + + void (CALLBACK * disp__glPopClientAttrib )(void) = NULL; + + GLint (CALLBACK * disp__glRenderMode )(GLenum) = NULL; + + GLenum (CALLBACK * disp__glGetError )(void) = NULL; + + void (CALLBACK * disp__glFinish )(void) = NULL; + + void (CALLBACK * disp__glFlush )(void) = NULL; + + void (CALLBACK * disp__glHint )(GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glClearDepth )(GLclampd) = NULL; + + void (CALLBACK * disp__glDepthFunc )(GLenum) = NULL; + + void (CALLBACK * disp__glDepthMask )(GLboolean) = NULL; + + void (CALLBACK * disp__glDepthRange )(GLclampd, GLclampd) = NULL; + + void (CALLBACK * disp__glClearAccum )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glAccum )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glMatrixMode )(GLenum) = NULL; + + void (CALLBACK * disp__glOrtho )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glFrustum )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glViewport )(GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glPushMatrix )(void) = NULL; + + void (CALLBACK * disp__glPopMatrix )(void) = NULL; + + void (CALLBACK * disp__glLoadIdentity )(void) = NULL; + + void (CALLBACK * disp__glLoadMatrixd )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glLoadMatrixf )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultMatrixd )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultMatrixf )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glRotated )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRotatef )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glScaled )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glScalef )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTranslated )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glTranslatef )(GLfloat, GLfloat, GLfloat) = NULL; + + GLboolean (CALLBACK * disp__glIsList )(GLuint) = NULL; + + void (CALLBACK * disp__glDeleteLists )(GLuint, GLsizei) = NULL; + + GLuint (CALLBACK * disp__glGenLists )(GLsizei) = NULL; + + void (CALLBACK * disp__glNewList )(GLuint, GLenum) = NULL; + + void (CALLBACK * disp__glEndList )(void) = NULL; + + void (CALLBACK * disp__glCallList )(GLuint) = NULL; + + void (CALLBACK * disp__glCallLists )(GLsizei, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glListBase )(GLuint) = NULL; + + void (CALLBACK * disp__glBegin )(GLenum) = NULL; + + void (CALLBACK * disp__glEnd )(void) = NULL; + + void (CALLBACK * disp__glVertex2d )(GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glVertex2f )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glVertex2i )(GLint, GLint) = NULL; + + void (CALLBACK * disp__glVertex2s )(GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glVertex3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glVertex3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glVertex3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glVertex3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glVertex4d )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glVertex4f )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glVertex4i )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glVertex4s )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glVertex2dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glVertex2fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glVertex2iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glVertex2sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glVertex3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glVertex3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glVertex3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glVertex3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glVertex4dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glVertex4fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glVertex4iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glVertex4sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glNormal3b )(GLbyte, GLbyte, GLbyte) = NULL; + + void (CALLBACK * disp__glNormal3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glNormal3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glNormal3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glNormal3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glNormal3bv )(const GLbyte *) = NULL; + + void (CALLBACK * disp__glNormal3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glNormal3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glNormal3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glNormal3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glIndexd )(GLdouble) = NULL; + + void (CALLBACK * disp__glIndexf )(GLfloat) = NULL; + + void (CALLBACK * disp__glIndexi )(GLint) = NULL; + + void (CALLBACK * disp__glIndexs )(GLshort) = NULL; + + void (CALLBACK * disp__glIndexub )(GLubyte) = NULL; + + void (CALLBACK * disp__glIndexdv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glIndexfv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glIndexiv )(const GLint *) = NULL; + + void (CALLBACK * disp__glIndexsv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glIndexubv )(const GLubyte *) = NULL; + + void (CALLBACK * disp__glColor3b )(GLbyte, GLbyte, GLbyte) = NULL; + + void (CALLBACK * disp__glColor3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glColor3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glColor3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glColor3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glColor3ub )(GLubyte, GLubyte, GLubyte) = NULL; + + void (CALLBACK * disp__glColor3ui )(GLuint, GLuint, GLuint) = NULL; + + void (CALLBACK * disp__glColor3us )(GLushort, GLushort, GLushort) = NULL; + + void (CALLBACK * disp__glColor4b )(GLbyte, GLbyte, GLbyte, GLbyte) = NULL; + + void (CALLBACK * disp__glColor4d )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glColor4f )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glColor4i )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glColor4s )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glColor4ub )(GLubyte, GLubyte, GLubyte, GLubyte) = NULL; + + void (CALLBACK * disp__glColor4ui )(GLuint, GLuint, GLuint, GLuint) = NULL; + + void (CALLBACK * disp__glColor4us )(GLushort, GLushort, GLushort, GLushort) = NULL; + + void (CALLBACK * disp__glColor3bv )(const GLbyte *) = NULL; + + void (CALLBACK * disp__glColor3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glColor3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glColor3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glColor3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glColor3ubv )(const GLubyte *) = NULL; + + void (CALLBACK * disp__glColor3uiv )(const GLuint *) = NULL; + + void (CALLBACK * disp__glColor3usv )(const GLushort *) = NULL; + + void (CALLBACK * disp__glColor4bv )(const GLbyte *) = NULL; + + void (CALLBACK * disp__glColor4dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glColor4fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glColor4iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glColor4sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glColor4ubv )(const GLubyte *) = NULL; + + void (CALLBACK * disp__glColor4uiv )(const GLuint *) = NULL; + + void (CALLBACK * disp__glColor4usv )(const GLushort *) = NULL; + + void (CALLBACK * disp__glTexCoord1d )(GLdouble) = NULL; + + void (CALLBACK * disp__glTexCoord1f )(GLfloat) = NULL; + + void (CALLBACK * disp__glTexCoord1i )(GLint) = NULL; + + void (CALLBACK * disp__glTexCoord1s )(GLshort) = NULL; + + void (CALLBACK * disp__glTexCoord2d )(GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glTexCoord2f )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTexCoord2i )(GLint, GLint) = NULL; + + void (CALLBACK * disp__glTexCoord2s )(GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glTexCoord3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glTexCoord3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTexCoord3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glTexCoord3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glTexCoord4d )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glTexCoord4f )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTexCoord4i )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glTexCoord4s )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glTexCoord1dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexCoord1fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexCoord1iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glTexCoord1sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glTexCoord2dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexCoord2fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexCoord2iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glTexCoord2sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glTexCoord3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexCoord3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexCoord3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glTexCoord3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glTexCoord4dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexCoord4fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexCoord4iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glTexCoord4sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glRasterPos2d )(GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRasterPos2f )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glRasterPos2i )(GLint, GLint) = NULL; + + void (CALLBACK * disp__glRasterPos2s )(GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glRasterPos3d )(GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRasterPos3f )(GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glRasterPos3i )(GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glRasterPos3s )(GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glRasterPos4d )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRasterPos4f )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glRasterPos4i )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glRasterPos4s )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glRasterPos2dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glRasterPos2fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glRasterPos2iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glRasterPos2sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glRasterPos3dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glRasterPos3fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glRasterPos3iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glRasterPos3sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glRasterPos4dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glRasterPos4fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glRasterPos4iv )(const GLint *) = NULL; + + void (CALLBACK * disp__glRasterPos4sv )(const GLshort *) = NULL; + + void (CALLBACK * disp__glRectd )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glRectf )(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glRecti )(GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glRects )(GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glRectdv )(const GLdouble *, const GLdouble *) = NULL; + + void (CALLBACK * disp__glRectfv )(const GLfloat *, const GLfloat *) = NULL; + + void (CALLBACK * disp__glRectiv )(const GLint *, const GLint *) = NULL; + + void (CALLBACK * disp__glRectsv )(const GLshort *, const GLshort *) = NULL; + + void (CALLBACK * disp__glVertexPointer )(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glNormalPointer )(GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorPointer )(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glIndexPointer )(GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexCoordPointer )(GLint, GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glEdgeFlagPointer )(GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glGetPointerv )(GLenum, void **) = NULL; + + void (CALLBACK * disp__glArrayElement )(GLint) = NULL; + + void (CALLBACK * disp__glDrawArrays )(GLenum, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glDrawElements )(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glInterleavedArrays )(GLenum, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glShadeModel )(GLenum) = NULL; + + void (CALLBACK * disp__glLightf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glLighti )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glLightfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glLightiv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetLightfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetLightiv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glLightModelf )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glLightModeli )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glLightModelfv )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glLightModeliv )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMaterialf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glMateriali )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glMaterialfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMaterialiv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetMaterialfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetMaterialiv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glColorMaterial )(GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glPixelZoom )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glPixelStoref )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glPixelStorei )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glPixelTransferf )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glPixelTransferi )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glPixelMapfv )(GLenum, GLint, const GLfloat *) = NULL; + + void (CALLBACK * disp__glPixelMapuiv )(GLenum, GLint, const GLuint *) = NULL; + + void (CALLBACK * disp__glPixelMapusv )(GLenum, GLint, const GLushort *) = NULL; + + void (CALLBACK * disp__glGetPixelMapfv )(GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetPixelMapuiv )(GLenum, GLuint *) = NULL; + + void (CALLBACK * disp__glGetPixelMapusv )(GLenum, GLushort *) = NULL; + + void (CALLBACK * disp__glBitmap )(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *) = NULL; + + void (CALLBACK * disp__glReadPixels )(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glDrawPixels )(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glCopyPixels )(GLint, GLint, GLsizei, GLsizei, GLenum) = NULL; + + void (CALLBACK * disp__glStencilFunc )(GLenum, GLint, GLuint) = NULL; + + void (CALLBACK * disp__glStencilMask )(GLuint) = NULL; + + void (CALLBACK * disp__glStencilOp )(GLenum, GLenum, GLenum) = NULL; + + void (CALLBACK * disp__glClearStencil )(GLint) = NULL; + + void (CALLBACK * disp__glTexGend )(GLenum, GLenum, GLdouble) = NULL; + + void (CALLBACK * disp__glTexGenf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glTexGeni )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glTexGendv )(GLenum, GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glTexGenfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexGeniv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetTexGendv )(GLenum, GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__glGetTexGenfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetTexGeniv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glTexEnvf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glTexEnvi )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glTexEnvfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexEnviv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetTexEnvfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetTexEnviv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glTexParameterf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glTexParameteri )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glTexParameterfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glTexParameteriv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glGetTexParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetTexParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glGetTexLevelParameterfv )(GLenum, GLint, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetTexLevelParameteriv )(GLenum, GLint, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glTexImage1D )(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexImage2D )(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glGetTexImage )(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGenTextures )(GLsizei, GLuint *) = NULL; + + void (CALLBACK * disp__glDeleteTextures )(GLsizei, const GLuint *) = NULL; + + void (CALLBACK * disp__glBindTexture )(GLenum, GLuint) = NULL; + + void (CALLBACK * disp__glPrioritizeTextures )(GLsizei, const GLuint *, const GLclampf *) = NULL; + + GLboolean (CALLBACK * disp__glAreTexturesResident )(GLsizei, const GLuint *, GLboolean *) = NULL; + + GLboolean (CALLBACK * disp__glIsTexture )(GLuint) = NULL; + + void (CALLBACK * disp__glTexSubImage1D )(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexSubImage2D )(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glCopyTexImage1D )(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint) = NULL; + + void (CALLBACK * disp__glCopyTexImage2D )(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint) = NULL; + + void (CALLBACK * disp__glCopyTexSubImage1D )(GLenum, GLint, GLint, GLint, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glCopyTexSubImage2D )(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glMap1d )(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMap1f )(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMap2d )(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMap2f )(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; + + void (CALLBACK * disp__glGetMapdv )(GLenum, GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__glGetMapfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetMapiv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glEvalCoord1d )(GLdouble) = NULL; + + void (CALLBACK * disp__glEvalCoord1f )(GLfloat) = NULL; + + void (CALLBACK * disp__glEvalCoord1dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glEvalCoord1fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glEvalCoord2d )(GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glEvalCoord2f )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glEvalCoord2dv )(const GLdouble *) = NULL; + + void (CALLBACK * disp__glEvalCoord2fv )(const GLfloat *) = NULL; + + void (CALLBACK * disp__glMapGrid1d )(GLint, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMapGrid1f )(GLint, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glMapGrid2d )(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMapGrid2f )(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glEvalPoint1 )(GLint) = NULL; + + void (CALLBACK * disp__glEvalPoint2 )(GLint, GLint) = NULL; + + void (CALLBACK * disp__glEvalMesh1 )(GLenum, GLint, GLint) = NULL; + + void (CALLBACK * disp__glEvalMesh2 )(GLenum, GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glFogf )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glFogi )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glFogfv )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glFogiv )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glFeedbackBuffer )(GLsizei, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glPassThrough )(GLfloat) = NULL; + + void (CALLBACK * disp__glSelectBuffer )(GLsizei, GLuint *) = NULL; + + void (CALLBACK * disp__glInitNames )(void) = NULL; + + void (CALLBACK * disp__glLoadName )(GLuint) = NULL; + + void (CALLBACK * disp__glPushName )(GLuint) = NULL; + + void (CALLBACK * disp__glPopName )(void) = NULL; + + void (CALLBACK * disp__glDrawRangeElements )(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexImage3D )(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexSubImage3D )(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glCopyTexSubImage3D )(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glColorTable )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorSubTable )(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorTableParameteriv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glColorTableParameterfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glCopyColorSubTable )(GLenum, GLsizei, GLint, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glCopyColorTable )(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glGetColorTable )(GLenum, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetColorTableParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetColorTableParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glBlendEquation )(GLenum) = NULL; + + void (CALLBACK * disp__glBlendColor )(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + void (CALLBACK * disp__glHistogram )(GLenum, GLsizei, GLenum, GLboolean) = NULL; + + void (CALLBACK * disp__glResetHistogram )(GLenum) = NULL; + + void (CALLBACK * disp__glGetHistogram )(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetHistogramParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetHistogramParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glMinmax )(GLenum, GLenum, GLboolean) = NULL; + + void (CALLBACK * disp__glResetMinmax )(GLenum) = NULL; + + void (CALLBACK * disp__glGetMinmax )(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetMinmaxParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetMinmaxParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glConvolutionFilter1D )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glConvolutionFilter2D )(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glConvolutionParameterf )(GLenum, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glConvolutionParameterfv )(GLenum, GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glConvolutionParameteri )(GLenum, GLenum, GLint) = NULL; + + void (CALLBACK * disp__glConvolutionParameteriv )(GLenum, GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glCopyConvolutionFilter1D )(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glCopyConvolutionFilter2D )(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glGetConvolutionFilter )(GLenum, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetConvolutionParameterfv )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetConvolutionParameteriv )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glSeparableFilter2D )(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; + + void (CALLBACK * disp__glGetSeparableFilter )(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; + + void (CALLBACK * disp__glBlendColorEXT )(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; + + void (CALLBACK * disp__glPolygonOffsetEXT )(GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glTexImage3DEXT )(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexSubImage3DEXT )(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glCopyTexSubImage3DEXT )(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; + + void (CALLBACK * disp__glGenTexturesEXT )(GLsizei, GLuint *) = NULL; + + void (CALLBACK * disp__glDeleteTexturesEXT )(GLsizei, const GLuint *) = NULL; + + void (CALLBACK * disp__glBindTextureEXT )(GLenum, GLuint) = NULL; + + void (CALLBACK * disp__glPrioritizeTexturesEXT )(GLsizei, const GLuint *, const GLclampf *) = NULL; + + GLboolean (CALLBACK * disp__glAreTexturesResidentEXT )(GLsizei, const GLuint *, GLboolean *) = NULL; + + GLboolean (CALLBACK * disp__glIsTextureEXT )(GLuint) = NULL; + + void (CALLBACK * disp__glVertexPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glNormalPointerEXT )(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glIndexPointerEXT )(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glTexCoordPointerEXT )(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; + + void (CALLBACK * disp__glEdgeFlagPointerEXT )(GLsizei, GLsizei, const GLboolean *) = NULL; + + void (CALLBACK * disp__glGetPointervEXT )(GLenum, void **) = NULL; + + void (CALLBACK * disp__glArrayElementEXT )(GLint) = NULL; + + void (CALLBACK * disp__glDrawArraysEXT )(GLenum, GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glBlendEquationEXT )(GLenum) = NULL; + + void (CALLBACK * disp__glPointParameterfEXT )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glPointParameterfvEXT )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glColorTableEXT )(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glColorSubTableEXT )(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; + + void (CALLBACK * disp__glGetColorTableEXT )(GLenum, GLenum, GLenum, GLvoid *) = NULL; + + void (CALLBACK * disp__glGetColorTableParameterfvEXT )(GLenum, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__glGetColorTableParameterivEXT )(GLenum, GLenum, GLint *) = NULL; + + void (CALLBACK * disp__glLockArraysEXT )(GLint, GLsizei) = NULL; + + void (CALLBACK * disp__glUnlockArraysEXT )(void) = NULL; + + void (CALLBACK * disp__glActiveTextureARB )(GLenum) = NULL; + + void (CALLBACK * disp__glClientActiveTextureARB )(GLenum) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1dARB )(GLenum, GLdouble) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1dvARB )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1fARB )(GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1fvARB )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1iARB )(GLenum, GLint) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1ivARB )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1sARB )(GLenum, GLshort) = NULL; + + void (CALLBACK * disp__glMultiTexCoord1svARB )(GLenum, const GLshort *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2dARB )(GLenum, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2dvARB )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2fARB )(GLenum, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2fvARB )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2iARB )(GLenum, GLint, GLint) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2ivARB )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2sARB )(GLenum, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glMultiTexCoord2svARB )(GLenum, const GLshort *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3dARB )(GLenum, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3dvARB )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3fARB )(GLenum, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3fvARB )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3iARB )(GLenum, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3ivARB )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3sARB )(GLenum, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glMultiTexCoord3svARB )(GLenum, const GLshort *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4dARB )(GLenum, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4dvARB )(GLenum, const GLdouble *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4fARB )(GLenum, GLfloat, GLfloat, GLfloat, GLfloat) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4fvARB )(GLenum, const GLfloat *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4iARB )(GLenum, GLint, GLint, GLint, GLint) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4ivARB )(GLenum, const GLint *) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4sARB )(GLenum, GLshort, GLshort, GLshort, GLshort) = NULL; + + void (CALLBACK * disp__glMultiTexCoord4svARB )(GLenum, const GLshort *) = NULL; + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/CNativeCode/glcaps.c b/CNativeCode/glcaps.c new file mode 100644 index 0000000..3f6c019 --- /dev/null +++ b/CNativeCode/glcaps.c @@ -0,0 +1,35 @@ +/** + * glcaps.c + * + * Copyright (C) 2001 Sven Goethel + * + * GNU Library General Public License + * as published by the Free Software Foundation + * + * http://www.gnu.org/copyleft/lgpl.html + * General dynamical loading OpenGL (GL/GLU) support for: + */ + +#include "gltool.h" + +void LIBAPIENTRY printGLCapabilities ( GLCapabilities *glCaps ) +{ + fprintf(stdout, "\t gl_supported: %d !\n", glCaps->gl_supported); + fprintf(stdout, "\t doubleBuff: %d, ", (int)glCaps->buffer); + fprintf(stdout, " rgba: %d, ", (int)glCaps->color); + fprintf(stdout, " stereo: %d, ", (int)glCaps->stereo); + fprintf(stdout, " depthSize: %d, ", (int)glCaps->depthBits); + fprintf(stdout, " stencilSize: %d !\n", (int)glCaps->stencilBits); + fprintf(stdout, "\t red: %d, ", (int)glCaps->redBits); + fprintf(stdout, " green: %d, ", (int)glCaps->greenBits); + fprintf(stdout, " blue: %d, ", (int)glCaps->blueBits); + fprintf(stdout, " alpha: %d !\n", (int)glCaps->alphaBits); + fprintf(stdout, "\t red accum: %d, ", (int)glCaps->accumRedBits); + fprintf(stdout, " green accum: %d, ", (int)glCaps->accumGreenBits); + fprintf(stdout, " blue accum: %d, ", (int)glCaps->accumBlueBits); + fprintf(stdout, " alpha accum: %d !\n", (int)glCaps->accumAlphaBits); + fprintf(stdout, "\t nativeVisualID: %ld !\n", (long)glCaps->nativeVisualID); + + fflush(stdout); +} + diff --git a/CNativeCode/glcaps.h b/CNativeCode/glcaps.h new file mode 100755 index 0000000..e8df37b --- /dev/null +++ b/CNativeCode/glcaps.h @@ -0,0 +1,57 @@ +#ifndef _GLCAPS_H + /** + * glcaps.h + * + * Copyright (C) 2001 Sven Goethel + * + * GNU Library General Public License + * as published by the Free Software Foundation + * + * http://www.gnu.org/copyleft/lgpl.html + * General dynamical loading OpenGL (GL/GLU) support for: + */ + + #define _GLCAPS_H + + #ifndef LIBAPIENTRY + #define LIBAPIENTRY + #endif + #ifndef LIBAPI + #define LIBAPI extern + #endif + + #define BUFFER_SINGLE 0 + #define BUFFER_DOUBLE 1 + + #define COLOR_INDEX 0 + #define COLOR_RGBA 1 + + #define STEREO_OFF 0 + #define STEREO_ON 1 + + typedef struct { + int buffer; + int color; + int stereo; + int depthBits; + int stencilBits; + + int redBits; + int greenBits; + int blueBits; + int alphaBits; + int accumRedBits; + int accumGreenBits; + int accumBlueBits; + int accumAlphaBits; + + /* internal use only */ + int gl_supported; + long nativeVisualID; + } GLCapabilities; + + /** + * prints the contents of the GLCapabilities to stdout ! + */ + LIBAPI void LIBAPIENTRY printGLCapabilities ( GLCapabilities *glCaps ); +#endif diff --git a/CNativeCode/gltool.c b/CNativeCode/gltool.c new file mode 100755 index 0000000..9f40d0e --- /dev/null +++ b/CNativeCode/gltool.c @@ -0,0 +1,612 @@ +/** + * gltool.c + * + * Copyright (C) 2001 Sven Goethel + * + * GNU Library General Public License + * as published by the Free Software Foundation + * + * http://www.gnu.org/copyleft/lgpl.html + * General dynamical loading OpenGL (GL/GLU) support for: + * + * + * <OS - System> <#define> commentary + * ----------------------------------------------- + * GNU/Linux, Unices/X11 _X11_ (loads glx also) + * Macinstosh OS9 _MAC_OS9_ + * Macinstosh OSX _MAC_OSX_ + * Win32 _WIN32_ + * + */ + +#include "gltool.h" + +#include "gl-disp-var.hc" +#include "glu-disp-var.hc" + +#ifdef _X11_ + #include "glxtool.h" +#endif +
+#ifdef _WIN32_
+ #include "wgltool.h"
+#endif
+ +static int _glLibsLoaded = 0; + +#ifdef _WIN32_ + static HMODULE hDLL_OPENGL32 = 0; + static HMODULE hDLL_OPENGLU32 = 0; +#endif + +#ifdef _X11_ + static void *libHandleGLX=0; + static void *libHandleGL=0; + static void *libHandleGLU=0; +#endif + +#ifdef _MAC_OS9_ + Ptr glLibMainAddr = 0; + CFragConnectionID glLibConnectId = 0; +#endif + +static int gl_begin_ctr; + +const char * GLTOOL_USE_GLLIB = "GLTOOL_USE_GLLIB"; +const char * GLTOOL_USE_GLULIB = "GLTOOL_USE_GLULIB"; + +void LIBAPIENTRY print_gl_error (const char *msg, const char *file, int line, GLenum errorcode) +{ + if (errorcode != GL_NO_ERROR) + { + const char *errstr = (const char *) disp__gluErrorString (errorcode); + if (errstr != 0) + fprintf (stderr, "\n\n****\n**%s %s:%d>0x%X %s\n****\n", msg, file, line, errorcode, errstr); + else + fprintf (stderr, "\n\n****\n**%s %s:%d>0x%X <unknown>\n****\n", msg, file, line, errorcode); + } +} + +#ifdef _WIN32_ +void LIBAPIENTRY check_wgl_error (HWND wnd, const char *file, int line) +{ + LPVOID lpMsgBuf; + + FormatMessage (FORMAT_MESSAGE_ALLOCATE_BUFFER | FORMAT_MESSAGE_FROM_SYSTEM, + 0, GetLastError (), MAKELANGID (LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language + (LPTSTR) & lpMsgBuf, 0, 0); // Display the string. + + fprintf (stderr, "\n\n****\n** %s:%d>%s\n****\n", file, line, lpMsgBuf); + + // Free the buffer. + LocalFree (lpMsgBuf); +} +#endif + +void LIBAPIENTRY check_gl_error (const char *file, int line) +{
+ print_gl_error("GLCHECK", file, line, disp__glGetError());
+} + +void LIBAPIENTRY __sglBegin(const char * file, int line, GLenum mode) +{ + print_gl_error("GL-PreBEGIN-CHECK", file, line, disp__glGetError()); + + if(gl_begin_ctr!=0) + { + printf("\n\n****\n** GL-BEGIN-ERROR %s:%d> glBegin was called %d times (reset now)\n****\n", + file, line, gl_begin_ctr); + gl_begin_ctr=0; + } else + gl_begin_ctr++; + + disp__glBegin(mode); +} + +void LIBAPIENTRY __sglEnd(const char * file, int line) +{ + if(gl_begin_ctr!=1) + { + printf("\n\n****\n** GL-END-ERROR %s:%d> glBegin was called %d times (reset now)\n****\n", + file, line, gl_begin_ctr); + gl_begin_ctr=1; + } else + gl_begin_ctr--; + + disp__glEnd(); + + print_gl_error("GL-PostEND-CHECK", file, line, disp__glGetError()); +} + +/** + * call this function only if you + * are not within a glBegin/glEnd block, + * or you think your are not ;-) + */ +void LIBAPIENTRY checkGlBeginEndBalance(const char *file, int line) +{ + if(gl_begin_ctr!=0) + { + printf("\n****\n** GL-BeginEnd-ERROR %s:%d> glBegin was called %d times\n****\n", + file, line, gl_begin_ctr); + } + print_gl_error("GL-BeginEnd-CHECK", file, line, disp__glGetError()); +} + +void LIBAPIENTRY showGlBeginEndBalance(const char *file, int line) +{ + printf("\n****\n** GL-BeginEnd %s:%d> glBegin was called %d times\n****\n", + file, line, gl_begin_ctr); +} + +int LIBAPIENTRY unloadGLLibrary () +{ +#ifdef _WIN32_ + if(hDLL_OPENGL32!=NULL) + { + FreeLibrary(hDLL_OPENGL32); + hDLL_OPENGL32=NULL; + } + if(hDLL_OPENGLU32!=NULL) + { + FreeLibrary(hDLL_OPENGLU32); + hDLL_OPENGLU32=NULL; + } +#endif + +#ifdef _X11_ + if(libHandleGL!=NULL) + { + dlclose (libHandleGL); + libHandleGL = NULL; + } + if(libHandleGLU!=NULL) + { + dlclose (libHandleGLU); + libHandleGLU = NULL; + } + if(libHandleGLX!=NULL) + { + dlclose (libHandleGLX); + libHandleGLX = NULL; + } +#endif + +#ifdef _MAC_OS9_ + if (glLibConnectId!=NULL) + { + (void) CloseConnection(&glLibConnectId); + glLibConnectId=0; + } + glLibMainAddr = 0; +#endif + + _glLibsLoaded = 0; + return 1; + +} + +int LIBAPIENTRY loadGLLibrary (const char * libGLName, const char * libGLUName) +{ + const char *envGLName = NULL; + const char *envGLUName = NULL; +#ifdef _MAC_OS9_ + Str255 errName; + OSErr returnError=fragNoErr; +#endif + + if(_glLibsLoaded) return 1; + + envGLName = getenv(GLTOOL_USE_GLLIB); + envGLUName = getenv(GLTOOL_USE_GLULIB); + + if(envGLName!=NULL) + { + libGLName = envGLName; + printf("GLTOOL: using env's GLTOOL_USE_GLLIB = %s\n", libGLName); + } + + if(envGLUName!=NULL) + { + libGLUName = envGLUName; + printf("GLTOOL: using env's GLTOOL_USE_GLULIB = %s\n", libGLUName); + } + +#ifdef _WIN32_ + if(hDLL_OPENGL32!=NULL) return 1; + + hDLL_OPENGL32 = LoadLibrary (libGLName); + hDLL_OPENGLU32 = LoadLibrary (libGLUName); + + if (hDLL_OPENGL32 == NULL) + { + printf ("GLERROR: cannot access OpenGL library %s\n", libGLName); + fflush (NULL); + return 0; + } + + if (hDLL_OPENGLU32 == NULL) + { + printf ("GLERROR: cannot access GLU library %s\n", libGLUName); + fflush (NULL); + return 0; + } + +#endif + +#ifdef _X11_ + if(libHandleGL!=NULL) return 1; + + libHandleGL = dlopen (libGLName, RTLD_LAZY | RTLD_GLOBAL); + if (libHandleGL == NULL) + { + printf ("GLERROR: cannot access OpenGL library %s\n", libGLName); + fflush (NULL); + return 0; + } + + libHandleGLU = dlopen (libGLUName, RTLD_LAZY | RTLD_GLOBAL); + if (libHandleGLU == NULL) + { + printf ("GLERROR: cannot access GLU library %s\n", libGLUName); + fflush (NULL); + return 0; + } + + libHandleGLX = dlopen ("libglx.so", RTLD_LAZY | RTLD_GLOBAL); + if (libHandleGLX == NULL) + { + printf ("GLINFO: cannot access GLX library libglx.so directly ...\n"); + fflush (NULL); + } + +#endif + +#ifdef _MAC_OS9_ + returnError = + GetSharedLibrary("\pOpenGLLibrary", + kPowerPCCFragArch, + kReferenceCFrag, + &glLibConnectId, + &glLibMainAddr, + errName); + + if (returnError != fragNoErr) + { + printf ("GetSharedLibrary Err(%d): Ahhh! Didn't find LIBRARY !\n", + returnError); + return 0; + } +#endif + +#ifdef _MAC_OSX_ + printf ("GLINFO: loadGLLibrary - no special code implemented !\n"); +#else + printf ("GLINFO: loaded OpenGL library %s!\n", libGLName); + printf ("GLINFO: loaded GLU library %s!\n", libGLUName); +#endif + fflush (NULL); + + _glLibsLoaded = 1; + + return 1; +} + +void * LIBAPIENTRY getGLProcAddressHelper + (const char * libGLName, const char * libGLUName, + const char *func, int *method, int debug, int verbose) +{ + void * funcPtr = NULL; + int lmethod; + +#ifdef _WIN32_ + static int __firstAccess = 1; + + if(!loadGLLibrary (libGLName, libGLUName)) + return NULL; +
+ if (disp__wglGetProcAddress == NULL && __firstAccess) + { + disp__wglGetProcAddress = ( PROC (CALLBACK *)(LPCSTR) ) + GetProcAddress (hDLL_OPENGL32, "wglGetProcAddress"); + + if (disp__wglGetProcAddress != NULL /* && verbose */) + { + printf ("GLINFO: found wglGetProcAddress in %s\n", libGLName); + fflush (NULL); + } + + if (disp__wglGetProcAddress == NULL) + { + printf ("GLINFO: can't find wglGetProcAddress in %s\n", libGLName); + } + } + __firstAccess = 0; + + if (disp__wglGetProcAddress != NULL) + funcPtr = disp__wglGetProcAddress (func); + + if (funcPtr == NULL) + { + lmethod = 2; + + funcPtr = GetProcAddress (hDLL_OPENGL32, func); + } + else + lmethod = 1; + + if (funcPtr == NULL) + { + lmethod = 3; + + funcPtr = GetProcAddress (hDLL_OPENGLU32, func); + } + +#endif + +#ifdef _X11_ + /* + * void (*glXGetProcAddressARB(const GLubyte *procName)) + */ + static int __firstAccess = 1; + + if(!loadGLLibrary (libGLName, libGLUName)) + return NULL; + + if (disp__glXGetProcAddress == NULL && __firstAccess) + { + disp__glXGetProcAddress = dlsym (libHandleGL, "glXGetProcAddressARB"); + + if (disp__glXGetProcAddress != NULL && verbose) + { + printf ("GLINFO: found glXGetProcAddressARB in %s\n", libGLName); + fflush (NULL); + } + + if (disp__glXGetProcAddress == NULL) + { + disp__glXGetProcAddress = dlsym (libHandleGL, "glXGetProcAddressEXT"); + + if (disp__glXGetProcAddress != NULL && verbose) + { + printf ("GLINFO: found glXGetProcAddressEXT in %s\n", libGLName); + fflush (NULL); + } + } + + if (disp__glXGetProcAddress == NULL) + { + disp__glXGetProcAddress = dlsym (libHandleGL, "glXGetProcAddress"); + + if (disp__glXGetProcAddress != NULL && verbose) + { + printf ("GLINFO: found glXGetProcAddress in %s\n", libGLName); + fflush (NULL); + } + } + + if (disp__glXGetProcAddress == NULL) + { + printf + ("GLINFO: cannot find glXGetProcAddress* in OpenGL library %s\n", libGLName); + fflush (NULL); + if (libHandleGLX != NULL) + { + disp__glXGetProcAddress = dlsym (libHandleGLX, "glXGetProcAddressARB"); + + if (disp__glXGetProcAddress != NULL && verbose) + { + printf ("GLINFO: found glXGetProcAddressARB in libglx.so\n"); + fflush (NULL); + } + + if (disp__glXGetProcAddress == NULL) + { + disp__glXGetProcAddress = dlsym (libHandleGLX, "glXGetProcAddressEXT"); + + if (disp__glXGetProcAddress != NULL && verbose) + { + printf ("GLINFO: found glXGetProcAddressEXT in libglx.so\n"); + fflush (NULL); + } + } + + if (disp__glXGetProcAddress == NULL) + { + disp__glXGetProcAddress = dlsym (libHandleGLX, "glXGetProcAddress"); + + if (disp__glXGetProcAddress != NULL && verbose) + { + printf ("GLINFO: found glXGetProcAddress in libglx.so\n"); + fflush (NULL); + } + } + if (disp__glXGetProcAddress == NULL) + { + printf ("GLINFO: cannot find glXGetProcAddress* in GLX library libglx.so\n"); + fflush (NULL); + } + } + } + } + __firstAccess = 0; + + if (disp__glXGetProcAddress != NULL) + funcPtr = disp__glXGetProcAddress (func); + + if (funcPtr == NULL) + { + lmethod = 2; + funcPtr = dlsym (libHandleGL, func); + } + else + lmethod = 1; + + if (funcPtr == NULL) + { + lmethod = 3; + funcPtr = dlsym (libHandleGLU, func); + } +#endif + +#ifdef _MAC_OS9_ + Str255 errName; + Str255 funcName; + CFragSymbolClass glLibSymClass = 0; + OSErr returnError=fragNoErr; + #ifndef NDEBUG + static int firstTime = 1; + #endif + + if(!loadGLLibrary (libGLName, libGLUName)) + return NULL; + + c2pstrcpy ( funcName, func ); + + #ifndef NDEBUG + if(firstTime) + { + PrintSymbolNamesByConnection (glLibConnectId); + firstTime=0; + } + funcPtr = (void *) + SeekSymbolNamesByConnection (glLibConnectId, funcName); + #endif + + if(funcPtr==NULL) + { + returnError = + FindSymbol (glLibConnectId, funcName, + &funcPtr, & glLibSymClass ); + lmethod=2; + } + #ifndef NDEBUG + else lmethod=3; + #endif + + if (returnError != fragNoErr) + { + printf ("GetSharedLibrary Err(%d): Ahhh! Didn't find SYMBOL: %s !\n", + returnError, func); + } +#endif + +#ifdef _MAC_OSX_ + char underscoreName[256]; + strcpy(underscoreName, "_"); + strcat(underscoreName, func); + + if ( NSIsSymbolNameDefined(underscoreName) ) { + NSSymbol sym = NSLookupAndBindSymbol(underscoreName); + funcPtr = (void *)NSAddressOfSymbol(sym); + } + +#endif + + if (funcPtr == NULL) + { + if (debug || verbose) + { + printf ("GLINFO: %s (%d): not implemented !\n", func, lmethod); + fflush (NULL); + } + } + else if (verbose) + { + printf ("GLINFO: %s (%d): loaded !\n", func, lmethod); + fflush (NULL); + } + if (method != NULL) + *method = lmethod; + return funcPtr; +} + + +void LIBAPIENTRY fetch_GL_FUNCS (const char * libGLName, + const char * libGLUName, int force) +{ + static int _firstRun = 1; + + if(force) + { + unloadGLLibrary(); + _firstRun = 1; + } + + if(!_firstRun) + return; + + if(!loadGLLibrary (libGLName, libGLUName)) + return; + + #define GET_GL_PROCADDRESS(a) getGLProcAddressHelper (libGLName, libGLUName, (a), NULL, 1, 0); + + #include "gl-disp-fetch.hc" + #include "glu-disp-fetch.hc" + + _firstRun=0; + +#ifdef _X11_ + fetch_GLX_FUNCS (libGLName, libGLUName, force); +#endif
+
+#ifdef _WIN32_
+ fetch_WGL_FUNCS (libGLName, libGLUName, force);
+#endif
+ +} + +#ifdef _MAC_OS9_ + +#ifndef NDEBUG + +static void PrintSymbolNamesByConnection (CFragConnectionID myConnID) +{ + long myIndex; + long myCount; /*number of exported symbols in fragment*/ + OSErr myErr; + Str255 myName; /*symbol name*/ + Ptr myAddr; /*symbol address*/ + CFragSymbolClass myClass; /*symbol class*/ + static char buffer[256]; + + myErr = CountSymbols(myConnID, &myCount); + if (!myErr) + for (myIndex = 1; myIndex <= myCount; myIndex++) + { + myErr = GetIndSymbol(myConnID, myIndex, myName, + &myAddr, &myClass); + if (!myErr) + { + p2cstrcpy (buffer, myName); + + printf("%d/%d: class %d - name %s\n", + myIndex, myCount, myClass, buffer); + } + } +} + +static Ptr SeekSymbolNamesByConnection (CFragConnectionID myConnID, Str255 name) +{ + long myIndex; + long myCount; /*number of exported symbols in fragment*/ + OSErr myErr; + Str255 myName; /*symbol name*/ + Ptr myAddr; /*symbol address*/ + CFragSymbolClass myClass; /*symbol class*/ + + myErr = CountSymbols(myConnID, &myCount); + if (!myErr) + for (myIndex = 1; myIndex <= myCount; myIndex++) + { + myErr = GetIndSymbol(myConnID, myIndex, myName, + &myAddr, &myClass); + if (!myErr && EqualString (myName, name, true, true) == true ) + return myAddr; + } +} + +#endif /* ifndef NDEBUG */ + +#endif /* ifdef _MAC_OS9_ */ + diff --git a/CNativeCode/gltool.h b/CNativeCode/gltool.h new file mode 100755 index 0000000..2f1358b --- /dev/null +++ b/CNativeCode/gltool.h @@ -0,0 +1,160 @@ +#ifndef _GLTOOL_H + #define _GLTOOL_H + + /** + * gltool.h + * + * Copyright (C) 2001 Sven Goethel + * + * GNU Library General Public License + * as published by the Free Software Foundation + * + * http://www.gnu.org/copyleft/lgpl.html + * General dynamical loading OpenGL (GL/GLU) support for: + * + * + * <OS - System> <#define> commentary + * ----------------------------------------------- + * GNU/Linux, Unices/X11 _X11_ (loads glx also) + * Macinstosh OS9 _MAC_OS9_ + * Macinstosh OSX _MAC_OSX_ + * Win32 _WIN32_ + * + */ + + #include <stdio.h> + #include <stdlib.h> + #include <stdarg.h> + #include <string.h> + + #ifdef _WIN32_ + #include <windows.h>
+ + #ifdef LIBAPIENTRY + #undef LIBAPIENTRY + #endif + #ifdef LIBAPI + #undef LIBAPI + #endif + + #define LIBAPI __declspec(dllexport) + #define LIBAPIENTRY __stdcall + #else + #include <ctype.h> + #include <math.h> + #define CALLBACK + #endif + + #ifdef _X11_ + #include <dlfcn.h> + #include <X11/Xlib.h> + #include <X11/Xutil.h> + #include <X11/Xatom.h> + #include <GL/glx.h> + #endif + + #ifdef _MAC_OS9_ + #include <agl.h> + #include <CodeFragments.h> + #include <Errors.h> + #include <TextUtils.h> + #include <StringCompare.h> + + #define fragNoErr 0 + #endif + + #include <GL/gl.h> + #include <GL/glu.h> + + #ifndef LIBAPIENTRY + #define LIBAPIENTRY + #endif + #ifndef LIBAPI + #define LIBAPI extern + #endif + + LIBAPI const char * GLTOOL_USE_GLLIB ; + LIBAPI const char * GLTOOL_USE_GLULIB ; + + #include "glcaps.h" + + #include "gl-disp-var.h" + #include "glu-disp-var.h" + + #ifndef GLDEBUG
+ #ifndef NDEBUG + #define NDEBUG + #endif
+ #else
+ #ifdef NDEBUG
+ #undef NDEBUG
+ #endif
+ #endif + + #ifndef USE_64BIT_POINTER + typedef int PointerHolder; + #else + typedef long PointerHolder; + #endif + + #ifdef _WIN32_ + #ifndef NDEBUG + #define CHECK_WGL_ERROR(a,b,c) check_wgl_error(a,b,c) + #else + #define CHECK_WGL_ERROR(a,b,c) + #endif + #else + #define CHECK_WGL_ERROR(a,b,c) + #endif + + #ifndef NDEBUG + #define PRINT_GL_ERROR(a, b) print_gl_error((a), __FILE__, __LINE__, (b)) + #define CHECK_GL_ERROR() check_gl_error(__FILE__,__LINE__) + #define GL_BEGIN(m) __sglBegin(__FILE__, __LINE__, (m)) + #define GL_END() __sglEnd (__FILE__, __LINE__) + #define SHOW_GL_BEGINEND() showGlBeginEndBalance(__FILE__, __LINE__) + #define CHECK_GL_BEGINEND() checkGlBeginEndBalance(__FILE__, __LINE__) + #else + #define PRINT_GL_ERROR(a, b) + #define CHECK_GL_ERROR() + #define GL_BEGIN(m) disp__glBegin(m) + #define GL_END() disp__glEnd () + #define SHOW_GL_BEGINEND() + #define CHECK_GL_BEGINEND() + #endif + + #ifdef _WIN32_ + LIBAPI void LIBAPIENTRY check_wgl_error + (HWND wnd, const char *file, int line); + #endif + + LIBAPI void LIBAPIENTRY print_gl_error
+ (const char *msg, const char *file, int line, GLenum errorcode);
+ + LIBAPI void LIBAPIENTRY check_gl_error + (const char *file, int line); + + LIBAPI void LIBAPIENTRY showGlBeginEndBalance + (const char *file, int line); + + LIBAPI void LIBAPIENTRY checkGlBeginEndBalance + (const char *file, int line); + + LIBAPI void LIBAPIENTRY __sglBegin + (const char * file, int line, GLenum mode); + + LIBAPI void LIBAPIENTRY __sglEnd + (const char * file, int line); + + LIBAPI int LIBAPIENTRY unloadGLLibrary (void); + + LIBAPI int LIBAPIENTRY loadGLLibrary + (const char * libGLName, const char * libGLUName); + + LIBAPI void * LIBAPIENTRY getGLProcAddressHelper + (const char * libGLName, const char * libGLUName, + const char *func, int *method, int debug, int verbose); + + LIBAPI void LIBAPIENTRY fetch_GL_FUNCS + (const char * libGLName, const char * libGLUName, int force); +#endif diff --git a/CNativeCode/glu-disp-fetch.hc b/CNativeCode/glu-disp-fetch.hc new file mode 100755 index 0000000..336c1f9 --- /dev/null +++ b/CNativeCode/glu-disp-fetch.hc @@ -0,0 +1,168 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + + disp__gluGetString = (const GLubyte *(CALLBACK *)( GLenum)) + GET_GL_PROCADDRESS ("gluGetString"); + + + disp__gluErrorString = ( const GLubyte * (CALLBACK *) ( GLenum) ) + GET_GL_PROCADDRESS("gluErrorString"); + + disp__gluQuadricCallback= ( void (CALLBACK *) ( GLUquadricObj*, GLenum, GLvoid (CALLBACK *)()) ) + GET_GL_PROCADDRESS("gluQuadricCallback"); + + disp__gluNurbsCallback= ( void (CALLBACK *) ( GLUnurbsObj*, GLenum, GLvoid (CALLBACK *)()) ) + GET_GL_PROCADDRESS("gluNurbsCallback"); + + disp__gluTessCallback= ( void (CALLBACK *) ( GLUtesselator*, GLenum, GLvoid (CALLBACK *)()) ) + GET_GL_PROCADDRESS("gluTessCallback"); + + disp__gluDeleteQuadric= ( void (CALLBACK *) ( GLUquadricObj*) ) + GET_GL_PROCADDRESS("gluDeleteQuadric"); + + disp__gluDeleteNurbsRenderer= ( void (CALLBACK *) ( GLUnurbsObj*) ) + GET_GL_PROCADDRESS("gluDeleteNurbsRenderer"); + + disp__gluDeleteTess= ( void (CALLBACK *) ( GLUtesselator*) ) + GET_GL_PROCADDRESS("gluDeleteTess"); + + disp__gluNewQuadric= ( GLUquadricObj* (CALLBACK *) (void) ) + GET_GL_PROCADDRESS("gluNewQuadric"); + + disp__gluNewNurbsRenderer= ( GLUnurbsObj* (CALLBACK *) (void) ) + GET_GL_PROCADDRESS("gluNewNurbsRenderer"); + + disp__gluNewTess= ( GLUtesselator* (CALLBACK *) (void) ) + GET_GL_PROCADDRESS("gluNewTess"); + +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + + disp__gluLookAt = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluLookAt"); + + disp__gluOrtho2D = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluOrtho2D"); + + disp__gluPerspective = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluPerspective"); + + disp__gluPickMatrix = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLint *)) + GET_GL_PROCADDRESS ("gluPickMatrix"); + + disp__gluProject = (GLint (CALLBACK *)(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *)) + GET_GL_PROCADDRESS ("gluProject"); + + disp__gluUnProject = (GLint (CALLBACK *)(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *)) + GET_GL_PROCADDRESS ("gluUnProject"); + + disp__gluScaleImage = (GLint (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, const char *, GLsizei, GLsizei, GLenum, char *)) + GET_GL_PROCADDRESS ("gluScaleImage"); + + disp__gluBuild1DMipmaps = (GLint (CALLBACK *)(GLenum, GLint, GLint, GLenum, GLenum, const void *)) + GET_GL_PROCADDRESS ("gluBuild1DMipmaps"); + + disp__gluBuild2DMipmaps = (GLint (CALLBACK *)(GLenum, GLint, GLint, GLint, GLenum, GLenum, const void *)) + GET_GL_PROCADDRESS ("gluBuild2DMipmaps"); + + disp__gluQuadricDrawStyle = (void (CALLBACK *)(GLUquadricObj *, GLenum)) + GET_GL_PROCADDRESS ("gluQuadricDrawStyle"); + + disp__gluQuadricOrientation = (void (CALLBACK *)(GLUquadricObj *, GLenum)) + GET_GL_PROCADDRESS ("gluQuadricOrientation"); + + disp__gluQuadricNormals = (void (CALLBACK *)(GLUquadricObj *, GLenum)) + GET_GL_PROCADDRESS ("gluQuadricNormals"); + + disp__gluQuadricTexture = (void (CALLBACK *)(GLUquadricObj *, GLboolean)) + GET_GL_PROCADDRESS ("gluQuadricTexture"); + + disp__gluCylinder = (void (CALLBACK *)(GLUquadricObj *, GLdouble, GLdouble, GLdouble, GLint, GLint)) + GET_GL_PROCADDRESS ("gluCylinder"); + + disp__gluSphere = (void (CALLBACK *)(GLUquadricObj *, GLdouble, GLint, GLint)) + GET_GL_PROCADDRESS ("gluSphere"); + + disp__gluDisk = (void (CALLBACK *)(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint)) + GET_GL_PROCADDRESS ("gluDisk"); + + disp__gluPartialDisk = (void (CALLBACK *)(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluPartialDisk"); + + disp__gluLoadSamplingMatrices = (void (CALLBACK *)(GLUnurbsObj *, const GLfloat *, const GLfloat *, const GLint *)) + GET_GL_PROCADDRESS ("gluLoadSamplingMatrices"); + + disp__gluNurbsProperty = (void (CALLBACK *)(GLUnurbsObj *, GLenum, GLfloat)) + GET_GL_PROCADDRESS ("gluNurbsProperty"); + + disp__gluGetNurbsProperty = (void (CALLBACK *)(GLUnurbsObj *, GLenum, GLfloat *)) + GET_GL_PROCADDRESS ("gluGetNurbsProperty"); + + disp__gluBeginCurve = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluBeginCurve"); + + disp__gluEndCurve = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluEndCurve"); + + disp__gluNurbsCurve = (void (CALLBACK *)(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLenum)) + GET_GL_PROCADDRESS ("gluNurbsCurve"); + + disp__gluBeginSurface = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluBeginSurface"); + + disp__gluEndSurface = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluEndSurface"); + + disp__gluNurbsSurface = (void (CALLBACK *)(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLint, GLfloat *, GLint, GLint, GLenum)) + GET_GL_PROCADDRESS ("gluNurbsSurface"); + + disp__gluBeginTrim = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluBeginTrim"); + + disp__gluEndTrim = (void (CALLBACK *)(GLUnurbsObj *)) + GET_GL_PROCADDRESS ("gluEndTrim"); + + disp__gluPwlCurve = (void (CALLBACK *)(GLUnurbsObj *, GLint, GLfloat *, GLint, GLenum)) + GET_GL_PROCADDRESS ("gluPwlCurve"); + + disp__gluTessBeginPolygon = (void (CALLBACK *)(GLUtesselator *, void *)) + GET_GL_PROCADDRESS ("gluTessBeginPolygon"); + + disp__gluTessBeginContour = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluTessBeginContour"); + + disp__gluTessVertex = (void (CALLBACK *)(GLUtesselator *, GLdouble *, void *)) + GET_GL_PROCADDRESS ("gluTessVertex"); + + disp__gluTessEndContour = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluTessEndContour"); + + disp__gluTessEndPolygon = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluTessEndPolygon"); + + disp__gluTessProperty = (void (CALLBACK *)(GLUtesselator *, GLenum, GLdouble)) + GET_GL_PROCADDRESS ("gluTessProperty"); + + disp__gluTessNormal = (void (CALLBACK *)(GLUtesselator *, GLdouble, GLdouble, GLdouble)) + GET_GL_PROCADDRESS ("gluTessNormal"); + + disp__gluGetTessProperty = (void (CALLBACK *)(GLUtesselator *, GLenum, GLdouble *)) + GET_GL_PROCADDRESS ("gluGetTessProperty"); + + disp__gluBeginPolygon = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluBeginPolygon"); + + disp__gluNextContour = (void (CALLBACK *)(GLUtesselator *, GLenum)) + GET_GL_PROCADDRESS ("gluNextContour"); + + disp__gluEndPolygon = (void (CALLBACK *)(GLUtesselator *)) + GET_GL_PROCADDRESS ("gluEndPolygon"); + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/CNativeCode/glu-disp-var.h b/CNativeCode/glu-disp-var.h new file mode 100755 index 0000000..29ecc5a --- /dev/null +++ b/CNativeCode/glu-disp-var.h @@ -0,0 +1,355 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + +LIBAPI const GLubyte *(CALLBACK * disp__gluGetString )( GLenum name ); + +LIBAPI const GLubyte * (CALLBACK * disp__gluErrorString) ( GLenum); + +LIBAPI void (CALLBACK * disp__gluQuadricCallback) ( GLUquadricObj* quad, GLenum which, GLvoid (CALLBACK *)()); + +LIBAPI void (CALLBACK * disp__gluNurbsCallback) ( GLUnurbsObj* nurb, GLenum which, GLvoid (CALLBACK *)()); + +LIBAPI void (CALLBACK * disp__gluTessCallback) ( GLUtesselator* tess, GLenum which, GLvoid (CALLBACK *)()); + +LIBAPI void (CALLBACK * disp__gluDeleteQuadric) ( GLUquadricObj* quad ); + +LIBAPI void (CALLBACK * disp__gluDeleteNurbsRenderer) ( GLUnurbsObj* nurb ); + +LIBAPI void (CALLBACK * disp__gluDeleteTess) ( GLUtesselator* tess ); + +LIBAPI GLUquadricObj* (CALLBACK * disp__gluNewQuadric) ( void ); + +LIBAPI GLUnurbsObj* (CALLBACK * disp__gluNewNurbsRenderer) ( void ); + +LIBAPI GLUtesselator* (CALLBACK * disp__gluNewTess) ( void ); +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + +/** + * Original Function-Prototype : + * <pre> + extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluLookAt )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluOrtho2D )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluPerspective )(GLdouble, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluPickMatrix )(GLdouble, GLdouble, GLdouble, GLdouble, GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluProject )(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluUnProject )(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluScaleImage )(GLenum, GLsizei, GLsizei, GLenum, const char *, GLsizei, GLsizei, GLenum, char *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluBuild1DMipmaps )(GLenum, GLint, GLint, GLenum, GLenum, const void *); + +/** + * Original Function-Prototype : + * <pre> + extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ; + * </pre> + */ + LIBAPI GLint (CALLBACK * disp__gluBuild2DMipmaps )(GLenum, GLint, GLint, GLint, GLenum, GLenum, const void *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluQuadricDrawStyle )(GLUquadricObj *, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluQuadricOrientation )(GLUquadricObj *, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluQuadricNormals )(GLUquadricObj *, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluQuadricTexture )(GLUquadricObj *, GLboolean); + +/** + * Original Function-Prototype : + * <pre> + extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluCylinder )(GLUquadricObj *, GLdouble, GLdouble, GLdouble, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluSphere )(GLUquadricObj *, GLdouble, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluDisk )(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint); + +/** + * Original Function-Prototype : + * <pre> + extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluPartialDisk )(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluLoadSamplingMatrices )(GLUnurbsObj *, const GLfloat *, const GLfloat *, const GLint *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluNurbsProperty )(GLUnurbsObj *, GLenum, GLfloat); + +/** + * Original Function-Prototype : + * <pre> + extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluGetNurbsProperty )(GLUnurbsObj *, GLenum, GLfloat *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluBeginCurve ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluBeginCurve )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluEndCurve ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluEndCurve )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluNurbsCurve )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluBeginSurface ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluBeginSurface )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluEndSurface ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluEndSurface )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluNurbsSurface )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLint, GLfloat *, GLint, GLint, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluBeginTrim ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluBeginTrim )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluEndTrim ( GLUnurbsObj * nobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluEndTrim )(GLUnurbsObj *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluPwlCurve )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessBeginPolygon )(GLUtesselator *, void *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessBeginContour ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessBeginContour )(GLUtesselator *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessVertex )(GLUtesselator *, GLdouble *, void *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessEndContour ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessEndContour )(GLUtesselator *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessEndPolygon ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessEndPolygon )(GLUtesselator *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessProperty )(GLUtesselator *, GLenum, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluTessNormal )(GLUtesselator *, GLdouble, GLdouble, GLdouble); + +/** + * Original Function-Prototype : + * <pre> + extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluGetTessProperty )(GLUtesselator *, GLenum, GLdouble *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluBeginPolygon ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluBeginPolygon )(GLUtesselator *); + +/** + * Original Function-Prototype : + * <pre> + extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluNextContour )(GLUtesselator *, GLenum); + +/** + * Original Function-Prototype : + * <pre> + extern void gluEndPolygon ( GLUtesselator * tobj ) ; + * </pre> + */ + LIBAPI void (CALLBACK * disp__gluEndPolygon )(GLUtesselator *); + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/CNativeCode/glu-disp-var.hc b/CNativeCode/glu-disp-var.hc new file mode 100755 index 0000000..496955e --- /dev/null +++ b/CNativeCode/glu-disp-var.hc @@ -0,0 +1,116 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + + +const GLubyte *(CALLBACK * disp__gluGetString )( GLenum name ) = NULL; + +const GLubyte * (CALLBACK * disp__gluErrorString) ( GLenum) = NULL; + +void (CALLBACK * disp__gluQuadricCallback) ( GLUquadricObj* quad, GLenum which, GLvoid (CALLBACK *)( )) = NULL; + +void (CALLBACK * disp__gluNurbsCallback) ( GLUnurbsObj* nurb, GLenum which, GLvoid (CALLBACK *)( )) = NULL; + +void (CALLBACK * disp__gluTessCallback) ( GLUtesselator* tess, GLenum which, GLvoid (CALLBACK *)( )) = NULL; + +void (CALLBACK * disp__gluDeleteQuadric) ( GLUquadricObj* quad ) = NULL; + +void (CALLBACK * disp__gluDeleteNurbsRenderer) ( GLUnurbsObj* nurb ) = NULL; + +void (CALLBACK * disp__gluDeleteTess) ( GLUtesselator* tess ) = NULL; + +GLUquadricObj* (CALLBACK * disp__gluNewQuadric) ( void ) = NULL; + +GLUnurbsObj* (CALLBACK * disp__gluNewNurbsRenderer) ( void ) = NULL; + +GLUtesselator* (CALLBACK * disp__gluNewTess) ( void ) = NULL; +/** + * C2J Parser Version 2.0 + * Jausoft - Sven Goethel Software Development + * Reading from file: glu-proto-auto.orig.h . . . + * Destination-Class: gl4java_GLUFuncJauJNI ! + */ + + void (CALLBACK * disp__gluLookAt )(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluOrtho2D )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluPerspective )(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluPickMatrix )(GLdouble, GLdouble, GLdouble, GLdouble, GLint *) = NULL; + + GLint (CALLBACK * disp__gluProject )(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *) = NULL; + + GLint (CALLBACK * disp__gluUnProject )(GLdouble, GLdouble, GLdouble, const GLdouble *, const GLdouble *, const GLint *, GLdouble *, GLdouble *, GLdouble *) = NULL; + + GLint (CALLBACK * disp__gluScaleImage )(GLenum, GLsizei, GLsizei, GLenum, const char *, GLsizei, GLsizei, GLenum, char *) = NULL; + + GLint (CALLBACK * disp__gluBuild1DMipmaps )(GLenum, GLint, GLint, GLenum, GLenum, const void *) = NULL; + + GLint (CALLBACK * disp__gluBuild2DMipmaps )(GLenum, GLint, GLint, GLint, GLenum, GLenum, const void *) = NULL; + + void (CALLBACK * disp__gluQuadricDrawStyle )(GLUquadricObj *, GLenum) = NULL; + + void (CALLBACK * disp__gluQuadricOrientation )(GLUquadricObj *, GLenum) = NULL; + + void (CALLBACK * disp__gluQuadricNormals )(GLUquadricObj *, GLenum) = NULL; + + void (CALLBACK * disp__gluQuadricTexture )(GLUquadricObj *, GLboolean) = NULL; + + void (CALLBACK * disp__gluCylinder )(GLUquadricObj *, GLdouble, GLdouble, GLdouble, GLint, GLint) = NULL; + + void (CALLBACK * disp__gluSphere )(GLUquadricObj *, GLdouble, GLint, GLint) = NULL; + + void (CALLBACK * disp__gluDisk )(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint) = NULL; + + void (CALLBACK * disp__gluPartialDisk )(GLUquadricObj *, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluLoadSamplingMatrices )(GLUnurbsObj *, const GLfloat *, const GLfloat *, const GLint *) = NULL; + + void (CALLBACK * disp__gluNurbsProperty )(GLUnurbsObj *, GLenum, GLfloat) = NULL; + + void (CALLBACK * disp__gluGetNurbsProperty )(GLUnurbsObj *, GLenum, GLfloat *) = NULL; + + void (CALLBACK * disp__gluBeginCurve )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluEndCurve )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluNurbsCurve )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLenum) = NULL; + + void (CALLBACK * disp__gluBeginSurface )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluEndSurface )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluNurbsSurface )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLfloat *, GLint, GLint, GLfloat *, GLint, GLint, GLenum) = NULL; + + void (CALLBACK * disp__gluBeginTrim )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluEndTrim )(GLUnurbsObj *) = NULL; + + void (CALLBACK * disp__gluPwlCurve )(GLUnurbsObj *, GLint, GLfloat *, GLint, GLenum) = NULL; + + void (CALLBACK * disp__gluTessBeginPolygon )(GLUtesselator *, void *) = NULL; + + void (CALLBACK * disp__gluTessBeginContour )(GLUtesselator *) = NULL; + + void (CALLBACK * disp__gluTessVertex )(GLUtesselator *, GLdouble *, void *) = NULL; + + void (CALLBACK * disp__gluTessEndContour )(GLUtesselator *) = NULL; + + void (CALLBACK * disp__gluTessEndPolygon )(GLUtesselator *) = NULL; + + void (CALLBACK * disp__gluTessProperty )(GLUtesselator *, GLenum, GLdouble) = NULL; + + void (CALLBACK * disp__gluTessNormal )(GLUtesselator *, GLdouble, GLdouble, GLdouble) = NULL; + + void (CALLBACK * disp__gluGetTessProperty )(GLUtesselator *, GLenum, GLdouble *) = NULL; + + void (CALLBACK * disp__gluBeginPolygon )(GLUtesselator *) = NULL; + + void (CALLBACK * disp__gluNextContour )(GLUtesselator *, GLenum) = NULL; + + void (CALLBACK * disp__gluEndPolygon )(GLUtesselator *) = NULL; + +/* C2J Parser Version 2.0: Java program parsed successfully. */ diff --git a/CNativeCode/glx-disp-fetch.hc b/CNativeCode/glx-disp-fetch.hc new file mode 100755 index 0000000..b3ee5c9 --- /dev/null +++ b/CNativeCode/glx-disp-fetch.hc @@ -0,0 +1,43 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + + + disp__glXWaitGL = (void (CALLBACK *)( void )) + GET_GL_PROCADDRESS("glXWaitGL"); + + disp__glXDestroyGLXPixmap = (void (CALLBACK *)( Display *, GLXPixmap)) + GET_GL_PROCADDRESS("glXDestroyGLXPixmap"); + + disp__glXQueryExtension = (Bool (CALLBACK *)( Display *, int *, int *)) + GET_GL_PROCADDRESS("glXQueryExtension"); + + disp__glXGetClientString = (const char * (CALLBACK *)( Display *, int )) + GET_GL_PROCADDRESS("glXGetClientString"); + + disp__glXCreateGLXPixmap = (GLXPixmap (CALLBACK *)( Display *, XVisualInfo *, Pixmap)) + GET_GL_PROCADDRESS("glXCreateGLXPixmap"); + + disp__glXChooseVisual = (XVisualInfo* (CALLBACK *) (Display *, int , int *)) + GET_GL_PROCADDRESS("glXChooseVisual"); + + disp__glXCreateContext = (GLXContext (CALLBACK *) (Display *, XVisualInfo *, GLXContext, Bool)) + GET_GL_PROCADDRESS("glXCreateContext"); + + disp__glXGetCurrentContext = (GLXContext (CALLBACK *) ()) + GET_GL_PROCADDRESS("glXGetCurrentContext"); + + disp__glXDestroyContext = (void (CALLBACK *) (Display *, GLXContext)) + GET_GL_PROCADDRESS("glXDestroyContext"); + + disp__glXGetConfig = (int (CALLBACK *) (Display *, XVisualInfo *, int, int *)) + GET_GL_PROCADDRESS("glXGetConfig"); + + disp__glXMakeCurrent = (Bool (CALLBACK *) (Display *, GLXDrawable, GLXContext)) + GET_GL_PROCADDRESS("glXMakeCurrent"); + + disp__glXSwapBuffers = (void (CALLBACK *) (Display *, GLXDrawable)) + GET_GL_PROCADDRESS("glXSwapBuffers"); + diff --git a/CNativeCode/glx-disp-var.h b/CNativeCode/glx-disp-var.h new file mode 100755 index 0000000..2ac07c7 --- /dev/null +++ b/CNativeCode/glx-disp-var.h @@ -0,0 +1,21 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + + +LIBAPI void *(CALLBACK * disp__glXGetProcAddress) (const GLubyte *); +LIBAPI void (CALLBACK * disp__glXWaitGL)( void ); +LIBAPI void (CALLBACK * disp__glXDestroyGLXPixmap)( Display *dpy, GLXPixmap pix ); +LIBAPI Bool (CALLBACK * disp__glXQueryExtension)( Display *dpy, int *errorBase, int *eventBase ); +LIBAPI const char * (CALLBACK * disp__glXGetClientString)( Display *dpy, int name ); +LIBAPI GLXPixmap (CALLBACK * disp__glXCreateGLXPixmap)( Display *, XVisualInfo *, Pixmap); +LIBAPI XVisualInfo* (CALLBACK * disp__glXChooseVisual) (Display *, int , int *); +LIBAPI GLXContext (CALLBACK * disp__glXCreateContext) (Display *, XVisualInfo *, GLXContext, Bool); +LIBAPI GLXContext (CALLBACK * disp__glXGetCurrentContext) (void); +LIBAPI void (CALLBACK * disp__glXDestroyContext) (Display *, GLXContext); +LIBAPI int (CALLBACK * disp__glXGetConfig) (Display *, XVisualInfo *, int, int *); +LIBAPI Bool (CALLBACK * disp__glXMakeCurrent) (Display *, GLXDrawable, GLXContext); +LIBAPI void (CALLBACK * disp__glXSwapBuffers) (Display *, GLXDrawable); + diff --git a/CNativeCode/glx-disp-var.hc b/CNativeCode/glx-disp-var.hc new file mode 100755 index 0000000..5c04c37 --- /dev/null +++ b/CNativeCode/glx-disp-var.hc @@ -0,0 +1,21 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + + +void *(CALLBACK * disp__glXGetProcAddress) (const GLubyte *) = NULL; +void (CALLBACK * disp__glXWaitGL)( ) = NULL; +void (CALLBACK * disp__glXDestroyGLXPixmap)( Display *dpy, GLXPixmap pix ) = NULL; +Bool (CALLBACK * disp__glXQueryExtension)( Display *dpy, int *errorBase, int *eventBase ) = NULL; +const char * (CALLBACK * disp__glXGetClientString)( Display *dpy, int name ) = NULL; +GLXPixmap (CALLBACK * disp__glXCreateGLXPixmap)( Display *, XVisualInfo *, Pixmap) = NULL; +XVisualInfo* (CALLBACK * disp__glXChooseVisual) (Display *, int , int *) = NULL; +GLXContext (CALLBACK * disp__glXCreateContext) (Display *, XVisualInfo *, GLXContext, Bool) = NULL; +GLXContext (CALLBACK * disp__glXGetCurrentContext) () = NULL; +void (CALLBACK * disp__glXDestroyContext) (Display *, GLXContext) = NULL; +int (CALLBACK * disp__glXGetConfig) (Display *, XVisualInfo *, int, int *) = NULL; +Bool (CALLBACK * disp__glXMakeCurrent) (Display *, GLXDrawable, GLXContext) = NULL; +void (CALLBACK * disp__glXSwapBuffers) (Display *, GLXDrawable) = NULL; + diff --git a/CNativeCode/glxtool.c b/CNativeCode/glxtool.c new file mode 100644 index 0000000..c027f5c --- /dev/null +++ b/CNativeCode/glxtool.c @@ -0,0 +1,877 @@ +/** + * glxtool.c + * + * Copyright (C) 2001 Sven Goethel + * + * GNU Library General Public License + * as published by the Free Software Foundation + * + * http://www.gnu.org/copyleft/lgpl.html + * General dynamical loading OpenGL (GL/GLU) support for: + */ + +#include "glxtool.h" + +#include "glx-disp-var.hc" + +/** + * do not call this one directly, + * use fetch_GL_FUNCS (gltool.c) instead + */ +void LIBAPIENTRY fetch_GLX_FUNCS (const char * libGLName, + const char * libGLUName, int force) +{ + static int _firstRun = 1; + + if(force) + _firstRun = 1; + + if(!_firstRun) + return; + + #define GET_GL_PROCADDRESS(a) getGLProcAddressHelper (libGLName, libGLUName, (a), NULL, 1, 0); + + #include "glx-disp-fetch.hc" + + _firstRun=0; +} + +/* + * Name : get_GC + * + * Parameters: win - the X window use to the OpenGL context with + * visual - The visual to create the context for + * gc - a pointer to a GLXContext structure. This is how + * the created context will be returned to the caller + * + * Returns : a pointer to a created GLXContext is returned through the + * gc argument. + * int - an error code: 0 means everything was fine + * -1 context creation failed + * -2 context/window association failed + * + * Purpose : create an X window Graphics context and assocaite it with + * the window. It returns 0 if everything was fine, -1 if the + * context could not be created, -2 if the context could not + * be associated with the window + */ +int LIBAPIENTRY get_GC( Display *display, Window win, XVisualInfo *visual, + GLXContext *gc, GLXContext gc_share, + int verbose ) +{ + int trial = 2; + + while(trial>0) + { + switch(trial) + { + case 2: + *gc = disp__glXCreateContext( display, visual, gc_share, GL_TRUE ); + break; + case 1: + *gc = disp__glXCreateContext( display, visual, gc_share, GL_FALSE ); + break; + } + trial--; + + /* check if the context could be created */ + if( *gc == NULL ) { + continue; + } + + /* associated the context with the X window */ + if( disp__glXMakeCurrent( display, win, *gc ) == False) { + disp__glXDestroyContext( display, *gc ); + if(verbose) + { + fprintf(stderr, "GLINFO: glXCreateContext/glXDestroyContext trial(%d) %p\n", trial, *gc); + } + continue; + } else { + if(verbose) + fprintf(stderr, "GLINFO: glXCreateContext trial (%d) sure %p\n", trial, *gc); + return 0; + } + } + + return -2; +} + + +int LIBAPIENTRY setVisualAttribListByGLCapabilities( + int visualAttribList[/*>=32*/], + GLCapabilities *glCaps ) +{ + int i=0; + visualAttribList[i++] = GLX_USE_GL; /* paranoia .. */ + visualAttribList[i++] = GLX_RED_SIZE; + visualAttribList[i++] = 1; + visualAttribList[i++] = GLX_GREEN_SIZE; + visualAttribList[i++] = 1; + visualAttribList[i++] = GLX_BLUE_SIZE; + visualAttribList[i++] = 1; + visualAttribList[i++] = GLX_DEPTH_SIZE; + visualAttribList[i++] = 1; + visualAttribList[i++] = GLX_ACCUM_RED_SIZE; + visualAttribList[i++] = (glCaps->accumRedBits>0)?1:0; + visualAttribList[i++] = GLX_ACCUM_GREEN_SIZE; + visualAttribList[i++] = (glCaps->accumGreenBits>0)?1:0; + visualAttribList[i++] = GLX_ACCUM_BLUE_SIZE; + visualAttribList[i++] = (glCaps->accumBlueBits>0)?1:0; + + if(COLOR_RGBA == glCaps->color) + { + visualAttribList[i++] = GLX_RGBA; + visualAttribList[i++] = GLX_ALPHA_SIZE; + visualAttribList[i++] = (glCaps->alphaBits>0)?1:0; + visualAttribList[i++] = GLX_ACCUM_ALPHA_SIZE; + visualAttribList[i++] = (glCaps->accumAlphaBits>0)?1:0; + } + if(BUFFER_DOUBLE==glCaps->buffer) + visualAttribList[i++] = GLX_DOUBLEBUFFER; + + if(STEREO_ON==glCaps->stereo) + visualAttribList[i++] = GLX_STEREO; + + visualAttribList[i++] = GLX_STENCIL_SIZE; + visualAttribList[i++] = glCaps->stencilBits; + visualAttribList[i] = None; + return i; +} + +/** + * Description for pWin: + * if ownwin: + * input: the parent window + * output: the newly created window + * else if ! ownwin: + * i/o: the window itself + */ +VisualGC LIBAPIENTRY findVisualGlX( Display *display, + Window rootWin, + Window * pWin, + int width, int height, + GLCapabilities * glCaps, + int * pOwnWin, + XSetWindowAttributes * pOwnWinAttr, + unsigned long ownWinmask, + GLXContext shareWith, + int offscreen, + Pixmap *pix, + int verbose + ) +{ + Window newWin = 0; + int visualAttribList[64]; + int j=0; + int done=0; + VisualGC vgc = { NULL, 0, 0 }; + int tryChooseVisual = 1; + int gc_ret = 0; + int ownwin = 0; + GLCapabilities _glCaps; + int accumTestDone=0; + + /** + * The Visual seeked by Function: findVisualIdByFeature ! + */ + XVisualInfo * visualList=NULL; /* the visual list, to be XFree-ed */ + + /* paranoia .. */ + glCaps->gl_supported = 1; + + /* backup ... */ + _glCaps = *glCaps; + + if(pOwnWin) ownwin=*pOwnWin; + + do { + if(verbose) + { + fprintf(stderr, "GLINFO: seeking visual loop# %d\n", j); + fprintf(stderr, "GLINFO: seeking gl capabilities:\n"); + printGLCapabilities ( glCaps ); + } + + if(glCaps->nativeVisualID>=0 && j==0) + { + /** + * if somebody passes us a nativeVisualID, + * we will try to use it .. the 1st time only + */ + vgc.visual = findVisualIdByID(&visualList, + (int)(glCaps->nativeVisualID), + display, *pWin, verbose); + } + + if(vgc.visual==NULL) + { + glCaps->nativeVisualID=0; + (void) setVisualAttribListByGLCapabilities( + visualAttribList, glCaps); + } + + if(tryChooseVisual && vgc.visual==NULL) + { + vgc.visual = disp__glXChooseVisual( display, + DefaultScreen( display ), + visualAttribList ); + if(verbose) + { + if(vgc.visual!=NULL) + { + fprintf(stdout, "findVisualGlX.glXChooseVisual: found visual(ID:%d(0x%X))\n", + (int) vgc.visual->visualid, + (int) vgc.visual->visualid); + printVisualInfo ( display, vgc.visual ); + } else { + fprintf(stdout, "findVisualGlX.glXChooseVisual: no visual\n"); + } + fflush(stdout); + } + } + + if(vgc.visual==NULL) + { + vgc.visual = findVisualIdByFeature( &visualList, + display, *pWin, + glCaps, + verbose); + } + + if( ownwin && vgc.visual!=NULL) + { + if(verbose) + { + fprintf(stdout, "findVisualGlX: CREATING OWN WINDOW !\n"); + fflush(stdout); + } + newWin = createOwnOverlayWin(display, + rootWin, + *pWin /* the parent */, + pOwnWinAttr, + ownWinmask, + vgc.visual, width, height); + } + + if( offscreen && vgc.visual!=NULL) + { + if(pix!=NULL && *pix!=0) + { + XFreePixmap(display, *pix); + } + if(pix!=NULL && vgc.visual !=NULL) + *pix = XCreatePixmap( display, rootWin, width, height, + vgc.visual->depth); + if(pix!=NULL && *pix!=0) + { + *pWin = disp__glXCreateGLXPixmap( display, vgc.visual, *pix ); + if(*pWin==0) + { + XFreePixmap(display, *pix); + *pix=0; + fprintf(stderr, "GLINFO(%d): glXCreateGLXPixmap failed\n", j); + fflush(stderr); + } + } else { + fprintf(stderr, "GLINFO(%d): XCreatePixmap failed\n", j); + fflush(stderr); + *pWin = 0; + } + if(verbose) + { + if(*pWin!=0) + { + fprintf(stderr, "GLINFO(%d): pixmap ok\n", j); + fflush(stderr); + } + } + } + + gc_ret = -100; + + if( ownwin && newWin!=0 && + gc_ret==-100 /* just a poss. test stage */ && + (gc_ret=get_GC( display, newWin, + vgc.visual, &(vgc.gc), shareWith, verbose)) == 0 + ) + { + vgc.success=1; + *pWin = newWin ; + } + else if( vgc.visual!=NULL && !ownwin && *pWin!=0 && + (gc_ret=get_GC( display, *pWin, + vgc.visual, &(vgc.gc), shareWith, verbose)) == 0 + ) + { + vgc.success=1; + } else + { + j++; /* trial counter */ + if(verbose) + { + fprintf(stderr, "GLINFO(%d): Visual fetching failed (gc_get=%d)\n", j, gc_ret); + fflush(stderr); + } + + if(pix!=NULL && *pix!=0) + { + XFreePixmap(display, *pix); + *pix=0; + } + + if(ownwin && newWin!=0) + { + if(verbose) + { + fprintf(stdout, "findVisualGlX: FREE OWN WINDOW !\n"); + fflush(stdout); + } + destroyOwnOverlayWin(display, &newWin, + pOwnWinAttr); + } + + if(visualList!=NULL) + { + XFree(visualList); + visualList=NULL; + vgc.visual=NULL; + } else if(vgc.visual!=NULL) + { + XFree(vgc.visual); + vgc.visual=NULL; + } + + glCaps->nativeVisualID=-1; + + /** + * Falling-Back the exact (min. requirement) parameters .. + */ + if(!ownwin && !offscreen) { + *glCaps=_glCaps; + ownwin=1; + if(pOwnWin) *pOwnWin=ownwin; + } else if(glCaps->stereo==STEREO_ON) { + glCaps->stereo=STEREO_OFF; + } else if(glCaps->stencilBits>32) { + glCaps->stencilBits=32; + } else if(glCaps->stencilBits>16) { + glCaps->stencilBits=16; + } else if(glCaps->stencilBits>8) { + glCaps->stencilBits=8; + } else if(glCaps->stencilBits>0) { + glCaps->stencilBits=0; + } else if( glCaps->alphaBits>0 || + glCaps->accumAlphaBits>0 + ) + { + glCaps->alphaBits=0; + glCaps->accumAlphaBits=0; + } else if( accumTestDone==0 && + ( glCaps->accumRedBits==0 || + glCaps->accumGreenBits==0 || + glCaps->accumBlueBits==0 + ) + ) + { + glCaps->accumRedBits=1; + glCaps->accumGreenBits=1; + glCaps->accumBlueBits=1; + } else if( glCaps->accumRedBits>0 || + glCaps->accumGreenBits>0 || + glCaps->accumBlueBits>0 + ) + { + glCaps->accumRedBits=0; + glCaps->accumGreenBits=0; + glCaps->accumBlueBits=0; + accumTestDone=1; + } else if(glCaps->buffer==BUFFER_SINGLE && + offscreen) + { + glCaps->buffer=BUFFER_DOUBLE; + } else if(glCaps->buffer==BUFFER_DOUBLE) { + glCaps->buffer=BUFFER_SINGLE; + } else if(tryChooseVisual) { + *glCaps=_glCaps; + tryChooseVisual=0; + accumTestDone=0; + } else done=1; + } + } while (vgc.success==0 && done==0) ; + + if(vgc.success==1 && verbose) + { + (void) setGLCapabilities (display, vgc.visual, glCaps); + + fprintf(stderr, "\nfindVisualGlX results vi(ID:%d): \n screen %d, depth %d, class %d,\n clrmapsz %d, bitsPerRGB %d, shared with %d\n", + (int)vgc.visual->visualid, + (int)vgc.visual->screen, + (int)vgc.visual->depth, + (int)vgc.visual->class, + (int)vgc.visual->colormap_size, + (int)vgc.visual->bits_per_rgb, + (int)shareWith); + } + + return vgc; +} + + +XVisualInfo * LIBAPIENTRY findVisualIdByID( XVisualInfo ** visualList, + int visualID, Display *disp, + Window win, int verbose) +{ + XVisualInfo * vi=0; + XVisualInfo viTemplate; + int i, numReturns; + XWindowAttributes xwa; + int done=0; + + if(XGetWindowAttributes(disp, win, &xwa) == 0) + { + fprintf(stderr, "\nERROR while fetching XWindowAttributes\n"); + fflush(stderr); + return 0; + } + + viTemplate.screen = DefaultScreen( disp ); + viTemplate.class = (xwa.visual)->class ; + viTemplate.depth = xwa.depth; + + *visualList = XGetVisualInfo( disp, VisualScreenMask, + &viTemplate, &numReturns ); + + for(i=0; done==0 && i<numReturns; i++) + { + vi = &((*visualList)[i]); + + if(vi->visualid==visualID) + { + if(verbose) + { + fprintf(stderr, "findVisualIdByID: Found matching Visual:\n"); + printVisualInfo ( disp, vi); + } + return vi; + } + } + + if(verbose) + { + if( numReturns==0 ) + fprintf(stderr, "findVisualIdByID: No available visuals. Exiting...\n" ); + else if( i>=numReturns ) + fprintf(stderr, "findVisualIdByID: No matching visualID found ...\n" ); + fflush(stderr); + } + + XFree(*visualList); + *visualList=NULL; + return NULL; +} + +XVisualInfo * LIBAPIENTRY findVisualIdByFeature( XVisualInfo ** visualList, + Display *disp, Window win, + GLCapabilities *glCaps, + int verbose) +{ + XVisualInfo * vi=0; + XVisualInfo viTemplate; + int i, numReturns; + XWindowAttributes xwa; + int done=0; + + if(XGetWindowAttributes(disp, win, &xwa) == 0) + { + fprintf(stderr, "\nERROR while fetching XWindowAttributes\n"); + fflush(stderr); + return 0; + } + + viTemplate.screen = DefaultScreen( disp ); + viTemplate.class = (xwa.visual)->class ; + viTemplate.depth = xwa.depth; + + *visualList = XGetVisualInfo( disp, VisualScreenMask, + &viTemplate, &numReturns ); + + for(i=0; done==0 && i<numReturns; i++) + { + vi = &((*visualList)[i]); + if ( testVisualInfo ( disp, vi, glCaps, verbose ) ) + { + if(verbose) + { + fprintf(stderr, "findVisualIdByFeature: Found matching Visual:\n"); + printVisualInfo ( disp, vi); + } + return vi; + } + } + + if(verbose) + { + if( numReturns==0 ) + fprintf(stderr, "findVisualIdByFeature: No available visuals. Exiting...\n" ); + else if( i>=numReturns ) + fprintf(stderr, "findVisualIdByFeature: No matching visual found ...\n" ); + fflush(stderr); + } + + XFree(*visualList); + *visualList=NULL; + return NULL; +} + +int LIBAPIENTRY setGLCapabilities ( Display * disp, + XVisualInfo * visual, GLCapabilities *glCaps) +{ + int iValue=0; + int iValue1=0; + int iValue2=0; + int iValue3=0; + + memset(glCaps, 0, sizeof(GLCapabilities)); + + if(disp__glXGetConfig( disp, visual, GLX_USE_GL, &iValue)==0) + { + glCaps->gl_supported=(iValue==True)?1:0; + } else { + fprintf(stderr,"GLINFO: fetching GLX_USE_GL state failed\n"); + fflush(stderr); + } + + if( ! glCaps->gl_supported ) + return 0; + + if(disp__glXGetConfig( disp, visual, GLX_DOUBLEBUFFER, &iValue)==0) + { + glCaps->buffer=iValue?BUFFER_DOUBLE:BUFFER_SINGLE; + } else { + fprintf(stderr,"GLINFO: fetching doubleBuffer state failed\n"); + fflush(stderr); + } + + if(disp__glXGetConfig( disp, visual, GLX_RGBA, &iValue)==0) + { + glCaps->color=iValue?COLOR_RGBA:COLOR_INDEX; + } else { + fprintf(stderr,"GLINFO: fetching rgba state failed\n"); + fflush(stderr); + } + + if(disp__glXGetConfig( disp, visual, GLX_STEREO, &iValue)==0) + { + glCaps->stereo=iValue?STEREO_ON:STEREO_OFF; + } else { + fprintf(stderr,"GLINFO: fetching stereoView state failed\n"); + fflush(stderr); + } + + if(disp__glXGetConfig( disp, visual, GLX_DEPTH_SIZE, &iValue)==0) + { + glCaps->depthBits = iValue; + } else { + fprintf(stderr,"GLINFO: fetching depthBits state failed\n"); + fflush(stderr); + } + + if(disp__glXGetConfig( disp, visual, GLX_STENCIL_SIZE, &iValue)==0) + { + glCaps->stencilBits = iValue; + } else { + fprintf(stderr,"GLINFO: fetching stencilBits state failed\n"); + fflush(stderr); + } + + if(disp__glXGetConfig(disp,visual,GLX_RED_SIZE, &iValue)==0 && + disp__glXGetConfig(disp,visual,GLX_GREEN_SIZE, &iValue1)==0 && + disp__glXGetConfig(disp,visual,GLX_BLUE_SIZE, &iValue2)==0 && + disp__glXGetConfig(disp,visual,GLX_ALPHA_SIZE, &iValue3)==0 ) + { + glCaps->redBits = iValue; + glCaps->greenBits= iValue1; + glCaps->blueBits= iValue2; + glCaps->alphaBits= iValue3; + } else { + fprintf(stderr,"GLINFO: fetching rgba Size states failed\n"); + fflush(stderr); + } + + if(disp__glXGetConfig(disp,visual,GLX_ACCUM_RED_SIZE, &iValue)==0 && + disp__glXGetConfig(disp,visual,GLX_ACCUM_GREEN_SIZE, &iValue1)==0 && + disp__glXGetConfig(disp,visual,GLX_ACCUM_BLUE_SIZE, &iValue2)==0 && + disp__glXGetConfig(disp,visual,GLX_ACCUM_ALPHA_SIZE, &iValue3)==0 ) + { + glCaps->accumRedBits = iValue; + glCaps->accumGreenBits= iValue1; + glCaps->accumBlueBits= iValue2; + glCaps->accumAlphaBits= iValue3; + } else { + fprintf(stderr,"GLINFO: fetching rgba AccumSize states failed\n"); + fflush(stderr); + } + glCaps->nativeVisualID=(long) (visual->visualid); + + return 1; +} + +int LIBAPIENTRY testVisualInfo ( Display *display, XVisualInfo * vi, + GLCapabilities *glCaps, int verbose) +{ + GLCapabilities _glCaps; + setGLCapabilities ( display, vi, &_glCaps); + + /* + if(verbose) + { + fprintf(stderr, "testVisualInfo vi(ID:%d(0x%X)):\n", + (int) vi->visualid, (int) vi->visualid); + printGLCapabilities ( &_glCaps ); + } + */ + + if(_glCaps.gl_supported != glCaps->gl_supported) return 0; + + if(_glCaps.buffer!=glCaps->buffer) return 0; + + if(_glCaps.color!=glCaps->color) return 0; + + if(_glCaps.stereo!=glCaps->stereo) return 0; + + if( ( glCaps->stencilBits>0 && + _glCaps.stencilBits<glCaps->stencilBits + ) || + ( + glCaps->stencilBits==0 && + _glCaps.stencilBits!=glCaps->stencilBits + ) + ) + return 0; + + if( ( glCaps->accumRedBits>0 && + _glCaps.accumRedBits<glCaps->accumRedBits + ) || + ( + glCaps->accumRedBits==0 && + _glCaps.accumRedBits!=glCaps->accumRedBits + ) + ) + return 0; + + if( ( glCaps->accumGreenBits>0 && + _glCaps.accumGreenBits<glCaps->accumGreenBits + ) || + ( + glCaps->accumGreenBits==0 && + _glCaps.accumGreenBits!=glCaps->accumGreenBits + ) + ) + return 0; + + if( ( glCaps->accumBlueBits>0 && + _glCaps.accumBlueBits<glCaps->accumBlueBits + ) || + ( + glCaps->accumBlueBits==0 && + _glCaps.accumBlueBits!=glCaps->accumBlueBits + ) + ) + return 0; + + if( ( glCaps->alphaBits>0 && + _glCaps.alphaBits<glCaps->alphaBits + ) || + ( + glCaps->alphaBits==0 && + _glCaps.alphaBits!=glCaps->alphaBits + ) + ) + return 0; + + if( glCaps->alphaBits>0 ) + { + if( ( glCaps->accumAlphaBits>0 && + _glCaps.accumAlphaBits<glCaps->accumAlphaBits + ) || + ( + glCaps->accumAlphaBits==0 && + _glCaps.accumAlphaBits!=glCaps->accumAlphaBits + ) + ) + return 0; + } + + return 1; +} + + +void LIBAPIENTRY printVisualInfo ( Display *display, XVisualInfo * vi) +{ + GLCapabilities glCaps; + + setGLCapabilities ( display, vi, &glCaps); + + fprintf(stdout, "\nvi(ID:%d(0x%X)): \n screen %d, depth %d, class %d,\n clrmapsz %d, bitsPerRGB %d\n", + (int) vi->visualid, + (int) vi->visualid, + (int) vi->screen, + (int) vi->depth, + (int) vi->class, + (int) vi->colormap_size, + (int) vi->bits_per_rgb ); + + printGLCapabilities ( &glCaps ); +} + +void LIBAPIENTRY printAllVisualInfo ( Display *disp, Window win, int verbose) +{ + XVisualInfo * visualInfo=0; + XVisualInfo * vi=0; + XVisualInfo viTemplate; + int i, numReturns; + XWindowAttributes xwa; + + if(XGetWindowAttributes(disp, win, &xwa) == 0) + { + fprintf(stderr, "\nERROR while fetching XWindowAttributes\n"); + fflush(stderr); + return; + } + + viTemplate.screen = DefaultScreen( disp ); + viTemplate.class = (xwa.visual)->class ; + viTemplate.depth = xwa.depth; + + visualInfo = XGetVisualInfo( disp, VisualScreenMask, + &viTemplate, &numReturns ); + + if(verbose) + { + fprintf(stderr, "\nNum of Visuals : %d\n", numReturns ); + + for(i=0; i<numReturns; i++) + { + vi = &(visualInfo[i]); + printVisualInfo ( disp, vi); + } + } + + XFree(visualInfo); +} + +Window LIBAPIENTRY createOwnOverlayWin + (Display *display, Window rootwini, Window parentWin, + XSetWindowAttributes * pOwnWinAttr, + unsigned long ownWinmask, + XVisualInfo *visual, int width, int height) +{ + /* + //------------------------------------------------------------------------// + // Some Systems (SGI) wont give up the window and so we have to create a // + // window that fits on top of the Java Canvas. // + //------------------------------------------------------------------------// + */ + Window window=0; + XSetWindowAttributes attribs ; + unsigned long winmask = 0; + + memset(&attribs, 0, sizeof(XSetWindowAttributes)); + + if(pOwnWinAttr) attribs=*pOwnWinAttr; + if(ownWinmask!=0) winmask=ownWinmask; + + if(winmask==0) + { + winmask= CWBitGravity | CWColormap | CWBorderPixel | CWBackPixel ; + } + + /* + //----------------------------------------------------------------------// + // now we have the visual with the best depth so lets make a color map // + // for it. we use allocnone because this is a true colour visual and // + // the color map is read only anyway. This must be done because we // + // cannot call XCreateSimpleWindow. // + //----------------------------------------------------------------------// + */ + if(attribs.colormap==0 && (winmask & CWColormap)>0 ) + attribs.colormap = XCreateColormap ( display + , rootwini + , visual->visual + , AllocNone + ); + + /* + //----------------------------------------------------------------------// + // Set up the window attributes. // + //----------------------------------------------------------------------// + */ + if(pOwnWinAttr==NULL) + { + attribs.event_mask = ExposureMask ; + attribs.border_pixel = BlackPixel(display, DefaultScreen(display)) ; + attribs.bit_gravity = SouthWestGravity ; ; + attribs.background_pixel = 0xFF00FFFF ; + } + + /* + //----------------------------------------------------------------------// + // Create a window. // + //----------------------------------------------------------------------// + */ + window = XCreateWindow( display + , parentWin + , 0 + , 0 + , width + , height + , 0 + , visual->depth + , InputOutput + , visual->visual + , winmask + , &attribs); + + if(pOwnWinAttr) *pOwnWinAttr=attribs; + + return window; +} + +void LIBAPIENTRY destroyOwnOverlayWin(Display *display, Window *newWin, + XSetWindowAttributes * pOwnWinAttr) +{ + if(newWin!=NULL) + { + XDestroyWindow( display, *newWin ); + *newWin=0; + } + + if(pOwnWinAttr!=NULL && pOwnWinAttr->colormap!=0) + { + XFreeColormap(display, pOwnWinAttr->colormap); + pOwnWinAttr->colormap=0; + } +} + +int LIBAPIENTRY x11gl_myErrorHandler(Display *pDisp, XErrorEvent *p_error) +{ + char err_msg[80]; + + XGetErrorText(pDisp, p_error->error_code, err_msg, 80); + fprintf(stderr, "X11 Error detected.\n %s\n", err_msg); + fprintf(stderr, " Protocol request: %d\n", p_error->request_code); + fprintf(stderr, " Resource ID : 0x%x\n", (int)p_error->resourceid); + fprintf(stderr, " \ntrying to continue ... \n"); + fflush(stderr); + return 0; +} + +int LIBAPIENTRY x11gl_myIOErrorHandler(Display *pDisp) +{ + fprintf(stderr, "X11 I/O Error detected.\n"); + fprintf(stderr, " \ndo not know what to do ... \n"); + fflush(stderr); + return 0; +} + diff --git a/CNativeCode/glxtool.h b/CNativeCode/glxtool.h new file mode 100755 index 0000000..03e28a5 --- /dev/null +++ b/CNativeCode/glxtool.h @@ -0,0 +1,101 @@ +#ifndef _GLXTOOL_H + /** + * glxtool.h + * + * Copyright (C) 2001 Sven Goethel + * + * GNU Library General Public License + * as published by the Free Software Foundation + * + * http://www.gnu.org/copyleft/lgpl.html + * General dynamical loading OpenGL (GL/GLU) support for: + */ + + #define _GLXTOOL_H + + #include <X11/Xlib.h> + #include <X11/Xutil.h> + #include <X11/Xatom.h> + + #include "gltool.h" + + #include "glx-disp-var.h" + + typedef struct { + XVisualInfo * visual; + GLXContext gc; + int success; /* 1: OK, 0: ERROR */ + } VisualGC; + + LIBAPI int LIBAPIENTRY get_GC + ( Display *display, Window win, XVisualInfo *visual, + GLXContext *gc, GLXContext gc_share, + int verbose ); + + LIBAPI int LIBAPIENTRY setVisualAttribListByGLCapabilities( + int visualAttribList[/*>=32*/], + GLCapabilities *glCaps ); + + LIBAPI VisualGC LIBAPIENTRY findVisualGlX( Display *display, + Window rootWin, + Window * pWin, + int width, int height, + GLCapabilities * glCaps, + int * pOwnWin, + XSetWindowAttributes * pOwnWinAttr, + unsigned long ownWinmask, + GLXContext shareWith, + int offscreen, + Pixmap *pix, + int verbose + ); + + LIBAPI XVisualInfo * LIBAPIENTRY findVisualIdByID + ( XVisualInfo ** visualList, + int visualID, Display *disp, + Window win, int verbose); + + LIBAPI XVisualInfo * LIBAPIENTRY findVisualIdByFeature + ( XVisualInfo ** visualList, + Display *disp, Window win, + GLCapabilities *glCaps, + int verbose); + + LIBAPI int LIBAPIENTRY testVisualInfo + ( Display *display, XVisualInfo * vi, + GLCapabilities *glCaps, int verbose); + + LIBAPI int LIBAPIENTRY setGLCapabilities + ( Display * disp, + XVisualInfo * visual, GLCapabilities *glCaps); + + LIBAPI void LIBAPIENTRY printAllVisualInfo + ( Display *disp, Window win, int verbose); + LIBAPI void LIBAPIENTRY printVisualInfo + ( Display *display, XVisualInfo * vi); + + LIBAPI Window LIBAPIENTRY createOwnOverlayWin + (Display *display, + Window rootwini, Window parentWin, + XSetWindowAttributes * pOwnWinAttr, + unsigned long ownWinmask, + XVisualInfo *visual, int width, int height); + + LIBAPI void LIBAPIENTRY destroyOwnOverlayWin + (Display *display, Window *newWin, + XSetWindowAttributes * pOwnWinAttr); + + /** + * do not call this one directly, + * use fetch_GL_FUNCS (gltool.h) instead + */ + LIBAPI void LIBAPIENTRY fetch_GLX_FUNCS + (const char * libGLName, + const char * libGLUName, int force); + + LIBAPI int LIBAPIENTRY x11gl_myErrorHandler( + Display *pDisp, XErrorEvent *p_error); + + LIBAPI int LIBAPIENTRY x11gl_myIOErrorHandler(Display *pDisp); + +#endif diff --git a/CNativeCode/invokejvm.c b/CNativeCode/invokejvm.c new file mode 100755 index 0000000..5cfa494 --- /dev/null +++ b/CNativeCode/invokejvm.c @@ -0,0 +1,243 @@ + +#include <stdio.h> +#include <stdlib.h> +#include <stdarg.h> +
+#ifdef _X11_ + #include <dlfcn.h>
+#endif
+
+#ifdef _WIN32_
+ #include <windows.h>
+#endif
+ +#include <jni.h> + +static char * defargs[] = { "-loadgljlibs", "gl4java.GLContext", "-info" }; + +#ifdef _X11_
+static char * lib1name="libGL4JavaJauGljJNI13.so"; +static char * lib2name="libGL4JavaJauGLJNI12.so"; +static char * lib3name="libGL4JavaJauGLUJNI12.so";
+#endif +
+#ifdef _WIN32_
+static char * lib1name="GL4JavaJauGljJNI13.DLL";
+static char * lib2name="GL4JavaJauGLJNI12.DLL";
+static char * lib3name="GL4JavaJauGLUJNI12.DLL";
+#endif
+ +int main(int argc, char ** argv) +{ + JNIEnv *env; + JavaVM *jvm=NULL; + JavaVMInitArgs jvm_args; + JavaVMOption options[100]; + jstring jstrargs[100]; + jstring jstrdummy; + jobjectArray jargs; + int jargnum=0; + jint res; + jclass cls; + jmethodID mid; + int opt_num=0, i; + int argidx=1;
+#ifdef _WIN32_
+ HMODULE lib1;
+ HMODULE lib2;
+ HMODULE lib3;
+#endif
+#ifdef _X11_ + void * lib1; + void * lib2; + void * lib3;
+#endif + char ** myargv; + + if(argc<2) + { + printf("loading default gl4java arguments !\n"); + myargv=calloc(4, sizeof(char *)); + memcpy(myargv, argv, sizeof(char *)); + myargv[argidx] = defargs[0]; + myargv[argidx+1] = defargs[1]; + myargv[argidx+2] = defargs[2]; + argv=myargv; + argc=argidx+3; + } + + for ( i = 0; i< argc; i++) + printf("calling argv[%d]: %s\n", i, argv[i]); + + if(strcmp(argv[argidx],"-loadgljlibs")==0) + { + printf("loading default gl4java libraries !\n"); + argidx++;
+#ifdef _X11_ + lib1 = dlopen (lib1name, RTLD_LAZY | RTLD_GLOBAL); + if (lib1 == NULL) + { + printf ("GLERROR: cannot access library %s\n", lib1name); + exit(1); + } + lib2 = dlopen (lib2name, RTLD_LAZY | RTLD_GLOBAL); + if (lib2 == NULL) + { + printf ("GLERROR: cannot access library %s\n", lib2name); + exit(1); + } + lib3 = dlopen (lib3name, RTLD_LAZY | RTLD_GLOBAL); + if (lib3 == NULL) + { + printf ("GLERROR: cannot access library %s\n", lib3name); + exit(1); + }
+#endif
+#ifdef _WIN32_
+ lib1 = LoadLibrary (lib1name);
+ if (lib1 == NULL)
+ {
+ printf ("GLERROR: cannot access library %s\n", lib1name);
+ exit(1);
+ }
+ lib2 = LoadLibrary (lib2name);
+ if (lib2 == NULL)
+ {
+ printf ("GLERROR: cannot access library %s\n", lib2name);
+ exit(1);
+ }
+ lib3 = LoadLibrary (lib3name);
+ if (lib3 == NULL)
+ {
+ printf ("GLERROR: cannot access library %s\n", lib3name);
+ exit(1);
+ }
+#endif
+ + } + + options[opt_num++].optionString = + "-Djava.compiler=NONE"; /* disable JIT */ + options[opt_num++].optionString = + "-Djava.class.path=."; /* user classes */ + +/* + options[opt_num++].optionString = + "-verbose:jni"; + options[opt_num++].optionString = + "-Djava.library.path=c:\mylibs"; +*/ + + for(i=0; i<opt_num; i++) + printf("jvm option[%d]: %s\n", i, options[i].optionString); + + jvm_args.version = JNI_VERSION_1_2; + jvm_args.options = options; + jvm_args.nOptions = opt_num; + jvm_args.ignoreUnrecognized = 1; + + /* Note that in the Java 2 SDK, there is no longer any need to call + * JNI_GetDefaultJavaVMInitArgs. + */ + res = JNI_CreateJavaVM(&jvm, (void **)&env, &jvm_args); + + if (res == 0) + { + + cls = (*env)->FindClass(env, argv[argidx]); + + if (cls == 0) { + fprintf(stderr, "Can't find %s class\n", argv[argidx]); + exit(1); + } + + printf("jvm calling class %s\n", argv[argidx]); + + mid = (*env)->GetStaticMethodID(env, cls, "main", "([Ljava/lang/String;)V"); + if (mid == 0) { + fprintf(stderr, "Can't find %s.main\n", argv[argidx]); + exit(1); + } + argidx++; + + jstrdummy = (*env)->NewStringUTF(env, " "); + if (jstrdummy == 0) { + fprintf(stderr, "Out of memory\n"); + exit(1); + } + + if(argidx==argc) + { + jstrargs[jargnum] = jstrdummy; + printf("jvm calling jstrargs[%d]: %s\n", + jargnum, " "); + jargnum++; + } + + for(; argidx<argc; argidx++, jargnum++) + { + jstrargs[jargnum] = (*env)->NewStringUTF(env, argv[argidx]); + if (jstrargs[jargnum] == 0) { + fprintf(stderr, "Out of memory\n"); + exit(1); + } + printf("jvm calling jstrargs[%d]: %s\n", + jargnum, argv[argidx]); + } + + if(jargnum>0) + { + jargs = (*env)->NewObjectArray(env, jargnum, + (*env)->FindClass(env, "java/lang/String"), jstrdummy); + if (jargs == 0) { + fprintf(stderr, "Out of memory\n"); + exit(1); + } + for(i=0; i<jargnum; i++) + (*env)->SetObjectArrayElement(env, jargs, + i, jstrargs[i]); + (*env)->CallStaticVoidMethod(env, cls, mid, jargs); + } + + + (*jvm)->DestroyJavaVM(jvm); + } +
+#ifdef _X11_ + if(lib1!=NULL) + { + dlclose (lib1); + lib1 = NULL; + } + if(lib2!=NULL) + { + dlclose (lib2); + lib2 = NULL; + } + if(lib3!=NULL) + { + dlclose (lib3); + lib3 = NULL; + }
+#endif
+
+#ifdef _WIN32_
+ if(lib1!=NULL)
+ {
+ FreeLibrary(lib1);
+ lib1 = NULL;
+ }
+ if(lib2!=NULL)
+ {
+ FreeLibrary(lib2);
+ lib2 = NULL;
+ }
+ if(lib3!=NULL)
+ {
+ FreeLibrary(lib3);
+ lib3 = NULL;
+ }
+#endif + + return 1; +} diff --git a/CNativeCode/wgl-disp-fetch.hc b/CNativeCode/wgl-disp-fetch.hc new file mode 100755 index 0000000..8591d0c --- /dev/null +++ b/CNativeCode/wgl-disp-fetch.hc @@ -0,0 +1,32 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + +
+ disp__wglCopyContext = (BOOL (CALLBACK *)(HGLRC, HGLRC, UINT))
+ GET_GL_PROCADDRESS("wglCopyContext");
+
+ disp__wglCreateContext = (HGLRC (CALLBACK *)(HDC))
+ GET_GL_PROCADDRESS("wglCreateContext");
+ + disp__wglCreateLayerContext = (HGLRC (CALLBACK *)(HDC, int))
+ GET_GL_PROCADDRESS("wglCreateLayerContext");
+
+ disp__wglDeleteContext = (BOOL (CALLBACK *)(HGLRC))
+ GET_GL_PROCADDRESS("wglDeleteContext");
+
+ disp__wglGetCurrentContext = (HGLRC (CALLBACK *)(VOID))
+ GET_GL_PROCADDRESS("wglGetCurrentContext");
+
+ disp__wglGetCurrentDC = (HDC (CALLBACK *)(VOID))
+ GET_GL_PROCADDRESS("wglGetCurrentDC");
+
+ disp__wglMakeCurrent = (BOOL (CALLBACK *)(HDC, HGLRC))
+ GET_GL_PROCADDRESS("wglMakeCurrent");
+
+ disp__wglShareLists = (BOOL (CALLBACK *)(HGLRC, HGLRC))
+ GET_GL_PROCADDRESS("wglShareLists");
+
+ diff --git a/CNativeCode/wgl-disp-var.h b/CNativeCode/wgl-disp-var.h new file mode 100755 index 0000000..642cd38 --- /dev/null +++ b/CNativeCode/wgl-disp-var.h @@ -0,0 +1,18 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + + +LIBAPI PROC (CALLBACK * disp__wglGetProcAddress)(LPCSTR); +LIBAPI BOOL (CALLBACK * disp__wglCopyContext)(HGLRC, HGLRC, UINT); +LIBAPI HGLRC (CALLBACK * disp__wglCreateContext)(HDC); +LIBAPI HGLRC (CALLBACK * disp__wglCreateLayerContext)(HDC, int); +LIBAPI BOOL (CALLBACK * disp__wglDeleteContext)(HGLRC); +LIBAPI HGLRC (CALLBACK * disp__wglGetCurrentContext)(VOID); +LIBAPI HDC (CALLBACK * disp__wglGetCurrentDC)(VOID); +LIBAPI BOOL (CALLBACK * disp__wglMakeCurrent)(HDC, HGLRC); +LIBAPI BOOL (CALLBACK * disp__wglShareLists)(HGLRC, HGLRC); + + diff --git a/CNativeCode/wgl-disp-var.hc b/CNativeCode/wgl-disp-var.hc new file mode 100755 index 0000000..afebb31 --- /dev/null +++ b/CNativeCode/wgl-disp-var.hc @@ -0,0 +1,17 @@ +/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! + + DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! +*/ + + +PROC (CALLBACK * disp__wglGetProcAddress)(LPCSTR) = NULL; +BOOL (CALLBACK * disp__wglCopyContext)(HGLRC, HGLRC, UINT) = NULL; +HGLRC (CALLBACK * disp__wglCreateContext)(HDC) = NULL; +HGLRC (CALLBACK * disp__wglCreateLayerContext)(HDC, int) = NULL; +BOOL (CALLBACK * disp__wglDeleteContext)(HGLRC) = NULL; +HGLRC (CALLBACK * disp__wglGetCurrentContext)(VOID) = NULL; +HDC (CALLBACK * disp__wglGetCurrentDC)(VOID) = NULL; +BOOL (CALLBACK * disp__wglMakeCurrent)(HDC, HGLRC) = NULL; +BOOL (CALLBACK * disp__wglShareLists)(HGLRC, HGLRC) = NULL; + + diff --git a/CNativeCode/wgltool.c b/CNativeCode/wgltool.c new file mode 100755 index 0000000..d57335c --- /dev/null +++ b/CNativeCode/wgltool.c @@ -0,0 +1,752 @@ +/** + * glxtool.c + * + * Copyright (C) 2001 Sven Goethel + * + * GNU Library General Public License + * as published by the Free Software Foundation + * + * http://www.gnu.org/copyleft/lgpl.html + * General dynamical loading OpenGL (GL/GLU) support for: + */ + +#include "wgltool.h" + +#include "wgl-disp-var.hc" + +/** + * do not call this one directly, + * use fetch_GL_FUNCS (gltool.c) instead + */ +void LIBAPIENTRY fetch_WGL_FUNCS (const char * libGLName, + const char * libGLUName, int force) +{ + static int _firstRun = 1; + + if(force) + _firstRun = 1; + + if(!_firstRun) + return; + + if(!loadGLLibrary (libGLName, libGLUName))
+ return;
+
+ #define GET_GL_PROCADDRESS(a) getGLProcAddressHelper (libGLName, libGLUName, (a), NULL, 1, 0);
+ + + #include "wgl-disp-fetch.hc" + + _firstRun=0; +} +
+ +HGLRC LIBAPIENTRY get_GC( HDC * hDC, GLCapabilities *glCaps,
+ HGLRC shareWith,
+ int offScreenRenderer,
+ int width, int height, HBITMAP *pix,
+ int verbose)
+
+{
+ const char * text=0;
+ HDC hDCOrig = 0;
+
+ // Color Palette handle
+ HPALETTE hPalette = NULL;
+ HGLRC tempRC=0;
+
+ if( *hDC == 0 && !offScreenRenderer)
+ printf( "get_GC: Error, HDC is zero\n");
+
+ // Select the pixel format
+ if(offScreenRenderer)
+ {
+ hDCOrig = *hDC;
+ *hDC = CreateCompatibleDC(hDCOrig);
+ // setupDIB(*hDC, pix, width, height);
+ setupDIB(hDCOrig, *hDC, pix, width, height);
+ /* SetDCPixelFormat(hDCOffScr, doubleBuffer, stereo, stencilBits, offScreenRenderer); */
+ /* setupPalette(hDC); USE MY PROC */
+ }
+
+ SetDCPixelFormat(*hDC, glCaps, offScreenRenderer, verbose);
+
+ // Create palette if needed
+ hPalette = GetOpenGLPalette(*hDC);
+
+ tempRC = disp__wglCreateContext( *hDC );
+
+ if(verbose)
+ {
+ fprintf(stderr,"\n\nPIXELFORMAT OF GL-Context SETTINGS:\n");
+ text=GetTextualPixelFormatByHDC(*hDC);
+ fprintf(stderr,text);
+ }
+
+ /* check if the context could be created */
+ if( tempRC == NULL ) {
+ fprintf(stderr, "getGC context could NOT be created \n");
+ return( 0 );
+ }
+
+ /* associated the context with the X window */
+ if( disp__wglMakeCurrent( *hDC, tempRC ) == FALSE) {
+ fprintf(stderr,"wglMakeCurrent(%p,%p) failed on new context!!!\n", *hDC,tempRC);
+ fprintf(stderr,"Error code = %d\n",(int)GetLastError());
+ disp__wglMakeCurrent(NULL, NULL);
+ disp__wglDeleteContext( tempRC );
+ return( 0 );
+ }
+
+ if(shareWith!=NULL && disp__wglShareLists(shareWith, tempRC)==FALSE)
+ {
+ fprintf(stderr,"\nERROR: Could not share lists between the new and the given GLContext (Win32Native)!\n");
+ fprintf(stderr,"Error code = %d\n",(int)GetLastError());
+ disp__wglMakeCurrent(NULL, NULL);
+ disp__wglDeleteContext( tempRC );
+ return( 0 );
+ }
+
+ if(verbose)
+ printf( "HGLRC (glContext) created: %p\n", tempRC );
+
+ return tempRC;
+}
+
+void LIBAPIENTRY setPixelFormatByGLCapabilities(
+ PIXELFORMATDESCRIPTOR *pfd,
+ GLCapabilities *glCaps,
+ int offScreenRenderer,
+ HDC hdc)
+{
+
+ int colorBits = glCaps->redBits + glCaps->greenBits + glCaps->blueBits;
+
+ pfd->nSize=sizeof(PIXELFORMATDESCRIPTOR);
+ pfd->nVersion=1;
+ pfd->dwFlags=PFD_SUPPORT_OPENGL | PFD_GENERIC_ACCELERATED; /* refined later */
+ pfd->iPixelType=0;
+ pfd->cColorBits=0;
+ pfd->cRedBits=0;
+ pfd->cRedShift=0;
+ pfd->cGreenBits=0;
+ pfd->cGreenShift=0;
+ pfd->cBlueBits=0;
+ pfd->cBlueShift=0;
+ pfd->cAlphaBits=0;
+ pfd->cAlphaShift=0;
+ pfd->cAccumBits=0;
+ pfd->cAccumRedBits=0;
+ pfd->cAccumGreenBits=0;
+ pfd->cAccumBlueBits=0;
+ pfd->cAccumAlphaBits=0;
+ pfd->cDepthBits=32;
+ pfd->cStencilBits=0;
+ pfd->cAuxBuffers=0;
+ pfd->iLayerType=PFD_MAIN_PLANE;
+ pfd->bReserved=0;
+ pfd->dwLayerMask=0;
+ pfd->dwVisibleMask=0;
+ pfd->dwDamageMask=0;
+
+ if(COLOR_RGBA == glCaps->color)
+ pfd->iPixelType=PFD_TYPE_RGBA;
+ else
+ pfd->iPixelType=PFD_TYPE_COLORINDEX;
+
+ if(offScreenRenderer)
+ pfd->dwFlags |= PFD_DRAW_TO_BITMAP; // Draw to Bitmap
+ else
+ pfd->dwFlags |= PFD_DRAW_TO_WINDOW; // Draw to Window (not to bitmap)
+
+
+ if(BUFFER_DOUBLE==glCaps->buffer)
+ pfd->dwFlags |= PFD_DOUBLEBUFFER ; // Double buffered is optional
+
+ if(STEREO_ON==glCaps->stereo)
+ pfd->dwFlags |= PFD_STEREO ; // Stereo is optional
+
+ if(hdc!=NULL && GetDeviceCaps(hdc, BITSPIXEL)<colorBits)
+ pfd->cColorBits = GetDeviceCaps(hdc, BITSPIXEL);
+ else
+ pfd->cColorBits = (BYTE)colorBits;
+
+ pfd->cStencilBits = (BYTE) glCaps->stencilBits;
+}
+
+
+void LIBAPIENTRY SetDCPixelFormat(HDC hDC, GLCapabilities *glCaps,
+ int offScreenRenderer, int verbose)
+{
+ int nPixelFormat=-1;
+ const char * text=0;
+
+ PIXELFORMATDESCRIPTOR pfd ;
+
+ if(verbose)
+ {
+ fprintf(stdout, "GL4Java SetDCPixelFormat: input capabilities:\n");
+ printGLCapabilities ( glCaps );
+ }
+
+ if(glCaps->nativeVisualID>=0)
+ {
+ if ( 0 < DescribePixelFormat( hDC, (int)(glCaps->nativeVisualID),
+ sizeof(pfd), &pfd ) )
+ {
+ nPixelFormat=(int)(glCaps->nativeVisualID);
+ if(verbose)
+ {
+ fprintf(stderr,"\n\nUSER found stored PIXELFORMAT number: %ld\n",
+ nPixelFormat);
+ fflush(stderr);
+ }
+ } else {
+ fprintf(stderr,"\n\nUSER no stored PIXELFORMAT number found !!\n");
+ nPixelFormat = -1;
+ fflush(stderr);
+ }
+ }
+
+ if(nPixelFormat<0)
+ setPixelFormatByGLCapabilities( &pfd, glCaps, offScreenRenderer, hDC);
+
+ if(verbose)
+ {
+ fprintf(stderr,"\n\nUSER CHOOSED PIXELFORMAT (TRYING):\n");
+ text=GetTextualPixelFormatByPFD(&pfd, nPixelFormat);
+ fprintf(stderr,text);
+ fflush(stderr);
+ }
+
+ // Choose a pixel format that best matches that described in pfd
+ if( hDC == 0 )
+ printf( "SetDCPixelFormat: Error, no HDC-Contex is given\n");
+ else if(nPixelFormat<0)
+ nPixelFormat = ChoosePixelFormat(hDC, &pfd);
+
+ if( nPixelFormat == 0 )
+ printf( "SetDCPixelFormat: Error with PixelFormat\n" );
+
+ // Set the pixel format for the device context
+ if( SetPixelFormat(hDC, nPixelFormat, &pfd) == FALSE)
+ printf( "setpixel failed\n" );
+ else {
+ (void) setGLCapabilities ( hDC, nPixelFormat, glCaps );
+ if(verbose)
+ {
+ fprintf(stdout, "GL4Java SetDCPixelFormat: used capabilities:\n");
+ printGLCapabilities ( glCaps );
+ }
+ }
+ fflush(stdout);
+ fflush(stderr);
+}
+
+
+// If necessary, creates a 3-3-2 palette for the device context listed.
+HPALETTE LIBAPIENTRY GetOpenGLPalette(HDC hDC)
+{
+ HPALETTE hRetPal = NULL; // Handle to palette to be created
+ PIXELFORMATDESCRIPTOR pfd; // Pixel Format Descriptor
+ LOGPALETTE *pPal=0; // Pointer to memory for logical palette
+ int nPixelFormat=0; // Pixel format index
+ int nColors=0; // Number of entries in palette
+ int i=0; // Counting variable
+ BYTE RedRange=0,GreenRange=0,BlueRange=0;
+ // Range for each color entry (7,7,and 3)
+
+
+ // Get the pixel format index and retrieve the pixel format description
+ nPixelFormat = GetPixelFormat(hDC);
+ DescribePixelFormat(hDC, nPixelFormat, sizeof(PIXELFORMATDESCRIPTOR), &pfd);
+
+ // Does this pixel format require a palette? If not, do not create a
+ // palette and just return NULL
+ if(!(pfd.dwFlags & PFD_NEED_PALETTE))
+ return NULL;
+
+ // Number of entries in palette. 8 bits yeilds 256 entries
+ nColors = 1 << pfd.cColorBits;
+
+ // Allocate space for a logical palette structure plus all the palette entries
+ pPal = (LOGPALETTE*)malloc(sizeof(LOGPALETTE) + nColors*sizeof(PALETTEENTRY));
+
+ // Fill in palette header
+ pPal->palVersion = 0x300; // Windows 3.0
+ pPal->palNumEntries = nColors; // table size
+
+ // Build mask of all 1's. This creates a number represented by having
+ // the low order x bits set, where x = pfd.cRedBits, pfd.cGreenBits, and
+ // pfd.cBlueBits.
+ RedRange = (1 << pfd.cRedBits) -1;
+ GreenRange = (1 << pfd.cGreenBits) - 1;
+ BlueRange = (1 << pfd.cBlueBits) -1;
+
+ // Loop through all the palette entries
+ for(i = 0; i < nColors; i++)
+ {
+ // Fill in the 8-bit equivalents for each component
+ pPal->palPalEntry[i].peRed = (i >> pfd.cRedShift) & RedRange;
+ pPal->palPalEntry[i].peRed = (unsigned char)(
+ (double) pPal->palPalEntry[i].peRed * 255.0 / RedRange);
+
+ pPal->palPalEntry[i].peGreen = (i >> pfd.cGreenShift) & GreenRange;
+ pPal->palPalEntry[i].peGreen = (unsigned char)(
+ (double)pPal->palPalEntry[i].peGreen * 255.0 / GreenRange);
+
+ pPal->palPalEntry[i].peBlue = (i >> pfd.cBlueShift) & BlueRange;
+ pPal->palPalEntry[i].peBlue = (unsigned char)(
+ (double)pPal->palPalEntry[i].peBlue * 255.0 / BlueRange);
+
+ pPal->palPalEntry[i].peFlags = (unsigned char) NULL;
+ }
+
+
+ // Create the palette
+ hRetPal = CreatePalette(pPal);
+
+ // Go ahead and select and realize the palette for this device context
+ SelectPalette(hDC,hRetPal,FALSE);
+ RealizePalette(hDC);
+
+ // Free the memory used for the logical palette structure
+ free(pPal);
+
+ // Return the handle to the new palette
+ return hRetPal;
+}
+
+
+static void
+PrintMessage( const char *Format, ... )
+{
+ va_list ArgList;
+ char Buffer[256];
+
+ va_start(ArgList, Format);
+ vsprintf(Buffer, Format, ArgList);
+ va_end(ArgList);
+
+ fprintf(stderr, Buffer);
+}
+
+
+int LIBAPIENTRY
+PixelFormatDescriptorFromDc( HDC Dc, PIXELFORMATDESCRIPTOR *Pfd )
+{
+ int PfdIndex;
+
+ if ( 0 < (PfdIndex = GetPixelFormat( Dc )) )
+ {
+ if ( 0 < DescribePixelFormat( Dc, PfdIndex, sizeof(*Pfd), Pfd ) )
+ {
+ return(PfdIndex);
+ }
+ else
+ {
+ PrintMessage("Could not get a description of pixel format %d\n",
+ PfdIndex );
+ }
+ }
+ else
+ {
+ PrintMessage("Could not get pixel format for Dc 0x%08lX\n", Dc );
+ }
+ return( 0 );
+}
+
+
+const char * LIBAPIENTRY
+GetTextualPixelFormatByPFD(PIXELFORMATDESCRIPTOR *ppfd, int format)
+{
+ static char buffer[2000];
+ char line[200];
+
+ sprintf(buffer,"Pixel format %d\n", format);
+ sprintf(line," dwFlags - 0x%x\n", ppfd->dwFlags);
+ if (ppfd->dwFlags & PFD_DOUBLEBUFFER) { strcat(buffer, line); sprintf(line,"\tPFD_DOUBLEBUFFER\n "); }
+ if (ppfd->dwFlags & PFD_STEREO) { strcat(buffer, line); sprintf(line,"\tPFD_STEREO\n "); }
+ if (ppfd->dwFlags & PFD_DRAW_TO_WINDOW) { strcat(buffer, line); sprintf(line,"\tPFD_DRAW_TO_WINDOW\n "); }
+ if (ppfd->dwFlags & PFD_DRAW_TO_BITMAP) { strcat(buffer, line); sprintf(line,"\tPFD_DRAW_TO_BITMAP\n "); }
+ if (ppfd->dwFlags & PFD_SUPPORT_GDI) { strcat(buffer, line); sprintf(line,"\tPFD_SUPPORT_GDI\n "); }
+ if (ppfd->dwFlags & PFD_SUPPORT_OPENGL) { strcat(buffer, line); sprintf(line,"\tPFD_SUPPORT_OPENGL\n "); }
+ if (ppfd->dwFlags & PFD_GENERIC_ACCELERATED) { strcat(buffer, line); sprintf(line,"\tPFD_GENERIC_ACCELERATED\n "); }
+ if (ppfd->dwFlags & PFD_GENERIC_FORMAT) { strcat(buffer, line); sprintf(line,"\tPFD_GENERIC_FORMAT\n "); }
+ if (ppfd->dwFlags & PFD_NEED_PALETTE) { strcat(buffer, line); sprintf(line,"\tPFD_NEED_PALETTE\n "); }
+ if (ppfd->dwFlags & PFD_NEED_SYSTEM_PALETTE) { strcat(buffer, line); sprintf(line,"\tPFD_NEED_SYSTEM_PALETTE\n "); }
+ strcat(buffer, line); sprintf(line,"\n");
+ strcat(buffer, line); sprintf(line," iPixelType - %d\n", ppfd->iPixelType);
+ if (ppfd->iPixelType == PFD_TYPE_RGBA) { strcat(buffer, line); sprintf(line,"\tPGD_TYPE_RGBA\n"); }
+ if (ppfd->iPixelType == PFD_TYPE_COLORINDEX) { strcat(buffer, line); sprintf(line,"\tPGD_TYPE_COLORINDEX\n"); }
+ strcat(buffer, line); sprintf(line," cColorBits - %d\n", ppfd->cColorBits);
+ strcat(buffer, line); sprintf(line," cRedBits - %d\n", ppfd->cRedBits);
+ strcat(buffer, line); sprintf(line," cRedShift - %d\n", ppfd->cRedShift);
+ strcat(buffer, line); sprintf(line," cGreenBits - %d\n", ppfd->cGreenBits);
+ strcat(buffer, line); sprintf(line," cGreenShift - %d\n", ppfd->cGreenShift);
+ strcat(buffer, line); sprintf(line," cBlueBits - %d\n", ppfd->cBlueBits);
+ strcat(buffer, line); sprintf(line," cBlueShift - %d\n", ppfd->cBlueShift);
+ strcat(buffer, line); sprintf(line," cAlphaBits - %d (N.A.)\n", ppfd->cAlphaBits);
+ strcat(buffer, line); sprintf(line," cAlphaShift - 0x%x (N.A.)\n", ppfd->cAlphaShift);
+ strcat(buffer, line); sprintf(line," cAccumBits - %d\n", ppfd->cAccumBits);
+ strcat(buffer, line); sprintf(line," cAccumRedBits - %d\n", ppfd->cAccumRedBits);
+ strcat(buffer, line); sprintf(line," cAccumGreenBits - %d\n", ppfd->cAccumGreenBits);
+ strcat(buffer, line); sprintf(line," cAccumBlueBits - %d\n", ppfd->cAccumBlueBits);
+ strcat(buffer, line); sprintf(line," cAccumAlphaBits - %d\n", ppfd->cAccumAlphaBits);
+ strcat(buffer, line); sprintf(line," cDepthBits - %d\n", ppfd->cDepthBits);
+ strcat(buffer, line); sprintf(line," cStencilBits - %d\n", ppfd->cStencilBits);
+ strcat(buffer, line); sprintf(line," cAuxBuffers - %d\n", ppfd->cAuxBuffers);
+ strcat(buffer, line); sprintf(line," iLayerType - %d\n", ppfd->iLayerType);
+ strcat(buffer, line); sprintf(line," bReserved - %d\n", ppfd->bReserved);
+ strcat(buffer, line); sprintf(line," dwLayerMask - 0x%x\n", ppfd->dwLayerMask);
+ strcat(buffer, line); sprintf(line," dwVisibleMask - 0x%x\n", ppfd->dwVisibleMask);
+ strcat(buffer, line); sprintf(line," dwDamageMask - 0x%x\n", ppfd->dwDamageMask);
+ strcat(buffer, line);
+ return buffer;
+}
+
+const char * LIBAPIENTRY GetTextualPixelFormatByHDC(HDC hdc)
+{
+ PIXELFORMATDESCRIPTOR pfd, *ppfd=0;
+ int format=0;
+
+ ppfd = &pfd;
+ format = PixelFormatDescriptorFromDc( hdc, ppfd );
+
+ return GetTextualPixelFormatByPFD(ppfd, format);
+}
+
+/*****************************************************************/
+
+/* Struct used to manage color ramps */
+typedef struct {
+ GLfloat amb[3]; /* ambient color / bottom of ramp */
+ GLfloat diff[3]; /* diffuse color / middle of ramp */
+ GLfloat spec[3]; /* specular color / top of ramp */
+ GLfloat ratio; /* ratio of diffuse to specular in ramp */
+ GLint indexes[3]; /* where ramp was placed in palette */
+} colorIndexState ;
+
+#define NUM_COLORS (sizeof(colors) / sizeof(colors[0]))
+
+void LIBAPIENTRY
+setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap, int width, int height)
+{
+ BITMAPINFO *bmInfo=0;
+ BITMAPINFOHEADER *bmHeader=0;
+ UINT usage=0;
+ VOID *base=0;
+ int bmiSize=0;
+ int bitsPerPixel=0;
+ HBITMAP hOldBitmap=0;
+
+ bmiSize = sizeof(*bmInfo);
+ bitsPerPixel = GetDeviceCaps(hDC, BITSPIXEL);
+
+ switch (bitsPerPixel) {
+ case 8:
+ // bmiColors is 256 WORD palette indices
+ bmiSize += (256 * sizeof(WORD)) - sizeof(RGBQUAD);
+ break;
+ case 16:
+ // bmiColors is 3 WORD component masks
+ bmiSize += (3 * sizeof(DWORD)) - sizeof(RGBQUAD);
+ break;
+ case 24:
+ case 32:
+ default:
+ // bmiColors not used
+ break;
+ }
+
+ bmInfo = (BITMAPINFO *) calloc(1, bmiSize);
+ bmHeader = &bmInfo->bmiHeader;
+
+ bmHeader->biSize = sizeof(*bmHeader);
+ bmHeader->biWidth = width;
+ bmHeader->biHeight = height;
+ bmHeader->biPlanes = 1; // must be 1
+ bmHeader->biBitCount = bitsPerPixel;
+ bmHeader->biXPelsPerMeter = 0;
+ bmHeader->biYPelsPerMeter = 0;
+ bmHeader->biClrUsed = 0; // all are used
+ bmHeader->biClrImportant = 0; // all are important
+
+ switch (bitsPerPixel) {
+ case 8:
+ bmHeader->biCompression = BI_RGB;
+ bmHeader->biSizeImage = 0;
+ usage = DIB_PAL_COLORS;
+ // bmiColors is 256 WORD palette indices
+ {
+ WORD *palIndex = (WORD *) &bmInfo->bmiColors[0];
+ int i;
+
+ for (i=0; i<256; i++) {
+ palIndex[i] = i;
+ }
+ }
+ break;
+ case 16:
+ bmHeader->biCompression = BI_RGB;
+ bmHeader->biSizeImage = 0;
+ usage = DIB_RGB_COLORS;
+ // bmiColors is 3 WORD component masks
+ {
+ DWORD *compMask = (DWORD *) &bmInfo->bmiColors[0];
+
+ compMask[0] = 0xF800;
+ compMask[1] = 0x07E0;
+ compMask[2] = 0x001F;
+ }
+ break;
+ case 24:
+ case 32:
+ default:
+ bmHeader->biCompression = BI_RGB;
+ bmHeader->biSizeImage = 0;
+ usage = DIB_RGB_COLORS;
+ // bmiColors not used
+ break;
+ }
+
+ *hBitmap = CreateDIBSection(hDC, bmInfo, usage, &base, NULL, 0);
+ if (*hBitmap == NULL) {
+ (void) MessageBox(WindowFromDC(hDC),
+ "Failed to create DIBSection.",
+ "OpenGL application error",
+ MB_ICONERROR | MB_OK);
+ exit(1);
+ }
+
+ hOldBitmap = SelectObject(hDC, *hBitmap);
+ if(hOldBitmap!=0)
+ DeleteObject(hOldBitmap);
+
+ free(bmInfo);
+}
+
+
+/*
+static void
+setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap, int width, int height)
+{
+ HBITMAP hOldBitmap=0;
+
+ *hBitmap = CreateCompatibleBitmap( hDCOrig, width, height );
+ if (*hBitmap == NULL) {
+ fprintf(stderr,"Failed to create CreateCompatibleBitmap! \n");
+ fflush(stderr);
+ return;
+ }
+
+ hOldBitmap = SelectObject(hDC, *hBitmap);
+ if(hOldBitmap!=0)
+ DeleteObject(hOldBitmap);
+}
+*/
+
+
+void LIBAPIENTRY resizeDIB(HDC hDC, HBITMAP *hOldBitmap, HBITMAP *hBitmap)
+{
+ /*
+ SelectObject(hDC, *hOldBitmap);
+ DeleteObject(*hBitmap);
+ setupDIB(hDC, hBitmap);
+ */
+}
+
+HPALETTE LIBAPIENTRY setupPalette(HDC hDC)
+{
+ HPALETTE hPalette = NULL;
+ PIXELFORMATDESCRIPTOR pfd;
+ LOGPALETTE* pPal=0;
+ int pixelFormat = GetPixelFormat(hDC);
+ int paletteSize=0;
+ colorIndexState colors[] = {
+ {
+ { 0.0F, 0.0F, 0.0F },
+ { 0.1F, 0.6F, 0.3F },
+ { 1.0F, 1.0F, 1.0F },
+ 0.75F, { 0, 0, 0 },
+ },
+ {
+ { 0.0F, 0.0F, 0.0F },
+ { 0.0F, 0.2F, 0.5F },
+ { 1.0F, 1.0F, 1.0F },
+ 0.75F, { 0, 0, 0 },
+ },
+ {
+ { 0.0F, 0.05F, 0.05F },
+ { 0.6F, 0.0F, 0.8F },
+ { 1.0F, 1.0F, 1.0F },
+ 0.75F, { 0, 0, 0 },
+ },
+ };
+
+
+ DescribePixelFormat(hDC, pixelFormat, sizeof(PIXELFORMATDESCRIPTOR), &pfd);
+
+ /*
+ ** Determine if a palette is needed and if so what size.
+ */
+ if (pfd.dwFlags & PFD_NEED_PALETTE) {
+ paletteSize = 1 << pfd.cColorBits;
+ } else if (pfd.iPixelType == PFD_TYPE_COLORINDEX) {
+ paletteSize = 4096;
+ } else {
+ return NULL;
+ }
+
+ pPal = (LOGPALETTE*)
+ malloc(sizeof(LOGPALETTE) + paletteSize * sizeof(PALETTEENTRY));
+ pPal->palVersion = 0x300;
+ pPal->palNumEntries = paletteSize;
+
+ if (pfd.iPixelType == PFD_TYPE_RGBA) {
+ /*
+ ** Fill the logical paletee with RGB color ramps
+ */
+ int redMask = (1 << pfd.cRedBits) - 1;
+ int greenMask = (1 << pfd.cGreenBits) - 1;
+ int blueMask = (1 << pfd.cBlueBits) - 1;
+ int i;
+
+
+
+ for (i=0; i<paletteSize; ++i) {
+ pPal->palPalEntry[i].peRed =
+ (((i >> pfd.cRedShift) & redMask) * 255) / redMask;
+ pPal->palPalEntry[i].peGreen =
+ (((i >> pfd.cGreenShift) & greenMask) * 255) / greenMask;
+ pPal->palPalEntry[i].peBlue =
+ (((i >> pfd.cBlueShift) & blueMask) * 255) / blueMask;
+ pPal->palPalEntry[i].peFlags = 0;
+ }
+ } else {
+ /*
+ ** Fill the logical palette with color ramps.
+ **
+ ** Set up the logical palette so that it can be realized
+ ** into the system palette as an identity palette.
+ **
+ ** 1) The default static entries should be present and at the right
+ ** location. The easiest way to do this is to grab them from
+ ** the current system palette.
+ **
+ ** 2) All non-static entries should be initialized to unique values.
+ ** The easiest way to do this is to ensure that all of the non-static
+ ** entries have the PC_NOCOLLAPSE flag bit set.
+ */
+ int numRamps = NUM_COLORS;
+ int rampSize = (paletteSize - 20) / numRamps;
+ int extra = (paletteSize - 20) - (numRamps * rampSize);
+ int i, r;
+
+ /*
+ ** Initialize static entries by copying them from the
+ ** current system palette.
+ */
+ GetSystemPaletteEntries(hDC, 0, paletteSize, &pPal->palPalEntry[0]);
+
+ /*
+ ** Fill in non-static entries with desired colors.
+ */
+ for (r=0; r<numRamps; ++r) {
+ int rampBase = r * rampSize + 10;
+ PALETTEENTRY *pe = &pPal->palPalEntry[rampBase];
+ int diffSize = (int) (rampSize * colors[r].ratio);
+ int specSize = rampSize - diffSize;
+
+ for (i=0; i<rampSize; ++i) {
+ GLfloat *c0, *c1;
+ GLint a;
+
+ if (i < diffSize) {
+ c0 = colors[r].amb;
+ c1 = colors[r].diff;
+ a = (i * 255) / (diffSize - 1);
+ } else {
+ c0 = colors[r].diff;
+ c1 = colors[r].spec;
+ a = ((i - diffSize) * 255) / (specSize - 1);
+ }
+
+ pe[i].peRed = (BYTE) (a * (c1[0] - c0[0]) + 255 * c0[0]);
+ pe[i].peGreen = (BYTE) (a * (c1[1] - c0[1]) + 255 * c0[1]);
+ pe[i].peBlue = (BYTE) (a * (c1[2] - c0[2]) + 255 * c0[2]);
+ pe[i].peFlags = PC_NOCOLLAPSE;
+ }
+
+ colors[r].indexes[0] = rampBase;
+ colors[r].indexes[1] = rampBase + (diffSize-1);
+ colors[r].indexes[2] = rampBase + (rampSize-1);
+ }
+
+ /*
+ ** Initialize any remaining non-static entries.
+ */
+ for (i=0; i<extra; ++i) {
+ int index = numRamps*rampSize+10+i;
+ PALETTEENTRY *pe = &pPal->palPalEntry[index];
+
+ pe->peRed = (BYTE) 0;
+ pe->peGreen = (BYTE) 0;
+ pe->peBlue = (BYTE) 0;
+ pe->peFlags = PC_NOCOLLAPSE;
+ }
+ }
+
+ hPalette = CreatePalette(pPal);
+ free(pPal);
+
+ if (hPalette) {
+ SelectPalette(hDC, hPalette, FALSE);
+ RealizePalette(hDC);
+ }
+
+ return hPalette;
+}
+
+
+int LIBAPIENTRY setGLCapabilities ( HDC hdc,
+ int nPixelFormat,
+ GLCapabilities *glCaps )
+{
+ PIXELFORMATDESCRIPTOR pfd;
+
+ (void) PixelFormatDescriptorFromDc( hdc, &pfd);
+
+ if (pfd.dwFlags & PFD_DOUBLEBUFFER)
+ glCaps->buffer=BUFFER_DOUBLE;
+ else
+ glCaps->buffer=BUFFER_SINGLE;
+
+ if (pfd.dwFlags & PFD_STEREO)
+ glCaps->stereo=STEREO_ON;
+ else
+ glCaps->stereo=STEREO_OFF;
+
+ if (pfd.iPixelType == PFD_TYPE_RGBA)
+ glCaps->color=COLOR_RGBA;
+
+ if (pfd.iPixelType == PFD_TYPE_COLORINDEX)
+ glCaps->color=COLOR_INDEX;
+
+ glCaps->depthBits = pfd.cDepthBits;
+ glCaps->stencilBits = pfd.cStencilBits;
+
+ glCaps->redBits = pfd.cRedBits;
+ glCaps->greenBits= pfd.cGreenBits;
+ glCaps->blueBits= pfd.cBlueBits;
+ /* glCaps->alphaBits= pfd.cAlphaBits; N.A. */
+ glCaps->accumRedBits = pfd.cAccumRedBits;
+ glCaps->accumGreenBits= pfd.cAccumGreenBits;
+ glCaps->accumBlueBits= pfd.cAccumBlueBits;
+ glCaps->accumAlphaBits= pfd.cAccumAlphaBits;
+
+ glCaps->nativeVisualID=nPixelFormat;
+
+ return 1;
+}
+
diff --git a/CNativeCode/wgltool.h b/CNativeCode/wgltool.h new file mode 100755 index 0000000..cb64425 --- /dev/null +++ b/CNativeCode/wgltool.h @@ -0,0 +1,70 @@ +#ifndef _WGLTOOL_H + /** + * glxtool.h + * + * Copyright (C) 2001 Sven Goethel + * + * GNU Library General Public License + * as published by the Free Software Foundation + * + * http://www.gnu.org/copyleft/lgpl.html + * General dynamical loading OpenGL (GL/GLU) support for: + */ + + #define _WGLTOOL_H + + #include "gltool.h"
+ + #include "glcaps.h"
+ + #include <windows.h>
+ #include <wingdi.h> +
+ #include "wgl-disp-var.h" + + /** + * do not call this one directly, + * use fetch_GL_FUNCS (gltool.h) instead + */ + LIBAPI void LIBAPIENTRY fetch_WGL_FUNCS + (const char * libGLName, + const char * libGLUName, int force); + +
+ LIBAPI void LIBAPIENTRY setPixelFormatByGLCapabilities(
+ PIXELFORMATDESCRIPTOR *pfd,
+ GLCapabilities *glCaps,
+ int offScreenRenderer,
+ HDC hdc);
+
+ // Set Pixel Format function - forward declaration
+ LIBAPI void LIBAPIENTRY SetDCPixelFormat(HDC hDC, GLCapabilities *glCaps,
+ int offScreenRenderer, int verbose);
+
+ LIBAPI HPALETTE LIBAPIENTRY GetOpenGLPalette(HDC hDC);
+
+ LIBAPI HGLRC LIBAPIENTRY get_GC( HDC *hDC, GLCapabilities *glCaps,
+ HGLRC shareWith, int offScreenRenderer,
+ int width, int height, HBITMAP *pix,
+ int verbose);
+
+ LIBAPI int LIBAPIENTRY PixelFormatDescriptorFromDc( HDC Dc,
+ PIXELFORMATDESCRIPTOR *Pfd );
+
+ const char * LIBAPIENTRY GetTextualPixelFormatByHDC(HDC hdc);
+
+ const char * LIBAPIENTRY GetTextualPixelFormatByPFD(
+ PIXELFORMATDESCRIPTOR *ppfd, int format);
+
+ LIBAPI void LIBAPIENTRY setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap,
+ int width, int height);
+
+ LIBAPI void LIBAPIENTRY resizeDIB(HDC hDC, HBITMAP *hOldBitmap,
+ HBITMAP *hBitmap);
+
+ LIBAPI HPALETTE LIBAPIENTRY setupPalette(HDC hDC);
+
+ LIBAPI int LIBAPIENTRY setGLCapabilities ( HDC hdc, int nPixelFormat,
+ GLCapabilities *glCaps );
+ +#endif diff --git a/Win32VC6/GL4JavaJauGljJNI13nf/GL4JavaJauGljJNI13nf.dsp b/Win32VC6/GL4JavaJauGljJNI13nf/GL4JavaJauGljJNI13nf.dsp new file mode 100755 index 0000000..5013f47 --- /dev/null +++ b/Win32VC6/GL4JavaJauGljJNI13nf/GL4JavaJauGljJNI13nf.dsp @@ -0,0 +1,111 @@ +# Microsoft Developer Studio Project File - Name="GL4JavaJauGljJNI13nf" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** NICHT BEARBEITEN **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=GL4JavaJauGljJNI13nf - Win32 Release
+!MESSAGE Dies ist kein g�ltiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
+!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und f�hren Sie den Befehl
+!MESSAGE
+!MESSAGE NMAKE /f "GL4JavaJauGljJNI13nf.mak".
+!MESSAGE
+!MESSAGE Sie k�nnen beim Ausf�hren von NMAKE eine Konfiguration angeben
+!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
+!MESSAGE
+!MESSAGE NMAKE /f "GL4JavaJauGljJNI13nf.mak" CFG="GL4JavaJauGljJNI13nf - Win32 Release"
+!MESSAGE
+!MESSAGE F�r die Konfiguration stehen zur Auswahl:
+!MESSAGE
+!MESSAGE "GL4JavaJauGljJNI13nf - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "../libs"
+# PROP Intermediate_Dir "../temp"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MT /W3 /GX /O2 /I "d:\java2\include" /I "d:\java2\include\win32" /I "..\..\CCLassHeaders" /I "..\..\CNativeCode" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WIN32_" /D "_MSVC_" /D "_MT" /D "_GL_DYNAMIC_BINDING_" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
+# ADD BASE RSC /l 0x407 /d "NDEBUG"
+# ADD RSC /l 0x407 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib jawt.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"d:\java2\lib"
+# SUBTRACT LINK32 /pdb:none /incremental:yes
+# Begin Target
+
+# Name "GL4JavaJauGljJNI13nf - Win32 Release"
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\GLCallbackHelperJNI.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\glcaps.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\GLDrawableFactory_Win32_SunJDK13.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\gltool.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\GLUCallbackJNI.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\jawt_misc.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\jni12tools.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGL_JauJNI12nf_funcs.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGL_misc.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGL_Win32_common.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGL_Win32_jawt.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGLU_JauJNI12nf_funcs.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\wgltool.c
+# End Source File
+# End Target
+# End Project
diff --git a/Win32VC6/GL4JavaJauGljJNI13tst/GL4JavaJauGljJNI13tst.dsp b/Win32VC6/GL4JavaJauGljJNI13tst/GL4JavaJauGljJNI13tst.dsp new file mode 100755 index 0000000..d903031 --- /dev/null +++ b/Win32VC6/GL4JavaJauGljJNI13tst/GL4JavaJauGljJNI13tst.dsp @@ -0,0 +1,111 @@ +# Microsoft Developer Studio Project File - Name="GL4JavaJauGljJNI13tst" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** NICHT BEARBEITEN **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=GL4JavaJauGljJNI13tst - Win32 Release
+!MESSAGE Dies ist kein g�ltiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
+!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und f�hren Sie den Befehl
+!MESSAGE
+!MESSAGE NMAKE /f "GL4JavaJauGljJNI13tst.mak".
+!MESSAGE
+!MESSAGE Sie k�nnen beim Ausf�hren von NMAKE eine Konfiguration angeben
+!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
+!MESSAGE
+!MESSAGE NMAKE /f "GL4JavaJauGljJNI13tst.mak" CFG="GL4JavaJauGljJNI13tst - Win32 Release"
+!MESSAGE
+!MESSAGE F�r die Konfiguration stehen zur Auswahl:
+!MESSAGE
+!MESSAGE "GL4JavaJauGljJNI13tst - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "../libs"
+# PROP Intermediate_Dir "../temp"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MT /W3 /GX /O2 /I "d:\java2\include" /I "d:\java2\include\win32" /I "..\..\CCLassHeaders" /I "..\..\CNativeCode" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_WIN32_" /D "_MSVC_" /D "_MT" /D "_GL_DYNAMIC_BINDING_" /FD /c
+# SUBTRACT CPP /YX
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o "NUL" /win32
+# ADD BASE RSC /l 0x407 /d "NDEBUG"
+# ADD RSC /l 0x407 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /machine:I386
+# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib jawt.lib /nologo /subsystem:windows /dll /machine:I386 /libpath:"d:\java2\lib"
+# SUBTRACT LINK32 /pdb:none /incremental:yes /debug
+# Begin Target
+
+# Name "GL4JavaJauGljJNI13tst - Win32 Release"
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\GLCallbackHelperJNI.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\glcaps.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\GLDrawableFactory_Win32_SunJDK13.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\gltool.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\GLUCallbackJNI.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\jawt_misc.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\jni12tools.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGL_JauJNI12_funcs.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGL_misc.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGL_Win32_common.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGL_Win32_jawt.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\OpenGLU_JauJNI12tst_funcs.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\wgltool.c
+# End Source File
+# End Target
+# End Project
diff --git a/Win32VC6/invokejvm/invokejvm.dsp b/Win32VC6/invokejvm/invokejvm.dsp new file mode 100755 index 0000000..8025062 --- /dev/null +++ b/Win32VC6/invokejvm/invokejvm.dsp @@ -0,0 +1,70 @@ +# Microsoft Developer Studio Project File - Name="invokejvm" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** NICHT BEARBEITEN **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=invokejvm - Win32 Debug
+!MESSAGE Dies ist kein g�ltiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
+!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und f�hren Sie den Befehl
+!MESSAGE
+!MESSAGE NMAKE /f "invokejvm.mak".
+!MESSAGE
+!MESSAGE Sie k�nnen beim Ausf�hren von NMAKE eine Konfiguration angeben
+!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
+!MESSAGE
+!MESSAGE NMAKE /f "invokejvm.mak" CFG="invokejvm - Win32 Debug"
+!MESSAGE
+!MESSAGE F�r die Konfiguration stehen zur Auswahl:
+!MESSAGE
+!MESSAGE "invokejvm - Win32 Debug" (basierend auf "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 2
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "Debug"
+# PROP Intermediate_Dir "Debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "d:\java2\include" /I "d:\java2\include\win32" /I "..\..\CCLassHeaders" /I "..\..\CNativeCode" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "_WIN32_" /D "_AFXDLL" /YX /FD /GZ /c
+# ADD BASE RSC /l 0x407 /d "_DEBUG"
+# ADD RSC /l 0x407 /d "_DEBUG" /d "_AFXDLL"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 jvm.lib ../libs/GL4JavaJauGljJNI13.lib ../libs/GL4JavaJauGLJNI13.lib /nologo /subsystem:console /incremental:no /debug /machine:I386 /pdbtype:sept /libpath:"d:\java2\lib"
+# Begin Target
+
+# Name "invokejvm - Win32 Debug"
+# Begin Group "Quellcodedateien"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=..\..\CNativeCode\invokejvm.c
+# End Source File
+# End Group
+# Begin Group "Header-Dateien"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# End Group
+# Begin Group "Ressourcendateien"
+
+# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
+# End Group
+# End Target
+# End Project
diff --git a/demos/MiscDemos/Test.java b/demos/MiscDemos/Test.java new file mode 100755 index 0000000..560fda9 --- /dev/null +++ b/demos/MiscDemos/Test.java @@ -0,0 +1,368 @@ +/** + * @(#) Test.java + * @(#) author: Sven Goethel + */ + +/* This program is free software under the license of LGPL */ + +import java.applet.*; +import java.awt.*; +import java.awt.event.*; +import java.lang.*; +import java.util.*; +import java.io.*; +import java.util.*; +import gl4java.GLContext; +import gl4java.awt.GLCanvas; +import gl4java.awt.GLAnimCanvas; +import gl4java.applet.SimpleGLAnimApplet1; + +public class Test +{ + + String testClazzName; + int width, height; + String glName, gluName; + + public Test(String testClazzName, int width, int height, + String glName, String gluName) + { + this.testClazzName = testClazzName; + this.width = width; + this.height = height; + this.glName = glName; + this.gluName = gluName; + } + + public void loadNStartTestClazz() + { + Object tstObj = null; + + try { + Class canvasClazz = + Class.forName("gl4java.awt.GLCanvas"); + Class animCanvasClazz = + Class.forName("gl4java.awt.GLAnimCanvas"); + Class animAppletCanvasClazz = + Class.forName("gl4java.applet.SimpleGLAnimApplet1"); + + Class tstClazz = Class.forName(testClazzName); + + if( ! canvasClazz.isAssignableFrom(tstClazz) && + ! animAppletCanvasClazz.isAssignableFrom(tstClazz) ) + { + System.out.println("Your test-clazz is neither derived from gl4java.awt.GLCanvas nor from gl4java.applet.SimpleGLAnimApplet1!"); + throw new Exception(); + } + + /** + * Std. conversion from Integer -> int + */ + Class[] parameterTypes = new Class[4]; + parameterTypes[0] = Class.forName("java.lang.Integer"); + parameterTypes[1] = Class.forName("java.lang.Integer"); + parameterTypes[2] = Class.forName("java.lang.String"); + parameterTypes[3] = Class.forName("java.lang.String"); + + Object[] parameters = null; + java.lang.reflect.Constructor tstObjConstr = null; + + try { + tstObjConstr = tstClazz.getConstructor(parameterTypes); + + parameters = new Object[4]; + parameters[0] = new java.lang.Integer(width); + parameters[1] = new java.lang.Integer(height); + parameters[2] = glName; + parameters[3] = gluName; + + } catch (java.lang.NoSuchMethodException nsme) { + + try { + parameterTypes = new Class[4]; + parameterTypes[0] = Class.forName("java.lang.Integer"); + parameterTypes[1] = Class.forName("java.lang.Integer"); + + tstObjConstr = tstClazz.getConstructor(parameterTypes); + + parameters = new Object[4]; + parameters[0] = new java.lang.Integer(width); + parameters[1] = new java.lang.Integer(height); + + } catch (java.lang.NoSuchMethodException nsme2) { + tstObj = tstClazz.newInstance(); + } + } + + if(tstObj==null && parameters!=null) + tstObj = tstObjConstr.newInstance(parameters); + + } catch (Exception ex) { + System.out.println("Instantiation of: "+testClazzName+" failed !"); + System.out.println(ex); + ex.printStackTrace(); + System.exit(1); + } + + if(tstObj instanceof SimpleGLAnimApplet1) + { + SimpleGLAnimApplet1 glSAnimApplet = (SimpleGLAnimApplet1)tstObj; + + Frame f = new Frame(testClazzName); + + f.addWindowListener( new WindowAdapter() + { + public void windowClosed(WindowEvent e) + { + System.exit(0); + } + public void windowClosing(WindowEvent e) + { + windowClosed(e); + } + } + ); + + f.setLayout(new BorderLayout()); + + glSAnimApplet.setSize(width, height); + glSAnimApplet.init(); + glSAnimApplet.start(); + + f.add(glSAnimApplet); + + Dimension ps = glSAnimApplet.getPreferredSize(); + f.setBounds(-100,-100,99,99); + f.setVisible(true); + //f.setVisible(false); + Insets i = f.getInsets(); + f.setBounds(0,0, + ps.width+i.left+i.right, + ps.height+i.top+i.bottom); + f.setVisible(true); + + } else if(tstObj instanceof GLAnimCanvas) + { + GLAnimCanvas glAnimCvsTest = (GLAnimCanvas)tstObj; + + GLAnimCanvasTest applet = new GLAnimCanvasTest(); + + Frame f = new Frame(testClazzName); + + f.addWindowListener( new WindowAdapter() + { + public void windowClosed(WindowEvent e) + { + System.exit(0); + } + public void windowClosing(WindowEvent e) + { + windowClosed(e); + } + } + ); + + f.setLayout(new BorderLayout()); + f.add("Center", applet); + applet.setSize(width,height); + applet.init(glAnimCvsTest); + applet.start(); + Dimension ps = applet.getPreferredSize(); + f.setBounds(-100,-100,99,99); + f.setVisible(true); + f.setVisible(false); + Insets i = f.getInsets(); + f.setBounds(0,0, + ps.width+i.left+i.right, + ps.height+i.top+i.bottom); + f.setVisible(true); + + } else { + GLCanvas glCvsTest = (GLCanvas)tstObj; + + GLCanvasTest applet = new GLCanvasTest(); + + Frame f = new Frame(testClazzName); + + f.addWindowListener( new WindowAdapter() + { + public void windowClosed(WindowEvent e) + { + System.exit(0); + } + public void windowClosing(WindowEvent e) + { + windowClosed(e); + } + } + ); + + f.setLayout(new BorderLayout()); + f.add("Center", applet); + applet.setSize(width,height); + applet.init(); + applet.start(); + Dimension ps = applet.getPreferredSize(); + f.setBounds(-100,-100,99,99); + f.setVisible(true); + f.setVisible(false); + Insets i = f.getInsets(); + f.setBounds(0,0, + ps.width+i.left+i.right, + ps.height+i.top+i.bottom); + f.setVisible(true); + } + } + + /** + * Test to load the native library, GLFunc and GLUFunc implementation ! + * If succesfull, a Frame will created and the GL-Infos (vendor, ...) + * are shown in it ! + * + * @param args, a list of args, + * + * -gljlib <glj-libname> gl4java-glj-lib native library + * -glclass <gl-class> gl4java-gl-class java GLFunc implementation + * -gluclass <glu-class> gl4java-glu-class java GLUFunc implementation + * -testclass <GLCanvas or SimpleGLAnimApplet1 Implementation Class> A derivation of GLCanvas (GLAnimCanvas also) or SimpleGLAnimApplet1 can be started here for testing purposes ! + * -w <int> the testclass window width (default 400) + * -h <int> the testclass window height (default 250) + * -perftest if a derivation of GLAnimCanvas is used as the testclass (see above), the fps-sleep and the use-repaint flags are set to false! + * + * without any arguments, a help screen is shown + */ + public static void main( String args[] ) + { + String nativeGLLib = null; + String nativeGLULib = null; + String gljLibName = null; + String glName = GLContext.defGLFuncClass; + String gluName = GLContext.defGLUFuncClass; + String testClazzName = GLContext.defGLUFuncClass; + boolean perftest=false; + int width=400, height=250; + int i = 0; + boolean ok=true; + + if(args.length==0) + { + System.out.println("usage: java Test <options>, where options can be: "); + System.out.println(" -GLLib <OpenGL Libname> \t choose a custom OpenGL native library (default: libGL, or OPENGL32, ..)"); + System.out.println(" -GLULib <GLU Libname> \t choose a custom GLU native library (default: libGLU, or GLU32, ..)"); + System.out.println(" -gljlib <glj-libname> \t choose a custom gl4java-glj-lib native library (default: GL4JavaJauGljJNI)"); + System.out.println(" -glclass <gl-class> \t choose a custom gl4java-gl-class java GLFunc implementation (default: GLFuncJauJNI)"); + System.out.println(" -gluclass <glu-class> \t choose a custom gl4java-glu-class java GLUFunc implementation (default: GLUFuncJauJNI)"); + System.out.println(" -testclass <GLCanvas Implementation Class> \t\t\t a derivation of GLCanvas (GLCanvas or GLAnimCanvas) can be started here for testing purposes !"); + System.out.println(" -w <int> \t\t\t the testclass window width (default 800) !"); + System.out.println(" -h <int> \t\t\t the testclass window height (default 600) !"); + System.out.println(" -perftest \t\t\t if a derivation of GLAnimCanvas is used as the testclass (see above), the fps-sleep and the use-repaint flags are set to false!"); + System.exit(0); + } + + while(args.length>i) + { + if(args[i].equals("-GLLib")) { + if(args.length>++i) nativeGLLib=args[i]; + } else if(args[i].equals("-GLULib")) { + if(args.length>++i) nativeGLULib=args[i]; + } else if(args[i].equals("-gljlib")) { + if(args.length>++i) gljLibName=args[i]; + } else if(args[i].equals("-glclass")) { + if(args.length>++i) glName=args[i]; + } else if(args[i].equals("-gluclass")) { + if(args.length>++i) gluName=args[i]; + } else if(args[i].equals("-testclass")) { + if(args.length>++i) testClazzName=args[i]; + } else if(args[i].equals("-w")) { + if(args.length>++i) { + try { + width = Integer.valueOf(args[i]).intValue(); + } catch (Exception ex) { + System.out.println("invalid width, please insert an integer value !"); + ok=false; + } + } + } else if(args[i].equals("-h")) { + if(args.length>++i) { + try { + height = Integer.valueOf(args[i]).intValue(); + } catch (Exception ex) { + System.out.println("invalid height, please insert an integer value !"); + ok=false; + } + } + } else if(args[i].equals("-perftest")) { + perftest=true; + } else { + System.out.println("illegal arg "+i+": "+args[i]); + ok=false; + } + i++; + } + + if(!perftest) + { + GLContext.gljNativeDebug = true; + GLContext.gljClassDebug = true; + } else { + GLContext.gljNativeDebug = false; + GLContext.gljClassDebug = false; + } + + if(GLContext.doLoadNativeLibraries(gljLibName, + nativeGLLib, nativeGLULib + ) + ) + System.out.println("native Libraries loaded succesfull"); + else { + System.out.println("native library NOT loaded complete"); + ok=false; + } + + + if(ok) { + // let's do it ... + Test test = new Test(testClazzName, width, height, + glName, gluName); + test.loadNStartTestClazz(); + } + } + + private class GLAnimCanvasTest extends SimpleGLAnimApplet1 + { + public void init(GLAnimCanvas glAnimCanvas) + { + super.init(); + Dimension d = getSize(); + canvas = glAnimCanvas; + add("Center", canvas); + } + } + + private class GLCanvasTest extends Applet + { + GLCanvas canvas = null; + + /* Initialize the applet */ + + public void init(GLCanvas glCanvas) + { + Dimension d = getSize(); + setLayout(new BorderLayout()); + canvas = glCanvas; + add("Center", canvas); + } + + /* Start the applet */ + + public void start() + { + } + + /* Stop the applet */ + + public void stop() + { + } + } +} diff --git a/demos/MiscDemos/sappletviewer_jausoftlocal.sh b/demos/MiscDemos/sappletviewer_jausoftlocal.sh new file mode 100755 index 0000000..e026f68 --- /dev/null +++ b/demos/MiscDemos/sappletviewer_jausoftlocal.sh @@ -0,0 +1,4 @@ +#! /bin/sh + +appletviewer -J-Djava.security.policy=gl4java.policy \ + http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/MiscDemos/$1 diff --git a/demos/sappletviewer_jausoftlocal.sh b/demos/sappletviewer_jausoftlocal.sh new file mode 100755 index 0000000..b6e7f7f --- /dev/null +++ b/demos/sappletviewer_jausoftlocal.sh @@ -0,0 +1,4 @@ +#! /bin/sh + +appletviewer -J-Djava.security.policy=gl4java.policy \ + http://jausoft.goethel.de/Files/Java/1.1.X/GL4Java/demos/$1 |