aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode
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
parente26f0c3e0a6be0f5555c5daee164047f3793d626 (diff)
Diffstat (limited to 'CNativeCode')
-rw-r--r--CNativeCode/OpenGLU_JauJNI12_funcs.c158
-rwxr-xr-xCNativeCode/OpenGLU_JauJNI12nf_funcs.c4696
-rw-r--r--CNativeCode/OpenGLU_JauJNI12tst_funcs.c2506
-rw-r--r--CNativeCode/OpenGLU_JauJNI_funcs.c158
-rwxr-xr-xCNativeCode/OpenGL_JauJNI12_funcs.c1375
-rwxr-xr-xCNativeCode/OpenGL_JauJNI12nf_funcs.c39123
-rwxr-xr-xCNativeCode/OpenGL_JauJNI12tst_funcs.c1375
-rwxr-xr-xCNativeCode/OpenGL_JauJNI_funcs.c1375
-rwxr-xr-xCNativeCode/gl-disp-fetch.hc4
-rwxr-xr-xCNativeCode/gl-disp-var.h4
-rwxr-xr-xCNativeCode/gl-disp-var.hc4
-rwxr-xr-xCNativeCode/glu-disp-fetch.hc4
-rwxr-xr-xCNativeCode/glu-disp-var.h4
-rwxr-xr-xCNativeCode/glu-disp-var.hc4
14 files changed, 29613 insertions, 21177 deletions
diff --git a/CNativeCode/OpenGLU_JauJNI12_funcs.c b/CNativeCode/OpenGLU_JauJNI12_funcs.c
index b8a46be..d008ee3 100644
--- a/CNativeCode/OpenGLU_JauJNI12_funcs.c
+++ b/CNativeCode/OpenGLU_JauJNI12_funcs.c
@@ -41,6 +41,9 @@ Java_gl4java_GLUFuncJauJNI_gluErrorString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
+ if ( disp__gluErrorString == NULL )
+ return (*env)->NewStringUTF(env, _glu_n_a_string);
+
tmpString = disp__gluErrorString ( /* jint */ errorCode );
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -54,6 +57,9 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
+ if ( disp__gluGetString == NULL )
+ return (*env)->NewStringUTF(env, _glu_n_a_string);
+
tmpString = disp__gluGetString ( /* jint */ name);
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -62,7 +68,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
}
static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _glu_lib_version_="2.7.0.0";
+static const char * _glu_lib_version_="2.7.1.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLUFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -109,6 +115,8 @@ Java_gl4java_GLUFuncJauJNI_gluQuadricCallback( JNIEnv *env, jobject obj,
jstring methodName,
jstring signature)
{
+ if ( disp__gluQuadricCallback == NULL ) return;
+
switch(which)
{
case GLU_ERROR:
@@ -133,6 +141,8 @@ Java_gl4java_GLUFuncJauJNI_gluNurbsCallback( JNIEnv *env, jobject obj,
jstring methodName,
jstring signature)
{
+ if ( disp__gluNurbsCallback == NULL ) return;
+
switch(which)
{
case GLU_ERROR:
@@ -161,6 +171,8 @@ Java_gl4java_GLUFuncJauJNI_gluTessCallback( JNIEnv *env, jobject obj,
jint arrayLen4,
jint arrayLen5)
{
+ if ( disp__gluTessCallback == NULL ) return;
+
switch(which)
{
case GLU_TESS_BEGIN:
@@ -238,6 +250,8 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteQuadric( JNIEnv *env, jobject obj,
jlong qobj )
{
+ if ( disp__gluDeleteQuadric == NULL ) return;
+
disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
RemoveCallbackNodes((void *)((PointerHolder)qobj));
}
@@ -246,6 +260,8 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
jlong nobj )
{
+ if ( disp__gluDeleteNurbsRenderer == NULL ) return;
+
disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
RemoveCallbackNodes((void *)((PointerHolder)nobj));
}
@@ -254,6 +270,8 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
jlong tobj )
{
+ if ( disp__gluDeleteTess == NULL ) return;
+
disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
RemoveCallbackNodes((void *)((PointerHolder)tobj));
}
@@ -261,23 +279,29 @@ Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewQuadric( JNIEnv *env, jobject obj)
{
+ if ( disp__gluNewQuadric == NULL ) return 0;
+
return (jlong)((PointerHolder)disp__gluNewQuadric());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
{
+ if ( disp__gluNewNurbsRenderer == NULL ) return 0;
+
return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
+ if ( disp__gluNewTess == NULL ) return 0;
+
return (jlong)((PointerHolder)disp__gluNewTess());
}
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -303,6 +327,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble upz)
{
+ if ( disp__gluLookAt == NULL ) return;
+
disp__gluLookAt (
(GLdouble) eyex,
(GLdouble) eyey,
@@ -332,6 +358,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble top)
{
+ if ( disp__gluOrtho2D == NULL ) return;
+
disp__gluOrtho2D (
(GLdouble) left,
(GLdouble) right,
@@ -356,6 +384,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble zFar)
{
+ if ( disp__gluPerspective == NULL ) return;
+
disp__gluPerspective (
(GLdouble) fovy,
(GLdouble) aspect,
@@ -383,6 +413,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
+ if ( disp__gluPickMatrix == NULL ) return;
+
if(viewport!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray4);
@@ -432,6 +464,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray8 = JNI_FALSE;
jdouble *ptr8 = NULL;
+ if ( disp__gluProject == NULL ) return 0;
+
if(modelMatrix!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
@@ -526,6 +560,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray8 = JNI_FALSE;
jdouble *ptr8 = NULL;
+ if ( disp__gluUnProject == NULL ) return 0;
+
if(modelMatrix!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
@@ -614,6 +650,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray8 = JNI_FALSE;
jbyte *ptr8 = NULL;
+ if ( disp__gluScaleImage == NULL ) return 0;
+
if(datain!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, datain, 0);
@@ -665,6 +703,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jbyte *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -698,6 +738,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jshort *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -731,6 +773,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -764,6 +808,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -797,6 +843,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -830,6 +878,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -863,6 +913,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -904,6 +956,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jbyte *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -939,6 +993,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jshort *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -974,6 +1030,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -1009,6 +1067,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -1044,6 +1104,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -1079,6 +1141,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -1114,6 +1178,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -1148,6 +1214,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint drawStyle)
{
+ if ( disp__gluQuadricDrawStyle == NULL ) return;
+
disp__gluQuadricDrawStyle (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) drawStyle
@@ -1168,6 +1236,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint orientation)
{
+ if ( disp__gluQuadricOrientation == NULL ) return;
+
disp__gluQuadricOrientation (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) orientation
@@ -1188,6 +1258,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint normals)
{
+ if ( disp__gluQuadricNormals == NULL ) return;
+
disp__gluQuadricNormals (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) normals
@@ -1208,6 +1280,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean textureCoords)
{
+ if ( disp__gluQuadricTexture == NULL ) return;
+
disp__gluQuadricTexture (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLboolean) textureCoords
@@ -1232,6 +1306,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint stacks)
{
+ if ( disp__gluCylinder == NULL ) return;
+
disp__gluCylinder (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) baseRadius,
@@ -1258,6 +1334,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint stacks)
{
+ if ( disp__gluSphere == NULL ) return;
+
disp__gluSphere (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) radius,
@@ -1283,6 +1361,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint loops)
{
+ if ( disp__gluDisk == NULL ) return;
+
disp__gluDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
@@ -1311,6 +1391,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble sweepAngle)
{
+ if ( disp__gluPartialDisk == NULL ) return;
+
disp__gluPartialDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
@@ -1341,6 +1423,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat *ptr2 = NULL;
jint *ptr3 = NULL;
+ if ( disp__gluLoadSamplingMatrices == NULL ) return;
+
if(modelMatrix!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
@@ -1388,6 +1472,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat value)
{
+ if ( disp__gluNurbsProperty == NULL ) return;
+
disp__gluNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
@@ -1412,6 +1498,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__gluGetNurbsProperty == NULL ) return;
+
if(value!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
@@ -1440,6 +1528,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluBeginCurve == NULL ) return;
+
disp__gluBeginCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1458,6 +1548,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluEndCurve == NULL ) return;
+
disp__gluEndCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1486,6 +1578,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
+ if ( disp__gluNurbsCurve == NULL ) return;
+
if(knot!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, knot, &isCopiedArray2);
@@ -1526,6 +1620,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluBeginSurface == NULL ) return;
+
disp__gluBeginSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1544,6 +1640,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluEndSurface == NULL ) return;
+
disp__gluEndSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1578,6 +1676,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray7 = JNI_FALSE;
jfloat *ptr7 = NULL;
+ if ( disp__gluNurbsSurface == NULL ) return;
+
if(sknot!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, sknot, &isCopiedArray2);
@@ -1630,6 +1730,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluBeginTrim == NULL ) return;
+
disp__gluBeginTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1648,6 +1750,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluEndTrim == NULL ) return;
+
disp__gluEndTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1672,6 +1776,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__gluPwlCurve == NULL ) return;
+
if(array!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, array, &isCopiedArray2);
@@ -1705,6 +1811,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
@@ -1728,6 +1836,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
@@ -1751,6 +1861,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
@@ -1774,6 +1886,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
@@ -1797,6 +1911,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
@@ -1820,6 +1936,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
@@ -1843,6 +1961,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
@@ -1870,6 +1990,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluTessBeginContour == NULL ) return;
+
disp__gluTessBeginContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1894,6 +2016,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jbyte *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
@@ -1929,6 +2053,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jshort *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
@@ -1964,6 +2090,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
@@ -1999,6 +2127,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
@@ -2034,6 +2164,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
@@ -2069,6 +2201,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
@@ -2104,6 +2238,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jlong *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
@@ -2140,6 +2276,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluTessEndContour == NULL ) return;
+
disp__gluTessEndContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2158,6 +2296,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluTessEndPolygon == NULL ) return;
+
disp__gluTessEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2178,6 +2318,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble value)
{
+ if ( disp__gluTessProperty == NULL ) return;
+
disp__gluTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
@@ -2201,6 +2343,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble z)
{
+ if ( disp__gluTessNormal == NULL ) return;
+
disp__gluTessNormal (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble) x,
@@ -2226,6 +2370,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
+ if ( disp__gluGetTessProperty == NULL ) return;
+
if(value!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
@@ -2254,6 +2400,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluBeginPolygon == NULL ) return;
+
disp__gluBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2273,6 +2421,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint type)
{
+ if ( disp__gluNextContour == NULL ) return;
+
disp__gluNextContour (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) type
@@ -2292,10 +2442,12 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluEndPolygon == NULL ) return;
+
disp__gluEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
}
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGLU_JauJNI12nf_funcs.c b/CNativeCode/OpenGLU_JauJNI12nf_funcs.c
index 7d40944..91eff2f 100755
--- a/CNativeCode/OpenGLU_JauJNI12nf_funcs.c
+++ b/CNativeCode/OpenGLU_JauJNI12nf_funcs.c
@@ -1,9 +1,9 @@
-/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!
-
- DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
-*/
-
-
+/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!!
+
+ DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!!
+*/
+
+
/*
* Leo Chan -- 1995
*
@@ -33,2269 +33,2421 @@
* herein lies the native JAVA methods for the OpenGL functions.
*/
-static const char _glu_n_a_string[] = "GLU-String not avaiable !";
-
-JNIEXPORT jstring JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluErrorString ( JNIEnv *env, jobject obj,
- jint errorCode )
-{
- const char *tmpString=0;
-
- tmpString = disp__gluErrorString ( /* jint */ errorCode );
- if(tmpString==NULL)
- tmpString=_glu_n_a_string;
-
- return (*env)->NewStringUTF(env, tmpString);
-}
-
-JNIEXPORT jstring JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluGetString ( JNIEnv *env, jobject obj,
- jint name )
-{
- const char *tmpString=0;
-
- tmpString = disp__gluGetString ( /* jint */ name);
- if(tmpString==NULL)
- tmpString=_glu_n_a_string;
-
- return (*env)->NewStringUTF(env, tmpString);
-}
-
-static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _glu_lib_version_="2.7.0.0";
-
-JNIEXPORT jstring JNICALL
-Java_gl4java_GLUFuncJauJNInf_getNativeVendor ( JNIEnv *env, jobject obj )
-{
- return (*env)->NewStringUTF(env, _glu_lib_vendor_);
-}
-
-JNIEXPORT jstring JNICALL
-Java_gl4java_GLUFuncJauJNInf_getNativeVersion ( JNIEnv *env, jobject obj )
-{
- return (*env)->NewStringUTF(env, _glu_lib_version_);
-}
-
-static void _AddCallbackNode(JNIEnv *env,
- jlong qnt_obj, jint which,
- jobject methodClassInstance,
- jstring methodName,
- jstring signature,
- jint arrayLen1,
- jint arrayLen2,
- jint arrayLen3,
- jint arrayLen4,
- jint arrayLen5)
-{
- char * strMethodName = jnitoolsGetJavaString(env, methodName);
- char * strSignature = jnitoolsGetJavaString(env, signature);
- jlong glx=0;
-
- glx = GetCurrentGLContext();
-
- AddCallbackNode(env, methodClassInstance, strMethodName, strSignature,
- arrayLen1, arrayLen2, arrayLen3,
- arrayLen4, arrayLen5,
- (void *)((PointerHolder)qnt_obj), which, glx);
- free(strMethodName);
- free(strSignature);
-}
-
-
-JNIEXPORT void JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluQuadricCallback( JNIEnv *env, jobject obj,
- jlong qobj, jint which,
- jobject methodClassInstance,
- jstring methodName,
- jstring signature)
-{
- switch(which)
- {
- case GLU_ERROR:
- disp__gluQuadricCallback((void *)((PointerHolder)qobj),
- which, cbf_GLU_ERROR );
- break;
- default:
- jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !");
- return;
- }
- _AddCallbackNode(env,
- qobj, which, methodClassInstance, methodName,
- signature,
- 0, 0, 0, 0, 0);
-}
-
-
-JNIEXPORT void JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluNurbsCallback( JNIEnv *env, jobject obj,
- jlong nobj, jint which,
- jobject methodClassInstance,
- jstring methodName,
- jstring signature)
-{
- switch(which)
- {
- case GLU_ERROR:
- disp__gluNurbsCallback((void *)((PointerHolder)nobj), which,
- cbf_GLU_ERROR );
- break;
- default:
- jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !");
- return;
- }
- _AddCallbackNode(env,
- nobj, which, methodClassInstance, methodName,
- signature,
- 0, 0, 0, 0, 0);
-}
-
-JNIEXPORT void JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluTessCallback( JNIEnv *env, jobject obj,
- jlong tobj, jint which,
- jobject methodClassInstance,
- jstring methodName,
- jstring signature,
- jint arrayLen1,
- jint arrayLen2,
- jint arrayLen3,
- jint arrayLen4,
- jint arrayLen5)
-{
- switch(which)
- {
- case GLU_TESS_BEGIN:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_BEGIN );
- break;
- case GLU_TESS_BEGIN_DATA:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_BEGIN_DATA );
- break;
- case GLU_TESS_EDGE_FLAG:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_EDGE_FLAG );
- break;
- case GLU_TESS_EDGE_FLAG_DATA:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_EDGE_FLAG_DATA );
- break;
- case GLU_TESS_VERTEX:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_VERTEX );
- break;
- case GLU_TESS_VERTEX_DATA:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_VERTEX_DATA );
- break;
- case GLU_TESS_END:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_END );
- break;
- case GLU_TESS_END_DATA:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_END_DATA );
- break;
- case GLU_TESS_ERROR:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_ERROR );
- break;
- case GLU_TESS_ERROR_DATA:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_ERROR_DATA );
- break;
- case GLU_TESS_COMBINE:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_COMBINE );
- break;
- case GLU_TESS_COMBINE_DATA:
- disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
- which,
- cbf_GLU_TESS_COMBINE_DATA );
- break;
- default:
- jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !");
- return;
- }
- _AddCallbackNode(env,
- tobj, which, methodClassInstance, methodName,
- signature,
- arrayLen1, arrayLen2, arrayLen3,
- arrayLen4, arrayLen5);
-}
-
-JNIEXPORT void JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluDeleteQuadric( JNIEnv *env, jobject obj,
- jlong qobj )
-{
- disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
- RemoveCallbackNodes((void *)((PointerHolder)qobj));
-}
-
-JNIEXPORT void JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
- jlong nobj )
-{
- disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
- RemoveCallbackNodes((void *)((PointerHolder)nobj));
-}
-
-JNIEXPORT void JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluDeleteTess( JNIEnv *env, jobject obj,
- jlong tobj )
-{
- disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
- RemoveCallbackNodes((void *)((PointerHolder)tobj));
-}
-
-JNIEXPORT jlong JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluNewQuadric( JNIEnv *env, jobject obj)
-{
- return (jlong)((PointerHolder)disp__gluNewQuadric());
-}
-
-JNIEXPORT jlong JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
-{
- return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
-}
-
-JNIEXPORT jlong JNICALL
-Java_gl4java_GLUFuncJauJNInf_gluNewTess( JNIEnv *env, jobject obj)
-{
- return (jlong)((PointerHolder)disp__gluNewTess());
-}
-
-/**
- * C2J Parser Version 2.0
- * Jausoft - Sven Goethel Software Development
- * Reading from file: glu-proto-auto.orig.h . . .
- * Destination-Class: gl4java_GLUFuncJauJNInf !
- */
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluLookAt (
- JNIEnv *env, jobject obj,
- jdouble eyex,
- jdouble eyey,
- jdouble eyez,
- jdouble centerx,
- jdouble centery,
- jdouble centerz,
- jdouble upx,
- jdouble upy,
- jdouble upz)
- {
-
- disp__gluLookAt (
- (GLdouble) eyex,
- (GLdouble) eyey,
- (GLdouble) eyez,
- (GLdouble) centerx,
- (GLdouble) centery,
- (GLdouble) centerz,
- (GLdouble) upx,
- (GLdouble) upy,
- (GLdouble) upz
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluOrtho2D (
- JNIEnv *env, jobject obj,
- jdouble left,
- jdouble right,
- jdouble bottom,
- jdouble top)
- {
-
- disp__gluOrtho2D (
- (GLdouble) left,
- (GLdouble) right,
- (GLdouble) bottom,
- (GLdouble) top
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluPerspective (
- JNIEnv *env, jobject obj,
- jdouble fovy,
- jdouble aspect,
- jdouble zNear,
- jdouble zFar)
- {
-
- disp__gluPerspective (
- (GLdouble) fovy,
- (GLdouble) aspect,
- (GLdouble) zNear,
- (GLdouble) zFar
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluPickMatrix (
- JNIEnv *env, jobject obj,
- jdouble x,
- jdouble y,
- jdouble width,
- jdouble height,
- jintArray viewport)
- {
- jboolean isCopiedArray4 = JNI_FALSE;
- jint *ptr4 = NULL;
-
- if(viewport!=NULL)
- {
- ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray4);
- }
- disp__gluPickMatrix (
- (GLdouble) x,
- (GLdouble) y,
- (GLdouble) width,
- (GLdouble) height,
- (GLint *) ptr4
- );
-
- if(viewport!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluProject (
- JNIEnv *env, jobject obj,
- jdouble objx,
- jdouble objy,
- jdouble objz,
- jdoubleArray modelMatrix,
- jdoubleArray projMatrix,
- jintArray viewport,
- jdoubleArray winx,
- jdoubleArray winy,
- jdoubleArray winz)
- {
- jint ret;
-
- jdouble *ptr3 = NULL;
- jdouble *ptr4 = NULL;
- jint *ptr5 = NULL;
- jboolean isCopiedArray6 = JNI_FALSE;
- jdouble *ptr6 = NULL;
- jboolean isCopiedArray7 = JNI_FALSE;
- jdouble *ptr7 = NULL;
- jboolean isCopiedArray8 = JNI_FALSE;
- jdouble *ptr8 = NULL;
-
- if(modelMatrix!=NULL)
- {
- ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
- }
- if(projMatrix!=NULL)
- {
- ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0);
- }
- if(viewport!=NULL)
- {
- ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
- }
- if(winx!=NULL)
- {
- ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winx, &isCopiedArray6);
- }
- if(winy!=NULL)
- {
- ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winy, &isCopiedArray7);
- }
- if(winz!=NULL)
- {
- ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winz, &isCopiedArray8);
- }
- ret = (jint) disp__gluProject (
- (GLdouble) objx,
- (GLdouble) objy,
- (GLdouble) objz,
- (const GLdouble *) ptr3,
- (const GLdouble *) ptr4,
- (const GLint *) ptr5,
- (GLdouble *) ptr6,
- (GLdouble *) ptr7,
- (GLdouble *) ptr8
- );
-
- if(modelMatrix!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT);
- }
- if(projMatrix!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT);
- }
- if(viewport!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT);
- }
- if(winx!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, winx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(winy!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, winy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(winz!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, winz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluUnProject (
- JNIEnv *env, jobject obj,
- jdouble winx,
- jdouble winy,
- jdouble winz,
- jdoubleArray modelMatrix,
- jdoubleArray projMatrix,
- jintArray viewport,
- jdoubleArray objx,
- jdoubleArray objy,
- jdoubleArray objz)
- {
- jint ret;
-
- jdouble *ptr3 = NULL;
- jdouble *ptr4 = NULL;
- jint *ptr5 = NULL;
- jboolean isCopiedArray6 = JNI_FALSE;
- jdouble *ptr6 = NULL;
- jboolean isCopiedArray7 = JNI_FALSE;
- jdouble *ptr7 = NULL;
- jboolean isCopiedArray8 = JNI_FALSE;
- jdouble *ptr8 = NULL;
-
- if(modelMatrix!=NULL)
- {
- ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
- }
- if(projMatrix!=NULL)
- {
- ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0);
- }
- if(viewport!=NULL)
- {
- ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
- }
- if(objx!=NULL)
- {
- ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objx, &isCopiedArray6);
- }
- if(objy!=NULL)
- {
- ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objy, &isCopiedArray7);
- }
- if(objz!=NULL)
- {
- ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objz, &isCopiedArray8);
- }
- ret = (jint) disp__gluUnProject (
- (GLdouble) winx,
- (GLdouble) winy,
- (GLdouble) winz,
- (const GLdouble *) ptr3,
- (const GLdouble *) ptr4,
- (const GLint *) ptr5,
- (GLdouble *) ptr6,
- (GLdouble *) ptr7,
- (GLdouble *) ptr8
- );
-
- if(modelMatrix!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT);
- }
- if(projMatrix!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT);
- }
- if(viewport!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT);
- }
- if(objx!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, objx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(objy!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, objy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(objz!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, objz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluScaleImage (
- JNIEnv *env, jobject obj,
- jint format,
- jint widthin,
- jint heightin,
- jint typein,
- jbyteArray datain,
- jint widthout,
- jint heightout,
- jint typeout,
- jbyteArray dataout)
- {
- jint ret;
-
- jbyte *ptr4 = NULL;
- jboolean isCopiedArray8 = JNI_FALSE;
- jbyte *ptr8 = NULL;
-
- if(datain!=NULL)
- {
- ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, datain, 0);
- }
- if(dataout!=NULL)
- {
- ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, dataout, &isCopiedArray8);
- }
- ret = (jint) disp__gluScaleImage (
- (GLenum) format,
- (GLsizei) widthin,
- (GLsizei) heightin,
- (GLenum) typein,
- (const char *) ptr4,
- (GLsizei) widthout,
- (GLsizei) heightout,
- (GLenum) typeout,
- (char *) ptr8
- );
-
- if(datain!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, datain, ptr4, JNI_ABORT);
- }
- if(dataout!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, dataout, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3B (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jbyteArray data)
- {
- jint ret;
-
- jbyte *ptr5 = NULL;
-
- if(data!=NULL)
- {
- ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3S (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jshortArray data)
- {
- jint ret;
-
- jshort *ptr5 = NULL;
-
- if(data!=NULL)
- {
- ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3I (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jintArray data)
- {
- jint ret;
-
- jint *ptr5 = NULL;
-
- if(data!=NULL)
- {
- ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3F (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jfloatArray data)
- {
- jint ret;
-
- jfloat *ptr5 = NULL;
-
- if(data!=NULL)
- {
- ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3D (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jdoubleArray data)
- {
- jint ret;
-
- jdouble *ptr5 = NULL;
-
- if(data!=NULL)
- {
- ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3Z (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jbooleanArray data)
- {
- jint ret;
-
- jboolean *ptr5 = NULL;
-
- if(data!=NULL)
- {
- ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3J (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint format,
- jint type,
- jlongArray data)
- {
- jint ret;
-
- jlong *ptr5 = NULL;
-
- if(data!=NULL)
- {
- ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild1DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr5
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
- * </pre>
- */
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3B (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jbyteArray data)
- {
- jint ret;
-
- jbyte *ptr6 = NULL;
-
- if(data!=NULL)
- {
- ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3S (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jshortArray data)
- {
- jint ret;
-
- jshort *ptr6 = NULL;
-
- if(data!=NULL)
- {
- ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3I (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jintArray data)
- {
- jint ret;
-
- jint *ptr6 = NULL;
-
- if(data!=NULL)
- {
- ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3F (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jfloatArray data)
- {
- jint ret;
-
- jfloat *ptr6 = NULL;
-
- if(data!=NULL)
- {
- ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3D (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jdoubleArray data)
- {
- jint ret;
-
- jdouble *ptr6 = NULL;
-
- if(data!=NULL)
- {
- ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3Z (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jbooleanArray data)
- {
- jint ret;
-
- jboolean *ptr6 = NULL;
-
- if(data!=NULL)
- {
- ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
- JNIEXPORT jint JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3J (
- JNIEnv *env, jobject obj,
- jint target,
- jint components,
- jint width,
- jint height,
- jint format,
- jint type,
- jlongArray data)
- {
- jint ret;
-
- jlong *ptr6 = NULL;
-
- if(data!=NULL)
- {
- ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
- }
- ret = (jint) disp__gluBuild2DMipmaps (
- (GLenum) target,
- (GLint) components,
- (GLint) width,
- (GLint) height,
- (GLenum) format,
- (GLenum) type,
- (const void *) ptr6
- );
-
- if(data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
- }
- return ret;
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluQuadricDrawStyle (
- JNIEnv *env, jobject obj,
- jlong quadObject,
- jint drawStyle)
- {
-
- disp__gluQuadricDrawStyle (
- (GLUquadricObj *) (PointerHolder) quadObject,
- (GLenum) drawStyle
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluQuadricOrientation (
- JNIEnv *env, jobject obj,
- jlong quadObject,
- jint orientation)
- {
-
- disp__gluQuadricOrientation (
- (GLUquadricObj *) (PointerHolder) quadObject,
- (GLenum) orientation
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluQuadricNormals (
- JNIEnv *env, jobject obj,
- jlong quadObject,
- jint normals)
- {
-
- disp__gluQuadricNormals (
- (GLUquadricObj *) (PointerHolder) quadObject,
- (GLenum) normals
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluQuadricTexture (
- JNIEnv *env, jobject obj,
- jlong quadObject,
- jboolean textureCoords)
- {
-
- disp__gluQuadricTexture (
- (GLUquadricObj *) (PointerHolder) quadObject,
- (GLboolean) textureCoords
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluCylinder (
- JNIEnv *env, jobject obj,
- jlong qobj,
- jdouble baseRadius,
- jdouble topRadius,
- jdouble height,
- jint slices,
- jint stacks)
- {
-
- disp__gluCylinder (
- (GLUquadricObj *) (PointerHolder) qobj,
- (GLdouble) baseRadius,
- (GLdouble) topRadius,
- (GLdouble) height,
- (GLint) slices,
- (GLint) stacks
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluSphere (
- JNIEnv *env, jobject obj,
- jlong qobj,
- jdouble radius,
- jint slices,
- jint stacks)
- {
-
- disp__gluSphere (
- (GLUquadricObj *) (PointerHolder) qobj,
- (GLdouble) radius,
- (GLint) slices,
- (GLint) stacks
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluDisk (
- JNIEnv *env, jobject obj,
- jlong qobj,
- jdouble innerRadius,
- jdouble outerRadius,
- jint slices,
- jint loops)
- {
-
- disp__gluDisk (
- (GLUquadricObj *) (PointerHolder) qobj,
- (GLdouble) innerRadius,
- (GLdouble) outerRadius,
- (GLint) slices,
- (GLint) loops
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluPartialDisk (
- JNIEnv *env, jobject obj,
- jlong qobj,
- jdouble innerRadius,
- jdouble outerRadius,
- jint slices,
- jint loops,
- jdouble startAngle,
- jdouble sweepAngle)
- {
-
- disp__gluPartialDisk (
- (GLUquadricObj *) (PointerHolder) qobj,
- (GLdouble) innerRadius,
- (GLdouble) outerRadius,
- (GLint) slices,
- (GLint) loops,
- (GLdouble) startAngle,
- (GLdouble) sweepAngle
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluLoadSamplingMatrices (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jfloatArray modelMatrix,
- jfloatArray projMatrix,
- jintArray viewport)
- {
- jfloat *ptr1 = NULL;
- jfloat *ptr2 = NULL;
- jint *ptr3 = NULL;
-
- if(modelMatrix!=NULL)
- {
- ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
- }
- if(projMatrix!=NULL)
- {
- ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0);
- }
- if(viewport!=NULL)
- {
- ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
- }
- disp__gluLoadSamplingMatrices (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (const GLfloat *) ptr1,
- (const GLfloat *) ptr2,
- (const GLint *) ptr3
- );
-
- if(modelMatrix!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr1, JNI_ABORT);
- }
- if(projMatrix!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr2, JNI_ABORT);
- }
- if(viewport!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr3, JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluNurbsProperty (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint property,
- jfloat value)
- {
-
- disp__gluNurbsProperty (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLenum) property,
- (GLfloat) value
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluGetNurbsProperty (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint property,
- jfloatArray value)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
-
- if(value!=NULL)
- {
- ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
- }
- disp__gluGetNurbsProperty (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLenum) property,
- (GLfloat *) ptr2
- );
-
- if(value!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBeginCurve (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- disp__gluBeginCurve (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluEndCurve (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- disp__gluEndCurve (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluNurbsCurve (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint nknots,
- jfloatArray knot,
- jint stride,
- jfloatArray ctlarray,
- jint order,
- jint type)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
- jboolean isCopiedArray4 = JNI_FALSE;
- jfloat *ptr4 = NULL;
-
- if(knot!=NULL)
- {
- ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, knot, &isCopiedArray2);
- }
- if(ctlarray!=NULL)
- {
- ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray4);
- }
- disp__gluNurbsCurve (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLint) nknots,
- (GLfloat *) ptr2,
- (GLint) stride,
- (GLfloat *) ptr4,
- (GLint) order,
- (GLenum) type
- );
-
- if(knot!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, knot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(ctlarray!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBeginSurface (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- disp__gluBeginSurface (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluEndSurface (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- disp__gluEndSurface (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluNurbsSurface (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint sknot_count,
- jfloatArray sknot,
- jint tknot_count,
- jfloatArray tknot,
- jint s_stride,
- jint t_stride,
- jfloatArray ctlarray,
- jint sorder,
- jint torder,
- jint type)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
- jboolean isCopiedArray4 = JNI_FALSE;
- jfloat *ptr4 = NULL;
- jboolean isCopiedArray7 = JNI_FALSE;
- jfloat *ptr7 = NULL;
-
- if(sknot!=NULL)
- {
- ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, sknot, &isCopiedArray2);
- }
- if(tknot!=NULL)
- {
- ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, tknot, &isCopiedArray4);
- }
- if(ctlarray!=NULL)
- {
- ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray7);
- }
- disp__gluNurbsSurface (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLint) sknot_count,
- (GLfloat *) ptr2,
- (GLint) tknot_count,
- (GLfloat *) ptr4,
- (GLint) s_stride,
- (GLint) t_stride,
- (GLfloat *) ptr7,
- (GLint) sorder,
- (GLint) torder,
- (GLenum) type
- );
-
- if(sknot!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, sknot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(tknot!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, tknot, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(ctlarray!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBeginTrim (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- disp__gluBeginTrim (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluEndTrim (
- JNIEnv *env, jobject obj,
- jlong nobj)
- {
-
- disp__gluEndTrim (
- (GLUnurbsObj *) (PointerHolder) nobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluPwlCurve (
- JNIEnv *env, jobject obj,
- jlong nobj,
- jint count,
- jfloatArray array,
- jint stride,
- jint type)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
-
- if(array!=NULL)
- {
- ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, array, &isCopiedArray2);
- }
- disp__gluPwlCurve (
- (GLUnurbsObj *) (PointerHolder) nobj,
- (GLint) count,
- (GLfloat *) ptr2,
- (GLint) stride,
- (GLenum) type
- );
-
- if(array!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, array, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3B (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jbyteArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jbyte *ptr1 = NULL;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
- }
- disp__gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3S (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jshortArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jshort *ptr1 = NULL;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
- }
- disp__gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3I (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jintArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jint *ptr1 = NULL;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
- }
- disp__gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3F (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jfloatArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jfloat *ptr1 = NULL;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
- }
- disp__gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3D (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
- }
- disp__gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3Z (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jbooleanArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jboolean *ptr1 = NULL;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
- }
- disp__gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3J (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jlongArray polygon_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jlong *ptr1 = NULL;
-
- if(polygon_data!=NULL)
- {
- ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
- }
- disp__gluTessBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj,
- (void *) ptr1
- );
-
- if(polygon_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessBeginContour (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- disp__gluTessBeginContour (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3B (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jbyteArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- jboolean isCopiedArray2 = JNI_FALSE;
- jbyte *ptr2 = NULL;
-
- if(coords!=NULL)
- {
- ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
- }
- disp__gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3S (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jshortArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- jboolean isCopiedArray2 = JNI_FALSE;
- jshort *ptr2 = NULL;
-
- if(coords!=NULL)
- {
- ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
- }
- disp__gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3I (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jintArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- jboolean isCopiedArray2 = JNI_FALSE;
- jint *ptr2 = NULL;
-
- if(coords!=NULL)
- {
- ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
- }
- disp__gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3F (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jfloatArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- jboolean isCopiedArray2 = JNI_FALSE;
- jfloat *ptr2 = NULL;
-
- if(coords!=NULL)
- {
- ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
- }
- disp__gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3D (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jdoubleArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- jboolean isCopiedArray2 = JNI_FALSE;
- jdouble *ptr2 = NULL;
-
- if(coords!=NULL)
- {
- ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
- }
- disp__gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3Z (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jbooleanArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- jboolean isCopiedArray2 = JNI_FALSE;
- jboolean *ptr2 = NULL;
-
- if(coords!=NULL)
- {
- ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
- }
- disp__gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3J (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdoubleArray coords,
- jlongArray vertex_data)
- {
- jboolean isCopiedArray1 = JNI_FALSE;
- jdouble *ptr1 = NULL;
- jboolean isCopiedArray2 = JNI_FALSE;
- jlong *ptr2 = NULL;
-
- if(coords!=NULL)
- {
- ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
- }
- if(vertex_data!=NULL)
- {
- ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
- }
- disp__gluTessVertex (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble *) ptr1,
- (void *) ptr2
- );
-
- if(coords!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
- }
- if(vertex_data!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessEndContour ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessEndContour (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- disp__gluTessEndContour (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessEndPolygon (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- disp__gluTessEndPolygon (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessProperty (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jint which,
- jdouble value)
- {
-
- disp__gluTessProperty (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLenum) which,
- (GLdouble) value
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluTessNormal (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jdouble x,
- jdouble y,
- jdouble z)
- {
-
- disp__gluTessNormal (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLdouble) x,
- (GLdouble) y,
- (GLdouble) z
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluGetTessProperty (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jint which,
- jdoubleArray value)
- {
- jboolean isCopiedArray2 = JNI_FALSE;
- jdouble *ptr2 = NULL;
-
- if(value!=NULL)
- {
- ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
- }
- disp__gluGetTessProperty (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLenum) which,
- (GLdouble *) ptr2
- );
-
- if(value!=NULL)
- {
- (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
- }
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluBeginPolygon (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- disp__gluBeginPolygon (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluNextContour (
- JNIEnv *env, jobject obj,
- jlong tobj,
- jint type)
- {
-
- disp__gluNextContour (
- (GLUtesselator *) (PointerHolder) tobj,
- (GLenum) type
- );
-
- }
-
-/**
- * Original Function-Prototype :
- * <pre>
- extern void gluEndPolygon ( GLUtesselator * tobj ) ;
- * </pre>
- */
- JNIEXPORT void JNICALL
- Java_gl4java_GLUFuncJauJNInf_gluEndPolygon (
- JNIEnv *env, jobject obj,
- jlong tobj)
- {
-
- disp__gluEndPolygon (
- (GLUtesselator *) (PointerHolder) tobj
- );
-
- }
-
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+static const char _glu_n_a_string[] = "GLU-String not avaiable !";
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluErrorString ( JNIEnv *env, jobject obj,
+ jint errorCode )
+{
+ const char *tmpString=0;
+
+ if ( disp__gluErrorString == NULL )
+ return (*env)->NewStringUTF(env, _glu_n_a_string);
+
+ tmpString = disp__gluErrorString ( /* jint */ errorCode );
+ if(tmpString==NULL)
+ tmpString=_glu_n_a_string;
+
+ return (*env)->NewStringUTF(env, tmpString);
+}
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluGetString ( JNIEnv *env, jobject obj,
+ jint name )
+{
+ const char *tmpString=0;
+
+ if ( disp__gluGetString == NULL )
+ return (*env)->NewStringUTF(env, _glu_n_a_string);
+
+ tmpString = disp__gluGetString ( /* jint */ name);
+ if(tmpString==NULL)
+ tmpString=_glu_n_a_string;
+
+ return (*env)->NewStringUTF(env, tmpString);
+}
+
+static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
+static const char * _glu_lib_version_="2.7.1.0";
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLUFuncJauJNInf_getNativeVendor ( JNIEnv *env, jobject obj )
+{
+ return (*env)->NewStringUTF(env, _glu_lib_vendor_);
+}
+
+JNIEXPORT jstring JNICALL
+Java_gl4java_GLUFuncJauJNInf_getNativeVersion ( JNIEnv *env, jobject obj )
+{
+ return (*env)->NewStringUTF(env, _glu_lib_version_);
+}
+
+static void _AddCallbackNode(JNIEnv *env,
+ jlong qnt_obj, jint which,
+ jobject methodClassInstance,
+ jstring methodName,
+ jstring signature,
+ jint arrayLen1,
+ jint arrayLen2,
+ jint arrayLen3,
+ jint arrayLen4,
+ jint arrayLen5)
+{
+ char * strMethodName = jnitoolsGetJavaString(env, methodName);
+ char * strSignature = jnitoolsGetJavaString(env, signature);
+ jlong glx=0;
+
+ glx = GetCurrentGLContext();
+
+ AddCallbackNode(env, methodClassInstance, strMethodName, strSignature,
+ arrayLen1, arrayLen2, arrayLen3,
+ arrayLen4, arrayLen5,
+ (void *)((PointerHolder)qnt_obj), which, glx);
+ free(strMethodName);
+ free(strSignature);
+}
+
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluQuadricCallback( JNIEnv *env, jobject obj,
+ jlong qobj, jint which,
+ jobject methodClassInstance,
+ jstring methodName,
+ jstring signature)
+{
+ if ( disp__gluQuadricCallback == NULL ) return;
+
+ switch(which)
+ {
+ case GLU_ERROR:
+ disp__gluQuadricCallback((void *)((PointerHolder)qobj),
+ which, cbf_GLU_ERROR );
+ break;
+ default:
+ jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !");
+ return;
+ }
+ _AddCallbackNode(env,
+ qobj, which, methodClassInstance, methodName,
+ signature,
+ 0, 0, 0, 0, 0);
+}
+
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluNurbsCallback( JNIEnv *env, jobject obj,
+ jlong nobj, jint which,
+ jobject methodClassInstance,
+ jstring methodName,
+ jstring signature)
+{
+ if ( disp__gluNurbsCallback == NULL ) return;
+
+ switch(which)
+ {
+ case GLU_ERROR:
+ disp__gluNurbsCallback((void *)((PointerHolder)nobj), which,
+ cbf_GLU_ERROR );
+ break;
+ default:
+ jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !");
+ return;
+ }
+ _AddCallbackNode(env,
+ nobj, which, methodClassInstance, methodName,
+ signature,
+ 0, 0, 0, 0, 0);
+}
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluTessCallback( JNIEnv *env, jobject obj,
+ jlong tobj, jint which,
+ jobject methodClassInstance,
+ jstring methodName,
+ jstring signature,
+ jint arrayLen1,
+ jint arrayLen2,
+ jint arrayLen3,
+ jint arrayLen4,
+ jint arrayLen5)
+{
+ if ( disp__gluTessCallback == NULL ) return;
+
+ switch(which)
+ {
+ case GLU_TESS_BEGIN:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_BEGIN );
+ break;
+ case GLU_TESS_BEGIN_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_BEGIN_DATA );
+ break;
+ case GLU_TESS_EDGE_FLAG:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_EDGE_FLAG );
+ break;
+ case GLU_TESS_EDGE_FLAG_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_EDGE_FLAG_DATA );
+ break;
+ case GLU_TESS_VERTEX:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_VERTEX );
+ break;
+ case GLU_TESS_VERTEX_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_VERTEX_DATA );
+ break;
+ case GLU_TESS_END:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_END );
+ break;
+ case GLU_TESS_END_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_END_DATA );
+ break;
+ case GLU_TESS_ERROR:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_ERROR );
+ break;
+ case GLU_TESS_ERROR_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_ERROR_DATA );
+ break;
+ case GLU_TESS_COMBINE:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_COMBINE );
+ break;
+ case GLU_TESS_COMBINE_DATA:
+ disp__gluTessCallback((GLUtesselator *)((PointerHolder)tobj),
+ which,
+ cbf_GLU_TESS_COMBINE_DATA );
+ break;
+ default:
+ jnitoolsThrowByName(env, "java/lang/IllegalArgumentException", "Wrong Callback-Function type (\"which\") !");
+ return;
+ }
+ _AddCallbackNode(env,
+ tobj, which, methodClassInstance, methodName,
+ signature,
+ arrayLen1, arrayLen2, arrayLen3,
+ arrayLen4, arrayLen5);
+}
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluDeleteQuadric( JNIEnv *env, jobject obj,
+ jlong qobj )
+{
+ if ( disp__gluDeleteQuadric == NULL ) return;
+
+ disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
+ RemoveCallbackNodes((void *)((PointerHolder)qobj));
+}
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
+ jlong nobj )
+{
+ if ( disp__gluDeleteNurbsRenderer == NULL ) return;
+
+ disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
+ RemoveCallbackNodes((void *)((PointerHolder)nobj));
+}
+
+JNIEXPORT void JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluDeleteTess( JNIEnv *env, jobject obj,
+ jlong tobj )
+{
+ if ( disp__gluDeleteTess == NULL ) return;
+
+ disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
+ RemoveCallbackNodes((void *)((PointerHolder)tobj));
+}
+
+JNIEXPORT jlong JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluNewQuadric( JNIEnv *env, jobject obj)
+{
+ if ( disp__gluNewQuadric == NULL ) return 0;
+
+ return (jlong)((PointerHolder)disp__gluNewQuadric());
+}
+
+JNIEXPORT jlong JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
+{
+ if ( disp__gluNewNurbsRenderer == NULL ) return 0;
+
+ return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
+}
+
+JNIEXPORT jlong JNICALL
+Java_gl4java_GLUFuncJauJNInf_gluNewTess( JNIEnv *env, jobject obj)
+{
+ if ( disp__gluNewTess == NULL ) return 0;
+
+ return (jlong)((PointerHolder)disp__gluNewTess());
+}
+
+/**
+ * C2J Parser Version 2.1
+ * Jausoft - Sven Goethel Software Development
+ * Reading from file: glu-proto-auto.orig.h . . .
+ * Destination-Class: gl4java_GLUFuncJauJNInf !
+ */
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluLookAt (
+ JNIEnv *env, jobject obj,
+ jdouble eyex,
+ jdouble eyey,
+ jdouble eyez,
+ jdouble centerx,
+ jdouble centery,
+ jdouble centerz,
+ jdouble upx,
+ jdouble upy,
+ jdouble upz)
+ {
+
+ if ( disp__gluLookAt == NULL ) return;
+
+ disp__gluLookAt (
+ (GLdouble) eyex,
+ (GLdouble) eyey,
+ (GLdouble) eyez,
+ (GLdouble) centerx,
+ (GLdouble) centery,
+ (GLdouble) centerz,
+ (GLdouble) upx,
+ (GLdouble) upy,
+ (GLdouble) upz
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluOrtho2D (
+ JNIEnv *env, jobject obj,
+ jdouble left,
+ jdouble right,
+ jdouble bottom,
+ jdouble top)
+ {
+
+ if ( disp__gluOrtho2D == NULL ) return;
+
+ disp__gluOrtho2D (
+ (GLdouble) left,
+ (GLdouble) right,
+ (GLdouble) bottom,
+ (GLdouble) top
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluPerspective (
+ JNIEnv *env, jobject obj,
+ jdouble fovy,
+ jdouble aspect,
+ jdouble zNear,
+ jdouble zFar)
+ {
+
+ if ( disp__gluPerspective == NULL ) return;
+
+ disp__gluPerspective (
+ (GLdouble) fovy,
+ (GLdouble) aspect,
+ (GLdouble) zNear,
+ (GLdouble) zFar
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluPickMatrix (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y,
+ jdouble width,
+ jdouble height,
+ jintArray viewport)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jint *ptr4 = NULL;
+
+ if ( disp__gluPickMatrix == NULL ) return;
+
+ if(viewport!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray4);
+ }
+ disp__gluPickMatrix (
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) width,
+ (GLdouble) height,
+ (GLint *) ptr4
+ );
+
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluProject (
+ JNIEnv *env, jobject obj,
+ jdouble objx,
+ jdouble objy,
+ jdouble objz,
+ jdoubleArray modelMatrix,
+ jdoubleArray projMatrix,
+ jintArray viewport,
+ jdoubleArray winx,
+ jdoubleArray winy,
+ jdoubleArray winz)
+ {
+ jint ret;
+
+ jdouble *ptr3 = NULL;
+ jdouble *ptr4 = NULL;
+ jint *ptr5 = NULL;
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jdouble *ptr6 = NULL;
+ jboolean isCopiedArray7 = JNI_FALSE;
+ jdouble *ptr7 = NULL;
+ jboolean isCopiedArray8 = JNI_FALSE;
+ jdouble *ptr8 = NULL;
+
+ if ( disp__gluProject == NULL ) return 0;
+
+ if(modelMatrix!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
+ }
+ if(projMatrix!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0);
+ }
+ if(viewport!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
+ }
+ if(winx!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winx, &isCopiedArray6);
+ }
+ if(winy!=NULL)
+ {
+ ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winy, &isCopiedArray7);
+ }
+ if(winz!=NULL)
+ {
+ ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winz, &isCopiedArray8);
+ }
+ ret = (jint) disp__gluProject (
+ (GLdouble) objx,
+ (GLdouble) objy,
+ (GLdouble) objz,
+ (const GLdouble *) ptr3,
+ (const GLdouble *) ptr4,
+ (const GLint *) ptr5,
+ (GLdouble *) ptr6,
+ (GLdouble *) ptr7,
+ (GLdouble *) ptr8
+ );
+
+ if(modelMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT);
+ }
+ if(projMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT);
+ }
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT);
+ }
+ if(winx!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, winx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(winy!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, winy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(winz!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, winz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluUnProject (
+ JNIEnv *env, jobject obj,
+ jdouble winx,
+ jdouble winy,
+ jdouble winz,
+ jdoubleArray modelMatrix,
+ jdoubleArray projMatrix,
+ jintArray viewport,
+ jdoubleArray objx,
+ jdoubleArray objy,
+ jdoubleArray objz)
+ {
+ jint ret;
+
+ jdouble *ptr3 = NULL;
+ jdouble *ptr4 = NULL;
+ jint *ptr5 = NULL;
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jdouble *ptr6 = NULL;
+ jboolean isCopiedArray7 = JNI_FALSE;
+ jdouble *ptr7 = NULL;
+ jboolean isCopiedArray8 = JNI_FALSE;
+ jdouble *ptr8 = NULL;
+
+ if ( disp__gluUnProject == NULL ) return 0;
+
+ if(modelMatrix!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
+ }
+ if(projMatrix!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0);
+ }
+ if(viewport!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
+ }
+ if(objx!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objx, &isCopiedArray6);
+ }
+ if(objy!=NULL)
+ {
+ ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objy, &isCopiedArray7);
+ }
+ if(objz!=NULL)
+ {
+ ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objz, &isCopiedArray8);
+ }
+ ret = (jint) disp__gluUnProject (
+ (GLdouble) winx,
+ (GLdouble) winy,
+ (GLdouble) winz,
+ (const GLdouble *) ptr3,
+ (const GLdouble *) ptr4,
+ (const GLint *) ptr5,
+ (GLdouble *) ptr6,
+ (GLdouble *) ptr7,
+ (GLdouble *) ptr8
+ );
+
+ if(modelMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT);
+ }
+ if(projMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT);
+ }
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT);
+ }
+ if(objx!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, objx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(objy!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, objy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(objz!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, objz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluScaleImage (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint widthin,
+ jint heightin,
+ jint typein,
+ jbyteArray datain,
+ jint widthout,
+ jint heightout,
+ jint typeout,
+ jbyteArray dataout)
+ {
+ jint ret;
+
+ jbyte *ptr4 = NULL;
+ jboolean isCopiedArray8 = JNI_FALSE;
+ jbyte *ptr8 = NULL;
+
+ if ( disp__gluScaleImage == NULL ) return 0;
+
+ if(datain!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, datain, 0);
+ }
+ if(dataout!=NULL)
+ {
+ ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, dataout, &isCopiedArray8);
+ }
+ ret = (jint) disp__gluScaleImage (
+ (GLenum) format,
+ (GLsizei) widthin,
+ (GLsizei) heightin,
+ (GLenum) typein,
+ (const char *) ptr4,
+ (GLsizei) widthout,
+ (GLsizei) heightout,
+ (GLenum) typeout,
+ (char *) ptr8
+ );
+
+ if(datain!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, datain, ptr4, JNI_ABORT);
+ }
+ if(dataout!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, dataout, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jbyteArray data)
+ {
+ jint ret;
+
+ jbyte *ptr5 = NULL;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jshortArray data)
+ {
+ jint ret;
+
+ jshort *ptr5 = NULL;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jintArray data)
+ {
+ jint ret;
+
+ jint *ptr5 = NULL;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jfloatArray data)
+ {
+ jint ret;
+
+ jfloat *ptr5 = NULL;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jdoubleArray data)
+ {
+ jint ret;
+
+ jdouble *ptr5 = NULL;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jbooleanArray data)
+ {
+ jint ret;
+
+ jboolean *ptr5 = NULL;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild1DMipmaps__IIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jlongArray data)
+ {
+ jint ret;
+
+ jlong *ptr5 = NULL;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbyteArray data)
+ {
+ jint ret;
+
+ jbyte *ptr6 = NULL;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jshortArray data)
+ {
+ jint ret;
+
+ jshort *ptr6 = NULL;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jintArray data)
+ {
+ jint ret;
+
+ jint *ptr6 = NULL;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jfloatArray data)
+ {
+ jint ret;
+
+ jfloat *ptr6 = NULL;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jdoubleArray data)
+ {
+ jint ret;
+
+ jdouble *ptr6 = NULL;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbooleanArray data)
+ {
+ jint ret;
+
+ jboolean *ptr6 = NULL;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBuild2DMipmaps__IIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jlongArray data)
+ {
+ jint ret;
+
+ jlong *ptr6 = NULL;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluQuadricDrawStyle (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jint drawStyle)
+ {
+
+ if ( disp__gluQuadricDrawStyle == NULL ) return;
+
+ disp__gluQuadricDrawStyle (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLenum) drawStyle
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluQuadricOrientation (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jint orientation)
+ {
+
+ if ( disp__gluQuadricOrientation == NULL ) return;
+
+ disp__gluQuadricOrientation (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLenum) orientation
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluQuadricNormals (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jint normals)
+ {
+
+ if ( disp__gluQuadricNormals == NULL ) return;
+
+ disp__gluQuadricNormals (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLenum) normals
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluQuadricTexture (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jboolean textureCoords)
+ {
+
+ if ( disp__gluQuadricTexture == NULL ) return;
+
+ disp__gluQuadricTexture (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLboolean) textureCoords
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluCylinder (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble baseRadius,
+ jdouble topRadius,
+ jdouble height,
+ jint slices,
+ jint stacks)
+ {
+
+ if ( disp__gluCylinder == NULL ) return;
+
+ disp__gluCylinder (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) baseRadius,
+ (GLdouble) topRadius,
+ (GLdouble) height,
+ (GLint) slices,
+ (GLint) stacks
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluSphere (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble radius,
+ jint slices,
+ jint stacks)
+ {
+
+ if ( disp__gluSphere == NULL ) return;
+
+ disp__gluSphere (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) radius,
+ (GLint) slices,
+ (GLint) stacks
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluDisk (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble innerRadius,
+ jdouble outerRadius,
+ jint slices,
+ jint loops)
+ {
+
+ if ( disp__gluDisk == NULL ) return;
+
+ disp__gluDisk (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) innerRadius,
+ (GLdouble) outerRadius,
+ (GLint) slices,
+ (GLint) loops
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluPartialDisk (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble innerRadius,
+ jdouble outerRadius,
+ jint slices,
+ jint loops,
+ jdouble startAngle,
+ jdouble sweepAngle)
+ {
+
+ if ( disp__gluPartialDisk == NULL ) return;
+
+ disp__gluPartialDisk (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) innerRadius,
+ (GLdouble) outerRadius,
+ (GLint) slices,
+ (GLint) loops,
+ (GLdouble) startAngle,
+ (GLdouble) sweepAngle
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluLoadSamplingMatrices (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jfloatArray modelMatrix,
+ jfloatArray projMatrix,
+ jintArray viewport)
+ {
+ jfloat *ptr1 = NULL;
+ jfloat *ptr2 = NULL;
+ jint *ptr3 = NULL;
+
+ if ( disp__gluLoadSamplingMatrices == NULL ) return;
+
+ if(modelMatrix!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, 0);
+ }
+ if(projMatrix!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, 0);
+ }
+ if(viewport!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, 0);
+ }
+ disp__gluLoadSamplingMatrices (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (const GLfloat *) ptr1,
+ (const GLfloat *) ptr2,
+ (const GLint *) ptr3
+ );
+
+ if(modelMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr1, JNI_ABORT);
+ }
+ if(projMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr2, JNI_ABORT);
+ }
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr3, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluNurbsProperty (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint property,
+ jfloat value)
+ {
+
+ if ( disp__gluNurbsProperty == NULL ) return;
+
+ disp__gluNurbsProperty (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLenum) property,
+ (GLfloat) value
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluGetNurbsProperty (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint property,
+ jfloatArray value)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if ( disp__gluGetNurbsProperty == NULL ) return;
+
+ if(value!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
+ }
+ disp__gluGetNurbsProperty (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLenum) property,
+ (GLfloat *) ptr2
+ );
+
+ if(value!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBeginCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluBeginCurve == NULL ) return;
+
+ disp__gluBeginCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluEndCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluEndCurve == NULL ) return;
+
+ disp__gluEndCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluNurbsCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint nknots,
+ jfloatArray knot,
+ jint stride,
+ jfloatArray ctlarray,
+ jint order,
+ jint type)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+
+ if ( disp__gluNurbsCurve == NULL ) return;
+
+ if(knot!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, knot, &isCopiedArray2);
+ }
+ if(ctlarray!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray4);
+ }
+ disp__gluNurbsCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLint) nknots,
+ (GLfloat *) ptr2,
+ (GLint) stride,
+ (GLfloat *) ptr4,
+ (GLint) order,
+ (GLenum) type
+ );
+
+ if(knot!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, knot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(ctlarray!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBeginSurface (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluBeginSurface == NULL ) return;
+
+ disp__gluBeginSurface (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluEndSurface (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluEndSurface == NULL ) return;
+
+ disp__gluEndSurface (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluNurbsSurface (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint sknot_count,
+ jfloatArray sknot,
+ jint tknot_count,
+ jfloatArray tknot,
+ jint s_stride,
+ jint t_stride,
+ jfloatArray ctlarray,
+ jint sorder,
+ jint torder,
+ jint type)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+ jboolean isCopiedArray7 = JNI_FALSE;
+ jfloat *ptr7 = NULL;
+
+ if ( disp__gluNurbsSurface == NULL ) return;
+
+ if(sknot!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, sknot, &isCopiedArray2);
+ }
+ if(tknot!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, tknot, &isCopiedArray4);
+ }
+ if(ctlarray!=NULL)
+ {
+ ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray7);
+ }
+ disp__gluNurbsSurface (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLint) sknot_count,
+ (GLfloat *) ptr2,
+ (GLint) tknot_count,
+ (GLfloat *) ptr4,
+ (GLint) s_stride,
+ (GLint) t_stride,
+ (GLfloat *) ptr7,
+ (GLint) sorder,
+ (GLint) torder,
+ (GLenum) type
+ );
+
+ if(sknot!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, sknot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(tknot!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, tknot, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(ctlarray!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBeginTrim (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluBeginTrim == NULL ) return;
+
+ disp__gluBeginTrim (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluEndTrim (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluEndTrim == NULL ) return;
+
+ disp__gluEndTrim (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluPwlCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint count,
+ jfloatArray array,
+ jint stride,
+ jint type)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if ( disp__gluPwlCurve == NULL ) return;
+
+ if(array!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, array, &isCopiedArray2);
+ }
+ disp__gluPwlCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLint) count,
+ (GLfloat *) ptr2,
+ (GLint) stride,
+ (GLenum) type
+ );
+
+ if(array!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, array, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3B (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jbyteArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jbyte *ptr1 = NULL;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3S (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jshortArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jshort *ptr1 = NULL;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3I (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jintArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3F (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jfloatArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jfloat *ptr1 = NULL;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3D (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3Z (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jbooleanArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jboolean *ptr1 = NULL;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginPolygon__J_3J (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jlongArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jlong *ptr1 = NULL;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessBeginContour (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluTessBeginContour == NULL ) return;
+
+ disp__gluTessBeginContour (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3B (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jbyteArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jbyte *ptr2 = NULL;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3S (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jshortArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jshort *ptr2 = NULL;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3I (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jintArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3F (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jfloatArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3D (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jdoubleArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jdouble *ptr2 = NULL;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3Z (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jbooleanArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jboolean *ptr2 = NULL;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessVertex__J_3D_3J (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jlongArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jlong *ptr2 = NULL;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessEndContour (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluTessEndContour == NULL ) return;
+
+ disp__gluTessEndContour (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessEndPolygon (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluTessEndPolygon == NULL ) return;
+
+ disp__gluTessEndPolygon (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessProperty (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jint which,
+ jdouble value)
+ {
+
+ if ( disp__gluTessProperty == NULL ) return;
+
+ disp__gluTessProperty (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLenum) which,
+ (GLdouble) value
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluTessNormal (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdouble x,
+ jdouble y,
+ jdouble z)
+ {
+
+ if ( disp__gluTessNormal == NULL ) return;
+
+ disp__gluTessNormal (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluGetTessProperty (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jint which,
+ jdoubleArray value)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jdouble *ptr2 = NULL;
+
+ if ( disp__gluGetTessProperty == NULL ) return;
+
+ if(value!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
+ }
+ disp__gluGetTessProperty (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLenum) which,
+ (GLdouble *) ptr2
+ );
+
+ if(value!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluBeginPolygon (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluBeginPolygon == NULL ) return;
+
+ disp__gluBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluNextContour (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jint type)
+ {
+
+ if ( disp__gluNextContour == NULL ) return;
+
+ disp__gluNextContour (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLenum) type
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNInf_gluEndPolygon (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluEndPolygon == NULL ) return;
+
+ disp__gluEndPolygon (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGLU_JauJNI12tst_funcs.c b/CNativeCode/OpenGLU_JauJNI12tst_funcs.c
index bc8b960..bb2165a 100644
--- a/CNativeCode/OpenGLU_JauJNI12tst_funcs.c
+++ b/CNativeCode/OpenGLU_JauJNI12tst_funcs.c
@@ -41,6 +41,9 @@ Java_gl4java_GLUFuncJauJNI_gluErrorString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
+ if ( disp__gluErrorString == NULL )
+ return (*env)->NewStringUTF(env, _glu_n_a_string);
+
tmpString = disp__gluErrorString ( /* jint */ errorCode );
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -54,6 +57,9 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
+ if ( disp__gluGetString == NULL )
+ return (*env)->NewStringUTF(env, _glu_n_a_string);
+
tmpString = disp__gluGetString ( /* jint */ name);
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -62,7 +68,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
}
static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _glu_lib_version_="2.7.0.0";
+static const char * _glu_lib_version_="2.7.1.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLUFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -109,6 +115,8 @@ Java_gl4java_GLUFuncJauJNI_gluQuadricCallback( JNIEnv *env, jobject obj,
jstring methodName,
jstring signature)
{
+ if ( disp__gluQuadricCallback == NULL ) return;
+
switch(which)
{
case GLU_ERROR:
@@ -133,6 +141,8 @@ Java_gl4java_GLUFuncJauJNI_gluNurbsCallback( JNIEnv *env, jobject obj,
jstring methodName,
jstring signature)
{
+ if ( disp__gluNurbsCallback == NULL ) return;
+
switch(which)
{
case GLU_ERROR:
@@ -161,6 +171,8 @@ Java_gl4java_GLUFuncJauJNI_gluTessCallback( JNIEnv *env, jobject obj,
jint arrayLen4,
jint arrayLen5)
{
+ if ( disp__gluTessCallback == NULL ) return;
+
switch(which)
{
case GLU_TESS_BEGIN:
@@ -238,6 +250,8 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteQuadric( JNIEnv *env, jobject obj,
jlong qobj )
{
+ if ( disp__gluDeleteQuadric == NULL ) return;
+
disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
RemoveCallbackNodes((void *)((PointerHolder)qobj));
}
@@ -246,6 +260,8 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
jlong nobj )
{
+ if ( disp__gluDeleteNurbsRenderer == NULL ) return;
+
disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
RemoveCallbackNodes((void *)((PointerHolder)nobj));
}
@@ -254,6 +270,8 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
jlong tobj )
{
+ if ( disp__gluDeleteTess == NULL ) return;
+
disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
RemoveCallbackNodes((void *)((PointerHolder)tobj));
}
@@ -261,18 +279,2504 @@ Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewQuadric( JNIEnv *env, jobject obj)
{
+ if ( disp__gluNewQuadric == NULL ) return 0;
+
return (jlong)((PointerHolder)disp__gluNewQuadric());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
{
+ if ( disp__gluNewNurbsRenderer == NULL ) return 0;
+
return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
+ if ( disp__gluNewTess == NULL ) return 0;
+
return (jlong)((PointerHolder)disp__gluNewTess());
}
+/**
+ * C2J Parser Version 2.1
+ * Jausoft - Sven Goethel Software Development
+ * Reading from file: glu-proto-auto.orig.h . . .
+ * Destination-Class: gl4java_GLUFuncJauJNI !
+ */
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluLookAt ( GLdouble eyex , GLdouble eyey , GLdouble eyez , GLdouble centerx , GLdouble centery , GLdouble centerz , GLdouble upx , GLdouble upy , GLdouble upz ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluLookAt (
+ JNIEnv *env, jobject obj,
+ jdouble eyex,
+ jdouble eyey,
+ jdouble eyez,
+ jdouble centerx,
+ jdouble centery,
+ jdouble centerz,
+ jdouble upx,
+ jdouble upy,
+ jdouble upz)
+ {
+
+ if ( disp__gluLookAt == NULL ) return;
+
+ disp__gluLookAt (
+ (GLdouble) eyex,
+ (GLdouble) eyey,
+ (GLdouble) eyez,
+ (GLdouble) centerx,
+ (GLdouble) centery,
+ (GLdouble) centerz,
+ (GLdouble) upx,
+ (GLdouble) upy,
+ (GLdouble) upz
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluOrtho2D ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluOrtho2D (
+ JNIEnv *env, jobject obj,
+ jdouble left,
+ jdouble right,
+ jdouble bottom,
+ jdouble top)
+ {
+
+ if ( disp__gluOrtho2D == NULL ) return;
+
+ disp__gluOrtho2D (
+ (GLdouble) left,
+ (GLdouble) right,
+ (GLdouble) bottom,
+ (GLdouble) top
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPerspective ( GLdouble fovy , GLdouble aspect , GLdouble zNear , GLdouble zFar ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluPerspective (
+ JNIEnv *env, jobject obj,
+ jdouble fovy,
+ jdouble aspect,
+ jdouble zNear,
+ jdouble zFar)
+ {
+
+ if ( disp__gluPerspective == NULL ) return;
+
+ disp__gluPerspective (
+ (GLdouble) fovy,
+ (GLdouble) aspect,
+ (GLdouble) zNear,
+ (GLdouble) zFar
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPickMatrix ( GLdouble x , GLdouble y , GLdouble width , GLdouble height , GLint * viewport ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluPickMatrix (
+ JNIEnv *env, jobject obj,
+ jdouble x,
+ jdouble y,
+ jdouble width,
+ jdouble height,
+ jintArray viewport)
+ {
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jint *ptr4 = NULL;
+ static int isWarned4 = 0;
+
+ if ( disp__gluPickMatrix == NULL ) return;
+
+ if(viewport!=NULL)
+ {
+ ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray4);
+ if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
+ isWarned4=1;
+ printf("COPY by gluPickMatrix arg: viewport");
+ }
+ }
+ disp__gluPickMatrix (
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) width,
+ (GLdouble) height,
+ (GLint *) ptr4
+ );
+
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluProject ( GLdouble objx , GLdouble objy , GLdouble objz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * winx , GLdouble * winy , GLdouble * winz ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluProject (
+ JNIEnv *env, jobject obj,
+ jdouble objx,
+ jdouble objy,
+ jdouble objz,
+ jdoubleArray modelMatrix,
+ jdoubleArray projMatrix,
+ jintArray viewport,
+ jdoubleArray winx,
+ jdoubleArray winy,
+ jdoubleArray winz)
+ {
+ jint ret;
+
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jdouble *ptr3 = NULL;
+ static int isWarned3 = 0;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jdouble *ptr4 = NULL;
+ static int isWarned4 = 0;
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jint *ptr5 = NULL;
+ static int isWarned5 = 0;
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jdouble *ptr6 = NULL;
+ static int isWarned6 = 0;
+ jboolean isCopiedArray7 = JNI_FALSE;
+ jdouble *ptr7 = NULL;
+ static int isWarned7 = 0;
+ jboolean isCopiedArray8 = JNI_FALSE;
+ jdouble *ptr8 = NULL;
+ static int isWarned8 = 0;
+
+ if ( disp__gluProject == NULL ) return 0;
+
+ if(modelMatrix!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, &isCopiedArray3);
+ if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) {
+ isWarned3=1;
+ printf("COPY by gluProject arg: modelMatrix");
+ }
+ }
+ if(projMatrix!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, &isCopiedArray4);
+ if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
+ isWarned4=1;
+ printf("COPY by gluProject arg: projMatrix");
+ }
+ }
+ if(viewport!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray5);
+ if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
+ isWarned5=1;
+ printf("COPY by gluProject arg: viewport");
+ }
+ }
+ if(winx!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winx, &isCopiedArray6);
+ if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
+ isWarned6=1;
+ printf("COPY by gluProject arg: winx");
+ }
+ }
+ if(winy!=NULL)
+ {
+ ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winy, &isCopiedArray7);
+ if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) {
+ isWarned7=1;
+ printf("COPY by gluProject arg: winy");
+ }
+ }
+ if(winz!=NULL)
+ {
+ ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, winz, &isCopiedArray8);
+ if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) {
+ isWarned8=1;
+ printf("COPY by gluProject arg: winz");
+ }
+ }
+ ret = (jint) disp__gluProject (
+ (GLdouble) objx,
+ (GLdouble) objy,
+ (GLdouble) objz,
+ (const GLdouble *) ptr3,
+ (const GLdouble *) ptr4,
+ (const GLint *) ptr5,
+ (GLdouble *) ptr6,
+ (GLdouble *) ptr7,
+ (GLdouble *) ptr8
+ );
+
+ if(modelMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT);
+ }
+ if(projMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT);
+ }
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT);
+ }
+ if(winx!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, winx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(winy!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, winy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(winz!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, winz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluUnProject ( GLdouble winx , GLdouble winy , GLdouble winz , const GLdouble modelMatrix [ 16 ] , const GLdouble projMatrix [ 16 ] , const GLint viewport [ 4 ] , GLdouble * objx , GLdouble * objy , GLdouble * objz ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluUnProject (
+ JNIEnv *env, jobject obj,
+ jdouble winx,
+ jdouble winy,
+ jdouble winz,
+ jdoubleArray modelMatrix,
+ jdoubleArray projMatrix,
+ jintArray viewport,
+ jdoubleArray objx,
+ jdoubleArray objy,
+ jdoubleArray objz)
+ {
+ jint ret;
+
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jdouble *ptr3 = NULL;
+ static int isWarned3 = 0;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jdouble *ptr4 = NULL;
+ static int isWarned4 = 0;
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jint *ptr5 = NULL;
+ static int isWarned5 = 0;
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jdouble *ptr6 = NULL;
+ static int isWarned6 = 0;
+ jboolean isCopiedArray7 = JNI_FALSE;
+ jdouble *ptr7 = NULL;
+ static int isWarned7 = 0;
+ jboolean isCopiedArray8 = JNI_FALSE;
+ jdouble *ptr8 = NULL;
+ static int isWarned8 = 0;
+
+ if ( disp__gluUnProject == NULL ) return 0;
+
+ if(modelMatrix!=NULL)
+ {
+ ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, &isCopiedArray3);
+ if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) {
+ isWarned3=1;
+ printf("COPY by gluUnProject arg: modelMatrix");
+ }
+ }
+ if(projMatrix!=NULL)
+ {
+ ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, &isCopiedArray4);
+ if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
+ isWarned4=1;
+ printf("COPY by gluUnProject arg: projMatrix");
+ }
+ }
+ if(viewport!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray5);
+ if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
+ isWarned5=1;
+ printf("COPY by gluUnProject arg: viewport");
+ }
+ }
+ if(objx!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objx, &isCopiedArray6);
+ if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
+ isWarned6=1;
+ printf("COPY by gluUnProject arg: objx");
+ }
+ }
+ if(objy!=NULL)
+ {
+ ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objy, &isCopiedArray7);
+ if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) {
+ isWarned7=1;
+ printf("COPY by gluUnProject arg: objy");
+ }
+ }
+ if(objz!=NULL)
+ {
+ ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, objz, &isCopiedArray8);
+ if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) {
+ isWarned8=1;
+ printf("COPY by gluUnProject arg: objz");
+ }
+ }
+ ret = (jint) disp__gluUnProject (
+ (GLdouble) winx,
+ (GLdouble) winy,
+ (GLdouble) winz,
+ (const GLdouble *) ptr3,
+ (const GLdouble *) ptr4,
+ (const GLint *) ptr5,
+ (GLdouble *) ptr6,
+ (GLdouble *) ptr7,
+ (GLdouble *) ptr8
+ );
+
+ if(modelMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr3, JNI_ABORT);
+ }
+ if(projMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr4, JNI_ABORT);
+ }
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr5, JNI_ABORT);
+ }
+ if(objx!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, objx, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(objy!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, objy, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(objz!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, objz, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluScaleImage ( GLenum format , GLsizei widthin , GLsizei heightin , GLenum typein , const char * datain , GLsizei widthout , GLsizei heightout , GLenum typeout , char * dataout ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluScaleImage (
+ JNIEnv *env, jobject obj,
+ jint format,
+ jint widthin,
+ jint heightin,
+ jint typein,
+ jbyteArray datain,
+ jint widthout,
+ jint heightout,
+ jint typeout,
+ jbyteArray dataout)
+ {
+ jint ret;
+
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jbyte *ptr4 = NULL;
+ static int isWarned4 = 0;
+ jboolean isCopiedArray8 = JNI_FALSE;
+ jbyte *ptr8 = NULL;
+ static int isWarned8 = 0;
+
+ if ( disp__gluScaleImage == NULL ) return 0;
+
+ if(datain!=NULL)
+ {
+ ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, datain, &isCopiedArray4);
+ if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
+ isWarned4=1;
+ printf("COPY by gluScaleImage arg: datain");
+ }
+ }
+ if(dataout!=NULL)
+ {
+ ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, dataout, &isCopiedArray8);
+ if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) {
+ isWarned8=1;
+ printf("COPY by gluScaleImage arg: dataout");
+ }
+ }
+ ret = (jint) disp__gluScaleImage (
+ (GLenum) format,
+ (GLsizei) widthin,
+ (GLsizei) heightin,
+ (GLenum) typein,
+ (const char *) ptr4,
+ (GLsizei) widthout,
+ (GLsizei) heightout,
+ (GLenum) typeout,
+ (char *) ptr8
+ );
+
+ if(datain!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, datain, ptr4, JNI_ABORT);
+ }
+ if(dataout!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, dataout, ptr8, (isCopiedArray8 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluBuild1DMipmaps ( GLenum target , GLint components , GLint width , GLenum format , GLenum type , const void * data ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jbyteArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jbyte *ptr5 = NULL;
+ static int isWarned5 = 0;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
+ if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
+ isWarned5=1;
+ printf("COPY by gluBuild1DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jshortArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jshort *ptr5 = NULL;
+ static int isWarned5 = 0;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
+ if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
+ isWarned5=1;
+ printf("COPY by gluBuild1DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jintArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jint *ptr5 = NULL;
+ static int isWarned5 = 0;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
+ if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
+ isWarned5=1;
+ printf("COPY by gluBuild1DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jfloatArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jfloat *ptr5 = NULL;
+ static int isWarned5 = 0;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
+ if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
+ isWarned5=1;
+ printf("COPY by gluBuild1DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jdoubleArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jdouble *ptr5 = NULL;
+ static int isWarned5 = 0;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
+ if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
+ isWarned5=1;
+ printf("COPY by gluBuild1DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jbooleanArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jboolean *ptr5 = NULL;
+ static int isWarned5 = 0;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
+ if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
+ isWarned5=1;
+ printf("COPY by gluBuild1DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild1DMipmaps__IIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint format,
+ jint type,
+ jlongArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray5 = JNI_FALSE;
+ jlong *ptr5 = NULL;
+ static int isWarned5 = 0;
+
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
+ if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) {
+ isWarned5=1;
+ printf("COPY by gluBuild1DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild1DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr5
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr5, JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern GLint gluBuild2DMipmaps ( GLenum target , GLint components , GLint width , GLint height , GLenum format , GLenum type , const void * data ) ;
+ * </pre>
+ */
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3B (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbyteArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jbyte *ptr6 = NULL;
+ static int isWarned6 = 0;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6);
+ if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
+ isWarned6=1;
+ printf("COPY by gluBuild2DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3S (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jshortArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jshort *ptr6 = NULL;
+ static int isWarned6 = 0;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6);
+ if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
+ isWarned6=1;
+ printf("COPY by gluBuild2DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3I (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jintArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jint *ptr6 = NULL;
+ static int isWarned6 = 0;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6);
+ if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
+ isWarned6=1;
+ printf("COPY by gluBuild2DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3F (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jfloatArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jfloat *ptr6 = NULL;
+ static int isWarned6 = 0;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6);
+ if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
+ isWarned6=1;
+ printf("COPY by gluBuild2DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3D (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jdoubleArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jdouble *ptr6 = NULL;
+ static int isWarned6 = 0;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6);
+ if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
+ isWarned6=1;
+ printf("COPY by gluBuild2DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3Z (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jbooleanArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jboolean *ptr6 = NULL;
+ static int isWarned6 = 0;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6);
+ if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
+ isWarned6=1;
+ printf("COPY by gluBuild2DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+ JNIEXPORT jint JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBuild2DMipmaps__IIIIII_3J (
+ JNIEnv *env, jobject obj,
+ jint target,
+ jint components,
+ jint width,
+ jint height,
+ jint format,
+ jint type,
+ jlongArray data)
+ {
+ jint ret;
+
+ jboolean isCopiedArray6 = JNI_FALSE;
+ jlong *ptr6 = NULL;
+ static int isWarned6 = 0;
+
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
+ if(data!=NULL)
+ {
+ ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray6);
+ if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) {
+ isWarned6=1;
+ printf("COPY by gluBuild2DMipmaps arg: data");
+ }
+ }
+ ret = (jint) disp__gluBuild2DMipmaps (
+ (GLenum) target,
+ (GLint) components,
+ (GLint) width,
+ (GLint) height,
+ (GLenum) format,
+ (GLenum) type,
+ (const void *) ptr6
+ );
+
+ if(data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, data, ptr6, JNI_ABORT);
+ }
+ return ret;
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricDrawStyle ( GLUquadricObj * quadObject , GLenum drawStyle ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluQuadricDrawStyle (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jint drawStyle)
+ {
+
+ if ( disp__gluQuadricDrawStyle == NULL ) return;
+
+ disp__gluQuadricDrawStyle (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLenum) drawStyle
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricOrientation ( GLUquadricObj * quadObject , GLenum orientation ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluQuadricOrientation (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jint orientation)
+ {
+
+ if ( disp__gluQuadricOrientation == NULL ) return;
+
+ disp__gluQuadricOrientation (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLenum) orientation
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricNormals ( GLUquadricObj * quadObject , GLenum normals ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluQuadricNormals (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jint normals)
+ {
+
+ if ( disp__gluQuadricNormals == NULL ) return;
+
+ disp__gluQuadricNormals (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLenum) normals
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluQuadricTexture ( GLUquadricObj * quadObject , GLboolean textureCoords ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluQuadricTexture (
+ JNIEnv *env, jobject obj,
+ jlong quadObject,
+ jboolean textureCoords)
+ {
+
+ if ( disp__gluQuadricTexture == NULL ) return;
+
+ disp__gluQuadricTexture (
+ (GLUquadricObj *) (PointerHolder) quadObject,
+ (GLboolean) textureCoords
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluCylinder ( GLUquadricObj * qobj , GLdouble baseRadius , GLdouble topRadius , GLdouble height , GLint slices , GLint stacks ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluCylinder (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble baseRadius,
+ jdouble topRadius,
+ jdouble height,
+ jint slices,
+ jint stacks)
+ {
+
+ if ( disp__gluCylinder == NULL ) return;
+
+ disp__gluCylinder (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) baseRadius,
+ (GLdouble) topRadius,
+ (GLdouble) height,
+ (GLint) slices,
+ (GLint) stacks
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluSphere ( GLUquadricObj * qobj , GLdouble radius , GLint slices , GLint stacks ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluSphere (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble radius,
+ jint slices,
+ jint stacks)
+ {
+
+ if ( disp__gluSphere == NULL ) return;
+
+ disp__gluSphere (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) radius,
+ (GLint) slices,
+ (GLint) stacks
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluDisk (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble innerRadius,
+ jdouble outerRadius,
+ jint slices,
+ jint loops)
+ {
+
+ if ( disp__gluDisk == NULL ) return;
+
+ disp__gluDisk (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) innerRadius,
+ (GLdouble) outerRadius,
+ (GLint) slices,
+ (GLint) loops
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPartialDisk ( GLUquadricObj * qobj , GLdouble innerRadius , GLdouble outerRadius , GLint slices , GLint loops , GLdouble startAngle , GLdouble sweepAngle ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluPartialDisk (
+ JNIEnv *env, jobject obj,
+ jlong qobj,
+ jdouble innerRadius,
+ jdouble outerRadius,
+ jint slices,
+ jint loops,
+ jdouble startAngle,
+ jdouble sweepAngle)
+ {
+
+ if ( disp__gluPartialDisk == NULL ) return;
+
+ disp__gluPartialDisk (
+ (GLUquadricObj *) (PointerHolder) qobj,
+ (GLdouble) innerRadius,
+ (GLdouble) outerRadius,
+ (GLint) slices,
+ (GLint) loops,
+ (GLdouble) startAngle,
+ (GLdouble) sweepAngle
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluLoadSamplingMatrices ( GLUnurbsObj * nobj , const GLfloat modelMatrix [ 16 ] , const GLfloat projMatrix [ 16 ] , const GLint viewport [ 4 ] ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluLoadSamplingMatrices (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jfloatArray modelMatrix,
+ jfloatArray projMatrix,
+ jintArray viewport)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jfloat *ptr1 = NULL;
+ static int isWarned1 = 0;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ static int isWarned2 = 0;
+ jboolean isCopiedArray3 = JNI_FALSE;
+ jint *ptr3 = NULL;
+ static int isWarned3 = 0;
+
+ if ( disp__gluLoadSamplingMatrices == NULL ) return;
+
+ if(modelMatrix!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, modelMatrix, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluLoadSamplingMatrices arg: modelMatrix");
+ }
+ }
+ if(projMatrix!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, projMatrix, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluLoadSamplingMatrices arg: projMatrix");
+ }
+ }
+ if(viewport!=NULL)
+ {
+ ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, viewport, &isCopiedArray3);
+ if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) {
+ isWarned3=1;
+ printf("COPY by gluLoadSamplingMatrices arg: viewport");
+ }
+ }
+ disp__gluLoadSamplingMatrices (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (const GLfloat *) ptr1,
+ (const GLfloat *) ptr2,
+ (const GLint *) ptr3
+ );
+
+ if(modelMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, modelMatrix, ptr1, JNI_ABORT);
+ }
+ if(projMatrix!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, projMatrix, ptr2, JNI_ABORT);
+ }
+ if(viewport!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, viewport, ptr3, JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluNurbsProperty (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint property,
+ jfloat value)
+ {
+
+ if ( disp__gluNurbsProperty == NULL ) return;
+
+ disp__gluNurbsProperty (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLenum) property,
+ (GLfloat) value
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluGetNurbsProperty ( GLUnurbsObj * nobj , GLenum property , GLfloat * value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluGetNurbsProperty (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint property,
+ jfloatArray value)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluGetNurbsProperty == NULL ) return;
+
+ if(value!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluGetNurbsProperty arg: value");
+ }
+ }
+ disp__gluGetNurbsProperty (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLenum) property,
+ (GLfloat *) ptr2
+ );
+
+ if(value!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginCurve ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBeginCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluBeginCurve == NULL ) return;
+
+ disp__gluBeginCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndCurve ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluEndCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluEndCurve == NULL ) return;
+
+ disp__gluEndCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsCurve ( GLUnurbsObj * nobj , GLint nknots , GLfloat * knot , GLint stride , GLfloat * ctlarray , GLint order , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluNurbsCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint nknots,
+ jfloatArray knot,
+ jint stride,
+ jfloatArray ctlarray,
+ jint order,
+ jint type)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ static int isWarned2 = 0;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+ static int isWarned4 = 0;
+
+ if ( disp__gluNurbsCurve == NULL ) return;
+
+ if(knot!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, knot, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluNurbsCurve arg: knot");
+ }
+ }
+ if(ctlarray!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray4);
+ if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
+ isWarned4=1;
+ printf("COPY by gluNurbsCurve arg: ctlarray");
+ }
+ }
+ disp__gluNurbsCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLint) nknots,
+ (GLfloat *) ptr2,
+ (GLint) stride,
+ (GLfloat *) ptr4,
+ (GLint) order,
+ (GLenum) type
+ );
+
+ if(knot!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, knot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(ctlarray!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginSurface ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBeginSurface (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluBeginSurface == NULL ) return;
+
+ disp__gluBeginSurface (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndSurface ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluEndSurface (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluEndSurface == NULL ) return;
+
+ disp__gluEndSurface (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNurbsSurface ( GLUnurbsObj * nobj , GLint sknot_count , GLfloat * sknot , GLint tknot_count , GLfloat * tknot , GLint s_stride , GLint t_stride , GLfloat * ctlarray , GLint sorder , GLint torder , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluNurbsSurface (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint sknot_count,
+ jfloatArray sknot,
+ jint tknot_count,
+ jfloatArray tknot,
+ jint s_stride,
+ jint t_stride,
+ jfloatArray ctlarray,
+ jint sorder,
+ jint torder,
+ jint type)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ static int isWarned2 = 0;
+ jboolean isCopiedArray4 = JNI_FALSE;
+ jfloat *ptr4 = NULL;
+ static int isWarned4 = 0;
+ jboolean isCopiedArray7 = JNI_FALSE;
+ jfloat *ptr7 = NULL;
+ static int isWarned7 = 0;
+
+ if ( disp__gluNurbsSurface == NULL ) return;
+
+ if(sknot!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, sknot, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluNurbsSurface arg: sknot");
+ }
+ }
+ if(tknot!=NULL)
+ {
+ ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, tknot, &isCopiedArray4);
+ if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) {
+ isWarned4=1;
+ printf("COPY by gluNurbsSurface arg: tknot");
+ }
+ }
+ if(ctlarray!=NULL)
+ {
+ ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ctlarray, &isCopiedArray7);
+ if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) {
+ isWarned7=1;
+ printf("COPY by gluNurbsSurface arg: ctlarray");
+ }
+ }
+ disp__gluNurbsSurface (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLint) sknot_count,
+ (GLfloat *) ptr2,
+ (GLint) tknot_count,
+ (GLfloat *) ptr4,
+ (GLint) s_stride,
+ (GLint) t_stride,
+ (GLfloat *) ptr7,
+ (GLint) sorder,
+ (GLint) torder,
+ (GLenum) type
+ );
+
+ if(sknot!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, sknot, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(tknot!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, tknot, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(ctlarray!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, ctlarray, ptr7, (isCopiedArray7 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginTrim ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBeginTrim (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluBeginTrim == NULL ) return;
+
+ disp__gluBeginTrim (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndTrim ( GLUnurbsObj * nobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluEndTrim (
+ JNIEnv *env, jobject obj,
+ jlong nobj)
+ {
+
+ if ( disp__gluEndTrim == NULL ) return;
+
+ disp__gluEndTrim (
+ (GLUnurbsObj *) (PointerHolder) nobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluPwlCurve ( GLUnurbsObj * nobj , GLint count , GLfloat * array , GLint stride , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluPwlCurve (
+ JNIEnv *env, jobject obj,
+ jlong nobj,
+ jint count,
+ jfloatArray array,
+ jint stride,
+ jint type)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluPwlCurve == NULL ) return;
+
+ if(array!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, array, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluPwlCurve arg: array");
+ }
+ }
+ disp__gluPwlCurve (
+ (GLUnurbsObj *) (PointerHolder) nobj,
+ (GLint) count,
+ (GLfloat *) ptr2,
+ (GLint) stride,
+ (GLenum) type
+ );
+
+ if(array!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, array, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessBeginPolygon ( GLUtesselator * tobj , void * polygon_data ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3B (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jbyteArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jbyte *ptr1 = NULL;
+ static int isWarned1 = 0;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessBeginPolygon arg: polygon_data");
+ }
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3S (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jshortArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jshort *ptr1 = NULL;
+ static int isWarned1 = 0;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessBeginPolygon arg: polygon_data");
+ }
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3I (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jintArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jint *ptr1 = NULL;
+ static int isWarned1 = 0;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessBeginPolygon arg: polygon_data");
+ }
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3F (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jfloatArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jfloat *ptr1 = NULL;
+ static int isWarned1 = 0;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessBeginPolygon arg: polygon_data");
+ }
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3D (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ static int isWarned1 = 0;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessBeginPolygon arg: polygon_data");
+ }
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3Z (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jbooleanArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jboolean *ptr1 = NULL;
+ static int isWarned1 = 0;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessBeginPolygon arg: polygon_data");
+ }
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessBeginPolygon__J_3J (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jlongArray polygon_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jlong *ptr1 = NULL;
+ static int isWarned1 = 0;
+
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
+ if(polygon_data!=NULL)
+ {
+ ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, polygon_data, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessBeginPolygon arg: polygon_data");
+ }
+ }
+ disp__gluTessBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (void *) ptr1
+ );
+
+ if(polygon_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, polygon_data, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessBeginContour ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessBeginContour (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluTessBeginContour == NULL ) return;
+
+ disp__gluTessBeginContour (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessVertex ( GLUtesselator * tobj , GLdouble coords [ 3 ] , void * vertex_data ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3B (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jbyteArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ static int isWarned1 = 0;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jbyte *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessVertex arg: coords");
+ }
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluTessVertex arg: vertex_data");
+ }
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3S (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jshortArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ static int isWarned1 = 0;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jshort *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessVertex arg: coords");
+ }
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluTessVertex arg: vertex_data");
+ }
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3I (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jintArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ static int isWarned1 = 0;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jint *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessVertex arg: coords");
+ }
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluTessVertex arg: vertex_data");
+ }
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3F (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jfloatArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ static int isWarned1 = 0;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jfloat *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessVertex arg: coords");
+ }
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluTessVertex arg: vertex_data");
+ }
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3D (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jdoubleArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ static int isWarned1 = 0;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jdouble *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessVertex arg: coords");
+ }
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluTessVertex arg: vertex_data");
+ }
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3Z (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jbooleanArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ static int isWarned1 = 0;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jboolean *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessVertex arg: coords");
+ }
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluTessVertex arg: vertex_data");
+ }
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessVertex__J_3D_3J (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdoubleArray coords,
+ jlongArray vertex_data)
+ {
+ jboolean isCopiedArray1 = JNI_FALSE;
+ jdouble *ptr1 = NULL;
+ static int isWarned1 = 0;
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jlong *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluTessVertex == NULL ) return;
+
+ if(coords!=NULL)
+ {
+ ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, coords, &isCopiedArray1);
+ if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) {
+ isWarned1=1;
+ printf("COPY by gluTessVertex arg: coords");
+ }
+ }
+ if(vertex_data!=NULL)
+ {
+ ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, vertex_data, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluTessVertex arg: vertex_data");
+ }
+ }
+ disp__gluTessVertex (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble *) ptr1,
+ (void *) ptr2
+ );
+
+ if(coords!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, coords, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ if(vertex_data!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, vertex_data, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessEndContour ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessEndContour (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluTessEndContour == NULL ) return;
+
+ disp__gluTessEndContour (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessEndPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessEndPolygon (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluTessEndPolygon == NULL ) return;
+
+ disp__gluTessEndPolygon (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessProperty (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jint which,
+ jdouble value)
+ {
+
+ if ( disp__gluTessProperty == NULL ) return;
+
+ disp__gluTessProperty (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLenum) which,
+ (GLdouble) value
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluTessNormal ( GLUtesselator * tobj , GLdouble x , GLdouble y , GLdouble z ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluTessNormal (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jdouble x,
+ jdouble y,
+ jdouble z)
+ {
+
+ if ( disp__gluTessNormal == NULL ) return;
+
+ disp__gluTessNormal (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLdouble) x,
+ (GLdouble) y,
+ (GLdouble) z
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluGetTessProperty ( GLUtesselator * tobj , GLenum which , GLdouble * value ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluGetTessProperty (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jint which,
+ jdoubleArray value)
+ {
+ jboolean isCopiedArray2 = JNI_FALSE;
+ jdouble *ptr2 = NULL;
+ static int isWarned2 = 0;
+
+ if ( disp__gluGetTessProperty == NULL ) return;
+
+ if(value!=NULL)
+ {
+ ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, value, &isCopiedArray2);
+ if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) {
+ isWarned2=1;
+ printf("COPY by gluGetTessProperty arg: value");
+ }
+ }
+ disp__gluGetTessProperty (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLenum) which,
+ (GLdouble *) ptr2
+ );
+
+ if(value!=NULL)
+ {
+ (*env)->ReleasePrimitiveArrayCritical(env, value, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT);
+ }
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluBeginPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluBeginPolygon (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluBeginPolygon == NULL ) return;
+
+ disp__gluBeginPolygon (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluNextContour ( GLUtesselator * tobj , GLenum type ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluNextContour (
+ JNIEnv *env, jobject obj,
+ jlong tobj,
+ jint type)
+ {
+
+ if ( disp__gluNextContour == NULL ) return;
+
+ disp__gluNextContour (
+ (GLUtesselator *) (PointerHolder) tobj,
+ (GLenum) type
+ );
+
+ }
+
+/**
+ * Original Function-Prototype :
+ * <pre>
+ extern void gluEndPolygon ( GLUtesselator * tobj ) ;
+ * </pre>
+ */
+ JNIEXPORT void JNICALL
+ Java_gl4java_GLUFuncJauJNI_gluEndPolygon (
+ JNIEnv *env, jobject obj,
+ jlong tobj)
+ {
+
+ if ( disp__gluEndPolygon == NULL ) return;
+
+ disp__gluEndPolygon (
+ (GLUtesselator *) (PointerHolder) tobj
+ );
+
+ }
+
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGLU_JauJNI_funcs.c b/CNativeCode/OpenGLU_JauJNI_funcs.c
index 56928ab..2b3614e 100644
--- a/CNativeCode/OpenGLU_JauJNI_funcs.c
+++ b/CNativeCode/OpenGLU_JauJNI_funcs.c
@@ -41,6 +41,9 @@ Java_gl4java_GLUFuncJauJNI_gluErrorString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
+ if ( disp__gluErrorString == NULL )
+ return (*env)->NewStringUTF(env, _glu_n_a_string);
+
tmpString = disp__gluErrorString ( /* jint */ errorCode );
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -54,6 +57,9 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
{
const char *tmpString=0;
+ if ( disp__gluGetString == NULL )
+ return (*env)->NewStringUTF(env, _glu_n_a_string);
+
tmpString = disp__gluGetString ( /* jint */ name);
if(tmpString==NULL)
tmpString=_glu_n_a_string;
@@ -62,7 +68,7 @@ Java_gl4java_GLUFuncJauJNI_gluGetString ( JNIEnv *env, jobject obj,
}
static const char * _glu_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _glu_lib_version_="2.7.0.0";
+static const char * _glu_lib_version_="2.7.1.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLUFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -109,6 +115,8 @@ Java_gl4java_GLUFuncJauJNI_gluQuadricCallback( JNIEnv *env, jobject obj,
jstring methodName,
jstring signature)
{
+ if ( disp__gluQuadricCallback == NULL ) return;
+
switch(which)
{
case GLU_ERROR:
@@ -133,6 +141,8 @@ Java_gl4java_GLUFuncJauJNI_gluNurbsCallback( JNIEnv *env, jobject obj,
jstring methodName,
jstring signature)
{
+ if ( disp__gluNurbsCallback == NULL ) return;
+
switch(which)
{
case GLU_ERROR:
@@ -161,6 +171,8 @@ Java_gl4java_GLUFuncJauJNI_gluTessCallback( JNIEnv *env, jobject obj,
jint arrayLen4,
jint arrayLen5)
{
+ if ( disp__gluTessCallback == NULL ) return;
+
switch(which)
{
case GLU_TESS_BEGIN:
@@ -238,6 +250,8 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteQuadric( JNIEnv *env, jobject obj,
jlong qobj )
{
+ if ( disp__gluDeleteQuadric == NULL ) return;
+
disp__gluDeleteQuadric((void *)((PointerHolder)qobj));
RemoveCallbackNodes((void *)((PointerHolder)qobj));
}
@@ -246,6 +260,8 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteNurbsRenderer( JNIEnv *env, jobject obj,
jlong nobj )
{
+ if ( disp__gluDeleteNurbsRenderer == NULL ) return;
+
disp__gluDeleteNurbsRenderer((void *)((PointerHolder)nobj));
RemoveCallbackNodes((void *)((PointerHolder)nobj));
}
@@ -254,6 +270,8 @@ JNIEXPORT void JNICALL
Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
jlong tobj )
{
+ if ( disp__gluDeleteTess == NULL ) return;
+
disp__gluDeleteTess((GLUtesselator *)((PointerHolder)tobj));
RemoveCallbackNodes((void *)((PointerHolder)tobj));
}
@@ -261,23 +279,29 @@ Java_gl4java_GLUFuncJauJNI_gluDeleteTess( JNIEnv *env, jobject obj,
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewQuadric( JNIEnv *env, jobject obj)
{
+ if ( disp__gluNewQuadric == NULL ) return 0;
+
return (jlong)((PointerHolder)disp__gluNewQuadric());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewNurbsRenderer( JNIEnv *env, jobject obj)
{
+ if ( disp__gluNewNurbsRenderer == NULL ) return 0;
+
return (jlong)((PointerHolder)disp__gluNewNurbsRenderer());
}
JNIEXPORT jlong JNICALL
Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
{
+ if ( disp__gluNewTess == NULL ) return 0;
+
return (jlong)((PointerHolder)disp__gluNewTess());
}
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -303,6 +327,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble upz)
{
+ if ( disp__gluLookAt == NULL ) return;
+
disp__gluLookAt (
(GLdouble) eyex,
(GLdouble) eyey,
@@ -332,6 +358,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble top)
{
+ if ( disp__gluOrtho2D == NULL ) return;
+
disp__gluOrtho2D (
(GLdouble) left,
(GLdouble) right,
@@ -356,6 +384,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble zFar)
{
+ if ( disp__gluPerspective == NULL ) return;
+
disp__gluPerspective (
(GLdouble) fovy,
(GLdouble) aspect,
@@ -383,6 +413,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
+ if ( disp__gluPickMatrix == NULL ) return;
+
if(viewport!=NULL)
{
ptr4 = (*env)->GetIntArrayElements(env, viewport, &isCopiedArray4);
@@ -432,6 +464,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray8 = JNI_FALSE;
jdouble *ptr8 = NULL;
+ if ( disp__gluProject == NULL ) return 0;
+
if(modelMatrix!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, modelMatrix, 0);
@@ -526,6 +560,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray8 = JNI_FALSE;
jdouble *ptr8 = NULL;
+ if ( disp__gluUnProject == NULL ) return 0;
+
if(modelMatrix!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, modelMatrix, 0);
@@ -614,6 +650,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray8 = JNI_FALSE;
jbyte *ptr8 = NULL;
+ if ( disp__gluScaleImage == NULL ) return 0;
+
if(datain!=NULL)
{
ptr4 = (*env)->GetByteArrayElements(env, datain, 0);
@@ -665,6 +703,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jbyte *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (*env)->GetByteArrayElements(env, data, 0);
@@ -698,6 +738,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jshort *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (*env)->GetShortArrayElements(env, data, 0);
@@ -731,6 +773,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (*env)->GetIntArrayElements(env, data, 0);
@@ -764,6 +808,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (*env)->GetFloatArrayElements(env, data, 0);
@@ -797,6 +843,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (*env)->GetDoubleArrayElements(env, data, 0);
@@ -830,6 +878,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (*env)->GetBooleanArrayElements(env, data, 0);
@@ -863,6 +913,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong *ptr5 = NULL;
+ if ( disp__gluBuild1DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr5 = (*env)->GetLongArrayElements(env, data, 0);
@@ -904,6 +956,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jbyte *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (*env)->GetByteArrayElements(env, data, 0);
@@ -939,6 +993,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jshort *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (*env)->GetShortArrayElements(env, data, 0);
@@ -974,6 +1030,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (*env)->GetIntArrayElements(env, data, 0);
@@ -1009,6 +1067,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (*env)->GetFloatArrayElements(env, data, 0);
@@ -1044,6 +1104,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (*env)->GetDoubleArrayElements(env, data, 0);
@@ -1079,6 +1141,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (*env)->GetBooleanArrayElements(env, data, 0);
@@ -1114,6 +1178,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong *ptr6 = NULL;
+ if ( disp__gluBuild2DMipmaps == NULL ) return 0;
+
if(data!=NULL)
{
ptr6 = (*env)->GetLongArrayElements(env, data, 0);
@@ -1148,6 +1214,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint drawStyle)
{
+ if ( disp__gluQuadricDrawStyle == NULL ) return;
+
disp__gluQuadricDrawStyle (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) drawStyle
@@ -1168,6 +1236,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint orientation)
{
+ if ( disp__gluQuadricOrientation == NULL ) return;
+
disp__gluQuadricOrientation (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) orientation
@@ -1188,6 +1258,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint normals)
{
+ if ( disp__gluQuadricNormals == NULL ) return;
+
disp__gluQuadricNormals (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLenum) normals
@@ -1208,6 +1280,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean textureCoords)
{
+ if ( disp__gluQuadricTexture == NULL ) return;
+
disp__gluQuadricTexture (
(GLUquadricObj *) (PointerHolder) quadObject,
(GLboolean) textureCoords
@@ -1232,6 +1306,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint stacks)
{
+ if ( disp__gluCylinder == NULL ) return;
+
disp__gluCylinder (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) baseRadius,
@@ -1258,6 +1334,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint stacks)
{
+ if ( disp__gluSphere == NULL ) return;
+
disp__gluSphere (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) radius,
@@ -1283,6 +1361,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint loops)
{
+ if ( disp__gluDisk == NULL ) return;
+
disp__gluDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
@@ -1311,6 +1391,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble sweepAngle)
{
+ if ( disp__gluPartialDisk == NULL ) return;
+
disp__gluPartialDisk (
(GLUquadricObj *) (PointerHolder) qobj,
(GLdouble) innerRadius,
@@ -1341,6 +1423,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat *ptr2 = NULL;
jint *ptr3 = NULL;
+ if ( disp__gluLoadSamplingMatrices == NULL ) return;
+
if(modelMatrix!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, modelMatrix, 0);
@@ -1388,6 +1472,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jfloat value)
{
+ if ( disp__gluNurbsProperty == NULL ) return;
+
disp__gluNurbsProperty (
(GLUnurbsObj *) (PointerHolder) nobj,
(GLenum) property,
@@ -1412,6 +1498,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__gluGetNurbsProperty == NULL ) return;
+
if(value!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, value, &isCopiedArray2);
@@ -1440,6 +1528,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluBeginCurve == NULL ) return;
+
disp__gluBeginCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1458,6 +1548,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluEndCurve == NULL ) return;
+
disp__gluEndCurve (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1486,6 +1578,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
+ if ( disp__gluNurbsCurve == NULL ) return;
+
if(knot!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, knot, &isCopiedArray2);
@@ -1526,6 +1620,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluBeginSurface == NULL ) return;
+
disp__gluBeginSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1544,6 +1640,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluEndSurface == NULL ) return;
+
disp__gluEndSurface (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1578,6 +1676,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray7 = JNI_FALSE;
jfloat *ptr7 = NULL;
+ if ( disp__gluNurbsSurface == NULL ) return;
+
if(sknot!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, sknot, &isCopiedArray2);
@@ -1630,6 +1730,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluBeginTrim == NULL ) return;
+
disp__gluBeginTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1648,6 +1750,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong nobj)
{
+ if ( disp__gluEndTrim == NULL ) return;
+
disp__gluEndTrim (
(GLUnurbsObj *) (PointerHolder) nobj
);
@@ -1672,6 +1776,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__gluPwlCurve == NULL ) return;
+
if(array!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, array, &isCopiedArray2);
@@ -1705,6 +1811,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (*env)->GetByteArrayElements(env, polygon_data, &isCopiedArray1);
@@ -1728,6 +1836,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (*env)->GetShortArrayElements(env, polygon_data, &isCopiedArray1);
@@ -1751,6 +1861,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, polygon_data, &isCopiedArray1);
@@ -1774,6 +1886,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, polygon_data, &isCopiedArray1);
@@ -1797,6 +1911,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, polygon_data, &isCopiedArray1);
@@ -1820,6 +1936,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (*env)->GetBooleanArrayElements(env, polygon_data, &isCopiedArray1);
@@ -1843,6 +1961,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
+ if ( disp__gluTessBeginPolygon == NULL ) return;
+
if(polygon_data!=NULL)
{
ptr1 = (*env)->GetLongArrayElements(env, polygon_data, &isCopiedArray1);
@@ -1870,6 +1990,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluTessBeginContour == NULL ) return;
+
disp__gluTessBeginContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -1894,6 +2016,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jbyte *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
@@ -1929,6 +2053,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jshort *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
@@ -1964,6 +2090,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
@@ -1999,6 +2127,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
@@ -2034,6 +2164,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
@@ -2069,6 +2201,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
@@ -2104,6 +2238,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jlong *ptr2 = NULL;
+ if ( disp__gluTessVertex == NULL ) return;
+
if(coords!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, coords, &isCopiedArray1);
@@ -2140,6 +2276,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluTessEndContour == NULL ) return;
+
disp__gluTessEndContour (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2158,6 +2296,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluTessEndPolygon == NULL ) return;
+
disp__gluTessEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2178,6 +2318,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble value)
{
+ if ( disp__gluTessProperty == NULL ) return;
+
disp__gluTessProperty (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) which,
@@ -2201,6 +2343,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jdouble z)
{
+ if ( disp__gluTessNormal == NULL ) return;
+
disp__gluTessNormal (
(GLUtesselator *) (PointerHolder) tobj,
(GLdouble) x,
@@ -2226,6 +2370,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
+ if ( disp__gluGetTessProperty == NULL ) return;
+
if(value!=NULL)
{
ptr2 = (*env)->GetDoubleArrayElements(env, value, &isCopiedArray2);
@@ -2254,6 +2400,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluBeginPolygon == NULL ) return;
+
disp__gluBeginPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
@@ -2273,6 +2421,8 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jint type)
{
+ if ( disp__gluNextContour == NULL ) return;
+
disp__gluNextContour (
(GLUtesselator *) (PointerHolder) tobj,
(GLenum) type
@@ -2292,10 +2442,12 @@ Java_gl4java_GLUFuncJauJNI_gluNewTess( JNIEnv *env, jobject obj)
jlong tobj)
{
+ if ( disp__gluEndPolygon == NULL ) return;
+
disp__gluEndPolygon (
(GLUtesselator *) (PointerHolder) tobj
);
}
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGL_JauJNI12_funcs.c b/CNativeCode/OpenGL_JauJNI12_funcs.c
index 025eb6f..462d633 100755
--- a/CNativeCode/OpenGL_JauJNI12_funcs.c
+++ b/CNativeCode/OpenGL_JauJNI12_funcs.c
@@ -60,6 +60,9 @@ Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj,
{
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;
@@ -68,7 +71,7 @@ Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj,
}
static const char * _gl_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _gl_lib_version_="2.7.0.0";
+static const char * _gl_lib_version_="2.7.1.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -83,7 +86,7 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
}
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -101,6 +104,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat c)
{
+ if ( disp__glClearIndex == NULL ) return;
+
disp__glClearIndex (
(GLfloat) c
);
@@ -122,6 +127,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glClearColor == NULL ) return;
+
disp__glClearColor (
(GLclampf) red,
(GLclampf) green,
@@ -143,6 +150,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glClear == NULL ) return;
+
disp__glClear (
(GLbitfield) mask
);
@@ -161,6 +170,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glIndexMask == NULL ) return;
+
disp__glIndexMask (
(GLuint) mask
);
@@ -182,6 +193,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean alpha)
{
+ if ( disp__glColorMask == NULL ) return;
+
disp__glColorMask (
(GLboolean) red,
(GLboolean) green,
@@ -204,6 +217,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat ref)
{
+ if ( disp__glAlphaFunc == NULL ) return;
+
disp__glAlphaFunc (
(GLenum) func,
(GLclampf) ref
@@ -224,6 +239,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint dfactor)
{
+ if ( disp__glBlendFunc == NULL ) return;
+
disp__glBlendFunc (
(GLenum) sfactor,
(GLenum) dfactor
@@ -243,6 +260,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint opcode)
{
+ if ( disp__glLogicOp == NULL ) return;
+
disp__glLogicOp (
(GLenum) opcode
);
@@ -261,6 +280,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glCullFace == NULL ) return;
+
disp__glCullFace (
(GLenum) mode
);
@@ -279,6 +300,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glFrontFace == NULL ) return;
+
disp__glFrontFace (
(GLenum) mode
);
@@ -297,6 +320,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat size)
{
+ if ( disp__glPointSize == NULL ) return;
+
disp__glPointSize (
(GLfloat) size
);
@@ -315,6 +340,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat width)
{
+ if ( disp__glLineWidth == NULL ) return;
+
disp__glLineWidth (
(GLfloat) width
);
@@ -334,6 +361,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort pattern)
{
+ if ( disp__glLineStipple == NULL ) return;
+
disp__glLineStipple (
(GLint) factor,
(GLushort) pattern
@@ -354,6 +383,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glPolygonMode == NULL ) return;
+
disp__glPolygonMode (
(GLenum) face,
(GLenum) mode
@@ -374,6 +405,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat units)
{
+ if ( disp__glPolygonOffset == NULL ) return;
+
disp__glPolygonOffset (
(GLfloat) factor,
(GLfloat) units
@@ -394,6 +427,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glPolygonStipple == NULL ) return;
+
if(mask!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, 0);
@@ -422,6 +457,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray0 = JNI_FALSE;
jbyte *ptr0 = NULL;
+ if ( disp__glGetPolygonStipple == NULL ) return;
+
if(mask!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0);
@@ -448,6 +485,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean flag)
{
+ if ( disp__glEdgeFlag == NULL ) return;
+
disp__glEdgeFlag (
(GLboolean) flag
);
@@ -467,6 +506,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr0 = NULL;
+ if ( disp__glEdgeFlagv == NULL ) return;
+
if(flag!=NULL)
{
ptr0 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, flag, 0);
@@ -496,6 +537,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glScissor == NULL ) return;
+
disp__glScissor (
(GLint) x,
(GLint) y,
@@ -519,6 +562,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glClipPlane == NULL ) return;
+
if(equation!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, 0);
@@ -549,6 +594,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__glGetClipPlane == NULL ) return;
+
if(equation!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1);
@@ -576,6 +623,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glDrawBuffer == NULL ) return;
+
disp__glDrawBuffer (
(GLenum) mode
);
@@ -594,6 +643,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glReadBuffer == NULL ) return;
+
disp__glReadBuffer (
(GLenum) mode
);
@@ -612,6 +663,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glEnable == NULL ) return;
+
disp__glEnable (
(GLenum) cap
);
@@ -630,6 +683,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glDisable == NULL ) return;
+
disp__glDisable (
(GLenum) cap
);
@@ -650,6 +705,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsEnabled == NULL ) return 0;
+
ret = (jboolean) disp__glIsEnabled (
(GLenum) cap
);
@@ -669,6 +726,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glEnableClientState == NULL ) return;
+
disp__glEnableClientState (
(GLenum) cap
);
@@ -687,6 +746,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glDisableClientState == NULL ) return;
+
disp__glDisableClientState (
(GLenum) cap
);
@@ -708,6 +769,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
+ if ( disp__glGetBooleanv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -738,6 +801,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__glGetDoublev == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -768,6 +833,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__glGetFloatv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -798,6 +865,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGetIntegerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -825,6 +894,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glPushAttrib == NULL ) return;
+
disp__glPushAttrib (
(GLbitfield) mask
);
@@ -842,6 +913,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopAttrib == NULL ) return;
+
disp__glPopAttrib (
);
@@ -859,6 +932,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glPushClientAttrib == NULL ) return;
+
disp__glPushClientAttrib (
(GLbitfield) mask
);
@@ -876,6 +951,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopClientAttrib == NULL ) return;
+
disp__glPopClientAttrib (
);
@@ -895,6 +972,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint ret;
+ if ( disp__glRenderMode == NULL ) return 0;
+
ret = (jint) disp__glRenderMode (
(GLenum) mode
);
@@ -915,6 +994,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint ret;
+ if ( disp__glGetError == NULL ) return 0;
+
ret = (jint) disp__glGetError (
);
@@ -932,6 +1013,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glFinish == NULL ) return;
+
disp__glFinish (
);
@@ -948,6 +1031,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glFlush == NULL ) return;
+
disp__glFlush (
);
@@ -966,6 +1051,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glHint == NULL ) return;
+
disp__glHint (
(GLenum) target,
(GLenum) mode
@@ -985,6 +1072,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble depth)
{
+ if ( disp__glClearDepth == NULL ) return;
+
disp__glClearDepth (
(GLclampd) depth
);
@@ -1003,6 +1092,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint func)
{
+ if ( disp__glDepthFunc == NULL ) return;
+
disp__glDepthFunc (
(GLenum) func
);
@@ -1021,6 +1112,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean flag)
{
+ if ( disp__glDepthMask == NULL ) return;
+
disp__glDepthMask (
(GLboolean) flag
);
@@ -1040,6 +1133,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble far_val)
{
+ if ( disp__glDepthRange == NULL ) return;
+
disp__glDepthRange (
(GLclampd) near_val,
(GLclampd) far_val
@@ -1062,6 +1157,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glClearAccum == NULL ) return;
+
disp__glClearAccum (
(GLfloat) red,
(GLfloat) green,
@@ -1084,6 +1181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat value)
{
+ if ( disp__glAccum == NULL ) return;
+
disp__glAccum (
(GLenum) op,
(GLfloat) value
@@ -1103,6 +1202,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glMatrixMode == NULL ) return;
+
disp__glMatrixMode (
(GLenum) mode
);
@@ -1126,6 +1227,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble far_val)
{
+ if ( disp__glOrtho == NULL ) return;
+
disp__glOrtho (
(GLdouble) left,
(GLdouble) right,
@@ -1154,6 +1257,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble far_val)
{
+ if ( disp__glFrustum == NULL ) return;
+
disp__glFrustum (
(GLdouble) left,
(GLdouble) right,
@@ -1180,6 +1285,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glViewport == NULL ) return;
+
disp__glViewport (
(GLint) x,
(GLint) y,
@@ -1200,6 +1307,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPushMatrix == NULL ) return;
+
disp__glPushMatrix (
);
@@ -1216,6 +1325,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopMatrix == NULL ) return;
+
disp__glPopMatrix (
);
@@ -1232,6 +1343,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glLoadIdentity == NULL ) return;
+
disp__glLoadIdentity (
);
@@ -1250,6 +1363,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glLoadMatrixd == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
@@ -1277,6 +1392,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glLoadMatrixf == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
@@ -1304,6 +1421,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glMultMatrixd == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
@@ -1331,6 +1450,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glMultMatrixf == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, 0);
@@ -1360,6 +1481,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glRotated == NULL ) return;
+
disp__glRotated (
(GLdouble) angle,
(GLdouble) x,
@@ -1384,6 +1507,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glRotatef == NULL ) return;
+
disp__glRotatef (
(GLfloat) angle,
(GLfloat) x,
@@ -1407,6 +1532,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glScaled == NULL ) return;
+
disp__glScaled (
(GLdouble) x,
(GLdouble) y,
@@ -1429,6 +1556,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glScalef == NULL ) return;
+
disp__glScalef (
(GLfloat) x,
(GLfloat) y,
@@ -1451,6 +1580,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glTranslated == NULL ) return;
+
disp__glTranslated (
(GLdouble) x,
(GLdouble) y,
@@ -1473,6 +1604,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glTranslatef == NULL ) return;
+
disp__glTranslatef (
(GLfloat) x,
(GLfloat) y,
@@ -1495,6 +1628,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsList == NULL ) return 0;
+
ret = (jboolean) disp__glIsList (
(GLuint) list
);
@@ -1515,6 +1650,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint range)
{
+ if ( disp__glDeleteLists == NULL ) return;
+
disp__glDeleteLists (
(GLuint) list,
(GLsizei) range
@@ -1536,6 +1673,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint ret;
+ if ( disp__glGenLists == NULL ) return 0;
+
ret = (jint) disp__glGenLists (
(GLsizei) range
);
@@ -1556,6 +1695,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glNewList == NULL ) return;
+
disp__glNewList (
(GLuint) list,
(GLenum) mode
@@ -1574,6 +1715,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glEndList == NULL ) return;
+
disp__glEndList (
);
@@ -1591,6 +1734,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint list)
{
+ if ( disp__glCallList == NULL ) return;
+
disp__glCallList (
(GLuint) list
);
@@ -1612,6 +1757,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
@@ -1636,6 +1783,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
@@ -1660,6 +1809,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
@@ -1684,6 +1835,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
@@ -1708,6 +1861,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
@@ -1732,6 +1887,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
@@ -1756,6 +1913,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, lists, 0);
@@ -1784,6 +1943,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint base)
{
+ if ( disp__glListBase == NULL ) return;
+
disp__glListBase (
(GLuint) base
);
@@ -1802,6 +1963,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glBegin == NULL ) return;
+
disp__glBegin (
(GLenum) mode
);
@@ -1819,6 +1982,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glEnd == NULL ) return;
+
disp__glEnd (
);
@@ -1837,6 +2002,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble y)
{
+ if ( disp__glVertex2d == NULL ) return;
+
disp__glVertex2d (
(GLdouble) x,
(GLdouble) y
@@ -1857,6 +2024,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat y)
{
+ if ( disp__glVertex2f == NULL ) return;
+
disp__glVertex2f (
(GLfloat) x,
(GLfloat) y
@@ -1877,6 +2046,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint y)
{
+ if ( disp__glVertex2i == NULL ) return;
+
disp__glVertex2i (
(GLint) x,
(GLint) y
@@ -1897,6 +2068,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort y)
{
+ if ( disp__glVertex2s == NULL ) return;
+
disp__glVertex2s (
(GLshort) x,
(GLshort) y
@@ -1918,6 +2091,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glVertex3d == NULL ) return;
+
disp__glVertex3d (
(GLdouble) x,
(GLdouble) y,
@@ -1940,6 +2115,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glVertex3f == NULL ) return;
+
disp__glVertex3f (
(GLfloat) x,
(GLfloat) y,
@@ -1962,6 +2139,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint z)
{
+ if ( disp__glVertex3i == NULL ) return;
+
disp__glVertex3i (
(GLint) x,
(GLint) y,
@@ -1984,6 +2163,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort z)
{
+ if ( disp__glVertex3s == NULL ) return;
+
disp__glVertex3s (
(GLshort) x,
(GLshort) y,
@@ -2007,6 +2188,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble w)
{
+ if ( disp__glVertex4d == NULL ) return;
+
disp__glVertex4d (
(GLdouble) x,
(GLdouble) y,
@@ -2031,6 +2214,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat w)
{
+ if ( disp__glVertex4f == NULL ) return;
+
disp__glVertex4f (
(GLfloat) x,
(GLfloat) y,
@@ -2055,6 +2240,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint w)
{
+ if ( disp__glVertex4i == NULL ) return;
+
disp__glVertex4i (
(GLint) x,
(GLint) y,
@@ -2079,6 +2266,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort w)
{
+ if ( disp__glVertex4s == NULL ) return;
+
disp__glVertex4s (
(GLshort) x,
(GLshort) y,
@@ -2101,6 +2290,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glVertex2dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2128,6 +2319,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glVertex2fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2155,6 +2348,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glVertex2iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2182,6 +2377,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glVertex2sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2209,6 +2406,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glVertex3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2236,6 +2435,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glVertex3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2263,6 +2464,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glVertex3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2290,6 +2493,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glVertex3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2317,6 +2522,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glVertex4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2344,6 +2551,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glVertex4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2371,6 +2580,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glVertex4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2398,6 +2609,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glVertex4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2426,6 +2639,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte nz)
{
+ if ( disp__glNormal3b == NULL ) return;
+
disp__glNormal3b (
(GLbyte) nx,
(GLbyte) ny,
@@ -2448,6 +2663,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble nz)
{
+ if ( disp__glNormal3d == NULL ) return;
+
disp__glNormal3d (
(GLdouble) nx,
(GLdouble) ny,
@@ -2470,6 +2687,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat nz)
{
+ if ( disp__glNormal3f == NULL ) return;
+
disp__glNormal3f (
(GLfloat) nx,
(GLfloat) ny,
@@ -2492,6 +2711,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint nz)
{
+ if ( disp__glNormal3i == NULL ) return;
+
disp__glNormal3i (
(GLint) nx,
(GLint) ny,
@@ -2514,6 +2735,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort nz)
{
+ if ( disp__glNormal3s == NULL ) return;
+
disp__glNormal3s (
(GLshort) nx,
(GLshort) ny,
@@ -2535,6 +2758,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glNormal3bv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2562,6 +2787,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glNormal3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2589,6 +2816,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glNormal3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2616,6 +2845,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glNormal3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2643,6 +2874,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glNormal3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -2669,6 +2902,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble c)
{
+ if ( disp__glIndexd == NULL ) return;
+
disp__glIndexd (
(GLdouble) c
);
@@ -2687,6 +2922,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat c)
{
+ if ( disp__glIndexf == NULL ) return;
+
disp__glIndexf (
(GLfloat) c
);
@@ -2705,6 +2942,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint c)
{
+ if ( disp__glIndexi == NULL ) return;
+
disp__glIndexi (
(GLint) c
);
@@ -2723,6 +2962,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort c)
{
+ if ( disp__glIndexs == NULL ) return;
+
disp__glIndexs (
(GLshort) c
);
@@ -2741,6 +2982,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte c)
{
+ if ( disp__glIndexub == NULL ) return;
+
disp__glIndexub (
(GLubyte) c
);
@@ -2760,6 +3003,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glIndexdv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
@@ -2787,6 +3032,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glIndexfv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
@@ -2814,6 +3061,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glIndexiv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
@@ -2841,6 +3090,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glIndexsv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
@@ -2868,6 +3119,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glIndexubv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, c, 0);
@@ -2896,6 +3149,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte blue)
{
+ if ( disp__glColor3b == NULL ) return;
+
disp__glColor3b (
(GLbyte) red,
(GLbyte) green,
@@ -2918,6 +3173,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble blue)
{
+ if ( disp__glColor3d == NULL ) return;
+
disp__glColor3d (
(GLdouble) red,
(GLdouble) green,
@@ -2940,6 +3197,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat blue)
{
+ if ( disp__glColor3f == NULL ) return;
+
disp__glColor3f (
(GLfloat) red,
(GLfloat) green,
@@ -2962,6 +3221,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint blue)
{
+ if ( disp__glColor3i == NULL ) return;
+
disp__glColor3i (
(GLint) red,
(GLint) green,
@@ -2984,6 +3245,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort blue)
{
+ if ( disp__glColor3s == NULL ) return;
+
disp__glColor3s (
(GLshort) red,
(GLshort) green,
@@ -3006,6 +3269,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte blue)
{
+ if ( disp__glColor3ub == NULL ) return;
+
disp__glColor3ub (
(GLubyte) red,
(GLubyte) green,
@@ -3028,6 +3293,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint blue)
{
+ if ( disp__glColor3ui == NULL ) return;
+
disp__glColor3ui (
(GLuint) red,
(GLuint) green,
@@ -3050,6 +3317,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort blue)
{
+ if ( disp__glColor3us == NULL ) return;
+
disp__glColor3us (
(GLushort) red,
(GLushort) green,
@@ -3073,6 +3342,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte alpha)
{
+ if ( disp__glColor4b == NULL ) return;
+
disp__glColor4b (
(GLbyte) red,
(GLbyte) green,
@@ -3097,6 +3368,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble alpha)
{
+ if ( disp__glColor4d == NULL ) return;
+
disp__glColor4d (
(GLdouble) red,
(GLdouble) green,
@@ -3121,6 +3394,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glColor4f == NULL ) return;
+
disp__glColor4f (
(GLfloat) red,
(GLfloat) green,
@@ -3145,6 +3420,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint alpha)
{
+ if ( disp__glColor4i == NULL ) return;
+
disp__glColor4i (
(GLint) red,
(GLint) green,
@@ -3169,6 +3446,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort alpha)
{
+ if ( disp__glColor4s == NULL ) return;
+
disp__glColor4s (
(GLshort) red,
(GLshort) green,
@@ -3193,6 +3472,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte alpha)
{
+ if ( disp__glColor4ub == NULL ) return;
+
disp__glColor4ub (
(GLubyte) red,
(GLubyte) green,
@@ -3217,6 +3498,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint alpha)
{
+ if ( disp__glColor4ui == NULL ) return;
+
disp__glColor4ui (
(GLuint) red,
(GLuint) green,
@@ -3241,6 +3524,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort alpha)
{
+ if ( disp__glColor4us == NULL ) return;
+
disp__glColor4us (
(GLushort) red,
(GLushort) green,
@@ -3263,6 +3548,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glColor3bv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3290,6 +3577,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glColor3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3317,6 +3606,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glColor3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3344,6 +3635,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glColor3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3371,6 +3664,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glColor3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3398,6 +3693,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glColor3ubv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3425,6 +3722,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glColor3uiv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3452,6 +3751,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glColor3usv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3479,6 +3780,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glColor4bv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3506,6 +3809,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glColor4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3533,6 +3838,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glColor4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3560,6 +3867,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glColor4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3587,6 +3896,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glColor4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3614,6 +3925,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glColor4ubv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3641,6 +3954,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glColor4uiv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3668,6 +3983,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glColor4usv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -3694,6 +4011,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble s)
{
+ if ( disp__glTexCoord1d == NULL ) return;
+
disp__glTexCoord1d (
(GLdouble) s
);
@@ -3712,6 +4031,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat s)
{
+ if ( disp__glTexCoord1f == NULL ) return;
+
disp__glTexCoord1f (
(GLfloat) s
);
@@ -3730,6 +4051,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint s)
{
+ if ( disp__glTexCoord1i == NULL ) return;
+
disp__glTexCoord1i (
(GLint) s
);
@@ -3748,6 +4071,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort s)
{
+ if ( disp__glTexCoord1s == NULL ) return;
+
disp__glTexCoord1s (
(GLshort) s
);
@@ -3767,6 +4092,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble t)
{
+ if ( disp__glTexCoord2d == NULL ) return;
+
disp__glTexCoord2d (
(GLdouble) s,
(GLdouble) t
@@ -3787,6 +4114,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat t)
{
+ if ( disp__glTexCoord2f == NULL ) return;
+
disp__glTexCoord2f (
(GLfloat) s,
(GLfloat) t
@@ -3807,6 +4136,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint t)
{
+ if ( disp__glTexCoord2i == NULL ) return;
+
disp__glTexCoord2i (
(GLint) s,
(GLint) t
@@ -3827,6 +4158,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort t)
{
+ if ( disp__glTexCoord2s == NULL ) return;
+
disp__glTexCoord2s (
(GLshort) s,
(GLshort) t
@@ -3848,6 +4181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble r)
{
+ if ( disp__glTexCoord3d == NULL ) return;
+
disp__glTexCoord3d (
(GLdouble) s,
(GLdouble) t,
@@ -3870,6 +4205,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat r)
{
+ if ( disp__glTexCoord3f == NULL ) return;
+
disp__glTexCoord3f (
(GLfloat) s,
(GLfloat) t,
@@ -3892,6 +4229,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint r)
{
+ if ( disp__glTexCoord3i == NULL ) return;
+
disp__glTexCoord3i (
(GLint) s,
(GLint) t,
@@ -3914,6 +4253,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort r)
{
+ if ( disp__glTexCoord3s == NULL ) return;
+
disp__glTexCoord3s (
(GLshort) s,
(GLshort) t,
@@ -3937,6 +4278,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble q)
{
+ if ( disp__glTexCoord4d == NULL ) return;
+
disp__glTexCoord4d (
(GLdouble) s,
(GLdouble) t,
@@ -3961,6 +4304,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat q)
{
+ if ( disp__glTexCoord4f == NULL ) return;
+
disp__glTexCoord4f (
(GLfloat) s,
(GLfloat) t,
@@ -3985,6 +4330,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint q)
{
+ if ( disp__glTexCoord4i == NULL ) return;
+
disp__glTexCoord4i (
(GLint) s,
(GLint) t,
@@ -4009,6 +4356,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort q)
{
+ if ( disp__glTexCoord4s == NULL ) return;
+
disp__glTexCoord4s (
(GLshort) s,
(GLshort) t,
@@ -4031,6 +4380,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glTexCoord1dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4058,6 +4409,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glTexCoord1fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4085,6 +4438,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glTexCoord1iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4112,6 +4467,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glTexCoord1sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4139,6 +4496,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glTexCoord2dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4166,6 +4525,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glTexCoord2fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4193,6 +4554,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glTexCoord2iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4220,6 +4583,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glTexCoord2sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4247,6 +4612,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glTexCoord3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4274,6 +4641,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glTexCoord3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4301,6 +4670,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glTexCoord3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4328,6 +4699,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glTexCoord3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4355,6 +4728,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glTexCoord4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4382,6 +4757,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glTexCoord4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4409,6 +4786,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glTexCoord4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4436,6 +4815,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glTexCoord4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4463,6 +4844,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble y)
{
+ if ( disp__glRasterPos2d == NULL ) return;
+
disp__glRasterPos2d (
(GLdouble) x,
(GLdouble) y
@@ -4483,6 +4866,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat y)
{
+ if ( disp__glRasterPos2f == NULL ) return;
+
disp__glRasterPos2f (
(GLfloat) x,
(GLfloat) y
@@ -4503,6 +4888,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint y)
{
+ if ( disp__glRasterPos2i == NULL ) return;
+
disp__glRasterPos2i (
(GLint) x,
(GLint) y
@@ -4523,6 +4910,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort y)
{
+ if ( disp__glRasterPos2s == NULL ) return;
+
disp__glRasterPos2s (
(GLshort) x,
(GLshort) y
@@ -4544,6 +4933,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glRasterPos3d == NULL ) return;
+
disp__glRasterPos3d (
(GLdouble) x,
(GLdouble) y,
@@ -4566,6 +4957,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glRasterPos3f == NULL ) return;
+
disp__glRasterPos3f (
(GLfloat) x,
(GLfloat) y,
@@ -4588,6 +4981,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint z)
{
+ if ( disp__glRasterPos3i == NULL ) return;
+
disp__glRasterPos3i (
(GLint) x,
(GLint) y,
@@ -4610,6 +5005,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort z)
{
+ if ( disp__glRasterPos3s == NULL ) return;
+
disp__glRasterPos3s (
(GLshort) x,
(GLshort) y,
@@ -4633,6 +5030,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble w)
{
+ if ( disp__glRasterPos4d == NULL ) return;
+
disp__glRasterPos4d (
(GLdouble) x,
(GLdouble) y,
@@ -4657,6 +5056,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat w)
{
+ if ( disp__glRasterPos4f == NULL ) return;
+
disp__glRasterPos4f (
(GLfloat) x,
(GLfloat) y,
@@ -4681,6 +5082,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint w)
{
+ if ( disp__glRasterPos4i == NULL ) return;
+
disp__glRasterPos4i (
(GLint) x,
(GLint) y,
@@ -4705,6 +5108,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort w)
{
+ if ( disp__glRasterPos4s == NULL ) return;
+
disp__glRasterPos4s (
(GLshort) x,
(GLshort) y,
@@ -4727,6 +5132,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glRasterPos2dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4754,6 +5161,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glRasterPos2fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4781,6 +5190,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glRasterPos2iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4808,6 +5219,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glRasterPos2sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4835,6 +5248,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glRasterPos3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4862,6 +5277,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glRasterPos3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4889,6 +5306,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glRasterPos3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4916,6 +5335,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glRasterPos3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4943,6 +5364,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glRasterPos4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4970,6 +5393,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glRasterPos4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -4997,6 +5422,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glRasterPos4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -5024,6 +5451,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glRasterPos4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -5053,6 +5482,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble y2)
{
+ if ( disp__glRectd == NULL ) return;
+
disp__glRectd (
(GLdouble) x1,
(GLdouble) y1,
@@ -5077,6 +5508,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat y2)
{
+ if ( disp__glRectf == NULL ) return;
+
disp__glRectf (
(GLfloat) x1,
(GLfloat) y1,
@@ -5101,6 +5534,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint y2)
{
+ if ( disp__glRecti == NULL ) return;
+
disp__glRecti (
(GLint) x1,
(GLint) y1,
@@ -5125,6 +5560,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort y2)
{
+ if ( disp__glRects == NULL ) return;
+
disp__glRects (
(GLshort) x1,
(GLshort) y1,
@@ -5149,6 +5586,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
jdouble *ptr1 = NULL;
+ if ( disp__glRectdv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
@@ -5187,6 +5626,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
jfloat *ptr1 = NULL;
+ if ( disp__glRectfv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
@@ -5225,6 +5666,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
jint *ptr1 = NULL;
+ if ( disp__glRectiv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
@@ -5263,6 +5706,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
jshort *ptr1 = NULL;
+ if ( disp__glRectsv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v1, 0);
@@ -5302,6 +5747,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5328,6 +5775,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5354,6 +5803,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5380,6 +5831,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5406,6 +5859,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5432,6 +5887,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5458,6 +5915,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5490,6 +5949,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5514,6 +5975,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5538,6 +6001,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5562,6 +6027,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5586,6 +6053,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5610,6 +6079,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5634,6 +6105,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5666,6 +6139,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5692,6 +6167,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5718,6 +6195,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5744,6 +6223,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5770,6 +6251,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5796,6 +6279,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5822,6 +6307,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5854,6 +6341,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5878,6 +6367,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5902,6 +6393,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5926,6 +6419,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5950,6 +6445,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5974,6 +6471,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -5998,6 +6497,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6030,6 +6531,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6056,6 +6559,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6082,6 +6587,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6108,6 +6615,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6134,6 +6643,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6160,6 +6671,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6186,6 +6699,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6217,6 +6732,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6239,6 +6756,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6261,6 +6780,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6283,6 +6804,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6305,6 +6828,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6327,6 +6852,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6349,6 +6876,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -6379,6 +6908,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -6402,6 +6933,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -6425,6 +6958,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -6448,6 +6983,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -6471,6 +7008,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -6494,6 +7033,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -6517,6 +7058,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -6544,6 +7087,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i)
{
+ if ( disp__glArrayElement == NULL ) return;
+
disp__glArrayElement (
(GLint) i
);
@@ -6564,6 +7109,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint count)
{
+ if ( disp__glDrawArrays == NULL ) return;
+
disp__glDrawArrays (
(GLenum) mode,
(GLint) first,
@@ -6588,6 +7135,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -6614,6 +7163,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -6640,6 +7191,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -6666,6 +7219,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -6692,6 +7247,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -6718,6 +7275,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -6744,6 +7303,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -6776,6 +7337,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
@@ -6800,6 +7363,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
@@ -6824,6 +7389,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
@@ -6848,6 +7415,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
@@ -6872,6 +7441,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
@@ -6896,6 +7467,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
@@ -6920,6 +7493,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pointer, 0);
@@ -6948,6 +7523,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glShadeModel == NULL ) return;
+
disp__glShadeModel (
(GLenum) mode
);
@@ -6968,6 +7545,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glLightf == NULL ) return;
+
disp__glLightf (
(GLenum) light,
(GLenum) pname,
@@ -6990,6 +7569,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glLighti == NULL ) return;
+
disp__glLighti (
(GLenum) light,
(GLenum) pname,
@@ -7013,6 +7594,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glLightfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -7044,6 +7627,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glLightiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -7076,6 +7661,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetLightfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -7108,6 +7695,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetLightiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -7137,6 +7726,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glLightModelf == NULL ) return;
+
disp__glLightModelf (
(GLenum) pname,
(GLfloat) param
@@ -7157,6 +7748,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glLightModeli == NULL ) return;
+
disp__glLightModeli (
(GLenum) pname,
(GLint) param
@@ -7178,6 +7771,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glLightModelfv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -7207,6 +7802,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glLightModeliv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -7236,6 +7833,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glMaterialf == NULL ) return;
+
disp__glMaterialf (
(GLenum) face,
(GLenum) pname,
@@ -7258,6 +7857,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glMateriali == NULL ) return;
+
disp__glMateriali (
(GLenum) face,
(GLenum) pname,
@@ -7281,6 +7882,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glMaterialfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -7312,6 +7915,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glMaterialiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -7344,6 +7949,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetMaterialfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -7376,6 +7983,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetMaterialiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -7405,6 +8014,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glColorMaterial == NULL ) return;
+
disp__glColorMaterial (
(GLenum) face,
(GLenum) mode
@@ -7425,6 +8036,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat yfactor)
{
+ if ( disp__glPixelZoom == NULL ) return;
+
disp__glPixelZoom (
(GLfloat) xfactor,
(GLfloat) yfactor
@@ -7445,6 +8058,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glPixelStoref == NULL ) return;
+
disp__glPixelStoref (
(GLenum) pname,
(GLfloat) param
@@ -7465,6 +8080,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glPixelStorei == NULL ) return;
+
disp__glPixelStorei (
(GLenum) pname,
(GLint) param
@@ -7485,6 +8102,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glPixelTransferf == NULL ) return;
+
disp__glPixelTransferf (
(GLenum) pname,
(GLfloat) param
@@ -7505,6 +8124,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glPixelTransferi == NULL ) return;
+
disp__glPixelTransferi (
(GLenum) pname,
(GLint) param
@@ -7527,6 +8148,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glPixelMapfv == NULL ) return;
+
if(values!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, 0);
@@ -7558,6 +8181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glPixelMapuiv == NULL ) return;
+
if(values!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, 0);
@@ -7589,6 +8214,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glPixelMapusv == NULL ) return;
+
if(values!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, 0);
@@ -7620,6 +8247,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__glGetPixelMapfv == NULL ) return;
+
if(values!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
@@ -7650,6 +8279,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGetPixelMapuiv == NULL ) return;
+
if(values!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
@@ -7680,6 +8311,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
+ if ( disp__glGetPixelMapusv == NULL ) return;
+
if(values!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
@@ -7714,6 +8347,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr6 = NULL;
+ if ( disp__glBitmap == NULL ) return;
+
if(bitmap!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, bitmap, 0);
@@ -7754,6 +8389,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jbyte *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -7787,6 +8424,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jshort *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -7820,6 +8459,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jint *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -7853,6 +8494,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jfloat *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -7886,6 +8529,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jdouble *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -7919,6 +8564,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jboolean *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -7952,6 +8599,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jlong *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -7989,6 +8638,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -8017,6 +8668,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -8045,6 +8698,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -8073,6 +8728,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -8101,6 +8758,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -8129,6 +8788,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -8157,6 +8818,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -8191,6 +8854,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint type)
{
+ if ( disp__glCopyPixels == NULL ) return;
+
disp__glCopyPixels (
(GLint) x,
(GLint) y,
@@ -8215,6 +8880,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glStencilFunc == NULL ) return;
+
disp__glStencilFunc (
(GLenum) func,
(GLint) ref,
@@ -8235,6 +8902,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glStencilMask == NULL ) return;
+
disp__glStencilMask (
(GLuint) mask
);
@@ -8255,6 +8924,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint zpass)
{
+ if ( disp__glStencilOp == NULL ) return;
+
disp__glStencilOp (
(GLenum) fail,
(GLenum) zfail,
@@ -8275,6 +8946,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint s)
{
+ if ( disp__glClearStencil == NULL ) return;
+
disp__glClearStencil (
(GLint) s
);
@@ -8295,6 +8968,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble param)
{
+ if ( disp__glTexGend == NULL ) return;
+
disp__glTexGend (
(GLenum) coord,
(GLenum) pname,
@@ -8317,6 +8992,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glTexGenf == NULL ) return;
+
disp__glTexGenf (
(GLenum) coord,
(GLenum) pname,
@@ -8339,6 +9016,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glTexGeni == NULL ) return;
+
disp__glTexGeni (
(GLenum) coord,
(GLenum) pname,
@@ -8362,6 +9041,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glTexGendv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -8393,6 +9074,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glTexGenfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -8424,6 +9107,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glTexGeniv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -8456,6 +9141,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
+ if ( disp__glGetTexGendv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8488,6 +9175,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetTexGenfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8520,6 +9209,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetTexGeniv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8550,6 +9241,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glTexEnvf == NULL ) return;
+
disp__glTexEnvf (
(GLenum) target,
(GLenum) pname,
@@ -8572,6 +9265,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glTexEnvi == NULL ) return;
+
disp__glTexEnvi (
(GLenum) target,
(GLenum) pname,
@@ -8595,6 +9290,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glTexEnvfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -8626,6 +9323,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glTexEnviv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -8658,6 +9357,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetTexEnvfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8690,6 +9391,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetTexEnviv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8720,6 +9423,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glTexParameterf == NULL ) return;
+
disp__glTexParameterf (
(GLenum) target,
(GLenum) pname,
@@ -8742,6 +9447,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glTexParameteri == NULL ) return;
+
disp__glTexParameteri (
(GLenum) target,
(GLenum) pname,
@@ -8765,6 +9472,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glTexParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -8796,6 +9505,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glTexParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -8828,6 +9539,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetTexParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8860,6 +9573,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetTexParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8893,6 +9608,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
+ if ( disp__glGetTexLevelParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
@@ -8927,6 +9644,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
+ if ( disp__glGetTexLevelParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
@@ -8964,6 +9683,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -8998,6 +9719,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9032,6 +9755,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9066,6 +9791,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9100,6 +9827,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9134,6 +9863,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9168,6 +9899,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9210,6 +9943,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9246,6 +9981,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9282,6 +10019,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9318,6 +10057,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9354,6 +10095,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9390,6 +10133,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9426,6 +10171,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9466,6 +10213,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9495,6 +10244,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9524,6 +10275,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9553,6 +10306,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9582,6 +10337,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9611,6 +10368,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9640,6 +10399,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9673,6 +10434,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGenTextures == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -9702,6 +10465,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glDeleteTextures == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -9730,6 +10495,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glBindTexture == NULL ) return;
+
disp__glBindTexture (
(GLenum) target,
(GLuint) texture
@@ -9753,6 +10520,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
jfloat *ptr2 = NULL;
+ if ( disp__glPrioritizeTextures == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -9796,6 +10565,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
+ if ( disp__glAreTexturesResident == NULL ) return 0;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -9835,6 +10606,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsTexture == NULL ) return 0;
+
ret = (jboolean) disp__glIsTexture (
(GLuint) texture
);
@@ -9861,6 +10634,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9893,6 +10668,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9925,6 +10702,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9957,6 +10736,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -9989,6 +10770,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10021,6 +10804,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10053,6 +10838,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10094,6 +10881,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10130,6 +10919,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10166,6 +10957,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10202,6 +10995,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10238,6 +11033,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10274,6 +11071,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10310,6 +11109,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -10350,6 +11151,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint border)
{
+ if ( disp__glCopyTexImage1D == NULL ) return;
+
disp__glCopyTexImage1D (
(GLenum) target,
(GLint) level,
@@ -10381,6 +11184,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint border)
{
+ if ( disp__glCopyTexImage2D == NULL ) return;
+
disp__glCopyTexImage2D (
(GLenum) target,
(GLint) level,
@@ -10411,6 +11216,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyTexSubImage1D == NULL ) return;
+
disp__glCopyTexSubImage1D (
(GLenum) target,
(GLint) level,
@@ -10441,6 +11248,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyTexSubImage2D == NULL ) return;
+
disp__glCopyTexSubImage2D (
(GLenum) target,
(GLint) level,
@@ -10472,6 +11281,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glMap1d == NULL ) return;
+
if(points!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
@@ -10509,6 +11320,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glMap1f == NULL ) return;
+
if(points!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
@@ -10550,6 +11363,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr9 = NULL;
+ if ( disp__glMap2d == NULL ) return;
+
if(points!=NULL)
{
ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
@@ -10595,6 +11410,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr9 = NULL;
+ if ( disp__glMap2f == NULL ) return;
+
if(points!=NULL)
{
ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, 0);
@@ -10634,6 +11451,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
+ if ( disp__glGetMapdv == NULL ) return;
+
if(v!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
@@ -10666,6 +11485,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetMapfv == NULL ) return;
+
if(v!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
@@ -10698,6 +11519,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetMapiv == NULL ) return;
+
if(v!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
@@ -10726,6 +11549,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble u)
{
+ if ( disp__glEvalCoord1d == NULL ) return;
+
disp__glEvalCoord1d (
(GLdouble) u
);
@@ -10744,6 +11569,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat u)
{
+ if ( disp__glEvalCoord1f == NULL ) return;
+
disp__glEvalCoord1f (
(GLfloat) u
);
@@ -10763,6 +11590,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glEvalCoord1dv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
@@ -10790,6 +11619,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glEvalCoord1fv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
@@ -10817,6 +11648,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble v)
{
+ if ( disp__glEvalCoord2d == NULL ) return;
+
disp__glEvalCoord2d (
(GLdouble) u,
(GLdouble) v
@@ -10837,6 +11670,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat v)
{
+ if ( disp__glEvalCoord2f == NULL ) return;
+
disp__glEvalCoord2f (
(GLfloat) u,
(GLfloat) v
@@ -10857,6 +11692,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glEvalCoord2dv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
@@ -10884,6 +11721,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glEvalCoord2fv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, 0);
@@ -10912,6 +11751,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble u2)
{
+ if ( disp__glMapGrid1d == NULL ) return;
+
disp__glMapGrid1d (
(GLint) un,
(GLdouble) u1,
@@ -10934,6 +11775,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat u2)
{
+ if ( disp__glMapGrid1f == NULL ) return;
+
disp__glMapGrid1f (
(GLint) un,
(GLfloat) u1,
@@ -10959,6 +11802,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble v2)
{
+ if ( disp__glMapGrid2d == NULL ) return;
+
disp__glMapGrid2d (
(GLint) un,
(GLdouble) u1,
@@ -10987,6 +11832,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat v2)
{
+ if ( disp__glMapGrid2f == NULL ) return;
+
disp__glMapGrid2f (
(GLint) un,
(GLfloat) u1,
@@ -11010,6 +11857,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i)
{
+ if ( disp__glEvalPoint1 == NULL ) return;
+
disp__glEvalPoint1 (
(GLint) i
);
@@ -11029,6 +11878,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint j)
{
+ if ( disp__glEvalPoint2 == NULL ) return;
+
disp__glEvalPoint2 (
(GLint) i,
(GLint) j
@@ -11050,6 +11901,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i2)
{
+ if ( disp__glEvalMesh1 == NULL ) return;
+
disp__glEvalMesh1 (
(GLenum) mode,
(GLint) i1,
@@ -11074,6 +11927,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint j2)
{
+ if ( disp__glEvalMesh2 == NULL ) return;
+
disp__glEvalMesh2 (
(GLenum) mode,
(GLint) i1,
@@ -11097,6 +11952,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glFogf == NULL ) return;
+
disp__glFogf (
(GLenum) pname,
(GLfloat) param
@@ -11117,6 +11974,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glFogi == NULL ) return;
+
disp__glFogi (
(GLenum) pname,
(GLint) param
@@ -11138,6 +11997,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glFogfv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -11167,6 +12028,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glFogiv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -11198,6 +12061,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glFeedbackBuffer == NULL ) return;
+
if(buffer!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray2);
@@ -11226,6 +12091,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat token)
{
+ if ( disp__glPassThrough == NULL ) return;
+
disp__glPassThrough (
(GLfloat) token
);
@@ -11247,6 +12114,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glSelectBuffer == NULL ) return;
+
if(buffer!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray1);
@@ -11273,6 +12142,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glInitNames == NULL ) return;
+
disp__glInitNames (
);
@@ -11290,6 +12161,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint name)
{
+ if ( disp__glLoadName == NULL ) return;
+
disp__glLoadName (
(GLuint) name
);
@@ -11308,6 +12181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint name)
{
+ if ( disp__glPushName == NULL ) return;
+
disp__glPushName (
(GLuint) name
);
@@ -11325,6 +12200,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopName == NULL ) return;
+
disp__glPopName (
);
@@ -11348,6 +12225,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -11378,6 +12257,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -11408,6 +12289,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -11438,6 +12321,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -11468,6 +12353,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -11498,6 +12385,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -11528,6 +12417,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, 0);
@@ -11569,6 +12460,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11607,6 +12500,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11645,6 +12540,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11683,6 +12580,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11721,6 +12620,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11759,6 +12660,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11797,6 +12700,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11843,6 +12748,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11883,6 +12790,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11923,6 +12832,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -11963,6 +12874,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -12003,6 +12916,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -12043,6 +12958,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -12083,6 +13000,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -12127,6 +13046,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyTexSubImage3D == NULL ) return;
+
disp__glCopyTexSubImage3D (
(GLenum) target,
(GLint) level,
@@ -12159,6 +13080,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -12189,6 +13112,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -12219,6 +13144,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -12249,6 +13176,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -12279,6 +13208,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -12309,6 +13240,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -12339,6 +13272,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -12376,6 +13311,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -12406,6 +13343,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -12436,6 +13375,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -12466,6 +13407,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -12496,6 +13439,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -12526,6 +13471,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -12556,6 +13503,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -12590,6 +13539,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glColorTableParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -12621,6 +13572,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glColorTableParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -12653,6 +13606,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyColorSubTable == NULL ) return;
+
disp__glCopyColorSubTable (
(GLenum) target,
(GLsizei) start,
@@ -12679,6 +13634,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyColorTable == NULL ) return;
+
disp__glCopyColorTable (
(GLenum) target,
(GLenum) internalformat,
@@ -12706,6 +13663,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -12733,6 +13692,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -12760,6 +13721,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -12787,6 +13750,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -12814,6 +13779,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -12841,6 +13808,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -12868,6 +13837,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -12901,6 +13872,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetColorTableParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12933,6 +13906,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetColorTableParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -12961,6 +13936,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glBlendEquation == NULL ) return;
+
disp__glBlendEquation (
(GLenum) mode
);
@@ -12982,6 +13959,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glBlendColor == NULL ) return;
+
disp__glBlendColor (
(GLclampf) red,
(GLclampf) green,
@@ -13006,6 +13985,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean sink)
{
+ if ( disp__glHistogram == NULL ) return;
+
disp__glHistogram (
(GLenum) target,
(GLsizei) width,
@@ -13027,6 +14008,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint target)
{
+ if ( disp__glResetHistogram == NULL ) return;
+
disp__glResetHistogram (
(GLenum) target
);
@@ -13051,6 +14034,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13080,6 +14065,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13109,6 +14096,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13138,6 +14127,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13167,6 +14158,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13196,6 +14189,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13225,6 +14220,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13259,6 +14256,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetHistogramParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -13291,6 +14290,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetHistogramParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -13321,6 +14322,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean sink)
{
+ if ( disp__glMinmax == NULL ) return;
+
disp__glMinmax (
(GLenum) target,
(GLenum) internalformat,
@@ -13341,6 +14344,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint target)
{
+ if ( disp__glResetMinmax == NULL ) return;
+
disp__glResetMinmax (
(GLenum) target
);
@@ -13365,6 +14370,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13394,6 +14401,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13423,6 +14432,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13452,6 +14463,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13481,6 +14494,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13510,6 +14525,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13539,6 +14556,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -13573,6 +14592,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetMinmaxParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -13605,6 +14626,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetMinmaxParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -13639,6 +14662,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13669,6 +14694,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13699,6 +14726,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13729,6 +14758,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13759,6 +14790,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13789,6 +14822,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13819,6 +14854,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13857,6 +14894,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13889,6 +14928,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13921,6 +14962,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13953,6 +14996,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -13985,6 +15030,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -14017,6 +15064,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -14049,6 +15098,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, 0);
@@ -14083,6 +15134,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat params)
{
+ if ( disp__glConvolutionParameterf == NULL ) return;
+
disp__glConvolutionParameterf (
(GLenum) target,
(GLenum) pname,
@@ -14106,6 +15159,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glConvolutionParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -14136,6 +15191,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint params)
{
+ if ( disp__glConvolutionParameteri == NULL ) return;
+
disp__glConvolutionParameteri (
(GLenum) target,
(GLenum) pname,
@@ -14159,6 +15216,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glConvolutionParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -14191,6 +15250,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyConvolutionFilter1D == NULL ) return;
+
disp__glCopyConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
@@ -14218,6 +15279,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyConvolutionFilter2D == NULL ) return;
+
disp__glCopyConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
@@ -14246,6 +15309,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -14273,6 +15338,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -14300,6 +15367,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -14327,6 +15396,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -14354,6 +15425,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -14381,6 +15454,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -14408,6 +15483,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -14441,6 +15518,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetConvolutionParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -14473,6 +15552,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetConvolutionParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -14510,6 +15591,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr6 = NULL;
jbyte *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -14553,6 +15636,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr6 = NULL;
jshort *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -14596,6 +15681,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr6 = NULL;
jint *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -14639,6 +15726,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr6 = NULL;
jfloat *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -14682,6 +15771,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr6 = NULL;
jdouble *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -14725,6 +15816,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr6 = NULL;
jboolean *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -14768,6 +15861,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr6 = NULL;
jlong *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, 0);
@@ -14820,6 +15915,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jbyte *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -14871,6 +15968,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jshort *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -14922,6 +16021,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jint *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -14973,6 +16074,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jfloat *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -15024,6 +16127,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jdouble *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -15075,6 +16180,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jboolean *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -15126,6 +16233,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jlong *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -15176,6 +16285,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glBlendColorEXT == NULL ) return;
+
disp__glBlendColorEXT (
(GLclampf) red,
(GLclampf) green,
@@ -15198,6 +16309,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat bias)
{
+ if ( disp__glPolygonOffsetEXT == NULL ) return;
+
disp__glPolygonOffsetEXT (
(GLfloat) factor,
(GLfloat) bias
@@ -15227,6 +16340,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15265,6 +16380,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15303,6 +16420,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15341,6 +16460,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15379,6 +16500,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15417,6 +16540,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15455,6 +16580,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15501,6 +16628,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15541,6 +16670,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15581,6 +16712,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15621,6 +16754,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15661,6 +16796,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15701,6 +16838,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15741,6 +16880,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, 0);
@@ -15785,6 +16926,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyTexSubImage3DEXT == NULL ) return;
+
disp__glCopyTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
@@ -15814,6 +16957,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGenTexturesEXT == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -15843,6 +16988,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glDeleteTexturesEXT == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -15871,6 +17018,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glBindTextureEXT == NULL ) return;
+
disp__glBindTextureEXT (
(GLenum) target,
(GLuint) texture
@@ -15894,6 +17043,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
jfloat *ptr2 = NULL;
+ if ( disp__glPrioritizeTexturesEXT == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -15937,6 +17088,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
+ if ( disp__glAreTexturesResidentEXT == NULL ) return 0;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, 0);
@@ -15976,6 +17129,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsTextureEXT == NULL ) return 0;
+
ret = (jboolean) disp__glIsTextureEXT (
(GLuint) texture
);
@@ -16000,6 +17155,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16028,6 +17185,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16056,6 +17215,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16084,6 +17245,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16112,6 +17275,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16140,6 +17305,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16168,6 +17335,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16202,6 +17371,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16228,6 +17399,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16254,6 +17427,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16280,6 +17455,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16306,6 +17483,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16332,6 +17511,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16358,6 +17539,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16392,6 +17575,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16420,6 +17605,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16448,6 +17635,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16476,6 +17665,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16504,6 +17695,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16532,6 +17725,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16560,6 +17755,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16594,6 +17791,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16620,6 +17819,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16646,6 +17847,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16672,6 +17875,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16698,6 +17903,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16724,6 +17931,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16750,6 +17959,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16784,6 +17995,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16812,6 +18025,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16840,6 +18055,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16868,6 +18085,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16896,6 +18115,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16924,6 +18145,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16952,6 +18175,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -16985,6 +18210,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glEdgeFlagPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, 0);
@@ -17016,6 +18243,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -17039,6 +18268,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -17062,6 +18293,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -17085,6 +18318,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -17108,6 +18343,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -17131,6 +18368,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -17154,6 +18393,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -17181,6 +18422,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i)
{
+ if ( disp__glArrayElementEXT == NULL ) return;
+
disp__glArrayElementEXT (
(GLint) i
);
@@ -17201,6 +18444,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint count)
{
+ if ( disp__glDrawArraysEXT == NULL ) return;
+
disp__glDrawArraysEXT (
(GLenum) mode,
(GLint) first,
@@ -17221,6 +18466,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glBlendEquationEXT == NULL ) return;
+
disp__glBlendEquationEXT (
(GLenum) mode
);
@@ -17240,6 +18487,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glPointParameterfEXT == NULL ) return;
+
disp__glPointParameterfEXT (
(GLenum) pname,
(GLfloat) param
@@ -17261,6 +18510,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glPointParameterfvEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, 0);
@@ -17294,6 +18545,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -17324,6 +18577,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -17354,6 +18609,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -17384,6 +18641,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -17414,6 +18673,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -17444,6 +18705,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -17474,6 +18737,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, 0);
@@ -17511,6 +18776,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -17541,6 +18808,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -17571,6 +18840,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -17601,6 +18872,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -17631,6 +18904,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -17661,6 +18936,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -17691,6 +18968,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, 0);
@@ -17727,6 +19006,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17754,6 +19035,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17781,6 +19064,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17808,6 +19093,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17835,6 +19122,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17862,6 +19151,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17889,6 +19180,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -17922,6 +19215,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetColorTableParameterfvEXT == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -17954,6 +19249,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetColorTableParameterivEXT == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -17983,6 +19280,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint count)
{
+ if ( disp__glLockArraysEXT == NULL ) return;
+
disp__glLockArraysEXT (
(GLint) first,
(GLsizei) count
@@ -18001,6 +19300,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glUnlockArraysEXT == NULL ) return;
+
disp__glUnlockArraysEXT (
);
@@ -18018,6 +19319,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glActiveTextureARB == NULL ) return;
+
disp__glActiveTextureARB (
(GLenum) texture
);
@@ -18036,6 +19339,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glClientActiveTextureARB == NULL ) return;
+
disp__glClientActiveTextureARB (
(GLenum) texture
);
@@ -18055,6 +19360,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble s)
{
+ if ( disp__glMultiTexCoord1dARB == NULL ) return;
+
disp__glMultiTexCoord1dARB (
(GLenum) target,
(GLdouble) s
@@ -18076,6 +19383,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glMultiTexCoord1dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18104,6 +19413,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat s)
{
+ if ( disp__glMultiTexCoord1fARB == NULL ) return;
+
disp__glMultiTexCoord1fARB (
(GLenum) target,
(GLfloat) s
@@ -18125,6 +19436,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glMultiTexCoord1fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18153,6 +19466,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint s)
{
+ if ( disp__glMultiTexCoord1iARB == NULL ) return;
+
disp__glMultiTexCoord1iARB (
(GLenum) target,
(GLint) s
@@ -18174,6 +19489,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glMultiTexCoord1ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18202,6 +19519,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort s)
{
+ if ( disp__glMultiTexCoord1sARB == NULL ) return;
+
disp__glMultiTexCoord1sARB (
(GLenum) target,
(GLshort) s
@@ -18223,6 +19542,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glMultiTexCoord1svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18252,6 +19573,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble t)
{
+ if ( disp__glMultiTexCoord2dARB == NULL ) return;
+
disp__glMultiTexCoord2dARB (
(GLenum) target,
(GLdouble) s,
@@ -18274,6 +19597,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glMultiTexCoord2dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18303,6 +19628,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat t)
{
+ if ( disp__glMultiTexCoord2fARB == NULL ) return;
+
disp__glMultiTexCoord2fARB (
(GLenum) target,
(GLfloat) s,
@@ -18325,6 +19652,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glMultiTexCoord2fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18354,6 +19683,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint t)
{
+ if ( disp__glMultiTexCoord2iARB == NULL ) return;
+
disp__glMultiTexCoord2iARB (
(GLenum) target,
(GLint) s,
@@ -18376,6 +19707,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glMultiTexCoord2ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18405,6 +19738,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort t)
{
+ if ( disp__glMultiTexCoord2sARB == NULL ) return;
+
disp__glMultiTexCoord2sARB (
(GLenum) target,
(GLshort) s,
@@ -18427,6 +19762,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glMultiTexCoord2svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18457,6 +19794,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble r)
{
+ if ( disp__glMultiTexCoord3dARB == NULL ) return;
+
disp__glMultiTexCoord3dARB (
(GLenum) target,
(GLdouble) s,
@@ -18480,6 +19819,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glMultiTexCoord3dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18510,6 +19851,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat r)
{
+ if ( disp__glMultiTexCoord3fARB == NULL ) return;
+
disp__glMultiTexCoord3fARB (
(GLenum) target,
(GLfloat) s,
@@ -18533,6 +19876,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glMultiTexCoord3fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18563,6 +19908,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint r)
{
+ if ( disp__glMultiTexCoord3iARB == NULL ) return;
+
disp__glMultiTexCoord3iARB (
(GLenum) target,
(GLint) s,
@@ -18586,6 +19933,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glMultiTexCoord3ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18616,6 +19965,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort r)
{
+ if ( disp__glMultiTexCoord3sARB == NULL ) return;
+
disp__glMultiTexCoord3sARB (
(GLenum) target,
(GLshort) s,
@@ -18639,6 +19990,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glMultiTexCoord3svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18670,6 +20023,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble q)
{
+ if ( disp__glMultiTexCoord4dARB == NULL ) return;
+
disp__glMultiTexCoord4dARB (
(GLenum) target,
(GLdouble) s,
@@ -18694,6 +20049,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glMultiTexCoord4dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18725,6 +20082,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat q)
{
+ if ( disp__glMultiTexCoord4fARB == NULL ) return;
+
disp__glMultiTexCoord4fARB (
(GLenum) target,
(GLfloat) s,
@@ -18749,6 +20108,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glMultiTexCoord4fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18780,6 +20141,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint q)
{
+ if ( disp__glMultiTexCoord4iARB == NULL ) return;
+
disp__glMultiTexCoord4iARB (
(GLenum) target,
(GLint) s,
@@ -18804,6 +20167,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glMultiTexCoord4ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18835,6 +20200,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort q)
{
+ if ( disp__glMultiTexCoord4sARB == NULL ) return;
+
disp__glMultiTexCoord4sARB (
(GLenum) target,
(GLshort) s,
@@ -18859,6 +20226,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glMultiTexCoord4svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, 0);
@@ -18874,4 +20243,4 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
}
}
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
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. */
diff --git a/CNativeCode/OpenGL_JauJNI12tst_funcs.c b/CNativeCode/OpenGL_JauJNI12tst_funcs.c
index 2030c89..07d07f2 100755
--- a/CNativeCode/OpenGL_JauJNI12tst_funcs.c
+++ b/CNativeCode/OpenGL_JauJNI12tst_funcs.c
@@ -60,6 +60,9 @@ Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj,
{
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;
@@ -68,7 +71,7 @@ Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj,
}
static const char * _gl_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _gl_lib_version_="2.7.0.0";
+static const char * _gl_lib_version_="2.7.1.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -83,7 +86,7 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
}
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -101,6 +104,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat c)
{
+ if ( disp__glClearIndex == NULL ) return;
+
disp__glClearIndex (
(GLfloat) c
);
@@ -122,6 +127,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glClearColor == NULL ) return;
+
disp__glClearColor (
(GLclampf) red,
(GLclampf) green,
@@ -143,6 +150,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glClear == NULL ) return;
+
disp__glClear (
(GLbitfield) mask
);
@@ -161,6 +170,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glIndexMask == NULL ) return;
+
disp__glIndexMask (
(GLuint) mask
);
@@ -182,6 +193,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean alpha)
{
+ if ( disp__glColorMask == NULL ) return;
+
disp__glColorMask (
(GLboolean) red,
(GLboolean) green,
@@ -204,6 +217,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat ref)
{
+ if ( disp__glAlphaFunc == NULL ) return;
+
disp__glAlphaFunc (
(GLenum) func,
(GLclampf) ref
@@ -224,6 +239,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint dfactor)
{
+ if ( disp__glBlendFunc == NULL ) return;
+
disp__glBlendFunc (
(GLenum) sfactor,
(GLenum) dfactor
@@ -243,6 +260,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint opcode)
{
+ if ( disp__glLogicOp == NULL ) return;
+
disp__glLogicOp (
(GLenum) opcode
);
@@ -261,6 +280,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glCullFace == NULL ) return;
+
disp__glCullFace (
(GLenum) mode
);
@@ -279,6 +300,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glFrontFace == NULL ) return;
+
disp__glFrontFace (
(GLenum) mode
);
@@ -297,6 +320,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat size)
{
+ if ( disp__glPointSize == NULL ) return;
+
disp__glPointSize (
(GLfloat) size
);
@@ -315,6 +340,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat width)
{
+ if ( disp__glLineWidth == NULL ) return;
+
disp__glLineWidth (
(GLfloat) width
);
@@ -334,6 +361,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort pattern)
{
+ if ( disp__glLineStipple == NULL ) return;
+
disp__glLineStipple (
(GLint) factor,
(GLushort) pattern
@@ -354,6 +383,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glPolygonMode == NULL ) return;
+
disp__glPolygonMode (
(GLenum) face,
(GLenum) mode
@@ -374,6 +405,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat units)
{
+ if ( disp__glPolygonOffset == NULL ) return;
+
disp__glPolygonOffset (
(GLfloat) factor,
(GLfloat) units
@@ -396,6 +429,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glPolygonStipple == NULL ) return;
+
if(mask!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0);
@@ -429,6 +464,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glGetPolygonStipple == NULL ) return;
+
if(mask!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, mask, &isCopiedArray0);
@@ -459,6 +496,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean flag)
{
+ if ( disp__glEdgeFlag == NULL ) return;
+
disp__glEdgeFlag (
(GLboolean) flag
);
@@ -480,6 +519,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glEdgeFlagv == NULL ) return;
+
if(flag!=NULL)
{
ptr0 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, flag, &isCopiedArray0);
@@ -513,6 +554,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glScissor == NULL ) return;
+
disp__glScissor (
(GLint) x,
(GLint) y,
@@ -538,6 +581,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glClipPlane == NULL ) return;
+
if(equation!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1);
@@ -573,6 +618,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetClipPlane == NULL ) return;
+
if(equation!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, equation, &isCopiedArray1);
@@ -604,6 +651,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glDrawBuffer == NULL ) return;
+
disp__glDrawBuffer (
(GLenum) mode
);
@@ -622,6 +671,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glReadBuffer == NULL ) return;
+
disp__glReadBuffer (
(GLenum) mode
);
@@ -640,6 +691,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glEnable == NULL ) return;
+
disp__glEnable (
(GLenum) cap
);
@@ -658,6 +711,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glDisable == NULL ) return;
+
disp__glDisable (
(GLenum) cap
);
@@ -678,6 +733,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsEnabled == NULL ) return 0;
+
ret = (jboolean) disp__glIsEnabled (
(GLenum) cap
);
@@ -697,6 +754,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glEnableClientState == NULL ) return;
+
disp__glEnableClientState (
(GLenum) cap
);
@@ -715,6 +774,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glDisableClientState == NULL ) return;
+
disp__glDisableClientState (
(GLenum) cap
);
@@ -737,6 +798,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetBooleanv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -772,6 +835,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetDoublev == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -807,6 +872,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetFloatv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -842,6 +909,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetIntegerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -873,6 +942,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glPushAttrib == NULL ) return;
+
disp__glPushAttrib (
(GLbitfield) mask
);
@@ -890,6 +961,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopAttrib == NULL ) return;
+
disp__glPopAttrib (
);
@@ -907,6 +980,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glPushClientAttrib == NULL ) return;
+
disp__glPushClientAttrib (
(GLbitfield) mask
);
@@ -924,6 +999,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopClientAttrib == NULL ) return;
+
disp__glPopClientAttrib (
);
@@ -943,6 +1020,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint ret;
+ if ( disp__glRenderMode == NULL ) return 0;
+
ret = (jint) disp__glRenderMode (
(GLenum) mode
);
@@ -963,6 +1042,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint ret;
+ if ( disp__glGetError == NULL ) return 0;
+
ret = (jint) disp__glGetError (
);
@@ -980,6 +1061,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glFinish == NULL ) return;
+
disp__glFinish (
);
@@ -996,6 +1079,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glFlush == NULL ) return;
+
disp__glFlush (
);
@@ -1014,6 +1099,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glHint == NULL ) return;
+
disp__glHint (
(GLenum) target,
(GLenum) mode
@@ -1033,6 +1120,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble depth)
{
+ if ( disp__glClearDepth == NULL ) return;
+
disp__glClearDepth (
(GLclampd) depth
);
@@ -1051,6 +1140,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint func)
{
+ if ( disp__glDepthFunc == NULL ) return;
+
disp__glDepthFunc (
(GLenum) func
);
@@ -1069,6 +1160,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean flag)
{
+ if ( disp__glDepthMask == NULL ) return;
+
disp__glDepthMask (
(GLboolean) flag
);
@@ -1088,6 +1181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble far_val)
{
+ if ( disp__glDepthRange == NULL ) return;
+
disp__glDepthRange (
(GLclampd) near_val,
(GLclampd) far_val
@@ -1110,6 +1205,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glClearAccum == NULL ) return;
+
disp__glClearAccum (
(GLfloat) red,
(GLfloat) green,
@@ -1132,6 +1229,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat value)
{
+ if ( disp__glAccum == NULL ) return;
+
disp__glAccum (
(GLenum) op,
(GLfloat) value
@@ -1151,6 +1250,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glMatrixMode == NULL ) return;
+
disp__glMatrixMode (
(GLenum) mode
);
@@ -1174,6 +1275,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble far_val)
{
+ if ( disp__glOrtho == NULL ) return;
+
disp__glOrtho (
(GLdouble) left,
(GLdouble) right,
@@ -1202,6 +1305,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble far_val)
{
+ if ( disp__glFrustum == NULL ) return;
+
disp__glFrustum (
(GLdouble) left,
(GLdouble) right,
@@ -1228,6 +1333,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glViewport == NULL ) return;
+
disp__glViewport (
(GLint) x,
(GLint) y,
@@ -1248,6 +1355,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPushMatrix == NULL ) return;
+
disp__glPushMatrix (
);
@@ -1264,6 +1373,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopMatrix == NULL ) return;
+
disp__glPopMatrix (
);
@@ -1280,6 +1391,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glLoadIdentity == NULL ) return;
+
disp__glLoadIdentity (
);
@@ -1300,6 +1413,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glLoadMatrixd == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0);
@@ -1333,6 +1448,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glLoadMatrixf == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0);
@@ -1366,6 +1483,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glMultMatrixd == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0);
@@ -1399,6 +1518,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glMultMatrixf == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, m, &isCopiedArray0);
@@ -1432,6 +1553,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glRotated == NULL ) return;
+
disp__glRotated (
(GLdouble) angle,
(GLdouble) x,
@@ -1456,6 +1579,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glRotatef == NULL ) return;
+
disp__glRotatef (
(GLfloat) angle,
(GLfloat) x,
@@ -1479,6 +1604,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glScaled == NULL ) return;
+
disp__glScaled (
(GLdouble) x,
(GLdouble) y,
@@ -1501,6 +1628,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glScalef == NULL ) return;
+
disp__glScalef (
(GLfloat) x,
(GLfloat) y,
@@ -1523,6 +1652,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glTranslated == NULL ) return;
+
disp__glTranslated (
(GLdouble) x,
(GLdouble) y,
@@ -1545,6 +1676,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glTranslatef == NULL ) return;
+
disp__glTranslatef (
(GLfloat) x,
(GLfloat) y,
@@ -1567,6 +1700,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsList == NULL ) return 0;
+
ret = (jboolean) disp__glIsList (
(GLuint) list
);
@@ -1587,6 +1722,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint range)
{
+ if ( disp__glDeleteLists == NULL ) return;
+
disp__glDeleteLists (
(GLuint) list,
(GLsizei) range
@@ -1608,6 +1745,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint ret;
+ if ( disp__glGenLists == NULL ) return 0;
+
ret = (jint) disp__glGenLists (
(GLsizei) range
);
@@ -1628,6 +1767,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glNewList == NULL ) return;
+
disp__glNewList (
(GLuint) list,
(GLenum) mode
@@ -1646,6 +1787,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glEndList == NULL ) return;
+
disp__glEndList (
);
@@ -1663,6 +1806,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint list)
{
+ if ( disp__glCallList == NULL ) return;
+
disp__glCallList (
(GLuint) list
);
@@ -1686,6 +1831,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -1716,6 +1863,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -1746,6 +1895,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -1776,6 +1927,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -1806,6 +1959,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -1836,6 +1991,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -1866,6 +2023,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, lists, &isCopiedArray2);
@@ -1898,6 +2057,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint base)
{
+ if ( disp__glListBase == NULL ) return;
+
disp__glListBase (
(GLuint) base
);
@@ -1916,6 +2077,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glBegin == NULL ) return;
+
disp__glBegin (
(GLenum) mode
);
@@ -1933,6 +2096,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glEnd == NULL ) return;
+
disp__glEnd (
);
@@ -1951,6 +2116,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble y)
{
+ if ( disp__glVertex2d == NULL ) return;
+
disp__glVertex2d (
(GLdouble) x,
(GLdouble) y
@@ -1971,6 +2138,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat y)
{
+ if ( disp__glVertex2f == NULL ) return;
+
disp__glVertex2f (
(GLfloat) x,
(GLfloat) y
@@ -1991,6 +2160,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint y)
{
+ if ( disp__glVertex2i == NULL ) return;
+
disp__glVertex2i (
(GLint) x,
(GLint) y
@@ -2011,6 +2182,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort y)
{
+ if ( disp__glVertex2s == NULL ) return;
+
disp__glVertex2s (
(GLshort) x,
(GLshort) y
@@ -2032,6 +2205,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glVertex3d == NULL ) return;
+
disp__glVertex3d (
(GLdouble) x,
(GLdouble) y,
@@ -2054,6 +2229,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glVertex3f == NULL ) return;
+
disp__glVertex3f (
(GLfloat) x,
(GLfloat) y,
@@ -2076,6 +2253,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint z)
{
+ if ( disp__glVertex3i == NULL ) return;
+
disp__glVertex3i (
(GLint) x,
(GLint) y,
@@ -2098,6 +2277,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort z)
{
+ if ( disp__glVertex3s == NULL ) return;
+
disp__glVertex3s (
(GLshort) x,
(GLshort) y,
@@ -2121,6 +2302,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble w)
{
+ if ( disp__glVertex4d == NULL ) return;
+
disp__glVertex4d (
(GLdouble) x,
(GLdouble) y,
@@ -2145,6 +2328,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat w)
{
+ if ( disp__glVertex4f == NULL ) return;
+
disp__glVertex4f (
(GLfloat) x,
(GLfloat) y,
@@ -2169,6 +2354,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint w)
{
+ if ( disp__glVertex4i == NULL ) return;
+
disp__glVertex4i (
(GLint) x,
(GLint) y,
@@ -2193,6 +2380,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort w)
{
+ if ( disp__glVertex4s == NULL ) return;
+
disp__glVertex4s (
(GLshort) x,
(GLshort) y,
@@ -2217,6 +2406,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex2dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2250,6 +2441,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex2fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2283,6 +2476,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex2iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2316,6 +2511,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex2sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2349,6 +2546,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2382,6 +2581,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2415,6 +2616,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2448,6 +2651,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2481,6 +2686,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2514,6 +2721,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2547,6 +2756,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2580,6 +2791,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glVertex4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2612,6 +2825,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte nz)
{
+ if ( disp__glNormal3b == NULL ) return;
+
disp__glNormal3b (
(GLbyte) nx,
(GLbyte) ny,
@@ -2634,6 +2849,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble nz)
{
+ if ( disp__glNormal3d == NULL ) return;
+
disp__glNormal3d (
(GLdouble) nx,
(GLdouble) ny,
@@ -2656,6 +2873,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat nz)
{
+ if ( disp__glNormal3f == NULL ) return;
+
disp__glNormal3f (
(GLfloat) nx,
(GLfloat) ny,
@@ -2678,6 +2897,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint nz)
{
+ if ( disp__glNormal3i == NULL ) return;
+
disp__glNormal3i (
(GLint) nx,
(GLint) ny,
@@ -2700,6 +2921,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort nz)
{
+ if ( disp__glNormal3s == NULL ) return;
+
disp__glNormal3s (
(GLshort) nx,
(GLshort) ny,
@@ -2723,6 +2946,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glNormal3bv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2756,6 +2981,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glNormal3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2789,6 +3016,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glNormal3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2822,6 +3051,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glNormal3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2855,6 +3086,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glNormal3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -2885,6 +3118,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble c)
{
+ if ( disp__glIndexd == NULL ) return;
+
disp__glIndexd (
(GLdouble) c
);
@@ -2903,6 +3138,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat c)
{
+ if ( disp__glIndexf == NULL ) return;
+
disp__glIndexf (
(GLfloat) c
);
@@ -2921,6 +3158,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint c)
{
+ if ( disp__glIndexi == NULL ) return;
+
disp__glIndexi (
(GLint) c
);
@@ -2939,6 +3178,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort c)
{
+ if ( disp__glIndexs == NULL ) return;
+
disp__glIndexs (
(GLshort) c
);
@@ -2957,6 +3198,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte c)
{
+ if ( disp__glIndexub == NULL ) return;
+
disp__glIndexub (
(GLubyte) c
);
@@ -2978,6 +3221,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glIndexdv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3011,6 +3256,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glIndexfv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3044,6 +3291,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glIndexiv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3077,6 +3326,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glIndexsv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3110,6 +3361,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glIndexubv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, c, &isCopiedArray0);
@@ -3142,6 +3395,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte blue)
{
+ if ( disp__glColor3b == NULL ) return;
+
disp__glColor3b (
(GLbyte) red,
(GLbyte) green,
@@ -3164,6 +3419,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble blue)
{
+ if ( disp__glColor3d == NULL ) return;
+
disp__glColor3d (
(GLdouble) red,
(GLdouble) green,
@@ -3186,6 +3443,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat blue)
{
+ if ( disp__glColor3f == NULL ) return;
+
disp__glColor3f (
(GLfloat) red,
(GLfloat) green,
@@ -3208,6 +3467,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint blue)
{
+ if ( disp__glColor3i == NULL ) return;
+
disp__glColor3i (
(GLint) red,
(GLint) green,
@@ -3230,6 +3491,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort blue)
{
+ if ( disp__glColor3s == NULL ) return;
+
disp__glColor3s (
(GLshort) red,
(GLshort) green,
@@ -3252,6 +3515,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte blue)
{
+ if ( disp__glColor3ub == NULL ) return;
+
disp__glColor3ub (
(GLubyte) red,
(GLubyte) green,
@@ -3274,6 +3539,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint blue)
{
+ if ( disp__glColor3ui == NULL ) return;
+
disp__glColor3ui (
(GLuint) red,
(GLuint) green,
@@ -3296,6 +3563,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort blue)
{
+ if ( disp__glColor3us == NULL ) return;
+
disp__glColor3us (
(GLushort) red,
(GLushort) green,
@@ -3319,6 +3588,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte alpha)
{
+ if ( disp__glColor4b == NULL ) return;
+
disp__glColor4b (
(GLbyte) red,
(GLbyte) green,
@@ -3343,6 +3614,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble alpha)
{
+ if ( disp__glColor4d == NULL ) return;
+
disp__glColor4d (
(GLdouble) red,
(GLdouble) green,
@@ -3367,6 +3640,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glColor4f == NULL ) return;
+
disp__glColor4f (
(GLfloat) red,
(GLfloat) green,
@@ -3391,6 +3666,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint alpha)
{
+ if ( disp__glColor4i == NULL ) return;
+
disp__glColor4i (
(GLint) red,
(GLint) green,
@@ -3415,6 +3692,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort alpha)
{
+ if ( disp__glColor4s == NULL ) return;
+
disp__glColor4s (
(GLshort) red,
(GLshort) green,
@@ -3439,6 +3718,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte alpha)
{
+ if ( disp__glColor4ub == NULL ) return;
+
disp__glColor4ub (
(GLubyte) red,
(GLubyte) green,
@@ -3463,6 +3744,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint alpha)
{
+ if ( disp__glColor4ui == NULL ) return;
+
disp__glColor4ui (
(GLuint) red,
(GLuint) green,
@@ -3487,6 +3770,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort alpha)
{
+ if ( disp__glColor4us == NULL ) return;
+
disp__glColor4us (
(GLushort) red,
(GLushort) green,
@@ -3511,6 +3796,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor3bv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3544,6 +3831,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3577,6 +3866,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3610,6 +3901,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3643,6 +3936,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3676,6 +3971,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor3ubv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3709,6 +4006,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor3uiv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3742,6 +4041,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor3usv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3775,6 +4076,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor4bv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3808,6 +4111,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3841,6 +4146,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3874,6 +4181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3907,6 +4216,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3940,6 +4251,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor4ubv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -3973,6 +4286,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor4uiv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4006,6 +4321,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glColor4usv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4036,6 +4353,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble s)
{
+ if ( disp__glTexCoord1d == NULL ) return;
+
disp__glTexCoord1d (
(GLdouble) s
);
@@ -4054,6 +4373,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat s)
{
+ if ( disp__glTexCoord1f == NULL ) return;
+
disp__glTexCoord1f (
(GLfloat) s
);
@@ -4072,6 +4393,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint s)
{
+ if ( disp__glTexCoord1i == NULL ) return;
+
disp__glTexCoord1i (
(GLint) s
);
@@ -4090,6 +4413,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort s)
{
+ if ( disp__glTexCoord1s == NULL ) return;
+
disp__glTexCoord1s (
(GLshort) s
);
@@ -4109,6 +4434,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble t)
{
+ if ( disp__glTexCoord2d == NULL ) return;
+
disp__glTexCoord2d (
(GLdouble) s,
(GLdouble) t
@@ -4129,6 +4456,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat t)
{
+ if ( disp__glTexCoord2f == NULL ) return;
+
disp__glTexCoord2f (
(GLfloat) s,
(GLfloat) t
@@ -4149,6 +4478,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint t)
{
+ if ( disp__glTexCoord2i == NULL ) return;
+
disp__glTexCoord2i (
(GLint) s,
(GLint) t
@@ -4169,6 +4500,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort t)
{
+ if ( disp__glTexCoord2s == NULL ) return;
+
disp__glTexCoord2s (
(GLshort) s,
(GLshort) t
@@ -4190,6 +4523,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble r)
{
+ if ( disp__glTexCoord3d == NULL ) return;
+
disp__glTexCoord3d (
(GLdouble) s,
(GLdouble) t,
@@ -4212,6 +4547,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat r)
{
+ if ( disp__glTexCoord3f == NULL ) return;
+
disp__glTexCoord3f (
(GLfloat) s,
(GLfloat) t,
@@ -4234,6 +4571,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint r)
{
+ if ( disp__glTexCoord3i == NULL ) return;
+
disp__glTexCoord3i (
(GLint) s,
(GLint) t,
@@ -4256,6 +4595,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort r)
{
+ if ( disp__glTexCoord3s == NULL ) return;
+
disp__glTexCoord3s (
(GLshort) s,
(GLshort) t,
@@ -4279,6 +4620,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble q)
{
+ if ( disp__glTexCoord4d == NULL ) return;
+
disp__glTexCoord4d (
(GLdouble) s,
(GLdouble) t,
@@ -4303,6 +4646,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat q)
{
+ if ( disp__glTexCoord4f == NULL ) return;
+
disp__glTexCoord4f (
(GLfloat) s,
(GLfloat) t,
@@ -4327,6 +4672,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint q)
{
+ if ( disp__glTexCoord4i == NULL ) return;
+
disp__glTexCoord4i (
(GLint) s,
(GLint) t,
@@ -4351,6 +4698,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort q)
{
+ if ( disp__glTexCoord4s == NULL ) return;
+
disp__glTexCoord4s (
(GLshort) s,
(GLshort) t,
@@ -4375,6 +4724,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord1dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4408,6 +4759,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord1fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4441,6 +4794,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord1iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4474,6 +4829,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord1sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4507,6 +4864,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord2dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4540,6 +4899,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord2fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4573,6 +4934,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord2iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4606,6 +4969,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord2sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4639,6 +5004,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4672,6 +5039,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4705,6 +5074,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4738,6 +5109,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4771,6 +5144,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4804,6 +5179,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4837,6 +5214,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4870,6 +5249,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glTexCoord4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -4901,6 +5282,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble y)
{
+ if ( disp__glRasterPos2d == NULL ) return;
+
disp__glRasterPos2d (
(GLdouble) x,
(GLdouble) y
@@ -4921,6 +5304,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat y)
{
+ if ( disp__glRasterPos2f == NULL ) return;
+
disp__glRasterPos2f (
(GLfloat) x,
(GLfloat) y
@@ -4941,6 +5326,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint y)
{
+ if ( disp__glRasterPos2i == NULL ) return;
+
disp__glRasterPos2i (
(GLint) x,
(GLint) y
@@ -4961,6 +5348,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort y)
{
+ if ( disp__glRasterPos2s == NULL ) return;
+
disp__glRasterPos2s (
(GLshort) x,
(GLshort) y
@@ -4982,6 +5371,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glRasterPos3d == NULL ) return;
+
disp__glRasterPos3d (
(GLdouble) x,
(GLdouble) y,
@@ -5004,6 +5395,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glRasterPos3f == NULL ) return;
+
disp__glRasterPos3f (
(GLfloat) x,
(GLfloat) y,
@@ -5026,6 +5419,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint z)
{
+ if ( disp__glRasterPos3i == NULL ) return;
+
disp__glRasterPos3i (
(GLint) x,
(GLint) y,
@@ -5048,6 +5443,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort z)
{
+ if ( disp__glRasterPos3s == NULL ) return;
+
disp__glRasterPos3s (
(GLshort) x,
(GLshort) y,
@@ -5071,6 +5468,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble w)
{
+ if ( disp__glRasterPos4d == NULL ) return;
+
disp__glRasterPos4d (
(GLdouble) x,
(GLdouble) y,
@@ -5095,6 +5494,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat w)
{
+ if ( disp__glRasterPos4f == NULL ) return;
+
disp__glRasterPos4f (
(GLfloat) x,
(GLfloat) y,
@@ -5119,6 +5520,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint w)
{
+ if ( disp__glRasterPos4i == NULL ) return;
+
disp__glRasterPos4i (
(GLint) x,
(GLint) y,
@@ -5143,6 +5546,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort w)
{
+ if ( disp__glRasterPos4s == NULL ) return;
+
disp__glRasterPos4s (
(GLshort) x,
(GLshort) y,
@@ -5167,6 +5572,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos2dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5200,6 +5607,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos2fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5233,6 +5642,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos2iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5266,6 +5677,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos2sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5299,6 +5712,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5332,6 +5747,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5365,6 +5782,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5398,6 +5817,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5431,6 +5852,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5464,6 +5887,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5497,6 +5922,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5530,6 +5957,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glRasterPos4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray0);
@@ -5563,6 +5992,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble y2)
{
+ if ( disp__glRectd == NULL ) return;
+
disp__glRectd (
(GLdouble) x1,
(GLdouble) y1,
@@ -5587,6 +6018,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat y2)
{
+ if ( disp__glRectf == NULL ) return;
+
disp__glRectf (
(GLfloat) x1,
(GLfloat) y1,
@@ -5611,6 +6044,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint y2)
{
+ if ( disp__glRecti == NULL ) return;
+
disp__glRecti (
(GLint) x1,
(GLint) y1,
@@ -5635,6 +6070,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort y2)
{
+ if ( disp__glRects == NULL ) return;
+
disp__glRects (
(GLshort) x1,
(GLshort) y1,
@@ -5663,6 +6100,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glRectdv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0);
@@ -5713,6 +6152,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glRectfv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0);
@@ -5763,6 +6204,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glRectiv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0);
@@ -5813,6 +6256,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glRectsv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v1, &isCopiedArray0);
@@ -5862,6 +6307,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -5894,6 +6341,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -5926,6 +6375,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -5958,6 +6409,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -5990,6 +6443,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6022,6 +6477,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6054,6 +6511,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6092,6 +6551,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6122,6 +6583,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6152,6 +6615,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6182,6 +6647,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6212,6 +6679,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6242,6 +6711,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6272,6 +6743,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6310,6 +6783,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6342,6 +6817,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6374,6 +6851,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6406,6 +6885,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6438,6 +6919,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6470,6 +6953,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6502,6 +6987,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6540,6 +7027,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6570,6 +7059,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6600,6 +7091,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6630,6 +7123,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6660,6 +7155,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6690,6 +7187,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6720,6 +7219,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -6758,6 +7259,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6790,6 +7293,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6822,6 +7327,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6854,6 +7361,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6886,6 +7395,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6918,6 +7429,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6950,6 +7463,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -6987,6 +7502,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -7015,6 +7532,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -7043,6 +7562,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -7071,6 +7592,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -7099,6 +7622,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -7127,6 +7652,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -7155,6 +7682,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray1);
@@ -7190,6 +7719,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -7218,6 +7749,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -7246,6 +7779,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -7274,6 +7809,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -7302,6 +7839,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -7330,6 +7869,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -7358,6 +7899,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -7389,6 +7932,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i)
{
+ if ( disp__glArrayElement == NULL ) return;
+
disp__glArrayElement (
(GLint) i
);
@@ -7409,6 +7954,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint count)
{
+ if ( disp__glDrawArrays == NULL ) return;
+
disp__glDrawArrays (
(GLenum) mode,
(GLint) first,
@@ -7435,6 +7982,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -7467,6 +8016,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -7499,6 +8050,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -7531,6 +8084,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -7563,6 +8118,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -7595,6 +8152,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -7627,6 +8186,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray3);
@@ -7665,6 +8226,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -7695,6 +8258,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -7725,6 +8290,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -7755,6 +8322,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -7785,6 +8354,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -7815,6 +8386,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -7845,6 +8418,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pointer, &isCopiedArray2);
@@ -7877,6 +8452,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glShadeModel == NULL ) return;
+
disp__glShadeModel (
(GLenum) mode
);
@@ -7897,6 +8474,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glLightf == NULL ) return;
+
disp__glLightf (
(GLenum) light,
(GLenum) pname,
@@ -7919,6 +8498,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glLighti == NULL ) return;
+
disp__glLighti (
(GLenum) light,
(GLenum) pname,
@@ -7944,6 +8525,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glLightfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -7981,6 +8564,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glLightiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8018,6 +8603,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetLightfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8055,6 +8642,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetLightiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8088,6 +8677,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glLightModelf == NULL ) return;
+
disp__glLightModelf (
(GLenum) pname,
(GLfloat) param
@@ -8108,6 +8699,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glLightModeli == NULL ) return;
+
disp__glLightModeli (
(GLenum) pname,
(GLint) param
@@ -8131,6 +8724,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glLightModelfv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -8166,6 +8761,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glLightModeliv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -8199,6 +8796,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glMaterialf == NULL ) return;
+
disp__glMaterialf (
(GLenum) face,
(GLenum) pname,
@@ -8221,6 +8820,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glMateriali == NULL ) return;
+
disp__glMateriali (
(GLenum) face,
(GLenum) pname,
@@ -8246,6 +8847,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glMaterialfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8283,6 +8886,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glMaterialiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8320,6 +8925,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetMaterialfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8357,6 +8964,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetMaterialiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -8390,6 +8999,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glColorMaterial == NULL ) return;
+
disp__glColorMaterial (
(GLenum) face,
(GLenum) mode
@@ -8410,6 +9021,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat yfactor)
{
+ if ( disp__glPixelZoom == NULL ) return;
+
disp__glPixelZoom (
(GLfloat) xfactor,
(GLfloat) yfactor
@@ -8430,6 +9043,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glPixelStoref == NULL ) return;
+
disp__glPixelStoref (
(GLenum) pname,
(GLfloat) param
@@ -8450,6 +9065,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glPixelStorei == NULL ) return;
+
disp__glPixelStorei (
(GLenum) pname,
(GLint) param
@@ -8470,6 +9087,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glPixelTransferf == NULL ) return;
+
disp__glPixelTransferf (
(GLenum) pname,
(GLfloat) param
@@ -8490,6 +9109,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glPixelTransferi == NULL ) return;
+
disp__glPixelTransferi (
(GLenum) pname,
(GLint) param
@@ -8514,6 +9135,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glPixelMapfv == NULL ) return;
+
if(values!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2);
@@ -8551,6 +9174,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glPixelMapuiv == NULL ) return;
+
if(values!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2);
@@ -8588,6 +9213,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glPixelMapusv == NULL ) return;
+
if(values!=NULL)
{
ptr2 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray2);
@@ -8624,6 +9251,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPixelMapfv == NULL ) return;
+
if(values!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
@@ -8659,6 +9288,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPixelMapuiv == NULL ) return;
+
if(values!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
@@ -8694,6 +9325,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPixelMapusv == NULL ) return;
+
if(values!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray1);
@@ -8734,6 +9367,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glBitmap == NULL ) return;
+
if(bitmap!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, bitmap, &isCopiedArray6);
@@ -8779,6 +9414,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -8817,6 +9454,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -8855,6 +9494,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -8893,6 +9534,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -8931,6 +9574,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -8969,6 +9614,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -9007,6 +9654,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -9050,6 +9699,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9084,6 +9735,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9118,6 +9771,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9152,6 +9807,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9186,6 +9843,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9220,6 +9879,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9254,6 +9915,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -9292,6 +9955,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint type)
{
+ if ( disp__glCopyPixels == NULL ) return;
+
disp__glCopyPixels (
(GLint) x,
(GLint) y,
@@ -9316,6 +9981,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glStencilFunc == NULL ) return;
+
disp__glStencilFunc (
(GLenum) func,
(GLint) ref,
@@ -9336,6 +10003,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glStencilMask == NULL ) return;
+
disp__glStencilMask (
(GLuint) mask
);
@@ -9356,6 +10025,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint zpass)
{
+ if ( disp__glStencilOp == NULL ) return;
+
disp__glStencilOp (
(GLenum) fail,
(GLenum) zfail,
@@ -9376,6 +10047,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint s)
{
+ if ( disp__glClearStencil == NULL ) return;
+
disp__glClearStencil (
(GLint) s
);
@@ -9396,6 +10069,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble param)
{
+ if ( disp__glTexGend == NULL ) return;
+
disp__glTexGend (
(GLenum) coord,
(GLenum) pname,
@@ -9418,6 +10093,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glTexGenf == NULL ) return;
+
disp__glTexGenf (
(GLenum) coord,
(GLenum) pname,
@@ -9440,6 +10117,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glTexGeni == NULL ) return;
+
disp__glTexGeni (
(GLenum) coord,
(GLenum) pname,
@@ -9465,6 +10144,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glTexGendv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9502,6 +10183,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glTexGenfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9539,6 +10222,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glTexGeniv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9576,6 +10261,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetTexGendv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9613,6 +10300,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetTexGenfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9650,6 +10339,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetTexGeniv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9684,6 +10375,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glTexEnvf == NULL ) return;
+
disp__glTexEnvf (
(GLenum) target,
(GLenum) pname,
@@ -9706,6 +10399,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glTexEnvi == NULL ) return;
+
disp__glTexEnvi (
(GLenum) target,
(GLenum) pname,
@@ -9731,6 +10426,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glTexEnvfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9768,6 +10465,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glTexEnviv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9805,6 +10504,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetTexEnvfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9842,6 +10543,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetTexEnviv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9876,6 +10579,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glTexParameterf == NULL ) return;
+
disp__glTexParameterf (
(GLenum) target,
(GLenum) pname,
@@ -9898,6 +10603,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glTexParameteri == NULL ) return;
+
disp__glTexParameteri (
(GLenum) target,
(GLenum) pname,
@@ -9923,6 +10630,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glTexParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9960,6 +10669,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glTexParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -9997,6 +10708,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetTexParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -10034,6 +10747,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetTexParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -10072,6 +10787,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetTexLevelParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
@@ -10111,6 +10828,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetTexLevelParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray3);
@@ -10154,6 +10873,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -10194,6 +10915,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -10234,6 +10957,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -10274,6 +10999,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -10314,6 +11041,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -10354,6 +11083,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -10394,6 +11125,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray7);
@@ -10442,6 +11175,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -10484,6 +11219,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -10526,6 +11263,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -10568,6 +11307,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -10610,6 +11351,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -10652,6 +11395,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -10694,6 +11439,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -10739,6 +11486,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -10773,6 +11522,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -10807,6 +11558,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -10841,6 +11594,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -10875,6 +11630,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -10909,6 +11666,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -10943,6 +11702,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray4);
@@ -10981,6 +11742,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGenTextures == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -11016,6 +11779,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glDeleteTextures == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -11048,6 +11813,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glBindTexture == NULL ) return;
+
disp__glBindTexture (
(GLenum) target,
(GLuint) texture
@@ -11075,6 +11842,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glPrioritizeTextures == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -11129,6 +11898,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glAreTexturesResident == NULL ) return 0;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -11176,6 +11947,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsTexture == NULL ) return 0;
+
ret = (jboolean) disp__glIsTexture (
(GLuint) texture
);
@@ -11204,6 +11977,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11242,6 +12017,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11280,6 +12057,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11318,6 +12097,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11356,6 +12137,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11394,6 +12177,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11432,6 +12217,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray6);
@@ -11479,6 +12266,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -11521,6 +12310,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -11563,6 +12354,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -11605,6 +12398,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -11647,6 +12442,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -11689,6 +12486,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -11731,6 +12530,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr8 = NULL;
static int isWarned8 = 0;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray8);
@@ -11775,6 +12576,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint border)
{
+ if ( disp__glCopyTexImage1D == NULL ) return;
+
disp__glCopyTexImage1D (
(GLenum) target,
(GLint) level,
@@ -11806,6 +12609,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint border)
{
+ if ( disp__glCopyTexImage2D == NULL ) return;
+
disp__glCopyTexImage2D (
(GLenum) target,
(GLint) level,
@@ -11836,6 +12641,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyTexSubImage1D == NULL ) return;
+
disp__glCopyTexSubImage1D (
(GLenum) target,
(GLint) level,
@@ -11866,6 +12673,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyTexSubImage2D == NULL ) return;
+
disp__glCopyTexSubImage2D (
(GLenum) target,
(GLint) level,
@@ -11899,6 +12708,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glMap1d == NULL ) return;
+
if(points!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray5);
@@ -11942,6 +12753,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glMap1f == NULL ) return;
+
if(points!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray5);
@@ -11989,6 +12802,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glMap2d == NULL ) return;
+
if(points!=NULL)
{
ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray9);
@@ -12040,6 +12855,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glMap2f == NULL ) return;
+
if(points!=NULL)
{
ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, points, &isCopiedArray9);
@@ -12084,6 +12901,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetMapdv == NULL ) return;
+
if(v!=NULL)
{
ptr2 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
@@ -12121,6 +12940,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetMapfv == NULL ) return;
+
if(v!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
@@ -12158,6 +12979,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetMapiv == NULL ) return;
+
if(v!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray2);
@@ -12190,6 +13013,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble u)
{
+ if ( disp__glEvalCoord1d == NULL ) return;
+
disp__glEvalCoord1d (
(GLdouble) u
);
@@ -12208,6 +13033,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat u)
{
+ if ( disp__glEvalCoord1f == NULL ) return;
+
disp__glEvalCoord1f (
(GLfloat) u
);
@@ -12229,6 +13056,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glEvalCoord1dv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0);
@@ -12262,6 +13091,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glEvalCoord1fv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0);
@@ -12293,6 +13124,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble v)
{
+ if ( disp__glEvalCoord2d == NULL ) return;
+
disp__glEvalCoord2d (
(GLdouble) u,
(GLdouble) v
@@ -12313,6 +13146,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat v)
{
+ if ( disp__glEvalCoord2f == NULL ) return;
+
disp__glEvalCoord2f (
(GLfloat) u,
(GLfloat) v
@@ -12335,6 +13170,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glEvalCoord2dv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0);
@@ -12368,6 +13205,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
static int isWarned0 = 0;
+ if ( disp__glEvalCoord2fv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, u, &isCopiedArray0);
@@ -12400,6 +13239,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble u2)
{
+ if ( disp__glMapGrid1d == NULL ) return;
+
disp__glMapGrid1d (
(GLint) un,
(GLdouble) u1,
@@ -12422,6 +13263,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat u2)
{
+ if ( disp__glMapGrid1f == NULL ) return;
+
disp__glMapGrid1f (
(GLint) un,
(GLfloat) u1,
@@ -12447,6 +13290,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble v2)
{
+ if ( disp__glMapGrid2d == NULL ) return;
+
disp__glMapGrid2d (
(GLint) un,
(GLdouble) u1,
@@ -12475,6 +13320,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat v2)
{
+ if ( disp__glMapGrid2f == NULL ) return;
+
disp__glMapGrid2f (
(GLint) un,
(GLfloat) u1,
@@ -12498,6 +13345,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i)
{
+ if ( disp__glEvalPoint1 == NULL ) return;
+
disp__glEvalPoint1 (
(GLint) i
);
@@ -12517,6 +13366,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint j)
{
+ if ( disp__glEvalPoint2 == NULL ) return;
+
disp__glEvalPoint2 (
(GLint) i,
(GLint) j
@@ -12538,6 +13389,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i2)
{
+ if ( disp__glEvalMesh1 == NULL ) return;
+
disp__glEvalMesh1 (
(GLenum) mode,
(GLint) i1,
@@ -12562,6 +13415,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint j2)
{
+ if ( disp__glEvalMesh2 == NULL ) return;
+
disp__glEvalMesh2 (
(GLenum) mode,
(GLint) i1,
@@ -12585,6 +13440,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glFogf == NULL ) return;
+
disp__glFogf (
(GLenum) pname,
(GLfloat) param
@@ -12605,6 +13462,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glFogi == NULL ) return;
+
disp__glFogi (
(GLenum) pname,
(GLint) param
@@ -12628,6 +13487,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glFogfv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -12663,6 +13524,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glFogiv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -12699,6 +13562,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glFeedbackBuffer == NULL ) return;
+
if(buffer!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray2);
@@ -12731,6 +13596,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat token)
{
+ if ( disp__glPassThrough == NULL ) return;
+
disp__glPassThrough (
(GLfloat) token
);
@@ -12753,6 +13620,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glSelectBuffer == NULL ) return;
+
if(buffer!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, buffer, &isCopiedArray1);
@@ -12783,6 +13652,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glInitNames == NULL ) return;
+
disp__glInitNames (
);
@@ -12800,6 +13671,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint name)
{
+ if ( disp__glLoadName == NULL ) return;
+
disp__glLoadName (
(GLuint) name
);
@@ -12818,6 +13691,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint name)
{
+ if ( disp__glPushName == NULL ) return;
+
disp__glPushName (
(GLuint) name
);
@@ -12835,6 +13710,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopName == NULL ) return;
+
disp__glPopName (
);
@@ -12860,6 +13737,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -12896,6 +13775,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -12932,6 +13813,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -12968,6 +13851,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -13004,6 +13889,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -13040,6 +13927,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -13076,6 +13965,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, indices, &isCopiedArray5);
@@ -13123,6 +14014,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -13167,6 +14060,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -13211,6 +14106,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -13255,6 +14152,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -13299,6 +14198,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -13343,6 +14244,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -13387,6 +14290,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -13439,6 +14344,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -13485,6 +14392,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -13531,6 +14440,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -13577,6 +14488,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -13623,6 +14536,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -13669,6 +14584,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -13715,6 +14632,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -13763,6 +14682,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyTexSubImage3D == NULL ) return;
+
disp__glCopyTexSubImage3D (
(GLenum) target,
(GLint) level,
@@ -13797,6 +14718,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -13833,6 +14756,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -13869,6 +14794,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -13905,6 +14832,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -13941,6 +14870,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -13977,6 +14908,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -14013,6 +14946,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -14056,6 +14991,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -14092,6 +15029,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -14128,6 +15067,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -14164,6 +15105,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -14200,6 +15143,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -14236,6 +15181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -14272,6 +15219,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -14312,6 +15261,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glColorTableParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -14349,6 +15300,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glColorTableParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -14385,6 +15338,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyColorSubTable == NULL ) return;
+
disp__glCopyColorSubTable (
(GLenum) target,
(GLsizei) start,
@@ -14411,6 +15366,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyColorTable == NULL ) return;
+
disp__glCopyColorTable (
(GLenum) target,
(GLenum) internalformat,
@@ -14439,6 +15396,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -14471,6 +15430,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -14503,6 +15464,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -14535,6 +15498,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -14567,6 +15532,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -14599,6 +15566,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -14631,6 +15600,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -14669,6 +15640,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetColorTableParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -14706,6 +15679,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetColorTableParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -14738,6 +15713,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glBlendEquation == NULL ) return;
+
disp__glBlendEquation (
(GLenum) mode
);
@@ -14759,6 +15736,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glBlendColor == NULL ) return;
+
disp__glBlendColor (
(GLclampf) red,
(GLclampf) green,
@@ -14783,6 +15762,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean sink)
{
+ if ( disp__glHistogram == NULL ) return;
+
disp__glHistogram (
(GLenum) target,
(GLsizei) width,
@@ -14804,6 +15785,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint target)
{
+ if ( disp__glResetHistogram == NULL ) return;
+
disp__glResetHistogram (
(GLenum) target
);
@@ -14829,6 +15812,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -14863,6 +15848,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -14897,6 +15884,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -14931,6 +15920,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -14965,6 +15956,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -14999,6 +15992,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -15033,6 +16028,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -15072,6 +16069,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetHistogramParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -15109,6 +16108,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetHistogramParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -15143,6 +16144,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean sink)
{
+ if ( disp__glMinmax == NULL ) return;
+
disp__glMinmax (
(GLenum) target,
(GLenum) internalformat,
@@ -15163,6 +16166,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint target)
{
+ if ( disp__glResetMinmax == NULL ) return;
+
disp__glResetMinmax (
(GLenum) target
);
@@ -15188,6 +16193,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -15222,6 +16229,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -15256,6 +16265,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -15290,6 +16301,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -15324,6 +16337,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -15358,6 +16373,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -15392,6 +16409,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, values, &isCopiedArray4);
@@ -15431,6 +16450,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetMinmaxParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -15468,6 +16489,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetMinmaxParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -15508,6 +16531,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -15544,6 +16569,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -15580,6 +16607,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -15616,6 +16645,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -15652,6 +16683,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -15688,6 +16721,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -15724,6 +16759,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray5);
@@ -15768,6 +16805,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -15806,6 +16845,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -15844,6 +16885,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -15882,6 +16925,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -15920,6 +16965,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -15958,6 +17005,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -15996,6 +17045,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr6 = NULL;
static int isWarned6 = 0;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray6);
@@ -16034,6 +17085,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat params)
{
+ if ( disp__glConvolutionParameterf == NULL ) return;
+
disp__glConvolutionParameterf (
(GLenum) target,
(GLenum) pname,
@@ -16059,6 +17112,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glConvolutionParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -16093,6 +17148,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint params)
{
+ if ( disp__glConvolutionParameteri == NULL ) return;
+
disp__glConvolutionParameteri (
(GLenum) target,
(GLenum) pname,
@@ -16118,6 +17175,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glConvolutionParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -16154,6 +17213,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyConvolutionFilter1D == NULL ) return;
+
disp__glCopyConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
@@ -16181,6 +17242,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyConvolutionFilter2D == NULL ) return;
+
disp__glCopyConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
@@ -16210,6 +17273,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -16242,6 +17307,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -16274,6 +17341,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -16306,6 +17375,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -16338,6 +17409,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -16370,6 +17443,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -16402,6 +17477,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, image, &isCopiedArray3);
@@ -16440,6 +17517,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetConvolutionParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -16477,6 +17556,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetConvolutionParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -16522,6 +17603,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -16577,6 +17660,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -16632,6 +17717,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -16687,6 +17774,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -16742,6 +17831,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -16797,6 +17888,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -16852,6 +17945,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr7 = NULL;
static int isWarned7 = 0;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray6);
@@ -16915,6 +18010,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -16981,6 +18078,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -17047,6 +18146,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -17113,6 +18214,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -17179,6 +18282,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -17245,6 +18350,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -17311,6 +18418,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, row, &isCopiedArray3);
@@ -17373,6 +18482,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glBlendColorEXT == NULL ) return;
+
disp__glBlendColorEXT (
(GLclampf) red,
(GLclampf) green,
@@ -17395,6 +18506,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat bias)
{
+ if ( disp__glPolygonOffsetEXT == NULL ) return;
+
disp__glPolygonOffsetEXT (
(GLfloat) factor,
(GLfloat) bias
@@ -17426,6 +18539,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -17470,6 +18585,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -17514,6 +18631,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -17558,6 +18677,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -17602,6 +18723,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -17646,6 +18769,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -17690,6 +18815,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr9 = NULL;
static int isWarned9 = 0;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray9);
@@ -17742,6 +18869,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -17788,6 +18917,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -17834,6 +18965,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jint *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -17880,6 +19013,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -17926,6 +19061,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -17972,6 +19109,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -18018,6 +19157,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr10 = NULL;
static int isWarned10 = 0;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, pixels, &isCopiedArray10);
@@ -18066,6 +19207,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyTexSubImage3DEXT == NULL ) return;
+
disp__glCopyTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
@@ -18096,6 +19239,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGenTexturesEXT == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -18131,6 +19276,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glDeleteTexturesEXT == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -18163,6 +19310,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glBindTextureEXT == NULL ) return;
+
disp__glBindTextureEXT (
(GLenum) target,
(GLuint) texture
@@ -18190,6 +19339,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glPrioritizeTexturesEXT == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -18244,6 +19395,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glAreTexturesResidentEXT == NULL ) return 0;
+
if(textures!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, textures, &isCopiedArray1);
@@ -18291,6 +19444,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsTextureEXT == NULL ) return 0;
+
ret = (jboolean) disp__glIsTextureEXT (
(GLuint) texture
);
@@ -18317,6 +19472,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18351,6 +19508,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18385,6 +19544,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18419,6 +19580,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18453,6 +19616,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18487,6 +19652,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18521,6 +19688,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18561,6 +19730,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -18593,6 +19764,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -18625,6 +19798,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -18657,6 +19832,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -18689,6 +19866,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -18721,6 +19900,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -18753,6 +19934,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -18793,6 +19976,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18827,6 +20012,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18861,6 +20048,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18895,6 +20084,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18929,6 +20120,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18963,6 +20156,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -18997,6 +20192,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -19037,6 +20234,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -19069,6 +20268,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -19101,6 +20302,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -19133,6 +20336,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -19165,6 +20370,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -19197,6 +20404,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -19229,6 +20438,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray3);
@@ -19269,6 +20480,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -19303,6 +20516,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -19337,6 +20552,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jint *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -19371,6 +20588,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -19405,6 +20624,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -19439,6 +20660,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -19473,6 +20696,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr4 = NULL;
static int isWarned4 = 0;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray4);
@@ -19512,6 +20737,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glEdgeFlagPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, ptr, &isCopiedArray2);
@@ -19548,6 +20775,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -19576,6 +20805,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -19604,6 +20835,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -19632,6 +20865,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -19660,6 +20895,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -19688,6 +20925,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -19716,6 +20955,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -19747,6 +20988,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i)
{
+ if ( disp__glArrayElementEXT == NULL ) return;
+
disp__glArrayElementEXT (
(GLint) i
);
@@ -19767,6 +21010,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint count)
{
+ if ( disp__glDrawArraysEXT == NULL ) return;
+
disp__glDrawArraysEXT (
(GLenum) mode,
(GLint) first,
@@ -19787,6 +21032,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glBlendEquationEXT == NULL ) return;
+
disp__glBlendEquationEXT (
(GLenum) mode
);
@@ -19806,6 +21053,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glPointParameterfEXT == NULL ) return;
+
disp__glPointParameterfEXT (
(GLenum) pname,
(GLfloat) param
@@ -19829,6 +21078,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glPointParameterfvEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray1);
@@ -19868,6 +21119,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -19904,6 +21157,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -19940,6 +21195,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -19976,6 +21233,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -20012,6 +21271,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -20048,6 +21309,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -20084,6 +21347,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray5);
@@ -20127,6 +21392,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -20163,6 +21430,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -20199,6 +21468,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jint *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -20235,6 +21506,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -20271,6 +21544,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -20307,6 +21582,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -20343,6 +21620,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr5 = NULL;
static int isWarned5 = 0;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, data, &isCopiedArray5);
@@ -20384,6 +21663,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jbyte *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -20416,6 +21697,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -20448,6 +21731,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jint *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -20480,6 +21765,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -20512,6 +21799,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -20544,6 +21833,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jboolean *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -20576,6 +21867,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr3 = NULL;
static int isWarned3 = 0;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (jlong *) (*env)->GetPrimitiveArrayCritical(env, table, &isCopiedArray3);
@@ -20614,6 +21907,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetColorTableParameterfvEXT == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -20651,6 +21946,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr2 = NULL;
static int isWarned2 = 0;
+ if ( disp__glGetColorTableParameterivEXT == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (jint *) (*env)->GetPrimitiveArrayCritical(env, params, &isCopiedArray2);
@@ -20684,6 +21981,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint count)
{
+ if ( disp__glLockArraysEXT == NULL ) return;
+
disp__glLockArraysEXT (
(GLint) first,
(GLsizei) count
@@ -20702,6 +22001,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glUnlockArraysEXT == NULL ) return;
+
disp__glUnlockArraysEXT (
);
@@ -20719,6 +22020,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glActiveTextureARB == NULL ) return;
+
disp__glActiveTextureARB (
(GLenum) texture
);
@@ -20737,6 +22040,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glClientActiveTextureARB == NULL ) return;
+
disp__glClientActiveTextureARB (
(GLenum) texture
);
@@ -20756,6 +22061,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble s)
{
+ if ( disp__glMultiTexCoord1dARB == NULL ) return;
+
disp__glMultiTexCoord1dARB (
(GLenum) target,
(GLdouble) s
@@ -20779,6 +22086,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord1dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -20811,6 +22120,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat s)
{
+ if ( disp__glMultiTexCoord1fARB == NULL ) return;
+
disp__glMultiTexCoord1fARB (
(GLenum) target,
(GLfloat) s
@@ -20834,6 +22145,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord1fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -20866,6 +22179,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint s)
{
+ if ( disp__glMultiTexCoord1iARB == NULL ) return;
+
disp__glMultiTexCoord1iARB (
(GLenum) target,
(GLint) s
@@ -20889,6 +22204,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord1ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -20921,6 +22238,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort s)
{
+ if ( disp__glMultiTexCoord1sARB == NULL ) return;
+
disp__glMultiTexCoord1sARB (
(GLenum) target,
(GLshort) s
@@ -20944,6 +22263,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord1svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -20977,6 +22298,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble t)
{
+ if ( disp__glMultiTexCoord2dARB == NULL ) return;
+
disp__glMultiTexCoord2dARB (
(GLenum) target,
(GLdouble) s,
@@ -21001,6 +22324,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord2dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21034,6 +22359,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat t)
{
+ if ( disp__glMultiTexCoord2fARB == NULL ) return;
+
disp__glMultiTexCoord2fARB (
(GLenum) target,
(GLfloat) s,
@@ -21058,6 +22385,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord2fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21091,6 +22420,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint t)
{
+ if ( disp__glMultiTexCoord2iARB == NULL ) return;
+
disp__glMultiTexCoord2iARB (
(GLenum) target,
(GLint) s,
@@ -21115,6 +22446,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord2ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21148,6 +22481,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort t)
{
+ if ( disp__glMultiTexCoord2sARB == NULL ) return;
+
disp__glMultiTexCoord2sARB (
(GLenum) target,
(GLshort) s,
@@ -21172,6 +22507,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord2svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21206,6 +22543,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble r)
{
+ if ( disp__glMultiTexCoord3dARB == NULL ) return;
+
disp__glMultiTexCoord3dARB (
(GLenum) target,
(GLdouble) s,
@@ -21231,6 +22570,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord3dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21265,6 +22606,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat r)
{
+ if ( disp__glMultiTexCoord3fARB == NULL ) return;
+
disp__glMultiTexCoord3fARB (
(GLenum) target,
(GLfloat) s,
@@ -21290,6 +22633,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord3fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21324,6 +22669,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint r)
{
+ if ( disp__glMultiTexCoord3iARB == NULL ) return;
+
disp__glMultiTexCoord3iARB (
(GLenum) target,
(GLint) s,
@@ -21349,6 +22696,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord3ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21383,6 +22732,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort r)
{
+ if ( disp__glMultiTexCoord3sARB == NULL ) return;
+
disp__glMultiTexCoord3sARB (
(GLenum) target,
(GLshort) s,
@@ -21408,6 +22759,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord3svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21443,6 +22796,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble q)
{
+ if ( disp__glMultiTexCoord4dARB == NULL ) return;
+
disp__glMultiTexCoord4dARB (
(GLenum) target,
(GLdouble) s,
@@ -21469,6 +22824,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord4dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jdouble *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21504,6 +22861,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat q)
{
+ if ( disp__glMultiTexCoord4fARB == NULL ) return;
+
disp__glMultiTexCoord4fARB (
(GLenum) target,
(GLfloat) s,
@@ -21530,6 +22889,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord4fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jfloat *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21565,6 +22926,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint q)
{
+ if ( disp__glMultiTexCoord4iARB == NULL ) return;
+
disp__glMultiTexCoord4iARB (
(GLenum) target,
(GLint) s,
@@ -21591,6 +22954,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord4ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jint *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21626,6 +22991,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort q)
{
+ if ( disp__glMultiTexCoord4sARB == NULL ) return;
+
disp__glMultiTexCoord4sARB (
(GLenum) target,
(GLshort) s,
@@ -21652,6 +23019,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr1 = NULL;
static int isWarned1 = 0;
+ if ( disp__glMultiTexCoord4svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (jshort *) (*env)->GetPrimitiveArrayCritical(env, v, &isCopiedArray1);
@@ -21671,4 +23040,4 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
}
}
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/OpenGL_JauJNI_funcs.c b/CNativeCode/OpenGL_JauJNI_funcs.c
index a1552b3..f91f9d9 100755
--- a/CNativeCode/OpenGL_JauJNI_funcs.c
+++ b/CNativeCode/OpenGL_JauJNI_funcs.c
@@ -60,6 +60,9 @@ Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj,
{
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;
@@ -68,7 +71,7 @@ Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj,
}
static const char * _gl_lib_vendor_="Jausoft - Sven Goethel Software Development";
-static const char * _gl_lib_version_="2.7.0.0";
+static const char * _gl_lib_version_="2.7.1.0";
JNIEXPORT jstring JNICALL
Java_gl4java_GLFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj )
@@ -83,7 +86,7 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
}
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLFuncJauJNI !
@@ -101,6 +104,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat c)
{
+ if ( disp__glClearIndex == NULL ) return;
+
disp__glClearIndex (
(GLfloat) c
);
@@ -122,6 +127,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glClearColor == NULL ) return;
+
disp__glClearColor (
(GLclampf) red,
(GLclampf) green,
@@ -143,6 +150,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glClear == NULL ) return;
+
disp__glClear (
(GLbitfield) mask
);
@@ -161,6 +170,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glIndexMask == NULL ) return;
+
disp__glIndexMask (
(GLuint) mask
);
@@ -182,6 +193,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean alpha)
{
+ if ( disp__glColorMask == NULL ) return;
+
disp__glColorMask (
(GLboolean) red,
(GLboolean) green,
@@ -204,6 +217,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat ref)
{
+ if ( disp__glAlphaFunc == NULL ) return;
+
disp__glAlphaFunc (
(GLenum) func,
(GLclampf) ref
@@ -224,6 +239,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint dfactor)
{
+ if ( disp__glBlendFunc == NULL ) return;
+
disp__glBlendFunc (
(GLenum) sfactor,
(GLenum) dfactor
@@ -243,6 +260,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint opcode)
{
+ if ( disp__glLogicOp == NULL ) return;
+
disp__glLogicOp (
(GLenum) opcode
);
@@ -261,6 +280,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glCullFace == NULL ) return;
+
disp__glCullFace (
(GLenum) mode
);
@@ -279,6 +300,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glFrontFace == NULL ) return;
+
disp__glFrontFace (
(GLenum) mode
);
@@ -297,6 +320,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat size)
{
+ if ( disp__glPointSize == NULL ) return;
+
disp__glPointSize (
(GLfloat) size
);
@@ -315,6 +340,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat width)
{
+ if ( disp__glLineWidth == NULL ) return;
+
disp__glLineWidth (
(GLfloat) width
);
@@ -334,6 +361,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort pattern)
{
+ if ( disp__glLineStipple == NULL ) return;
+
disp__glLineStipple (
(GLint) factor,
(GLushort) pattern
@@ -354,6 +383,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glPolygonMode == NULL ) return;
+
disp__glPolygonMode (
(GLenum) face,
(GLenum) mode
@@ -374,6 +405,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat units)
{
+ if ( disp__glPolygonOffset == NULL ) return;
+
disp__glPolygonOffset (
(GLfloat) factor,
(GLfloat) units
@@ -394,6 +427,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glPolygonStipple == NULL ) return;
+
if(mask!=NULL)
{
ptr0 = (*env)->GetByteArrayElements(env, mask, 0);
@@ -422,6 +457,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray0 = JNI_FALSE;
jbyte *ptr0 = NULL;
+ if ( disp__glGetPolygonStipple == NULL ) return;
+
if(mask!=NULL)
{
ptr0 = (*env)->GetByteArrayElements(env, mask, &isCopiedArray0);
@@ -448,6 +485,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean flag)
{
+ if ( disp__glEdgeFlag == NULL ) return;
+
disp__glEdgeFlag (
(GLboolean) flag
);
@@ -467,6 +506,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr0 = NULL;
+ if ( disp__glEdgeFlagv == NULL ) return;
+
if(flag!=NULL)
{
ptr0 = (*env)->GetBooleanArrayElements(env, flag, 0);
@@ -496,6 +537,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glScissor == NULL ) return;
+
disp__glScissor (
(GLint) x,
(GLint) y,
@@ -519,6 +562,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glClipPlane == NULL ) return;
+
if(equation!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, equation, 0);
@@ -549,6 +594,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__glGetClipPlane == NULL ) return;
+
if(equation!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, equation, &isCopiedArray1);
@@ -576,6 +623,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glDrawBuffer == NULL ) return;
+
disp__glDrawBuffer (
(GLenum) mode
);
@@ -594,6 +643,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glReadBuffer == NULL ) return;
+
disp__glReadBuffer (
(GLenum) mode
);
@@ -612,6 +663,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glEnable == NULL ) return;
+
disp__glEnable (
(GLenum) cap
);
@@ -630,6 +683,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glDisable == NULL ) return;
+
disp__glDisable (
(GLenum) cap
);
@@ -650,6 +705,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsEnabled == NULL ) return 0;
+
ret = (jboolean) disp__glIsEnabled (
(GLenum) cap
);
@@ -669,6 +726,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glEnableClientState == NULL ) return;
+
disp__glEnableClientState (
(GLenum) cap
);
@@ -687,6 +746,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint cap)
{
+ if ( disp__glDisableClientState == NULL ) return;
+
disp__glDisableClientState (
(GLenum) cap
);
@@ -708,6 +769,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
+ if ( disp__glGetBooleanv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1);
@@ -738,6 +801,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__glGetDoublev == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1);
@@ -768,6 +833,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__glGetFloatv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1);
@@ -798,6 +865,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGetIntegerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1);
@@ -825,6 +894,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glPushAttrib == NULL ) return;
+
disp__glPushAttrib (
(GLbitfield) mask
);
@@ -842,6 +913,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopAttrib == NULL ) return;
+
disp__glPopAttrib (
);
@@ -859,6 +932,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glPushClientAttrib == NULL ) return;
+
disp__glPushClientAttrib (
(GLbitfield) mask
);
@@ -876,6 +951,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopClientAttrib == NULL ) return;
+
disp__glPopClientAttrib (
);
@@ -895,6 +972,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint ret;
+ if ( disp__glRenderMode == NULL ) return 0;
+
ret = (jint) disp__glRenderMode (
(GLenum) mode
);
@@ -915,6 +994,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint ret;
+ if ( disp__glGetError == NULL ) return 0;
+
ret = (jint) disp__glGetError (
);
@@ -932,6 +1013,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glFinish == NULL ) return;
+
disp__glFinish (
);
@@ -948,6 +1031,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glFlush == NULL ) return;
+
disp__glFlush (
);
@@ -966,6 +1051,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glHint == NULL ) return;
+
disp__glHint (
(GLenum) target,
(GLenum) mode
@@ -985,6 +1072,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble depth)
{
+ if ( disp__glClearDepth == NULL ) return;
+
disp__glClearDepth (
(GLclampd) depth
);
@@ -1003,6 +1092,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint func)
{
+ if ( disp__glDepthFunc == NULL ) return;
+
disp__glDepthFunc (
(GLenum) func
);
@@ -1021,6 +1112,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean flag)
{
+ if ( disp__glDepthMask == NULL ) return;
+
disp__glDepthMask (
(GLboolean) flag
);
@@ -1040,6 +1133,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble far_val)
{
+ if ( disp__glDepthRange == NULL ) return;
+
disp__glDepthRange (
(GLclampd) near_val,
(GLclampd) far_val
@@ -1062,6 +1157,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glClearAccum == NULL ) return;
+
disp__glClearAccum (
(GLfloat) red,
(GLfloat) green,
@@ -1084,6 +1181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat value)
{
+ if ( disp__glAccum == NULL ) return;
+
disp__glAccum (
(GLenum) op,
(GLfloat) value
@@ -1103,6 +1202,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glMatrixMode == NULL ) return;
+
disp__glMatrixMode (
(GLenum) mode
);
@@ -1126,6 +1227,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble far_val)
{
+ if ( disp__glOrtho == NULL ) return;
+
disp__glOrtho (
(GLdouble) left,
(GLdouble) right,
@@ -1154,6 +1257,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble far_val)
{
+ if ( disp__glFrustum == NULL ) return;
+
disp__glFrustum (
(GLdouble) left,
(GLdouble) right,
@@ -1180,6 +1285,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glViewport == NULL ) return;
+
disp__glViewport (
(GLint) x,
(GLint) y,
@@ -1200,6 +1307,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPushMatrix == NULL ) return;
+
disp__glPushMatrix (
);
@@ -1216,6 +1325,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopMatrix == NULL ) return;
+
disp__glPopMatrix (
);
@@ -1232,6 +1343,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glLoadIdentity == NULL ) return;
+
disp__glLoadIdentity (
);
@@ -1250,6 +1363,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glLoadMatrixd == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, m, 0);
@@ -1277,6 +1392,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glLoadMatrixf == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, m, 0);
@@ -1304,6 +1421,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glMultMatrixd == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, m, 0);
@@ -1331,6 +1450,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glMultMatrixf == NULL ) return;
+
if(m!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, m, 0);
@@ -1360,6 +1481,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glRotated == NULL ) return;
+
disp__glRotated (
(GLdouble) angle,
(GLdouble) x,
@@ -1384,6 +1507,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glRotatef == NULL ) return;
+
disp__glRotatef (
(GLfloat) angle,
(GLfloat) x,
@@ -1407,6 +1532,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glScaled == NULL ) return;
+
disp__glScaled (
(GLdouble) x,
(GLdouble) y,
@@ -1429,6 +1556,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glScalef == NULL ) return;
+
disp__glScalef (
(GLfloat) x,
(GLfloat) y,
@@ -1451,6 +1580,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glTranslated == NULL ) return;
+
disp__glTranslated (
(GLdouble) x,
(GLdouble) y,
@@ -1473,6 +1604,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glTranslatef == NULL ) return;
+
disp__glTranslatef (
(GLfloat) x,
(GLfloat) y,
@@ -1495,6 +1628,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsList == NULL ) return 0;
+
ret = (jboolean) disp__glIsList (
(GLuint) list
);
@@ -1515,6 +1650,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint range)
{
+ if ( disp__glDeleteLists == NULL ) return;
+
disp__glDeleteLists (
(GLuint) list,
(GLsizei) range
@@ -1536,6 +1673,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint ret;
+ if ( disp__glGenLists == NULL ) return 0;
+
ret = (jint) disp__glGenLists (
(GLsizei) range
);
@@ -1556,6 +1695,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glNewList == NULL ) return;
+
disp__glNewList (
(GLuint) list,
(GLenum) mode
@@ -1574,6 +1715,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glEndList == NULL ) return;
+
disp__glEndList (
);
@@ -1591,6 +1734,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint list)
{
+ if ( disp__glCallList == NULL ) return;
+
disp__glCallList (
(GLuint) list
);
@@ -1612,6 +1757,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (*env)->GetByteArrayElements(env, lists, 0);
@@ -1636,6 +1783,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (*env)->GetShortArrayElements(env, lists, 0);
@@ -1660,6 +1809,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, lists, 0);
@@ -1684,6 +1835,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, lists, 0);
@@ -1708,6 +1861,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (*env)->GetDoubleArrayElements(env, lists, 0);
@@ -1732,6 +1887,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (*env)->GetBooleanArrayElements(env, lists, 0);
@@ -1756,6 +1913,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr2 = NULL;
+ if ( disp__glCallLists == NULL ) return;
+
if(lists!=NULL)
{
ptr2 = (*env)->GetLongArrayElements(env, lists, 0);
@@ -1784,6 +1943,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint base)
{
+ if ( disp__glListBase == NULL ) return;
+
disp__glListBase (
(GLuint) base
);
@@ -1802,6 +1963,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glBegin == NULL ) return;
+
disp__glBegin (
(GLenum) mode
);
@@ -1819,6 +1982,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glEnd == NULL ) return;
+
disp__glEnd (
);
@@ -1837,6 +2002,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble y)
{
+ if ( disp__glVertex2d == NULL ) return;
+
disp__glVertex2d (
(GLdouble) x,
(GLdouble) y
@@ -1857,6 +2024,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat y)
{
+ if ( disp__glVertex2f == NULL ) return;
+
disp__glVertex2f (
(GLfloat) x,
(GLfloat) y
@@ -1877,6 +2046,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint y)
{
+ if ( disp__glVertex2i == NULL ) return;
+
disp__glVertex2i (
(GLint) x,
(GLint) y
@@ -1897,6 +2068,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort y)
{
+ if ( disp__glVertex2s == NULL ) return;
+
disp__glVertex2s (
(GLshort) x,
(GLshort) y
@@ -1918,6 +2091,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glVertex3d == NULL ) return;
+
disp__glVertex3d (
(GLdouble) x,
(GLdouble) y,
@@ -1940,6 +2115,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glVertex3f == NULL ) return;
+
disp__glVertex3f (
(GLfloat) x,
(GLfloat) y,
@@ -1962,6 +2139,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint z)
{
+ if ( disp__glVertex3i == NULL ) return;
+
disp__glVertex3i (
(GLint) x,
(GLint) y,
@@ -1984,6 +2163,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort z)
{
+ if ( disp__glVertex3s == NULL ) return;
+
disp__glVertex3s (
(GLshort) x,
(GLshort) y,
@@ -2007,6 +2188,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble w)
{
+ if ( disp__glVertex4d == NULL ) return;
+
disp__glVertex4d (
(GLdouble) x,
(GLdouble) y,
@@ -2031,6 +2214,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat w)
{
+ if ( disp__glVertex4f == NULL ) return;
+
disp__glVertex4f (
(GLfloat) x,
(GLfloat) y,
@@ -2055,6 +2240,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint w)
{
+ if ( disp__glVertex4i == NULL ) return;
+
disp__glVertex4i (
(GLint) x,
(GLint) y,
@@ -2079,6 +2266,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort w)
{
+ if ( disp__glVertex4s == NULL ) return;
+
disp__glVertex4s (
(GLshort) x,
(GLshort) y,
@@ -2101,6 +2290,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glVertex2dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -2128,6 +2319,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glVertex2fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -2155,6 +2348,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glVertex2iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -2182,6 +2377,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glVertex2sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -2209,6 +2406,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glVertex3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -2236,6 +2435,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glVertex3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -2263,6 +2464,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glVertex3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -2290,6 +2493,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glVertex3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -2317,6 +2522,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glVertex4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -2344,6 +2551,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glVertex4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -2371,6 +2580,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glVertex4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -2398,6 +2609,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glVertex4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -2426,6 +2639,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte nz)
{
+ if ( disp__glNormal3b == NULL ) return;
+
disp__glNormal3b (
(GLbyte) nx,
(GLbyte) ny,
@@ -2448,6 +2663,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble nz)
{
+ if ( disp__glNormal3d == NULL ) return;
+
disp__glNormal3d (
(GLdouble) nx,
(GLdouble) ny,
@@ -2470,6 +2687,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat nz)
{
+ if ( disp__glNormal3f == NULL ) return;
+
disp__glNormal3f (
(GLfloat) nx,
(GLfloat) ny,
@@ -2492,6 +2711,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint nz)
{
+ if ( disp__glNormal3i == NULL ) return;
+
disp__glNormal3i (
(GLint) nx,
(GLint) ny,
@@ -2514,6 +2735,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort nz)
{
+ if ( disp__glNormal3s == NULL ) return;
+
disp__glNormal3s (
(GLshort) nx,
(GLshort) ny,
@@ -2535,6 +2758,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glNormal3bv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetByteArrayElements(env, v, 0);
@@ -2562,6 +2787,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glNormal3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -2589,6 +2816,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glNormal3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -2616,6 +2845,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glNormal3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -2643,6 +2874,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glNormal3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -2669,6 +2902,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble c)
{
+ if ( disp__glIndexd == NULL ) return;
+
disp__glIndexd (
(GLdouble) c
);
@@ -2687,6 +2922,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat c)
{
+ if ( disp__glIndexf == NULL ) return;
+
disp__glIndexf (
(GLfloat) c
);
@@ -2705,6 +2942,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint c)
{
+ if ( disp__glIndexi == NULL ) return;
+
disp__glIndexi (
(GLint) c
);
@@ -2723,6 +2962,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort c)
{
+ if ( disp__glIndexs == NULL ) return;
+
disp__glIndexs (
(GLshort) c
);
@@ -2741,6 +2982,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte c)
{
+ if ( disp__glIndexub == NULL ) return;
+
disp__glIndexub (
(GLubyte) c
);
@@ -2760,6 +3003,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glIndexdv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, c, 0);
@@ -2787,6 +3032,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glIndexfv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, c, 0);
@@ -2814,6 +3061,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glIndexiv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, c, 0);
@@ -2841,6 +3090,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glIndexsv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, c, 0);
@@ -2868,6 +3119,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glIndexubv == NULL ) return;
+
if(c!=NULL)
{
ptr0 = (*env)->GetByteArrayElements(env, c, 0);
@@ -2896,6 +3149,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte blue)
{
+ if ( disp__glColor3b == NULL ) return;
+
disp__glColor3b (
(GLbyte) red,
(GLbyte) green,
@@ -2918,6 +3173,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble blue)
{
+ if ( disp__glColor3d == NULL ) return;
+
disp__glColor3d (
(GLdouble) red,
(GLdouble) green,
@@ -2940,6 +3197,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat blue)
{
+ if ( disp__glColor3f == NULL ) return;
+
disp__glColor3f (
(GLfloat) red,
(GLfloat) green,
@@ -2962,6 +3221,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint blue)
{
+ if ( disp__glColor3i == NULL ) return;
+
disp__glColor3i (
(GLint) red,
(GLint) green,
@@ -2984,6 +3245,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort blue)
{
+ if ( disp__glColor3s == NULL ) return;
+
disp__glColor3s (
(GLshort) red,
(GLshort) green,
@@ -3006,6 +3269,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte blue)
{
+ if ( disp__glColor3ub == NULL ) return;
+
disp__glColor3ub (
(GLubyte) red,
(GLubyte) green,
@@ -3028,6 +3293,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint blue)
{
+ if ( disp__glColor3ui == NULL ) return;
+
disp__glColor3ui (
(GLuint) red,
(GLuint) green,
@@ -3050,6 +3317,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort blue)
{
+ if ( disp__glColor3us == NULL ) return;
+
disp__glColor3us (
(GLushort) red,
(GLushort) green,
@@ -3073,6 +3342,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte alpha)
{
+ if ( disp__glColor4b == NULL ) return;
+
disp__glColor4b (
(GLbyte) red,
(GLbyte) green,
@@ -3097,6 +3368,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble alpha)
{
+ if ( disp__glColor4d == NULL ) return;
+
disp__glColor4d (
(GLdouble) red,
(GLdouble) green,
@@ -3121,6 +3394,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glColor4f == NULL ) return;
+
disp__glColor4f (
(GLfloat) red,
(GLfloat) green,
@@ -3145,6 +3420,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint alpha)
{
+ if ( disp__glColor4i == NULL ) return;
+
disp__glColor4i (
(GLint) red,
(GLint) green,
@@ -3169,6 +3446,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort alpha)
{
+ if ( disp__glColor4s == NULL ) return;
+
disp__glColor4s (
(GLshort) red,
(GLshort) green,
@@ -3193,6 +3472,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte alpha)
{
+ if ( disp__glColor4ub == NULL ) return;
+
disp__glColor4ub (
(GLubyte) red,
(GLubyte) green,
@@ -3217,6 +3498,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint alpha)
{
+ if ( disp__glColor4ui == NULL ) return;
+
disp__glColor4ui (
(GLuint) red,
(GLuint) green,
@@ -3241,6 +3524,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort alpha)
{
+ if ( disp__glColor4us == NULL ) return;
+
disp__glColor4us (
(GLushort) red,
(GLushort) green,
@@ -3263,6 +3548,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glColor3bv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetByteArrayElements(env, v, 0);
@@ -3290,6 +3577,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glColor3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -3317,6 +3606,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glColor3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -3344,6 +3635,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glColor3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -3371,6 +3664,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glColor3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -3398,6 +3693,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glColor3ubv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetByteArrayElements(env, v, 0);
@@ -3425,6 +3722,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glColor3uiv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -3452,6 +3751,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glColor3usv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -3479,6 +3780,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glColor4bv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetByteArrayElements(env, v, 0);
@@ -3506,6 +3809,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glColor4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -3533,6 +3838,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glColor4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -3560,6 +3867,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glColor4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -3587,6 +3896,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glColor4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -3614,6 +3925,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr0 = NULL;
+ if ( disp__glColor4ubv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetByteArrayElements(env, v, 0);
@@ -3641,6 +3954,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glColor4uiv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -3668,6 +3983,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glColor4usv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -3694,6 +4011,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble s)
{
+ if ( disp__glTexCoord1d == NULL ) return;
+
disp__glTexCoord1d (
(GLdouble) s
);
@@ -3712,6 +4031,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat s)
{
+ if ( disp__glTexCoord1f == NULL ) return;
+
disp__glTexCoord1f (
(GLfloat) s
);
@@ -3730,6 +4051,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint s)
{
+ if ( disp__glTexCoord1i == NULL ) return;
+
disp__glTexCoord1i (
(GLint) s
);
@@ -3748,6 +4071,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort s)
{
+ if ( disp__glTexCoord1s == NULL ) return;
+
disp__glTexCoord1s (
(GLshort) s
);
@@ -3767,6 +4092,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble t)
{
+ if ( disp__glTexCoord2d == NULL ) return;
+
disp__glTexCoord2d (
(GLdouble) s,
(GLdouble) t
@@ -3787,6 +4114,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat t)
{
+ if ( disp__glTexCoord2f == NULL ) return;
+
disp__glTexCoord2f (
(GLfloat) s,
(GLfloat) t
@@ -3807,6 +4136,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint t)
{
+ if ( disp__glTexCoord2i == NULL ) return;
+
disp__glTexCoord2i (
(GLint) s,
(GLint) t
@@ -3827,6 +4158,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort t)
{
+ if ( disp__glTexCoord2s == NULL ) return;
+
disp__glTexCoord2s (
(GLshort) s,
(GLshort) t
@@ -3848,6 +4181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble r)
{
+ if ( disp__glTexCoord3d == NULL ) return;
+
disp__glTexCoord3d (
(GLdouble) s,
(GLdouble) t,
@@ -3870,6 +4205,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat r)
{
+ if ( disp__glTexCoord3f == NULL ) return;
+
disp__glTexCoord3f (
(GLfloat) s,
(GLfloat) t,
@@ -3892,6 +4229,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint r)
{
+ if ( disp__glTexCoord3i == NULL ) return;
+
disp__glTexCoord3i (
(GLint) s,
(GLint) t,
@@ -3914,6 +4253,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort r)
{
+ if ( disp__glTexCoord3s == NULL ) return;
+
disp__glTexCoord3s (
(GLshort) s,
(GLshort) t,
@@ -3937,6 +4278,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble q)
{
+ if ( disp__glTexCoord4d == NULL ) return;
+
disp__glTexCoord4d (
(GLdouble) s,
(GLdouble) t,
@@ -3961,6 +4304,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat q)
{
+ if ( disp__glTexCoord4f == NULL ) return;
+
disp__glTexCoord4f (
(GLfloat) s,
(GLfloat) t,
@@ -3985,6 +4330,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint q)
{
+ if ( disp__glTexCoord4i == NULL ) return;
+
disp__glTexCoord4i (
(GLint) s,
(GLint) t,
@@ -4009,6 +4356,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort q)
{
+ if ( disp__glTexCoord4s == NULL ) return;
+
disp__glTexCoord4s (
(GLshort) s,
(GLshort) t,
@@ -4031,6 +4380,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glTexCoord1dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -4058,6 +4409,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glTexCoord1fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -4085,6 +4438,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glTexCoord1iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -4112,6 +4467,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glTexCoord1sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -4139,6 +4496,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glTexCoord2dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -4166,6 +4525,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glTexCoord2fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -4193,6 +4554,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glTexCoord2iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -4220,6 +4583,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glTexCoord2sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -4247,6 +4612,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glTexCoord3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -4274,6 +4641,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glTexCoord3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -4301,6 +4670,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glTexCoord3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -4328,6 +4699,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glTexCoord3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -4355,6 +4728,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glTexCoord4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -4382,6 +4757,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glTexCoord4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -4409,6 +4786,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glTexCoord4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -4436,6 +4815,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glTexCoord4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -4463,6 +4844,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble y)
{
+ if ( disp__glRasterPos2d == NULL ) return;
+
disp__glRasterPos2d (
(GLdouble) x,
(GLdouble) y
@@ -4483,6 +4866,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat y)
{
+ if ( disp__glRasterPos2f == NULL ) return;
+
disp__glRasterPos2f (
(GLfloat) x,
(GLfloat) y
@@ -4503,6 +4888,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint y)
{
+ if ( disp__glRasterPos2i == NULL ) return;
+
disp__glRasterPos2i (
(GLint) x,
(GLint) y
@@ -4523,6 +4910,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort y)
{
+ if ( disp__glRasterPos2s == NULL ) return;
+
disp__glRasterPos2s (
(GLshort) x,
(GLshort) y
@@ -4544,6 +4933,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble z)
{
+ if ( disp__glRasterPos3d == NULL ) return;
+
disp__glRasterPos3d (
(GLdouble) x,
(GLdouble) y,
@@ -4566,6 +4957,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat z)
{
+ if ( disp__glRasterPos3f == NULL ) return;
+
disp__glRasterPos3f (
(GLfloat) x,
(GLfloat) y,
@@ -4588,6 +4981,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint z)
{
+ if ( disp__glRasterPos3i == NULL ) return;
+
disp__glRasterPos3i (
(GLint) x,
(GLint) y,
@@ -4610,6 +5005,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort z)
{
+ if ( disp__glRasterPos3s == NULL ) return;
+
disp__glRasterPos3s (
(GLshort) x,
(GLshort) y,
@@ -4633,6 +5030,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble w)
{
+ if ( disp__glRasterPos4d == NULL ) return;
+
disp__glRasterPos4d (
(GLdouble) x,
(GLdouble) y,
@@ -4657,6 +5056,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat w)
{
+ if ( disp__glRasterPos4f == NULL ) return;
+
disp__glRasterPos4f (
(GLfloat) x,
(GLfloat) y,
@@ -4681,6 +5082,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint w)
{
+ if ( disp__glRasterPos4i == NULL ) return;
+
disp__glRasterPos4i (
(GLint) x,
(GLint) y,
@@ -4705,6 +5108,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort w)
{
+ if ( disp__glRasterPos4s == NULL ) return;
+
disp__glRasterPos4s (
(GLshort) x,
(GLshort) y,
@@ -4727,6 +5132,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glRasterPos2dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -4754,6 +5161,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glRasterPos2fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -4781,6 +5190,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glRasterPos2iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -4808,6 +5219,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glRasterPos2sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -4835,6 +5248,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glRasterPos3dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -4862,6 +5277,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glRasterPos3fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -4889,6 +5306,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glRasterPos3iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -4916,6 +5335,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glRasterPos3sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -4943,6 +5364,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glRasterPos4dv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -4970,6 +5393,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glRasterPos4fv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -4997,6 +5422,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr0 = NULL;
+ if ( disp__glRasterPos4iv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v, 0);
@@ -5024,6 +5451,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr0 = NULL;
+ if ( disp__glRasterPos4sv == NULL ) return;
+
if(v!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v, 0);
@@ -5053,6 +5482,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble y2)
{
+ if ( disp__glRectd == NULL ) return;
+
disp__glRectd (
(GLdouble) x1,
(GLdouble) y1,
@@ -5077,6 +5508,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat y2)
{
+ if ( disp__glRectf == NULL ) return;
+
disp__glRectf (
(GLfloat) x1,
(GLfloat) y1,
@@ -5101,6 +5534,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint y2)
{
+ if ( disp__glRecti == NULL ) return;
+
disp__glRecti (
(GLint) x1,
(GLint) y1,
@@ -5125,6 +5560,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort y2)
{
+ if ( disp__glRects == NULL ) return;
+
disp__glRects (
(GLshort) x1,
(GLshort) y1,
@@ -5149,6 +5586,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr0 = NULL;
jdouble *ptr1 = NULL;
+ if ( disp__glRectdv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, v1, 0);
@@ -5187,6 +5626,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr0 = NULL;
jfloat *ptr1 = NULL;
+ if ( disp__glRectfv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, v1, 0);
@@ -5225,6 +5666,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr0 = NULL;
jint *ptr1 = NULL;
+ if ( disp__glRectiv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (*env)->GetIntArrayElements(env, v1, 0);
@@ -5263,6 +5706,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr0 = NULL;
jshort *ptr1 = NULL;
+ if ( disp__glRectsv == NULL ) return;
+
if(v1!=NULL)
{
ptr0 = (*env)->GetShortArrayElements(env, v1, 0);
@@ -5302,6 +5747,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -5328,6 +5775,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -5354,6 +5803,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -5380,6 +5831,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -5406,6 +5859,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -5432,6 +5887,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -5458,6 +5915,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glVertexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -5490,6 +5949,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -5514,6 +5975,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -5538,6 +6001,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -5562,6 +6027,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -5586,6 +6053,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -5610,6 +6079,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -5634,6 +6105,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr2 = NULL;
+ if ( disp__glNormalPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -5666,6 +6139,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -5692,6 +6167,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -5718,6 +6195,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -5744,6 +6223,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -5770,6 +6251,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -5796,6 +6279,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -5822,6 +6307,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glColorPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -5854,6 +6341,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -5878,6 +6367,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -5902,6 +6393,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -5926,6 +6419,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -5950,6 +6445,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -5974,6 +6471,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -5998,6 +6497,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr2 = NULL;
+ if ( disp__glIndexPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -6030,6 +6531,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -6056,6 +6559,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -6082,6 +6587,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -6108,6 +6615,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -6134,6 +6643,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -6160,6 +6671,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -6186,6 +6699,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glTexCoordPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -6217,6 +6732,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -6239,6 +6756,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -6261,6 +6780,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -6283,6 +6804,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -6305,6 +6828,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -6327,6 +6852,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -6349,6 +6876,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr1 = NULL;
+ if ( disp__glEdgeFlagPointer == NULL ) return;
+
if(ptr!=NULL)
{
ptr1 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -6379,6 +6908,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetByteArrayElements(env, params, &isCopiedArray1);
@@ -6402,6 +6933,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetShortArrayElements(env, params, &isCopiedArray1);
@@ -6425,6 +6958,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1);
@@ -6448,6 +6983,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1);
@@ -6471,6 +7008,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1);
@@ -6494,6 +7033,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1);
@@ -6517,6 +7058,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
+ if ( disp__glGetPointerv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetLongArrayElements(env, params, &isCopiedArray1);
@@ -6544,6 +7087,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i)
{
+ if ( disp__glArrayElement == NULL ) return;
+
disp__glArrayElement (
(GLint) i
);
@@ -6564,6 +7109,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint count)
{
+ if ( disp__glDrawArrays == NULL ) return;
+
disp__glDrawArrays (
(GLenum) mode,
(GLint) first,
@@ -6588,6 +7135,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, indices, 0);
@@ -6614,6 +7163,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, indices, 0);
@@ -6640,6 +7191,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, indices, 0);
@@ -6666,6 +7219,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, indices, 0);
@@ -6692,6 +7247,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, indices, 0);
@@ -6718,6 +7275,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, indices, 0);
@@ -6744,6 +7303,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glDrawElements == NULL ) return;
+
if(indices!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, indices, 0);
@@ -6776,6 +7337,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (*env)->GetByteArrayElements(env, pointer, 0);
@@ -6800,6 +7363,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (*env)->GetShortArrayElements(env, pointer, 0);
@@ -6824,6 +7389,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, pointer, 0);
@@ -6848,6 +7415,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, pointer, 0);
@@ -6872,6 +7441,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (*env)->GetDoubleArrayElements(env, pointer, 0);
@@ -6896,6 +7467,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (*env)->GetBooleanArrayElements(env, pointer, 0);
@@ -6920,6 +7493,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr2 = NULL;
+ if ( disp__glInterleavedArrays == NULL ) return;
+
if(pointer!=NULL)
{
ptr2 = (*env)->GetLongArrayElements(env, pointer, 0);
@@ -6948,6 +7523,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glShadeModel == NULL ) return;
+
disp__glShadeModel (
(GLenum) mode
);
@@ -6968,6 +7545,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glLightf == NULL ) return;
+
disp__glLightf (
(GLenum) light,
(GLenum) pname,
@@ -6990,6 +7569,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glLighti == NULL ) return;
+
disp__glLighti (
(GLenum) light,
(GLenum) pname,
@@ -7013,6 +7594,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glLightfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -7044,6 +7627,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glLightiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, 0);
@@ -7076,6 +7661,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetLightfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -7108,6 +7695,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetLightiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -7137,6 +7726,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glLightModelf == NULL ) return;
+
disp__glLightModelf (
(GLenum) pname,
(GLfloat) param
@@ -7157,6 +7748,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glLightModeli == NULL ) return;
+
disp__glLightModeli (
(GLenum) pname,
(GLint) param
@@ -7178,6 +7771,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glLightModelfv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -7207,6 +7802,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glLightModeliv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, params, 0);
@@ -7236,6 +7833,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glMaterialf == NULL ) return;
+
disp__glMaterialf (
(GLenum) face,
(GLenum) pname,
@@ -7258,6 +7857,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glMateriali == NULL ) return;
+
disp__glMateriali (
(GLenum) face,
(GLenum) pname,
@@ -7281,6 +7882,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glMaterialfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -7312,6 +7915,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glMaterialiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, 0);
@@ -7344,6 +7949,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetMaterialfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -7376,6 +7983,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetMaterialiv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -7405,6 +8014,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glColorMaterial == NULL ) return;
+
disp__glColorMaterial (
(GLenum) face,
(GLenum) mode
@@ -7425,6 +8036,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat yfactor)
{
+ if ( disp__glPixelZoom == NULL ) return;
+
disp__glPixelZoom (
(GLfloat) xfactor,
(GLfloat) yfactor
@@ -7445,6 +8058,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glPixelStoref == NULL ) return;
+
disp__glPixelStoref (
(GLenum) pname,
(GLfloat) param
@@ -7465,6 +8080,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glPixelStorei == NULL ) return;
+
disp__glPixelStorei (
(GLenum) pname,
(GLint) param
@@ -7485,6 +8102,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glPixelTransferf == NULL ) return;
+
disp__glPixelTransferf (
(GLenum) pname,
(GLfloat) param
@@ -7505,6 +8124,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glPixelTransferi == NULL ) return;
+
disp__glPixelTransferi (
(GLenum) pname,
(GLint) param
@@ -7527,6 +8148,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glPixelMapfv == NULL ) return;
+
if(values!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, values, 0);
@@ -7558,6 +8181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glPixelMapuiv == NULL ) return;
+
if(values!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, values, 0);
@@ -7589,6 +8214,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr2 = NULL;
+ if ( disp__glPixelMapusv == NULL ) return;
+
if(values!=NULL)
{
ptr2 = (*env)->GetShortArrayElements(env, values, 0);
@@ -7620,6 +8247,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__glGetPixelMapfv == NULL ) return;
+
if(values!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray1);
@@ -7650,6 +8279,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGetPixelMapuiv == NULL ) return;
+
if(values!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, values, &isCopiedArray1);
@@ -7680,6 +8311,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
+ if ( disp__glGetPixelMapusv == NULL ) return;
+
if(values!=NULL)
{
ptr1 = (*env)->GetShortArrayElements(env, values, &isCopiedArray1);
@@ -7714,6 +8347,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr6 = NULL;
+ if ( disp__glBitmap == NULL ) return;
+
if(bitmap!=NULL)
{
ptr6 = (*env)->GetByteArrayElements(env, bitmap, 0);
@@ -7754,6 +8389,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jbyte *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray6);
@@ -7787,6 +8424,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jshort *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray6);
@@ -7820,6 +8459,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jint *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray6);
@@ -7853,6 +8494,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jfloat *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray6);
@@ -7886,6 +8529,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jdouble *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray6);
@@ -7919,6 +8564,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jboolean *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray6);
@@ -7952,6 +8599,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray6 = JNI_FALSE;
jlong *ptr6 = NULL;
+ if ( disp__glReadPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray6);
@@ -7989,6 +8638,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetByteArrayElements(env, pixels, 0);
@@ -8017,6 +8668,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetShortArrayElements(env, pixels, 0);
@@ -8045,6 +8698,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetIntArrayElements(env, pixels, 0);
@@ -8073,6 +8728,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetFloatArrayElements(env, pixels, 0);
@@ -8101,6 +8758,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetDoubleArrayElements(env, pixels, 0);
@@ -8129,6 +8788,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetBooleanArrayElements(env, pixels, 0);
@@ -8157,6 +8818,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr4 = NULL;
+ if ( disp__glDrawPixels == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetLongArrayElements(env, pixels, 0);
@@ -8191,6 +8854,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint type)
{
+ if ( disp__glCopyPixels == NULL ) return;
+
disp__glCopyPixels (
(GLint) x,
(GLint) y,
@@ -8215,6 +8880,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glStencilFunc == NULL ) return;
+
disp__glStencilFunc (
(GLenum) func,
(GLint) ref,
@@ -8235,6 +8902,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mask)
{
+ if ( disp__glStencilMask == NULL ) return;
+
disp__glStencilMask (
(GLuint) mask
);
@@ -8255,6 +8924,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint zpass)
{
+ if ( disp__glStencilOp == NULL ) return;
+
disp__glStencilOp (
(GLenum) fail,
(GLenum) zfail,
@@ -8275,6 +8946,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint s)
{
+ if ( disp__glClearStencil == NULL ) return;
+
disp__glClearStencil (
(GLint) s
);
@@ -8295,6 +8968,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble param)
{
+ if ( disp__glTexGend == NULL ) return;
+
disp__glTexGend (
(GLenum) coord,
(GLenum) pname,
@@ -8317,6 +8992,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glTexGenf == NULL ) return;
+
disp__glTexGenf (
(GLenum) coord,
(GLenum) pname,
@@ -8339,6 +9016,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glTexGeni == NULL ) return;
+
disp__glTexGeni (
(GLenum) coord,
(GLenum) pname,
@@ -8362,6 +9041,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr2 = NULL;
+ if ( disp__glTexGendv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetDoubleArrayElements(env, params, 0);
@@ -8393,6 +9074,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glTexGenfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -8424,6 +9107,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glTexGeniv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, 0);
@@ -8456,6 +9141,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
+ if ( disp__glGetTexGendv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray2);
@@ -8488,6 +9175,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetTexGenfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -8520,6 +9209,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetTexGeniv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -8550,6 +9241,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glTexEnvf == NULL ) return;
+
disp__glTexEnvf (
(GLenum) target,
(GLenum) pname,
@@ -8572,6 +9265,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glTexEnvi == NULL ) return;
+
disp__glTexEnvi (
(GLenum) target,
(GLenum) pname,
@@ -8595,6 +9290,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glTexEnvfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -8626,6 +9323,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glTexEnviv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, 0);
@@ -8658,6 +9357,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetTexEnvfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -8690,6 +9391,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetTexEnviv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -8720,6 +9423,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glTexParameterf == NULL ) return;
+
disp__glTexParameterf (
(GLenum) target,
(GLenum) pname,
@@ -8742,6 +9447,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glTexParameteri == NULL ) return;
+
disp__glTexParameteri (
(GLenum) target,
(GLenum) pname,
@@ -8765,6 +9472,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glTexParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -8796,6 +9505,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glTexParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, 0);
@@ -8828,6 +9539,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetTexParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -8860,6 +9573,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetTexParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -8893,6 +9608,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
+ if ( disp__glGetTexLevelParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray3);
@@ -8927,6 +9644,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
+ if ( disp__glGetTexLevelParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, params, &isCopiedArray3);
@@ -8964,6 +9683,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (*env)->GetByteArrayElements(env, pixels, 0);
@@ -8998,6 +9719,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (*env)->GetShortArrayElements(env, pixels, 0);
@@ -9032,6 +9755,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (*env)->GetIntArrayElements(env, pixels, 0);
@@ -9066,6 +9791,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (*env)->GetFloatArrayElements(env, pixels, 0);
@@ -9100,6 +9827,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (*env)->GetDoubleArrayElements(env, pixels, 0);
@@ -9134,6 +9863,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (*env)->GetBooleanArrayElements(env, pixels, 0);
@@ -9168,6 +9899,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr7 = NULL;
+ if ( disp__glTexImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr7 = (*env)->GetLongArrayElements(env, pixels, 0);
@@ -9210,6 +9943,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetByteArrayElements(env, pixels, 0);
@@ -9246,6 +9981,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetShortArrayElements(env, pixels, 0);
@@ -9282,6 +10019,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetIntArrayElements(env, pixels, 0);
@@ -9318,6 +10057,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetFloatArrayElements(env, pixels, 0);
@@ -9354,6 +10095,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetDoubleArrayElements(env, pixels, 0);
@@ -9390,6 +10133,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetBooleanArrayElements(env, pixels, 0);
@@ -9426,6 +10171,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr8 = NULL;
+ if ( disp__glTexImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetLongArrayElements(env, pixels, 0);
@@ -9466,6 +10213,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray4);
@@ -9495,6 +10244,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray4);
@@ -9524,6 +10275,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray4);
@@ -9553,6 +10306,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray4);
@@ -9582,6 +10337,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray4);
@@ -9611,6 +10368,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray4);
@@ -9640,6 +10399,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
+ if ( disp__glGetTexImage == NULL ) return;
+
if(pixels!=NULL)
{
ptr4 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray4);
@@ -9673,6 +10434,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGenTextures == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1);
@@ -9702,6 +10465,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glDeleteTextures == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, textures, 0);
@@ -9730,6 +10495,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glBindTexture == NULL ) return;
+
disp__glBindTexture (
(GLenum) target,
(GLuint) texture
@@ -9753,6 +10520,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
jfloat *ptr2 = NULL;
+ if ( disp__glPrioritizeTextures == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, textures, 0);
@@ -9796,6 +10565,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
+ if ( disp__glAreTexturesResident == NULL ) return 0;
+
if(textures!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, textures, 0);
@@ -9835,6 +10606,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsTexture == NULL ) return 0;
+
ret = (jboolean) disp__glIsTexture (
(GLuint) texture
);
@@ -9861,6 +10634,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetByteArrayElements(env, pixels, 0);
@@ -9893,6 +10668,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetShortArrayElements(env, pixels, 0);
@@ -9925,6 +10702,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetIntArrayElements(env, pixels, 0);
@@ -9957,6 +10736,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetFloatArrayElements(env, pixels, 0);
@@ -9989,6 +10770,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetDoubleArrayElements(env, pixels, 0);
@@ -10021,6 +10804,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetBooleanArrayElements(env, pixels, 0);
@@ -10053,6 +10838,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr6 = NULL;
+ if ( disp__glTexSubImage1D == NULL ) return;
+
if(pixels!=NULL)
{
ptr6 = (*env)->GetLongArrayElements(env, pixels, 0);
@@ -10094,6 +10881,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetByteArrayElements(env, pixels, 0);
@@ -10130,6 +10919,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetShortArrayElements(env, pixels, 0);
@@ -10166,6 +10957,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetIntArrayElements(env, pixels, 0);
@@ -10202,6 +10995,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetFloatArrayElements(env, pixels, 0);
@@ -10238,6 +11033,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetDoubleArrayElements(env, pixels, 0);
@@ -10274,6 +11071,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetBooleanArrayElements(env, pixels, 0);
@@ -10310,6 +11109,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr8 = NULL;
+ if ( disp__glTexSubImage2D == NULL ) return;
+
if(pixels!=NULL)
{
ptr8 = (*env)->GetLongArrayElements(env, pixels, 0);
@@ -10350,6 +11151,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint border)
{
+ if ( disp__glCopyTexImage1D == NULL ) return;
+
disp__glCopyTexImage1D (
(GLenum) target,
(GLint) level,
@@ -10381,6 +11184,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint border)
{
+ if ( disp__glCopyTexImage2D == NULL ) return;
+
disp__glCopyTexImage2D (
(GLenum) target,
(GLint) level,
@@ -10411,6 +11216,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyTexSubImage1D == NULL ) return;
+
disp__glCopyTexSubImage1D (
(GLenum) target,
(GLint) level,
@@ -10441,6 +11248,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyTexSubImage2D == NULL ) return;
+
disp__glCopyTexSubImage2D (
(GLenum) target,
(GLint) level,
@@ -10472,6 +11281,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glMap1d == NULL ) return;
+
if(points!=NULL)
{
ptr5 = (*env)->GetDoubleArrayElements(env, points, 0);
@@ -10509,6 +11320,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glMap1f == NULL ) return;
+
if(points!=NULL)
{
ptr5 = (*env)->GetFloatArrayElements(env, points, 0);
@@ -10550,6 +11363,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr9 = NULL;
+ if ( disp__glMap2d == NULL ) return;
+
if(points!=NULL)
{
ptr9 = (*env)->GetDoubleArrayElements(env, points, 0);
@@ -10595,6 +11410,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr9 = NULL;
+ if ( disp__glMap2f == NULL ) return;
+
if(points!=NULL)
{
ptr9 = (*env)->GetFloatArrayElements(env, points, 0);
@@ -10634,6 +11451,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jdouble *ptr2 = NULL;
+ if ( disp__glGetMapdv == NULL ) return;
+
if(v!=NULL)
{
ptr2 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray2);
@@ -10666,6 +11485,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetMapfv == NULL ) return;
+
if(v!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray2);
@@ -10698,6 +11519,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetMapiv == NULL ) return;
+
if(v!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, v, &isCopiedArray2);
@@ -10726,6 +11549,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble u)
{
+ if ( disp__glEvalCoord1d == NULL ) return;
+
disp__glEvalCoord1d (
(GLdouble) u
);
@@ -10744,6 +11569,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat u)
{
+ if ( disp__glEvalCoord1f == NULL ) return;
+
disp__glEvalCoord1f (
(GLfloat) u
);
@@ -10763,6 +11590,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glEvalCoord1dv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, u, 0);
@@ -10790,6 +11619,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glEvalCoord1fv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, u, 0);
@@ -10817,6 +11648,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble v)
{
+ if ( disp__glEvalCoord2d == NULL ) return;
+
disp__glEvalCoord2d (
(GLdouble) u,
(GLdouble) v
@@ -10837,6 +11670,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat v)
{
+ if ( disp__glEvalCoord2f == NULL ) return;
+
disp__glEvalCoord2f (
(GLfloat) u,
(GLfloat) v
@@ -10857,6 +11692,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr0 = NULL;
+ if ( disp__glEvalCoord2dv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (*env)->GetDoubleArrayElements(env, u, 0);
@@ -10884,6 +11721,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr0 = NULL;
+ if ( disp__glEvalCoord2fv == NULL ) return;
+
if(u!=NULL)
{
ptr0 = (*env)->GetFloatArrayElements(env, u, 0);
@@ -10912,6 +11751,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble u2)
{
+ if ( disp__glMapGrid1d == NULL ) return;
+
disp__glMapGrid1d (
(GLint) un,
(GLdouble) u1,
@@ -10934,6 +11775,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat u2)
{
+ if ( disp__glMapGrid1f == NULL ) return;
+
disp__glMapGrid1f (
(GLint) un,
(GLfloat) u1,
@@ -10959,6 +11802,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble v2)
{
+ if ( disp__glMapGrid2d == NULL ) return;
+
disp__glMapGrid2d (
(GLint) un,
(GLdouble) u1,
@@ -10987,6 +11832,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat v2)
{
+ if ( disp__glMapGrid2f == NULL ) return;
+
disp__glMapGrid2f (
(GLint) un,
(GLfloat) u1,
@@ -11010,6 +11857,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i)
{
+ if ( disp__glEvalPoint1 == NULL ) return;
+
disp__glEvalPoint1 (
(GLint) i
);
@@ -11029,6 +11878,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint j)
{
+ if ( disp__glEvalPoint2 == NULL ) return;
+
disp__glEvalPoint2 (
(GLint) i,
(GLint) j
@@ -11050,6 +11901,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i2)
{
+ if ( disp__glEvalMesh1 == NULL ) return;
+
disp__glEvalMesh1 (
(GLenum) mode,
(GLint) i1,
@@ -11074,6 +11927,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint j2)
{
+ if ( disp__glEvalMesh2 == NULL ) return;
+
disp__glEvalMesh2 (
(GLenum) mode,
(GLint) i1,
@@ -11097,6 +11952,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glFogf == NULL ) return;
+
disp__glFogf (
(GLenum) pname,
(GLfloat) param
@@ -11117,6 +11974,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint param)
{
+ if ( disp__glFogi == NULL ) return;
+
disp__glFogi (
(GLenum) pname,
(GLint) param
@@ -11138,6 +11997,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glFogfv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -11167,6 +12028,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glFogiv == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, params, 0);
@@ -11198,6 +12061,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glFeedbackBuffer == NULL ) return;
+
if(buffer!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, buffer, &isCopiedArray2);
@@ -11226,6 +12091,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat token)
{
+ if ( disp__glPassThrough == NULL ) return;
+
disp__glPassThrough (
(GLfloat) token
);
@@ -11247,6 +12114,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glSelectBuffer == NULL ) return;
+
if(buffer!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, buffer, &isCopiedArray1);
@@ -11273,6 +12142,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glInitNames == NULL ) return;
+
disp__glInitNames (
);
@@ -11290,6 +12161,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint name)
{
+ if ( disp__glLoadName == NULL ) return;
+
disp__glLoadName (
(GLuint) name
);
@@ -11308,6 +12181,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint name)
{
+ if ( disp__glPushName == NULL ) return;
+
disp__glPushName (
(GLuint) name
);
@@ -11325,6 +12200,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glPopName == NULL ) return;
+
disp__glPopName (
);
@@ -11348,6 +12225,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (*env)->GetByteArrayElements(env, indices, 0);
@@ -11378,6 +12257,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (*env)->GetShortArrayElements(env, indices, 0);
@@ -11408,6 +12289,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (*env)->GetIntArrayElements(env, indices, 0);
@@ -11438,6 +12321,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (*env)->GetFloatArrayElements(env, indices, 0);
@@ -11468,6 +12353,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (*env)->GetDoubleArrayElements(env, indices, 0);
@@ -11498,6 +12385,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (*env)->GetBooleanArrayElements(env, indices, 0);
@@ -11528,6 +12417,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glDrawRangeElements == NULL ) return;
+
if(indices!=NULL)
{
ptr5 = (*env)->GetLongArrayElements(env, indices, 0);
@@ -11569,6 +12460,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetByteArrayElements(env, pixels, 0);
@@ -11607,6 +12500,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetShortArrayElements(env, pixels, 0);
@@ -11645,6 +12540,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetIntArrayElements(env, pixels, 0);
@@ -11683,6 +12580,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetFloatArrayElements(env, pixels, 0);
@@ -11721,6 +12620,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetDoubleArrayElements(env, pixels, 0);
@@ -11759,6 +12660,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetBooleanArrayElements(env, pixels, 0);
@@ -11797,6 +12700,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr9 = NULL;
+ if ( disp__glTexImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetLongArrayElements(env, pixels, 0);
@@ -11843,6 +12748,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetByteArrayElements(env, pixels, 0);
@@ -11883,6 +12790,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetShortArrayElements(env, pixels, 0);
@@ -11923,6 +12832,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetIntArrayElements(env, pixels, 0);
@@ -11963,6 +12874,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetFloatArrayElements(env, pixels, 0);
@@ -12003,6 +12916,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetDoubleArrayElements(env, pixels, 0);
@@ -12043,6 +12958,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetBooleanArrayElements(env, pixels, 0);
@@ -12083,6 +13000,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr10 = NULL;
+ if ( disp__glTexSubImage3D == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetLongArrayElements(env, pixels, 0);
@@ -12127,6 +13046,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyTexSubImage3D == NULL ) return;
+
disp__glCopyTexSubImage3D (
(GLenum) target,
(GLint) level,
@@ -12159,6 +13080,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetByteArrayElements(env, table, 0);
@@ -12189,6 +13112,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetShortArrayElements(env, table, 0);
@@ -12219,6 +13144,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetIntArrayElements(env, table, 0);
@@ -12249,6 +13176,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetFloatArrayElements(env, table, 0);
@@ -12279,6 +13208,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetDoubleArrayElements(env, table, 0);
@@ -12309,6 +13240,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetBooleanArrayElements(env, table, 0);
@@ -12339,6 +13272,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetLongArrayElements(env, table, 0);
@@ -12376,6 +13311,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetByteArrayElements(env, data, 0);
@@ -12406,6 +13343,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetShortArrayElements(env, data, 0);
@@ -12436,6 +13375,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetIntArrayElements(env, data, 0);
@@ -12466,6 +13407,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetFloatArrayElements(env, data, 0);
@@ -12496,6 +13439,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetDoubleArrayElements(env, data, 0);
@@ -12526,6 +13471,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetBooleanArrayElements(env, data, 0);
@@ -12556,6 +13503,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glColorSubTable == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetLongArrayElements(env, data, 0);
@@ -12590,6 +13539,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glColorTableParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, 0);
@@ -12621,6 +13572,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glColorTableParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -12653,6 +13606,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyColorSubTable == NULL ) return;
+
disp__glCopyColorSubTable (
(GLenum) target,
(GLsizei) start,
@@ -12679,6 +13634,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyColorTable == NULL ) return;
+
disp__glCopyColorTable (
(GLenum) target,
(GLenum) internalformat,
@@ -12706,6 +13663,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, table, &isCopiedArray3);
@@ -12733,6 +13692,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, table, &isCopiedArray3);
@@ -12760,6 +13721,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, table, &isCopiedArray3);
@@ -12787,6 +13750,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray3);
@@ -12814,6 +13779,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray3);
@@ -12841,6 +13808,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray3);
@@ -12868,6 +13837,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
+ if ( disp__glGetColorTable == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, table, &isCopiedArray3);
@@ -12901,6 +13872,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetColorTableParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -12933,6 +13906,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetColorTableParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -12961,6 +13936,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glBlendEquation == NULL ) return;
+
disp__glBlendEquation (
(GLenum) mode
);
@@ -12982,6 +13959,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glBlendColor == NULL ) return;
+
disp__glBlendColor (
(GLclampf) red,
(GLclampf) green,
@@ -13006,6 +13985,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean sink)
{
+ if ( disp__glHistogram == NULL ) return;
+
disp__glHistogram (
(GLenum) target,
(GLsizei) width,
@@ -13027,6 +14008,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint target)
{
+ if ( disp__glResetHistogram == NULL ) return;
+
disp__glResetHistogram (
(GLenum) target
);
@@ -13051,6 +14034,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetByteArrayElements(env, values, &isCopiedArray4);
@@ -13080,6 +14065,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetShortArrayElements(env, values, &isCopiedArray4);
@@ -13109,6 +14096,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetIntArrayElements(env, values, &isCopiedArray4);
@@ -13138,6 +14127,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray4);
@@ -13167,6 +14158,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetDoubleArrayElements(env, values, &isCopiedArray4);
@@ -13196,6 +14189,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetBooleanArrayElements(env, values, &isCopiedArray4);
@@ -13225,6 +14220,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
+ if ( disp__glGetHistogram == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetLongArrayElements(env, values, &isCopiedArray4);
@@ -13259,6 +14256,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetHistogramParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -13291,6 +14290,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetHistogramParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -13321,6 +14322,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean sink)
{
+ if ( disp__glMinmax == NULL ) return;
+
disp__glMinmax (
(GLenum) target,
(GLenum) internalformat,
@@ -13341,6 +14344,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint target)
{
+ if ( disp__glResetMinmax == NULL ) return;
+
disp__glResetMinmax (
(GLenum) target
);
@@ -13365,6 +14370,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jbyte *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetByteArrayElements(env, values, &isCopiedArray4);
@@ -13394,6 +14401,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jshort *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetShortArrayElements(env, values, &isCopiedArray4);
@@ -13423,6 +14432,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jint *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetIntArrayElements(env, values, &isCopiedArray4);
@@ -13452,6 +14463,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jfloat *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray4);
@@ -13481,6 +14494,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jdouble *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetDoubleArrayElements(env, values, &isCopiedArray4);
@@ -13510,6 +14525,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jboolean *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetBooleanArrayElements(env, values, &isCopiedArray4);
@@ -13539,6 +14556,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray4 = JNI_FALSE;
jlong *ptr4 = NULL;
+ if ( disp__glGetMinmax == NULL ) return;
+
if(values!=NULL)
{
ptr4 = (*env)->GetLongArrayElements(env, values, &isCopiedArray4);
@@ -13573,6 +14592,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetMinmaxParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -13605,6 +14626,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetMinmaxParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -13639,6 +14662,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (*env)->GetByteArrayElements(env, image, 0);
@@ -13669,6 +14694,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (*env)->GetShortArrayElements(env, image, 0);
@@ -13699,6 +14726,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (*env)->GetIntArrayElements(env, image, 0);
@@ -13729,6 +14758,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (*env)->GetFloatArrayElements(env, image, 0);
@@ -13759,6 +14790,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (*env)->GetDoubleArrayElements(env, image, 0);
@@ -13789,6 +14822,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (*env)->GetBooleanArrayElements(env, image, 0);
@@ -13819,6 +14854,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glConvolutionFilter1D == NULL ) return;
+
if(image!=NULL)
{
ptr5 = (*env)->GetLongArrayElements(env, image, 0);
@@ -13857,6 +14894,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (*env)->GetByteArrayElements(env, image, 0);
@@ -13889,6 +14928,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (*env)->GetShortArrayElements(env, image, 0);
@@ -13921,6 +14962,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (*env)->GetIntArrayElements(env, image, 0);
@@ -13953,6 +14996,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (*env)->GetFloatArrayElements(env, image, 0);
@@ -13985,6 +15030,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (*env)->GetDoubleArrayElements(env, image, 0);
@@ -14017,6 +15064,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (*env)->GetBooleanArrayElements(env, image, 0);
@@ -14049,6 +15098,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr6 = NULL;
+ if ( disp__glConvolutionFilter2D == NULL ) return;
+
if(image!=NULL)
{
ptr6 = (*env)->GetLongArrayElements(env, image, 0);
@@ -14083,6 +15134,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat params)
{
+ if ( disp__glConvolutionParameterf == NULL ) return;
+
disp__glConvolutionParameterf (
(GLenum) target,
(GLenum) pname,
@@ -14106,6 +15159,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr2 = NULL;
+ if ( disp__glConvolutionParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -14136,6 +15191,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint params)
{
+ if ( disp__glConvolutionParameteri == NULL ) return;
+
disp__glConvolutionParameteri (
(GLenum) target,
(GLenum) pname,
@@ -14159,6 +15216,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr2 = NULL;
+ if ( disp__glConvolutionParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, 0);
@@ -14191,6 +15250,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint width)
{
+ if ( disp__glCopyConvolutionFilter1D == NULL ) return;
+
disp__glCopyConvolutionFilter1D (
(GLenum) target,
(GLenum) internalformat,
@@ -14218,6 +15279,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyConvolutionFilter2D == NULL ) return;
+
disp__glCopyConvolutionFilter2D (
(GLenum) target,
(GLenum) internalformat,
@@ -14246,6 +15309,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, image, &isCopiedArray3);
@@ -14273,6 +15338,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, image, &isCopiedArray3);
@@ -14300,6 +15367,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, image, &isCopiedArray3);
@@ -14327,6 +15396,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, image, &isCopiedArray3);
@@ -14354,6 +15425,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, image, &isCopiedArray3);
@@ -14381,6 +15454,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, image, &isCopiedArray3);
@@ -14408,6 +15483,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
+ if ( disp__glGetConvolutionFilter == NULL ) return;
+
if(image!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, image, &isCopiedArray3);
@@ -14441,6 +15518,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetConvolutionParameterfv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -14473,6 +15552,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetConvolutionParameteriv == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -14510,6 +15591,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jbyte *ptr6 = NULL;
jbyte *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (*env)->GetByteArrayElements(env, row, 0);
@@ -14553,6 +15636,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort *ptr6 = NULL;
jshort *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (*env)->GetShortArrayElements(env, row, 0);
@@ -14596,6 +15681,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr6 = NULL;
jint *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (*env)->GetIntArrayElements(env, row, 0);
@@ -14639,6 +15726,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat *ptr6 = NULL;
jfloat *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (*env)->GetFloatArrayElements(env, row, 0);
@@ -14682,6 +15771,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble *ptr6 = NULL;
jdouble *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (*env)->GetDoubleArrayElements(env, row, 0);
@@ -14725,6 +15816,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean *ptr6 = NULL;
jboolean *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (*env)->GetBooleanArrayElements(env, row, 0);
@@ -14768,6 +15861,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jlong *ptr6 = NULL;
jlong *ptr7 = NULL;
+ if ( disp__glSeparableFilter2D == NULL ) return;
+
if(row!=NULL)
{
ptr6 = (*env)->GetLongArrayElements(env, row, 0);
@@ -14820,6 +15915,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jbyte *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, row, &isCopiedArray3);
@@ -14871,6 +15968,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jshort *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, row, &isCopiedArray3);
@@ -14922,6 +16021,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jint *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, row, &isCopiedArray3);
@@ -14973,6 +16074,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jfloat *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, row, &isCopiedArray3);
@@ -15024,6 +16127,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jdouble *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, row, &isCopiedArray3);
@@ -15075,6 +16180,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jboolean *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, row, &isCopiedArray3);
@@ -15126,6 +16233,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray5 = JNI_FALSE;
jlong *ptr5 = NULL;
+ if ( disp__glGetSeparableFilter == NULL ) return;
+
if(row!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, row, &isCopiedArray3);
@@ -15176,6 +16285,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat alpha)
{
+ if ( disp__glBlendColorEXT == NULL ) return;
+
disp__glBlendColorEXT (
(GLclampf) red,
(GLclampf) green,
@@ -15198,6 +16309,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat bias)
{
+ if ( disp__glPolygonOffsetEXT == NULL ) return;
+
disp__glPolygonOffsetEXT (
(GLfloat) factor,
(GLfloat) bias
@@ -15227,6 +16340,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetByteArrayElements(env, pixels, 0);
@@ -15265,6 +16380,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetShortArrayElements(env, pixels, 0);
@@ -15303,6 +16420,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetIntArrayElements(env, pixels, 0);
@@ -15341,6 +16460,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetFloatArrayElements(env, pixels, 0);
@@ -15379,6 +16500,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetDoubleArrayElements(env, pixels, 0);
@@ -15417,6 +16540,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetBooleanArrayElements(env, pixels, 0);
@@ -15455,6 +16580,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr9 = NULL;
+ if ( disp__glTexImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr9 = (*env)->GetLongArrayElements(env, pixels, 0);
@@ -15501,6 +16628,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetByteArrayElements(env, pixels, 0);
@@ -15541,6 +16670,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetShortArrayElements(env, pixels, 0);
@@ -15581,6 +16712,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetIntArrayElements(env, pixels, 0);
@@ -15621,6 +16754,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetFloatArrayElements(env, pixels, 0);
@@ -15661,6 +16796,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetDoubleArrayElements(env, pixels, 0);
@@ -15701,6 +16838,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetBooleanArrayElements(env, pixels, 0);
@@ -15741,6 +16880,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr10 = NULL;
+ if ( disp__glTexSubImage3DEXT == NULL ) return;
+
if(pixels!=NULL)
{
ptr10 = (*env)->GetLongArrayElements(env, pixels, 0);
@@ -15785,6 +16926,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint height)
{
+ if ( disp__glCopyTexSubImage3DEXT == NULL ) return;
+
disp__glCopyTexSubImage3DEXT (
(GLenum) target,
(GLint) level,
@@ -15814,6 +16957,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGenTexturesEXT == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1);
@@ -15843,6 +16988,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glDeleteTexturesEXT == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, textures, 0);
@@ -15871,6 +17018,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glBindTextureEXT == NULL ) return;
+
disp__glBindTextureEXT (
(GLenum) target,
(GLuint) texture
@@ -15894,6 +17043,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint *ptr1 = NULL;
jfloat *ptr2 = NULL;
+ if ( disp__glPrioritizeTexturesEXT == NULL ) return;
+
if(textures!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, textures, 0);
@@ -15937,6 +17088,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jboolean *ptr2 = NULL;
+ if ( disp__glAreTexturesResidentEXT == NULL ) return 0;
+
if(textures!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, textures, 0);
@@ -15976,6 +17129,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean ret;
+ if ( disp__glIsTextureEXT == NULL ) return 0;
+
ret = (jboolean) disp__glIsTextureEXT (
(GLuint) texture
);
@@ -16000,6 +17155,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -16028,6 +17185,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -16056,6 +17215,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -16084,6 +17245,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -16112,6 +17275,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -16140,6 +17305,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -16168,6 +17335,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr4 = NULL;
+ if ( disp__glVertexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -16202,6 +17371,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -16228,6 +17399,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -16254,6 +17427,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -16280,6 +17455,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -16306,6 +17483,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -16332,6 +17511,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -16358,6 +17539,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glNormalPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -16392,6 +17575,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -16420,6 +17605,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -16448,6 +17635,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -16476,6 +17665,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -16504,6 +17695,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -16532,6 +17725,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -16560,6 +17755,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr4 = NULL;
+ if ( disp__glColorPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -16594,6 +17791,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -16620,6 +17819,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -16646,6 +17847,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -16672,6 +17875,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -16698,6 +17903,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -16724,6 +17931,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -16750,6 +17959,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr3 = NULL;
+ if ( disp__glIndexPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -16784,6 +17995,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetByteArrayElements(env, ptr, 0);
@@ -16812,6 +18025,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetShortArrayElements(env, ptr, 0);
@@ -16840,6 +18055,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetIntArrayElements(env, ptr, 0);
@@ -16868,6 +18085,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetFloatArrayElements(env, ptr, 0);
@@ -16896,6 +18115,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetDoubleArrayElements(env, ptr, 0);
@@ -16924,6 +18145,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -16952,6 +18175,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr4 = NULL;
+ if ( disp__glTexCoordPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr4 = (*env)->GetLongArrayElements(env, ptr, 0);
@@ -16985,6 +18210,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr2 = NULL;
+ if ( disp__glEdgeFlagPointerEXT == NULL ) return;
+
if(ptr!=NULL)
{
ptr2 = (*env)->GetBooleanArrayElements(env, ptr, 0);
@@ -17016,6 +18243,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jbyte *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetByteArrayElements(env, params, &isCopiedArray1);
@@ -17039,6 +18268,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jshort *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetShortArrayElements(env, params, &isCopiedArray1);
@@ -17062,6 +18293,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jint *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1);
@@ -17085,6 +18318,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jfloat *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1);
@@ -17108,6 +18343,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jdouble *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1);
@@ -17131,6 +18368,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jboolean *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1);
@@ -17154,6 +18393,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray1 = JNI_FALSE;
jlong *ptr1 = NULL;
+ if ( disp__glGetPointervEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetLongArrayElements(env, params, &isCopiedArray1);
@@ -17181,6 +18422,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint i)
{
+ if ( disp__glArrayElementEXT == NULL ) return;
+
disp__glArrayElementEXT (
(GLint) i
);
@@ -17201,6 +18444,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint count)
{
+ if ( disp__glDrawArraysEXT == NULL ) return;
+
disp__glDrawArraysEXT (
(GLenum) mode,
(GLint) first,
@@ -17221,6 +18466,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint mode)
{
+ if ( disp__glBlendEquationEXT == NULL ) return;
+
disp__glBlendEquationEXT (
(GLenum) mode
);
@@ -17240,6 +18487,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat param)
{
+ if ( disp__glPointParameterfEXT == NULL ) return;
+
disp__glPointParameterfEXT (
(GLenum) pname,
(GLfloat) param
@@ -17261,6 +18510,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glPointParameterfvEXT == NULL ) return;
+
if(params!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, params, 0);
@@ -17294,6 +18545,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetByteArrayElements(env, table, 0);
@@ -17324,6 +18577,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetShortArrayElements(env, table, 0);
@@ -17354,6 +18609,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetIntArrayElements(env, table, 0);
@@ -17384,6 +18641,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetFloatArrayElements(env, table, 0);
@@ -17414,6 +18673,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetDoubleArrayElements(env, table, 0);
@@ -17444,6 +18705,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetBooleanArrayElements(env, table, 0);
@@ -17474,6 +18737,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr5 = (*env)->GetLongArrayElements(env, table, 0);
@@ -17511,6 +18776,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jbyte *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetByteArrayElements(env, data, 0);
@@ -17541,6 +18808,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetShortArrayElements(env, data, 0);
@@ -17571,6 +18840,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetIntArrayElements(env, data, 0);
@@ -17601,6 +18872,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetFloatArrayElements(env, data, 0);
@@ -17631,6 +18904,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetDoubleArrayElements(env, data, 0);
@@ -17661,6 +18936,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jboolean *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetBooleanArrayElements(env, data, 0);
@@ -17691,6 +18968,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jlong *ptr5 = NULL;
+ if ( disp__glColorSubTableEXT == NULL ) return;
+
if(data!=NULL)
{
ptr5 = (*env)->GetLongArrayElements(env, data, 0);
@@ -17727,6 +19006,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jbyte *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetByteArrayElements(env, table, &isCopiedArray3);
@@ -17754,6 +19035,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jshort *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetShortArrayElements(env, table, &isCopiedArray3);
@@ -17781,6 +19064,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jint *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetIntArrayElements(env, table, &isCopiedArray3);
@@ -17808,6 +19093,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jfloat *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray3);
@@ -17835,6 +19122,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jdouble *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray3);
@@ -17862,6 +19151,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jboolean *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray3);
@@ -17889,6 +19180,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray3 = JNI_FALSE;
jlong *ptr3 = NULL;
+ if ( disp__glGetColorTableEXT == NULL ) return;
+
if(table!=NULL)
{
ptr3 = (*env)->GetLongArrayElements(env, table, &isCopiedArray3);
@@ -17922,6 +19215,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jfloat *ptr2 = NULL;
+ if ( disp__glGetColorTableParameterfvEXT == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2);
@@ -17954,6 +19249,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jboolean isCopiedArray2 = JNI_FALSE;
jint *ptr2 = NULL;
+ if ( disp__glGetColorTableParameterivEXT == NULL ) return;
+
if(params!=NULL)
{
ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2);
@@ -17983,6 +19280,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint count)
{
+ if ( disp__glLockArraysEXT == NULL ) return;
+
disp__glLockArraysEXT (
(GLint) first,
(GLsizei) count
@@ -18001,6 +19300,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
JNIEnv *env, jobject obj)
{
+ if ( disp__glUnlockArraysEXT == NULL ) return;
+
disp__glUnlockArraysEXT (
);
@@ -18018,6 +19319,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glActiveTextureARB == NULL ) return;
+
disp__glActiveTextureARB (
(GLenum) texture
);
@@ -18036,6 +19339,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint texture)
{
+ if ( disp__glClientActiveTextureARB == NULL ) return;
+
disp__glClientActiveTextureARB (
(GLenum) texture
);
@@ -18055,6 +19360,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble s)
{
+ if ( disp__glMultiTexCoord1dARB == NULL ) return;
+
disp__glMultiTexCoord1dARB (
(GLenum) target,
(GLdouble) s
@@ -18076,6 +19383,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glMultiTexCoord1dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -18104,6 +19413,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat s)
{
+ if ( disp__glMultiTexCoord1fARB == NULL ) return;
+
disp__glMultiTexCoord1fARB (
(GLenum) target,
(GLfloat) s
@@ -18125,6 +19436,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glMultiTexCoord1fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -18153,6 +19466,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint s)
{
+ if ( disp__glMultiTexCoord1iARB == NULL ) return;
+
disp__glMultiTexCoord1iARB (
(GLenum) target,
(GLint) s
@@ -18174,6 +19489,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glMultiTexCoord1ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, v, 0);
@@ -18202,6 +19519,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort s)
{
+ if ( disp__glMultiTexCoord1sARB == NULL ) return;
+
disp__glMultiTexCoord1sARB (
(GLenum) target,
(GLshort) s
@@ -18223,6 +19542,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glMultiTexCoord1svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetShortArrayElements(env, v, 0);
@@ -18252,6 +19573,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble t)
{
+ if ( disp__glMultiTexCoord2dARB == NULL ) return;
+
disp__glMultiTexCoord2dARB (
(GLenum) target,
(GLdouble) s,
@@ -18274,6 +19597,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glMultiTexCoord2dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -18303,6 +19628,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat t)
{
+ if ( disp__glMultiTexCoord2fARB == NULL ) return;
+
disp__glMultiTexCoord2fARB (
(GLenum) target,
(GLfloat) s,
@@ -18325,6 +19652,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glMultiTexCoord2fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -18354,6 +19683,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint t)
{
+ if ( disp__glMultiTexCoord2iARB == NULL ) return;
+
disp__glMultiTexCoord2iARB (
(GLenum) target,
(GLint) s,
@@ -18376,6 +19707,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glMultiTexCoord2ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, v, 0);
@@ -18405,6 +19738,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort t)
{
+ if ( disp__glMultiTexCoord2sARB == NULL ) return;
+
disp__glMultiTexCoord2sARB (
(GLenum) target,
(GLshort) s,
@@ -18427,6 +19762,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glMultiTexCoord2svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetShortArrayElements(env, v, 0);
@@ -18457,6 +19794,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble r)
{
+ if ( disp__glMultiTexCoord3dARB == NULL ) return;
+
disp__glMultiTexCoord3dARB (
(GLenum) target,
(GLdouble) s,
@@ -18480,6 +19819,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glMultiTexCoord3dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -18510,6 +19851,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat r)
{
+ if ( disp__glMultiTexCoord3fARB == NULL ) return;
+
disp__glMultiTexCoord3fARB (
(GLenum) target,
(GLfloat) s,
@@ -18533,6 +19876,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glMultiTexCoord3fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -18563,6 +19908,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint r)
{
+ if ( disp__glMultiTexCoord3iARB == NULL ) return;
+
disp__glMultiTexCoord3iARB (
(GLenum) target,
(GLint) s,
@@ -18586,6 +19933,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glMultiTexCoord3ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, v, 0);
@@ -18616,6 +19965,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort r)
{
+ if ( disp__glMultiTexCoord3sARB == NULL ) return;
+
disp__glMultiTexCoord3sARB (
(GLenum) target,
(GLshort) s,
@@ -18639,6 +19990,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glMultiTexCoord3svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetShortArrayElements(env, v, 0);
@@ -18670,6 +20023,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jdouble q)
{
+ if ( disp__glMultiTexCoord4dARB == NULL ) return;
+
disp__glMultiTexCoord4dARB (
(GLenum) target,
(GLdouble) s,
@@ -18694,6 +20049,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jdouble *ptr1 = NULL;
+ if ( disp__glMultiTexCoord4dvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetDoubleArrayElements(env, v, 0);
@@ -18725,6 +20082,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jfloat q)
{
+ if ( disp__glMultiTexCoord4fARB == NULL ) return;
+
disp__glMultiTexCoord4fARB (
(GLenum) target,
(GLfloat) s,
@@ -18749,6 +20108,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jfloat *ptr1 = NULL;
+ if ( disp__glMultiTexCoord4fvARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetFloatArrayElements(env, v, 0);
@@ -18780,6 +20141,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jint q)
{
+ if ( disp__glMultiTexCoord4iARB == NULL ) return;
+
disp__glMultiTexCoord4iARB (
(GLenum) target,
(GLint) s,
@@ -18804,6 +20167,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jint *ptr1 = NULL;
+ if ( disp__glMultiTexCoord4ivARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetIntArrayElements(env, v, 0);
@@ -18835,6 +20200,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
jshort q)
{
+ if ( disp__glMultiTexCoord4sARB == NULL ) return;
+
disp__glMultiTexCoord4sARB (
(GLenum) target,
(GLshort) s,
@@ -18859,6 +20226,8 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
{
jshort *ptr1 = NULL;
+ if ( disp__glMultiTexCoord4svARB == NULL ) return;
+
if(v!=NULL)
{
ptr1 = (*env)->GetShortArrayElements(env, v, 0);
@@ -18874,4 +20243,4 @@ Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj )
}
}
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/gl-disp-fetch.hc b/CNativeCode/gl-disp-fetch.hc
index 8caeb97..6d6e51e 100755
--- a/CNativeCode/gl-disp-fetch.hc
+++ b/CNativeCode/gl-disp-fetch.hc
@@ -8,7 +8,7 @@
GET_GL_PROCADDRESS ("glGetString");
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -1325,4 +1325,4 @@
disp__glMultiTexCoord4svARB = (void (CALLBACK *)(GLenum, const GLshort *))
GET_GL_PROCADDRESS ("glMultiTexCoord4svARB");
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/gl-disp-var.h b/CNativeCode/gl-disp-var.h
index 8ed3a45..1652317 100755
--- a/CNativeCode/gl-disp-var.h
+++ b/CNativeCode/gl-disp-var.h
@@ -6,7 +6,7 @@
LIBAPI const GLubyte *(CALLBACK * disp__glGetString )( GLenum name );
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -3508,4 +3508,4 @@
*/
LIBAPI void (CALLBACK * disp__glMultiTexCoord4svARB )(GLenum, const GLshort *);
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/gl-disp-var.hc b/CNativeCode/gl-disp-var.hc
index 9b732fe..2c60bf2 100755
--- a/CNativeCode/gl-disp-var.hc
+++ b/CNativeCode/gl-disp-var.hc
@@ -6,7 +6,7 @@
const GLubyte *(CALLBACK * disp__glGetString )( GLenum name ) = NULL;
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: gl-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -886,4 +886,4 @@
void (CALLBACK * disp__glMultiTexCoord4svARB )(GLenum, const GLshort *) = NULL;
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/glu-disp-fetch.hc b/CNativeCode/glu-disp-fetch.hc
index 336c1f9..80784fb 100755
--- a/CNativeCode/glu-disp-fetch.hc
+++ b/CNativeCode/glu-disp-fetch.hc
@@ -39,7 +39,7 @@
GET_GL_PROCADDRESS("gluNewTess");
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -165,4 +165,4 @@
disp__gluEndPolygon = (void (CALLBACK *)(GLUtesselator *))
GET_GL_PROCADDRESS ("gluEndPolygon");
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/glu-disp-var.h b/CNativeCode/glu-disp-var.h
index 29ecc5a..5000f65 100755
--- a/CNativeCode/glu-disp-var.h
+++ b/CNativeCode/glu-disp-var.h
@@ -26,7 +26,7 @@ LIBAPI GLUnurbsObj* (CALLBACK * disp__gluNewNurbsRenderer) ( void );
LIBAPI GLUtesselator* (CALLBACK * disp__gluNewTess) ( void );
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -352,4 +352,4 @@ LIBAPI GLUtesselator* (CALLBACK * disp__gluNewTess) ( void );
*/
LIBAPI void (CALLBACK * disp__gluEndPolygon )(GLUtesselator *);
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */
diff --git a/CNativeCode/glu-disp-var.hc b/CNativeCode/glu-disp-var.hc
index 496955e..7bcd913 100755
--- a/CNativeCode/glu-disp-var.hc
+++ b/CNativeCode/glu-disp-var.hc
@@ -27,7 +27,7 @@ GLUnurbsObj* (CALLBACK * disp__gluNewNurbsRenderer) ( void ) = NULL;
GLUtesselator* (CALLBACK * disp__gluNewTess) ( void ) = NULL;
/**
- * C2J Parser Version 2.0
+ * C2J Parser Version 2.1
* Jausoft - Sven Goethel Software Development
* Reading from file: glu-proto-auto.orig.h . . .
* Destination-Class: gl4java_GLUFuncJauJNI !
@@ -113,4 +113,4 @@ GLUtesselator* (CALLBACK * disp__gluNewTess) ( void ) = NULL;
void (CALLBACK * disp__gluEndPolygon )(GLUtesselator *) = NULL;
-/* C2J Parser Version 2.0: Java program parsed successfully. */
+/* C2J Parser Version 2.1: Java program parsed successfully. */