aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/OpenGL_JauJNI12nf_funcs.c
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2001-04-10 18:37:03 +0000
committerSven Gothel <[email protected]>2001-04-10 18:37:03 +0000
commit99f156a9d9e86e6d835ad9791071b23335476330 (patch)
treeb721df1c22bfc67fc6425d7d8ab1e9b9d2249ad1 /CNativeCode/OpenGL_JauJNI12nf_funcs.c
parente26f0c3e0a6be0f5555c5daee164047f3793d626 (diff)
Diffstat (limited to 'CNativeCode/OpenGL_JauJNI12nf_funcs.c')
-rwxr-xr-xCNativeCode/OpenGL_JauJNI12nf_funcs.c39123
1 files changed, 20246 insertions, 18877 deletions
diff --git a/CNativeCode/OpenGL_JauJNI12nf_funcs.c b/CNativeCode/OpenGL_JauJNI12nf_funcs.c
index 92732f8..fb6b1dc 100755
--- a/CNativeCode/OpenGL_JauJNI12nf_funcs.c
+++ b/CNativeCode/OpenGL_JauJNI12nf_funcs.c
@@ -1,18877 +1,20246 @@
-/* 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. */
+/* 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;
+
+ if ( disp__glGetString == NULL )
+ return (*env)->NewStringUTF(env, _gl_n_a_string);
+
+ 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.1.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.1
+ * 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)
+ {
+
+ if ( disp__glClearIndex == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glClearColor == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glClear == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glIndexMask == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColorMask == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glAlphaFunc == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glBlendFunc == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glLogicOp == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCullFace == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glFrontFace == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPointSize == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glLineWidth == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glLineStipple == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPolygonMode == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPolygonOffset == NULL ) return;
+
+ 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 ( disp__glPolygonStipple == NULL ) return;
+
+ 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 ( disp__glGetPolygonStipple == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEdgeFlag == NULL ) return;
+
+ 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 ( disp__glEdgeFlagv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glScissor == NULL ) return;
+
+ 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 ( disp__glClipPlane == NULL ) return;
+
+ 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 ( disp__glGetClipPlane == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glDrawBuffer == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glReadBuffer == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEnable == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glDisable == NULL ) return;
+
+ 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;
+
+
+ if ( disp__glIsEnabled == NULL ) return 0;
+
+ 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)
+ {
+
+ if ( disp__glEnableClientState == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glDisableClientState == NULL ) return;
+
+ 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 ( disp__glGetBooleanv == NULL ) return;
+
+ 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 ( disp__glGetDoublev == NULL ) return;
+
+ 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 ( disp__glGetFloatv == NULL ) return;
+
+ 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 ( disp__glGetIntegerv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPushAttrib == NULL ) return;
+
+ disp__glPushAttrib (
+ (GLbitfield) mask
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopAttrib ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPopAttrib (
+ JNIEnv *env, jobject obj)
+ {
+
+ if ( disp__glPopAttrib == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPushClientAttrib == NULL ) return;
+
+ disp__glPushClientAttrib (
+ (GLbitfield) mask
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopClientAttrib ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPopClientAttrib (
+ JNIEnv *env, jobject obj)
+ {
+
+ if ( disp__glPopClientAttrib == NULL ) return;
+
+ 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;
+
+
+ if ( disp__glRenderMode == NULL ) return 0;
+
+ 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;
+
+
+ if ( disp__glGetError == NULL ) return 0;
+
+ 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)
+ {
+
+ if ( disp__glFinish == NULL ) return;
+
+ disp__glFinish (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glFlush ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glFlush (
+ JNIEnv *env, jobject obj)
+ {
+
+ if ( disp__glFlush == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glHint == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glClearDepth == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glDepthFunc == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glDepthMask == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glDepthRange == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glClearAccum == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glAccum == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMatrixMode == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glOrtho == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glFrustum == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glViewport == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPushMatrix == NULL ) return;
+
+ disp__glPushMatrix (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopMatrix ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPopMatrix (
+ JNIEnv *env, jobject obj)
+ {
+
+ if ( disp__glPopMatrix == NULL ) return;
+
+ disp__glPopMatrix (
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glLoadIdentity ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glLoadIdentity (
+ JNIEnv *env, jobject obj)
+ {
+
+ if ( disp__glLoadIdentity == NULL ) return;
+
+ 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 ( disp__glLoadMatrixd == NULL ) return;
+
+ 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 ( disp__glLoadMatrixf == NULL ) return;
+
+ 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 ( disp__glMultMatrixd == NULL ) return;
+
+ 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 ( disp__glMultMatrixf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRotated == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRotatef == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glScaled == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glScalef == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTranslated == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTranslatef == NULL ) return;
+
+ 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;
+
+
+ if ( disp__glIsList == NULL ) return 0;
+
+ 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)
+ {
+
+ if ( disp__glDeleteLists == NULL ) return;
+
+ 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;
+
+
+ if ( disp__glGenLists == NULL ) return 0;
+
+ 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)
+ {
+
+ if ( disp__glNewList == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEndList == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCallList == NULL ) return;
+
+ 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 ( disp__glCallLists == NULL ) return;
+
+ 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 ( disp__glCallLists == NULL ) return;
+
+ 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 ( disp__glCallLists == NULL ) return;
+
+ 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 ( disp__glCallLists == NULL ) return;
+
+ 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 ( disp__glCallLists == NULL ) return;
+
+ 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 ( disp__glCallLists == NULL ) return;
+
+ 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 ( disp__glCallLists == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glListBase == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glBegin == NULL ) return;
+
+ disp__glBegin (
+ (GLenum) mode
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glEnd ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glEnd (
+ JNIEnv *env, jobject obj)
+ {
+
+ if ( disp__glEnd == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex2d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex2f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex2i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex2s == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex3d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex3f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex3i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex3s == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex4d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex4f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex4i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glVertex4s == NULL ) return;
+
+ 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 ( disp__glVertex2dv == NULL ) return;
+
+ 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 ( disp__glVertex2fv == NULL ) return;
+
+ 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 ( disp__glVertex2iv == NULL ) return;
+
+ 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 ( disp__glVertex2sv == NULL ) return;
+
+ 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 ( disp__glVertex3dv == NULL ) return;
+
+ 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 ( disp__glVertex3fv == NULL ) return;
+
+ 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 ( disp__glVertex3iv == NULL ) return;
+
+ 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 ( disp__glVertex3sv == NULL ) return;
+
+ 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 ( disp__glVertex4dv == NULL ) return;
+
+ 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 ( disp__glVertex4fv == NULL ) return;
+
+ 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 ( disp__glVertex4iv == NULL ) return;
+
+ 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 ( disp__glVertex4sv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glNormal3b == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glNormal3d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glNormal3f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glNormal3i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glNormal3s == NULL ) return;
+
+ 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 ( disp__glNormal3bv == NULL ) return;
+
+ 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 ( disp__glNormal3dv == NULL ) return;
+
+ 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 ( disp__glNormal3fv == NULL ) return;
+
+ 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 ( disp__glNormal3iv == NULL ) return;
+
+ 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 ( disp__glNormal3sv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glIndexd == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glIndexf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glIndexi == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glIndexs == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glIndexub == NULL ) return;
+
+ 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 ( disp__glIndexdv == NULL ) return;
+
+ 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 ( disp__glIndexfv == NULL ) return;
+
+ 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 ( disp__glIndexiv == NULL ) return;
+
+ 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 ( disp__glIndexsv == NULL ) return;
+
+ 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 ( disp__glIndexubv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor3b == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor3d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor3f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor3i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor3s == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor3ub == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor3ui == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor3us == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor4b == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor4d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor4f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor4i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor4s == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor4ub == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor4ui == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColor4us == NULL ) return;
+
+ 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 ( disp__glColor3bv == NULL ) return;
+
+ 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 ( disp__glColor3dv == NULL ) return;
+
+ 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 ( disp__glColor3fv == NULL ) return;
+
+ 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 ( disp__glColor3iv == NULL ) return;
+
+ 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 ( disp__glColor3sv == NULL ) return;
+
+ 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 ( disp__glColor3ubv == NULL ) return;
+
+ 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 ( disp__glColor3uiv == NULL ) return;
+
+ 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 ( disp__glColor3usv == NULL ) return;
+
+ 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 ( disp__glColor4bv == NULL ) return;
+
+ 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 ( disp__glColor4dv == NULL ) return;
+
+ 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 ( disp__glColor4fv == NULL ) return;
+
+ 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 ( disp__glColor4iv == NULL ) return;
+
+ 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 ( disp__glColor4sv == NULL ) return;
+
+ 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 ( disp__glColor4ubv == NULL ) return;
+
+ 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 ( disp__glColor4uiv == NULL ) return;
+
+ 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 ( disp__glColor4usv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord1d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord1f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord1i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord1s == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord2d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord2f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord2i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord2s == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord3d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord3f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord3i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord3s == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord4d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord4f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord4i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexCoord4s == NULL ) return;
+
+ 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 ( disp__glTexCoord1dv == NULL ) return;
+
+ 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 ( disp__glTexCoord1fv == NULL ) return;
+
+ 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 ( disp__glTexCoord1iv == NULL ) return;
+
+ 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 ( disp__glTexCoord1sv == NULL ) return;
+
+ 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 ( disp__glTexCoord2dv == NULL ) return;
+
+ 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 ( disp__glTexCoord2fv == NULL ) return;
+
+ 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 ( disp__glTexCoord2iv == NULL ) return;
+
+ 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 ( disp__glTexCoord2sv == NULL ) return;
+
+ 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 ( disp__glTexCoord3dv == NULL ) return;
+
+ 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 ( disp__glTexCoord3fv == NULL ) return;
+
+ 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 ( disp__glTexCoord3iv == NULL ) return;
+
+ 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 ( disp__glTexCoord3sv == NULL ) return;
+
+ 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 ( disp__glTexCoord4dv == NULL ) return;
+
+ 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 ( disp__glTexCoord4fv == NULL ) return;
+
+ 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 ( disp__glTexCoord4iv == NULL ) return;
+
+ 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 ( disp__glTexCoord4sv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos2d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos2f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos2i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos2s == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos3d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos3f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos3i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos3s == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos4d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos4f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos4i == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRasterPos4s == NULL ) return;
+
+ 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 ( disp__glRasterPos2dv == NULL ) return;
+
+ 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 ( disp__glRasterPos2fv == NULL ) return;
+
+ 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 ( disp__glRasterPos2iv == NULL ) return;
+
+ 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 ( disp__glRasterPos2sv == NULL ) return;
+
+ 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 ( disp__glRasterPos3dv == NULL ) return;
+
+ 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 ( disp__glRasterPos3fv == NULL ) return;
+
+ 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 ( disp__glRasterPos3iv == NULL ) return;
+
+ 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 ( disp__glRasterPos3sv == NULL ) return;
+
+ 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 ( disp__glRasterPos4dv == NULL ) return;
+
+ 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 ( disp__glRasterPos4fv == NULL ) return;
+
+ 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 ( disp__glRasterPos4iv == NULL ) return;
+
+ 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 ( disp__glRasterPos4sv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRectd == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRectf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRecti == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glRects == NULL ) return;
+
+ 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 ( disp__glRectdv == NULL ) return;
+
+ 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 ( disp__glRectfv == NULL ) return;
+
+ 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 ( disp__glRectiv == NULL ) return;
+
+ 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 ( disp__glRectsv == NULL ) return;
+
+ 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 ( disp__glVertexPointer == NULL ) return;
+
+ 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 ( disp__glVertexPointer == NULL ) return;
+
+ 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 ( disp__glVertexPointer == NULL ) return;
+
+ 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 ( disp__glVertexPointer == NULL ) return;
+
+ 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 ( disp__glVertexPointer == NULL ) return;
+
+ 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 ( disp__glVertexPointer == NULL ) return;
+
+ 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 ( disp__glVertexPointer == NULL ) return;
+
+ 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 ( disp__glNormalPointer == NULL ) return;
+
+ 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 ( disp__glNormalPointer == NULL ) return;
+
+ 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 ( disp__glNormalPointer == NULL ) return;
+
+ 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 ( disp__glNormalPointer == NULL ) return;
+
+ 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 ( disp__glNormalPointer == NULL ) return;
+
+ 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 ( disp__glNormalPointer == NULL ) return;
+
+ 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 ( disp__glNormalPointer == NULL ) return;
+
+ 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 ( disp__glColorPointer == NULL ) return;
+
+ 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 ( disp__glColorPointer == NULL ) return;
+
+ 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 ( disp__glColorPointer == NULL ) return;
+
+ 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 ( disp__glColorPointer == NULL ) return;
+
+ 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 ( disp__glColorPointer == NULL ) return;
+
+ 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 ( disp__glColorPointer == NULL ) return;
+
+ 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 ( disp__glColorPointer == NULL ) return;
+
+ 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 ( disp__glIndexPointer == NULL ) return;
+
+ 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 ( disp__glIndexPointer == NULL ) return;
+
+ 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 ( disp__glIndexPointer == NULL ) return;
+
+ 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 ( disp__glIndexPointer == NULL ) return;
+
+ 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 ( disp__glIndexPointer == NULL ) return;
+
+ 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 ( disp__glIndexPointer == NULL ) return;
+
+ 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 ( disp__glIndexPointer == NULL ) return;
+
+ 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 ( disp__glTexCoordPointer == NULL ) return;
+
+ 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 ( disp__glTexCoordPointer == NULL ) return;
+
+ 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 ( disp__glTexCoordPointer == NULL ) return;
+
+ 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 ( disp__glTexCoordPointer == NULL ) return;
+
+ 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 ( disp__glTexCoordPointer == NULL ) return;
+
+ 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 ( disp__glTexCoordPointer == NULL ) return;
+
+ 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 ( disp__glTexCoordPointer == NULL ) return;
+
+ 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 ( disp__glEdgeFlagPointer == NULL ) return;
+
+ 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 ( disp__glEdgeFlagPointer == NULL ) return;
+
+ 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 ( disp__glEdgeFlagPointer == NULL ) return;
+
+ 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 ( disp__glEdgeFlagPointer == NULL ) return;
+
+ 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 ( disp__glEdgeFlagPointer == NULL ) return;
+
+ 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 ( disp__glEdgeFlagPointer == NULL ) return;
+
+ 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 ( disp__glEdgeFlagPointer == NULL ) return;
+
+ 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 ( disp__glGetPointerv == NULL ) return;
+
+ 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 ( disp__glGetPointerv == NULL ) return;
+
+ 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 ( disp__glGetPointerv == NULL ) return;
+
+ 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 ( disp__glGetPointerv == NULL ) return;
+
+ 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 ( disp__glGetPointerv == NULL ) return;
+
+ 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 ( disp__glGetPointerv == NULL ) return;
+
+ 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 ( disp__glGetPointerv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glArrayElement == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glDrawArrays == NULL ) return;
+
+ 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 ( disp__glDrawElements == NULL ) return;
+
+ 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 ( disp__glDrawElements == NULL ) return;
+
+ 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 ( disp__glDrawElements == NULL ) return;
+
+ 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 ( disp__glDrawElements == NULL ) return;
+
+ 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 ( disp__glDrawElements == NULL ) return;
+
+ 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 ( disp__glDrawElements == NULL ) return;
+
+ 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 ( disp__glDrawElements == NULL ) return;
+
+ 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 ( disp__glInterleavedArrays == NULL ) return;
+
+ 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 ( disp__glInterleavedArrays == NULL ) return;
+
+ 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 ( disp__glInterleavedArrays == NULL ) return;
+
+ 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 ( disp__glInterleavedArrays == NULL ) return;
+
+ 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 ( disp__glInterleavedArrays == NULL ) return;
+
+ 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 ( disp__glInterleavedArrays == NULL ) return;
+
+ 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 ( disp__glInterleavedArrays == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glShadeModel == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glLightf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glLighti == NULL ) return;
+
+ 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 ( disp__glLightfv == NULL ) return;
+
+ 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 ( disp__glLightiv == NULL ) return;
+
+ 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 ( disp__glGetLightfv == NULL ) return;
+
+ 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 ( disp__glGetLightiv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glLightModelf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glLightModeli == NULL ) return;
+
+ 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 ( disp__glLightModelfv == NULL ) return;
+
+ 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 ( disp__glLightModeliv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMaterialf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMateriali == NULL ) return;
+
+ 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 ( disp__glMaterialfv == NULL ) return;
+
+ 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 ( disp__glMaterialiv == NULL ) return;
+
+ 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 ( disp__glGetMaterialfv == NULL ) return;
+
+ 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 ( disp__glGetMaterialiv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glColorMaterial == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPixelZoom == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPixelStoref == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPixelStorei == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPixelTransferf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPixelTransferi == NULL ) return;
+
+ 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 ( disp__glPixelMapfv == NULL ) return;
+
+ 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 ( disp__glPixelMapuiv == NULL ) return;
+
+ 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 ( disp__glPixelMapusv == NULL ) return;
+
+ 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 ( disp__glGetPixelMapfv == NULL ) return;
+
+ 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 ( disp__glGetPixelMapuiv == NULL ) return;
+
+ 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 ( disp__glGetPixelMapusv == NULL ) return;
+
+ 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 ( disp__glBitmap == NULL ) return;
+
+ 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 ( disp__glReadPixels == NULL ) return;
+
+ 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 ( disp__glReadPixels == NULL ) return;
+
+ 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 ( disp__glReadPixels == NULL ) return;
+
+ 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 ( disp__glReadPixels == NULL ) return;
+
+ 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 ( disp__glReadPixels == NULL ) return;
+
+ 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 ( disp__glReadPixels == NULL ) return;
+
+ 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 ( disp__glReadPixels == NULL ) return;
+
+ 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 ( disp__glDrawPixels == NULL ) return;
+
+ 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 ( disp__glDrawPixels == NULL ) return;
+
+ 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 ( disp__glDrawPixels == NULL ) return;
+
+ 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 ( disp__glDrawPixels == NULL ) return;
+
+ 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 ( disp__glDrawPixels == NULL ) return;
+
+ 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 ( disp__glDrawPixels == NULL ) return;
+
+ 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 ( disp__glDrawPixels == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyPixels == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glStencilFunc == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glStencilMask == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glStencilOp == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glClearStencil == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexGend == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexGenf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexGeni == NULL ) return;
+
+ 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 ( disp__glTexGendv == NULL ) return;
+
+ 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 ( disp__glTexGenfv == NULL ) return;
+
+ 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 ( disp__glTexGeniv == NULL ) return;
+
+ 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 ( disp__glGetTexGendv == NULL ) return;
+
+ 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 ( disp__glGetTexGenfv == NULL ) return;
+
+ 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 ( disp__glGetTexGeniv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexEnvf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexEnvi == NULL ) return;
+
+ 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 ( disp__glTexEnvfv == NULL ) return;
+
+ 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 ( disp__glTexEnviv == NULL ) return;
+
+ 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 ( disp__glGetTexEnvfv == NULL ) return;
+
+ 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 ( disp__glGetTexEnviv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexParameterf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glTexParameteri == NULL ) return;
+
+ 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 ( disp__glTexParameterfv == NULL ) return;
+
+ 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 ( disp__glTexParameteriv == NULL ) return;
+
+ 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 ( disp__glGetTexParameterfv == NULL ) return;
+
+ 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 ( disp__glGetTexParameteriv == NULL ) return;
+
+ 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 ( disp__glGetTexLevelParameterfv == NULL ) return;
+
+ 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 ( disp__glGetTexLevelParameteriv == NULL ) return;
+
+ 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 ( disp__glTexImage1D == NULL ) return;
+
+ 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 ( disp__glTexImage1D == NULL ) return;
+
+ 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 ( disp__glTexImage1D == NULL ) return;
+
+ 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 ( disp__glTexImage1D == NULL ) return;
+
+ 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 ( disp__glTexImage1D == NULL ) return;
+
+ 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 ( disp__glTexImage1D == NULL ) return;
+
+ 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 ( disp__glTexImage1D == NULL ) return;
+
+ 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 ( disp__glTexImage2D == NULL ) return;
+
+ 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 ( disp__glTexImage2D == NULL ) return;
+
+ 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 ( disp__glTexImage2D == NULL ) return;
+
+ 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 ( disp__glTexImage2D == NULL ) return;
+
+ 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 ( disp__glTexImage2D == NULL ) return;
+
+ 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 ( disp__glTexImage2D == NULL ) return;
+
+ 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 ( disp__glTexImage2D == NULL ) return;
+
+ 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 ( disp__glGetTexImage == NULL ) return;
+
+ 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 ( disp__glGetTexImage == NULL ) return;
+
+ 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 ( disp__glGetTexImage == NULL ) return;
+
+ 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 ( disp__glGetTexImage == NULL ) return;
+
+ 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 ( disp__glGetTexImage == NULL ) return;
+
+ 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 ( disp__glGetTexImage == NULL ) return;
+
+ 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 ( disp__glGetTexImage == NULL ) return;
+
+ 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 ( disp__glGenTextures == NULL ) return;
+
+ 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 ( disp__glDeleteTextures == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glBindTexture == NULL ) return;
+
+ 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 ( disp__glPrioritizeTextures == NULL ) return;
+
+ 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 ( disp__glAreTexturesResident == NULL ) return 0;
+
+ 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;
+
+
+ if ( disp__glIsTexture == NULL ) return 0;
+
+ 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 ( disp__glTexSubImage1D == NULL ) return;
+
+ 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 ( disp__glTexSubImage1D == NULL ) return;
+
+ 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 ( disp__glTexSubImage1D == NULL ) return;
+
+ 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 ( disp__glTexSubImage1D == NULL ) return;
+
+ 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 ( disp__glTexSubImage1D == NULL ) return;
+
+ 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 ( disp__glTexSubImage1D == NULL ) return;
+
+ 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 ( disp__glTexSubImage1D == NULL ) return;
+
+ 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 ( disp__glTexSubImage2D == NULL ) return;
+
+ 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 ( disp__glTexSubImage2D == NULL ) return;
+
+ 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 ( disp__glTexSubImage2D == NULL ) return;
+
+ 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 ( disp__glTexSubImage2D == NULL ) return;
+
+ 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 ( disp__glTexSubImage2D == NULL ) return;
+
+ 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 ( disp__glTexSubImage2D == NULL ) return;
+
+ 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 ( disp__glTexSubImage2D == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyTexImage1D == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyTexImage2D == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyTexSubImage1D == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyTexSubImage2D == NULL ) return;
+
+ 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 ( disp__glMap1d == NULL ) return;
+
+ 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 ( disp__glMap1f == NULL ) return;
+
+ 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 ( disp__glMap2d == NULL ) return;
+
+ 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 ( disp__glMap2f == NULL ) return;
+
+ 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 ( disp__glGetMapdv == NULL ) return;
+
+ 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 ( disp__glGetMapfv == NULL ) return;
+
+ 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 ( disp__glGetMapiv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEvalCoord1d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEvalCoord1f == NULL ) return;
+
+ 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 ( disp__glEvalCoord1dv == NULL ) return;
+
+ 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 ( disp__glEvalCoord1fv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEvalCoord2d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEvalCoord2f == NULL ) return;
+
+ 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 ( disp__glEvalCoord2dv == NULL ) return;
+
+ 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 ( disp__glEvalCoord2fv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMapGrid1d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMapGrid1f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMapGrid2d == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMapGrid2f == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEvalPoint1 == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEvalPoint2 == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEvalMesh1 == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glEvalMesh2 == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glFogf == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glFogi == NULL ) return;
+
+ 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 ( disp__glFogfv == NULL ) return;
+
+ 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 ( disp__glFogiv == NULL ) return;
+
+ 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 ( disp__glFeedbackBuffer == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPassThrough == NULL ) return;
+
+ 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 ( disp__glSelectBuffer == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glInitNames == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glLoadName == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPushName == NULL ) return;
+
+ disp__glPushName (
+ (GLuint) name
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void glPopName ( void ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLFuncJauJNInf_glPopName (
+ JNIEnv *env, jobject obj)
+ {
+
+ if ( disp__glPopName == NULL ) return;
+
+ 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 ( disp__glDrawRangeElements == NULL ) return;
+
+ 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 ( disp__glDrawRangeElements == NULL ) return;
+
+ 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 ( disp__glDrawRangeElements == NULL ) return;
+
+ 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 ( disp__glDrawRangeElements == NULL ) return;
+
+ 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 ( disp__glDrawRangeElements == NULL ) return;
+
+ 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 ( disp__glDrawRangeElements == NULL ) return;
+
+ 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 ( disp__glDrawRangeElements == NULL ) return;
+
+ 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 ( disp__glTexImage3D == NULL ) return;
+
+ 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 ( disp__glTexImage3D == NULL ) return;
+
+ 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 ( disp__glTexImage3D == NULL ) return;
+
+ 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 ( disp__glTexImage3D == NULL ) return;
+
+ 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 ( disp__glTexImage3D == NULL ) return;
+
+ 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 ( disp__glTexImage3D == NULL ) return;
+
+ 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 ( disp__glTexImage3D == NULL ) return;
+
+ 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 ( disp__glTexSubImage3D == NULL ) return;
+
+ 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 ( disp__glTexSubImage3D == NULL ) return;
+
+ 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 ( disp__glTexSubImage3D == NULL ) return;
+
+ 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 ( disp__glTexSubImage3D == NULL ) return;
+
+ 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 ( disp__glTexSubImage3D == NULL ) return;
+
+ 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 ( disp__glTexSubImage3D == NULL ) return;
+
+ 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 ( disp__glTexSubImage3D == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyTexSubImage3D == NULL ) return;
+
+ 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 ( disp__glColorTable == NULL ) return;
+
+ 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 ( disp__glColorTable == NULL ) return;
+
+ 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 ( disp__glColorTable == NULL ) return;
+
+ 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 ( disp__glColorTable == NULL ) return;
+
+ 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 ( disp__glColorTable == NULL ) return;
+
+ 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 ( disp__glColorTable == NULL ) return;
+
+ 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 ( disp__glColorTable == NULL ) return;
+
+ 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 ( disp__glColorSubTable == NULL ) return;
+
+ 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 ( disp__glColorSubTable == NULL ) return;
+
+ 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 ( disp__glColorSubTable == NULL ) return;
+
+ 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 ( disp__glColorSubTable == NULL ) return;
+
+ 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 ( disp__glColorSubTable == NULL ) return;
+
+ 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 ( disp__glColorSubTable == NULL ) return;
+
+ 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 ( disp__glColorSubTable == NULL ) return;
+
+ 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 ( disp__glColorTableParameteriv == NULL ) return;
+
+ 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 ( disp__glColorTableParameterfv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyColorSubTable == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyColorTable == NULL ) return;
+
+ 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 ( disp__glGetColorTable == NULL ) return;
+
+ 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 ( disp__glGetColorTable == NULL ) return;
+
+ 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 ( disp__glGetColorTable == NULL ) return;
+
+ 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 ( disp__glGetColorTable == NULL ) return;
+
+ 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 ( disp__glGetColorTable == NULL ) return;
+
+ 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 ( disp__glGetColorTable == NULL ) return;
+
+ 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 ( disp__glGetColorTable == NULL ) return;
+
+ 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 ( disp__glGetColorTableParameterfv == NULL ) return;
+
+ 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 ( disp__glGetColorTableParameteriv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glBlendEquation == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glBlendColor == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glHistogram == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glResetHistogram == NULL ) return;
+
+ 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 ( disp__glGetHistogram == NULL ) return;
+
+ 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 ( disp__glGetHistogram == NULL ) return;
+
+ 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 ( disp__glGetHistogram == NULL ) return;
+
+ 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 ( disp__glGetHistogram == NULL ) return;
+
+ 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 ( disp__glGetHistogram == NULL ) return;
+
+ 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 ( disp__glGetHistogram == NULL ) return;
+
+ 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 ( disp__glGetHistogram == NULL ) return;
+
+ 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 ( disp__glGetHistogramParameterfv == NULL ) return;
+
+ 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 ( disp__glGetHistogramParameteriv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMinmax == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glResetMinmax == NULL ) return;
+
+ 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 ( disp__glGetMinmax == NULL ) return;
+
+ 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 ( disp__glGetMinmax == NULL ) return;
+
+ 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 ( disp__glGetMinmax == NULL ) return;
+
+ 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 ( disp__glGetMinmax == NULL ) return;
+
+ 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 ( disp__glGetMinmax == NULL ) return;
+
+ 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 ( disp__glGetMinmax == NULL ) return;
+
+ 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 ( disp__glGetMinmax == NULL ) return;
+
+ 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 ( disp__glGetMinmaxParameterfv == NULL ) return;
+
+ 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 ( disp__glGetMinmaxParameteriv == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter1D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter1D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter1D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter1D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter1D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter1D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter1D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter2D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter2D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter2D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter2D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter2D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter2D == NULL ) return;
+
+ 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 ( disp__glConvolutionFilter2D == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glConvolutionParameterf == NULL ) return;
+
+ 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 ( disp__glConvolutionParameterfv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glConvolutionParameteri == NULL ) return;
+
+ 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 ( disp__glConvolutionParameteriv == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyConvolutionFilter1D == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyConvolutionFilter2D == NULL ) return;
+
+ 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 ( disp__glGetConvolutionFilter == NULL ) return;
+
+ 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 ( disp__glGetConvolutionFilter == NULL ) return;
+
+ 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 ( disp__glGetConvolutionFilter == NULL ) return;
+
+ 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 ( disp__glGetConvolutionFilter == NULL ) return;
+
+ 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 ( disp__glGetConvolutionFilter == NULL ) return;
+
+ 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 ( disp__glGetConvolutionFilter == NULL ) return;
+
+ 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 ( disp__glGetConvolutionFilter == NULL ) return;
+
+ 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 ( disp__glGetConvolutionParameterfv == NULL ) return;
+
+ 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 ( disp__glGetConvolutionParameteriv == NULL ) return;
+
+ 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 ( disp__glSeparableFilter2D == NULL ) return;
+
+ 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 ( disp__glSeparableFilter2D == NULL ) return;
+
+ 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 ( disp__glSeparableFilter2D == NULL ) return;
+
+ 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 ( disp__glSeparableFilter2D == NULL ) return;
+
+ 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 ( disp__glSeparableFilter2D == NULL ) return;
+
+ 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 ( disp__glSeparableFilter2D == NULL ) return;
+
+ 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 ( disp__glSeparableFilter2D == NULL ) return;
+
+ 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 ( disp__glGetSeparableFilter == NULL ) return;
+
+ 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 ( disp__glGetSeparableFilter == NULL ) return;
+
+ 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 ( disp__glGetSeparableFilter == NULL ) return;
+
+ 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 ( disp__glGetSeparableFilter == NULL ) return;
+
+ 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 ( disp__glGetSeparableFilter == NULL ) return;
+
+ 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 ( disp__glGetSeparableFilter == NULL ) return;
+
+ 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 ( disp__glGetSeparableFilter == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glBlendColorEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPolygonOffsetEXT == NULL ) return;
+
+ 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 ( disp__glTexImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexSubImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexSubImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexSubImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexSubImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexSubImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexSubImage3DEXT == NULL ) return;
+
+ 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 ( disp__glTexSubImage3DEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glCopyTexSubImage3DEXT == NULL ) return;
+
+ 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 ( disp__glGenTexturesEXT == NULL ) return;
+
+ 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 ( disp__glDeleteTexturesEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glBindTextureEXT == NULL ) return;
+
+ 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 ( disp__glPrioritizeTexturesEXT == NULL ) return;
+
+ 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 ( disp__glAreTexturesResidentEXT == NULL ) return 0;
+
+ 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;
+
+
+ if ( disp__glIsTextureEXT == NULL ) return 0;
+
+ 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 ( disp__glVertexPointerEXT == NULL ) return;
+
+ 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 ( disp__glVertexPointerEXT == NULL ) return;
+
+ 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 ( disp__glVertexPointerEXT == NULL ) return;
+
+ 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 ( disp__glVertexPointerEXT == NULL ) return;
+
+ 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 ( disp__glVertexPointerEXT == NULL ) return;
+
+ 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 ( disp__glVertexPointerEXT == NULL ) return;
+
+ 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 ( disp__glVertexPointerEXT == NULL ) return;
+
+ 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 ( disp__glNormalPointerEXT == NULL ) return;
+
+ 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 ( disp__glNormalPointerEXT == NULL ) return;
+
+ 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 ( disp__glNormalPointerEXT == NULL ) return;
+
+ 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 ( disp__glNormalPointerEXT == NULL ) return;
+
+ 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 ( disp__glNormalPointerEXT == NULL ) return;
+
+ 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 ( disp__glNormalPointerEXT == NULL ) return;
+
+ 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 ( disp__glNormalPointerEXT == NULL ) return;
+
+ 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 ( disp__glColorPointerEXT == NULL ) return;
+
+ 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 ( disp__glColorPointerEXT == NULL ) return;
+
+ 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 ( disp__glColorPointerEXT == NULL ) return;
+
+ 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 ( disp__glColorPointerEXT == NULL ) return;
+
+ 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 ( disp__glColorPointerEXT == NULL ) return;
+
+ 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 ( disp__glColorPointerEXT == NULL ) return;
+
+ 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 ( disp__glColorPointerEXT == NULL ) return;
+
+ 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 ( disp__glIndexPointerEXT == NULL ) return;
+
+ 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 ( disp__glIndexPointerEXT == NULL ) return;
+
+ 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 ( disp__glIndexPointerEXT == NULL ) return;
+
+ 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 ( disp__glIndexPointerEXT == NULL ) return;
+
+ 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 ( disp__glIndexPointerEXT == NULL ) return;
+
+ 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 ( disp__glIndexPointerEXT == NULL ) return;
+
+ 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 ( disp__glIndexPointerEXT == NULL ) return;
+
+ 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 ( disp__glTexCoordPointerEXT == NULL ) return;
+
+ 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 ( disp__glTexCoordPointerEXT == NULL ) return;
+
+ 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 ( disp__glTexCoordPointerEXT == NULL ) return;
+
+ 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 ( disp__glTexCoordPointerEXT == NULL ) return;
+
+ 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 ( disp__glTexCoordPointerEXT == NULL ) return;
+
+ 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 ( disp__glTexCoordPointerEXT == NULL ) return;
+
+ 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 ( disp__glTexCoordPointerEXT == NULL ) return;
+
+ 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 ( disp__glEdgeFlagPointerEXT == NULL ) return;
+
+ 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 ( disp__glGetPointervEXT == NULL ) return;
+
+ 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 ( disp__glGetPointervEXT == NULL ) return;
+
+ 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 ( disp__glGetPointervEXT == NULL ) return;
+
+ 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 ( disp__glGetPointervEXT == NULL ) return;
+
+ 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 ( disp__glGetPointervEXT == NULL ) return;
+
+ 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 ( disp__glGetPointervEXT == NULL ) return;
+
+ 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 ( disp__glGetPointervEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glArrayElementEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glDrawArraysEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glBlendEquationEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glPointParameterfEXT == NULL ) return;
+
+ 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 ( disp__glPointParameterfvEXT == NULL ) return;
+
+ 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 ( disp__glColorTableEXT == NULL ) return;
+
+ 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 ( disp__glColorTableEXT == NULL ) return;
+
+ 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 ( disp__glColorTableEXT == NULL ) return;
+
+ 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 ( disp__glColorTableEXT == NULL ) return;
+
+ 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 ( disp__glColorTableEXT == NULL ) return;
+
+ 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 ( disp__glColorTableEXT == NULL ) return;
+
+ 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 ( disp__glColorTableEXT == NULL ) return;
+
+ 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 ( disp__glColorSubTableEXT == NULL ) return;
+
+ 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 ( disp__glColorSubTableEXT == NULL ) return;
+
+ 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 ( disp__glColorSubTableEXT == NULL ) return;
+
+ 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 ( disp__glColorSubTableEXT == NULL ) return;
+
+ 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 ( disp__glColorSubTableEXT == NULL ) return;
+
+ 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 ( disp__glColorSubTableEXT == NULL ) return;
+
+ 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 ( disp__glColorSubTableEXT == NULL ) return;
+
+ 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 ( disp__glGetColorTableEXT == NULL ) return;
+
+ 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 ( disp__glGetColorTableEXT == NULL ) return;
+
+ 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 ( disp__glGetColorTableEXT == NULL ) return;
+
+ 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 ( disp__glGetColorTableEXT == NULL ) return;
+
+ 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 ( disp__glGetColorTableEXT == NULL ) return;
+
+ 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 ( disp__glGetColorTableEXT == NULL ) return;
+
+ 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 ( disp__glGetColorTableEXT == NULL ) return;
+
+ 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 ( disp__glGetColorTableParameterfvEXT == NULL ) return;
+
+ 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 ( disp__glGetColorTableParameterivEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glLockArraysEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glUnlockArraysEXT == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glActiveTextureARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glClientActiveTextureARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord1dARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord1dvARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord1fARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord1fvARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord1iARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord1ivARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord1sARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord1svARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord2dARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord2dvARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord2fARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord2fvARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord2iARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord2ivARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord2sARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord2svARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord3dARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord3dvARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord3fARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord3fvARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord3iARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord3ivARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord3sARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord3svARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord4dARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord4dvARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord4fARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord4fvARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord4iARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord4ivARB == NULL ) return;
+
+ 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)
+ {
+
+ if ( disp__glMultiTexCoord4sARB == NULL ) return;
+
+ 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 ( disp__glMultiTexCoord4svARB == NULL ) return;
+
+ 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.1: Java program parsed successfully. */