/* WARNING ! WARNING *** THIS FILE IS GENERATED BY C2J !!! DO NOT MAKE ANY CHANGES *** MAKE CHANGES IN THE SKELETON FILES !!! */ /* * Leo Chan -- 1995 * lchan@cgl.uwaterloo.ca * * This mammoth C file takes care of all the native implementation for the * bulk of OpenGL commands * --------------- * * Sven Goethel * * September 1997 */ /* * need to include the JAVA internal header files for macros and function * prototypes required to maipulated JAVA data structures and functions * * StubPreamble.h includes the structure and macro definitions neede to * convert JAVA data structures into C data structures. * */ #include "OpenGL_misc.h" /* * the next thing to include are special headers that were created by * JAVAH. They include the C structure definitions for the JAVA classes */ #include "gl4java_GLFuncJauJNI.h" /*-------------------------------------------------------------------------- * here on in is just regular apple pie C */ #ifndef LIBAPIENTRY #define LIBAPIENTRY #endif #ifndef LIBAPI #define LIBAPI #endif #ifndef CALLBACK #define CALLBACK #endif /** THIS IS A MANUAL CODED PART gl-manualCodedImplJNI.java */ static const char _gl_n_a_string[] = "GL-String not avaiable !"; JNIEXPORT jstring JNICALL Java_gl4java_GLFuncJauJNI_glGetString ( JNIEnv *env, jobject obj, jint name ) { const char * tmpString=0; tmpString = 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.4.1.0"; JNIEXPORT jstring JNICALL Java_gl4java_GLFuncJauJNI_getNativeVendor ( JNIEnv *env, jobject obj ) { return (*env)->NewStringUTF(env, _gl_lib_vendor_); } JNIEXPORT jstring JNICALL Java_gl4java_GLFuncJauJNI_getNativeVersion ( JNIEnv *env, jobject obj ) { return (*env)->NewStringUTF(env, _gl_lib_version_); } /** * C2J Parser Version 1.5 Beta * Jausoft - Sven Goethel Software Development * Reading from file: gl-proto-auto.orig.h . . . * Destination-Class: gl4java_GLFuncJauJNI ! */ /** * Original Function-Prototype : *
extern void glClearIndex ( GLfloat c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glClearIndex ( JNIEnv *env, jobject obj, jfloat c) { static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat)) getGLProcAddressHelper("glClearIndex", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) c ); } /** * Original Function-Prototype : *
extern void glClearColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glClearColor ( JNIEnv *env, jobject obj, jfloat red, jfloat green, jfloat blue, jfloat alpha) { static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) getGLProcAddressHelper("glClearColor", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLclampf) red, (GLclampf) green, (GLclampf) blue, (GLclampf) alpha ); } /** * Original Function-Prototype : *
extern void glClear ( GLbitfield mask ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glClear ( JNIEnv *env, jobject obj, jint mask) { static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLbitfield)) getGLProcAddressHelper("glClear", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLbitfield) mask ); } /** * Original Function-Prototype : *
extern void glIndexMask ( GLuint mask ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexMask ( JNIEnv *env, jobject obj, jint mask) { static void (CALLBACK *__func_ptr__)(GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint)) getGLProcAddressHelper("glIndexMask", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) mask ); } /** * Original Function-Prototype : *
extern void glColorMask ( GLboolean red , GLboolean green , GLboolean blue , GLboolean alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorMask ( JNIEnv *env, jobject obj, jboolean red, jboolean green, jboolean blue, jboolean alpha) { static void (CALLBACK *__func_ptr__)(GLboolean, GLboolean, GLboolean, GLboolean) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLboolean, GLboolean, GLboolean, GLboolean)) getGLProcAddressHelper("glColorMask", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLboolean) red, (GLboolean) green, (GLboolean) blue, (GLboolean) alpha ); } /** * Original Function-Prototype : *
extern void glAlphaFunc ( GLenum func , GLclampf ref ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glAlphaFunc ( JNIEnv *env, jobject obj, jint func, jfloat ref) { static void (CALLBACK *__func_ptr__)(GLenum, GLclampf) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLclampf)) getGLProcAddressHelper("glAlphaFunc", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) func, (GLclampf) ref ); } /** * Original Function-Prototype : *
extern void glBlendFunc ( GLenum sfactor , GLenum dfactor ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glBlendFunc ( JNIEnv *env, jobject obj, jint sfactor, jint dfactor) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) getGLProcAddressHelper("glBlendFunc", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) sfactor, (GLenum) dfactor ); } /** * Original Function-Prototype : *
extern void glLogicOp ( GLenum opcode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLogicOp ( JNIEnv *env, jobject obj, jint opcode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glLogicOp", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) opcode ); } /** * Original Function-Prototype : *
extern void glCullFace ( GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCullFace ( JNIEnv *env, jobject obj, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glCullFace", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glFrontFace ( GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glFrontFace ( JNIEnv *env, jobject obj, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glFrontFace", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glPointSize ( GLfloat size ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPointSize ( JNIEnv *env, jobject obj, jfloat size) { static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat)) getGLProcAddressHelper("glPointSize", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) size ); } /** * Original Function-Prototype : *
extern void glLineWidth ( GLfloat width ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLineWidth ( JNIEnv *env, jobject obj, jfloat width) { static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat)) getGLProcAddressHelper("glLineWidth", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) width ); } /** * Original Function-Prototype : *
extern void glLineStipple ( GLint factor , GLushort pattern ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLineStipple ( JNIEnv *env, jobject obj, jint factor, jshort pattern) { static void (CALLBACK *__func_ptr__)(GLint, GLushort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLushort)) getGLProcAddressHelper("glLineStipple", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) factor, (GLushort) pattern ); } /** * Original Function-Prototype : *
extern void glPolygonMode ( GLenum face , GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPolygonMode ( JNIEnv *env, jobject obj, jint face, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) getGLProcAddressHelper("glPolygonMode", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) face, (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glPolygonOffset ( GLfloat factor , GLfloat units ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPolygonOffset ( JNIEnv *env, jobject obj, jfloat factor, jfloat units) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) getGLProcAddressHelper("glPolygonOffset", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) factor, (GLfloat) units ); } /** * Original Function-Prototype : *
extern void glPolygonStipple ( const GLubyte * mask ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPolygonStipple ( JNIEnv *env, jobject obj, jbyteArray mask) { static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jbyte *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) getGLProcAddressHelper("glPolygonStipple", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(mask!=NULL) { ptr0 = (*env)->GetByteArrayElements(env, mask, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glPolygonStipple arg: mask"); } } __func_ptr__ ( (const GLubyte *) ptr0 ); if(mask!=NULL) { (*env)->ReleaseByteArrayElements(env, mask, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetPolygonStipple ( GLubyte * mask ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPolygonStipple ( JNIEnv *env, jobject obj, jbyteArray mask) { static void (CALLBACK *__func_ptr__)(GLubyte *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jbyte *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLubyte *)) getGLProcAddressHelper("glGetPolygonStipple", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(mask!=NULL) { ptr0 = (*env)->GetByteArrayElements(env, mask, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glGetPolygonStipple arg: mask"); } } __func_ptr__ ( (GLubyte *) ptr0 ); if(mask!=NULL) { (*env)->ReleaseByteArrayElements(env, mask, ptr0, (isCopiedArray0 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glEdgeFlag ( GLboolean flag ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlag ( JNIEnv *env, jobject obj, jboolean flag) { static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLboolean)) getGLProcAddressHelper("glEdgeFlag", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLboolean) flag ); } /** * Original Function-Prototype : *
extern void glEdgeFlagv ( const GLboolean * flag ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlagv ( JNIEnv *env, jobject obj, jbooleanArray flag) { static void (CALLBACK *__func_ptr__)(const GLboolean *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jboolean *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLboolean *)) getGLProcAddressHelper("glEdgeFlagv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(flag!=NULL) { ptr0 = (*env)->GetBooleanArrayElements(env, flag, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glEdgeFlagv arg: flag"); } } __func_ptr__ ( (const GLboolean *) ptr0 ); if(flag!=NULL) { (*env)->ReleaseBooleanArrayElements(env, flag, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glScissor ( GLint x , GLint y , GLsizei width , GLsizei height ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glScissor ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) getGLProcAddressHelper("glScissor", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height ); } /** * Original Function-Prototype : *
extern void glClipPlane ( GLenum plane , const GLdouble * equation ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glClipPlane ( JNIEnv *env, jobject obj, jint plane, jdoubleArray equation) { static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) getGLProcAddressHelper("glClipPlane", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(equation!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, equation, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glClipPlane arg: equation"); } } __func_ptr__ ( (GLenum) plane, (const GLdouble *) ptr1 ); if(equation!=NULL) { (*env)->ReleaseDoubleArrayElements(env, equation, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetClipPlane ( GLenum plane , GLdouble * equation ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetClipPlane ( JNIEnv *env, jobject obj, jint plane, jdoubleArray equation) { static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble *)) getGLProcAddressHelper("glGetClipPlane", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(equation!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, equation, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetClipPlane arg: equation"); } } __func_ptr__ ( (GLenum) plane, (GLdouble *) ptr1 ); if(equation!=NULL) { (*env)->ReleaseDoubleArrayElements(env, equation, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glDrawBuffer ( GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawBuffer ( JNIEnv *env, jobject obj, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glDrawBuffer", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glReadBuffer ( GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glReadBuffer ( JNIEnv *env, jobject obj, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glReadBuffer", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glEnable ( GLenum cap ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEnable ( JNIEnv *env, jobject obj, jint cap) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glEnable", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) cap ); } /** * Original Function-Prototype : *
extern void glDisable ( GLenum cap ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDisable ( JNIEnv *env, jobject obj, jint cap) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glDisable", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) cap ); } /** * Original Function-Prototype : *
extern GLboolean glIsEnabled ( GLenum cap ) ; **/ JNIEXPORT jboolean JNICALL Java_gl4java_GLFuncJauJNI_glIsEnabled ( JNIEnv *env, jobject obj, jint cap) { static jboolean (CALLBACK *__func_ptr__)(GLenum) = NULL; jboolean ret; if(__func_ptr__==NULL) { __func_ptr__ = (jboolean (CALLBACK *)(GLenum)) getGLProcAddressHelper("glIsEnabled", NULL, 1, 0); if(__func_ptr__==NULL) return 0; } ret = (jboolean) __func_ptr__ ( (GLenum) cap ); return ret; } /** * Original Function-Prototype : *
extern void glEnableClientState ( GLenum cap ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEnableClientState ( JNIEnv *env, jobject obj, jint cap) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glEnableClientState", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) cap ); } /** * Original Function-Prototype : *
extern void glDisableClientState ( GLenum cap ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDisableClientState ( JNIEnv *env, jobject obj, jint cap) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glDisableClientState", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) cap ); } /** * Original Function-Prototype : *
extern void glGetBooleanv ( GLenum pname , GLboolean * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetBooleanv ( JNIEnv *env, jobject obj, jint pname, jbooleanArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jboolean *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean *)) getGLProcAddressHelper("glGetBooleanv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetBooleanv arg: params"); } } __func_ptr__ ( (GLenum) pname, (GLboolean *) ptr1 ); if(params!=NULL) { (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetDoublev ( GLenum pname , GLdouble * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetDoublev ( JNIEnv *env, jobject obj, jint pname, jdoubleArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLdouble *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble *)) getGLProcAddressHelper("glGetDoublev", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetDoublev arg: params"); } } __func_ptr__ ( (GLenum) pname, (GLdouble *) ptr1 ); if(params!=NULL) { (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetFloatv ( GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetFloatv ( JNIEnv *env, jobject obj, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat *)) getGLProcAddressHelper("glGetFloatv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetFloatv arg: params"); } } __func_ptr__ ( (GLenum) pname, (GLfloat *) ptr1 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetIntegerv ( GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetIntegerv ( JNIEnv *env, jobject obj, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint *)) getGLProcAddressHelper("glGetIntegerv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetIntegerv arg: params"); } } __func_ptr__ ( (GLenum) pname, (GLint *) ptr1 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glPushAttrib ( GLbitfield mask ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPushAttrib ( JNIEnv *env, jobject obj, jint mask) { static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLbitfield)) getGLProcAddressHelper("glPushAttrib", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLbitfield) mask ); } /** * Original Function-Prototype : *
extern void glPopAttrib ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPopAttrib ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glPopAttrib", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glPushClientAttrib ( GLbitfield mask ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPushClientAttrib ( JNIEnv *env, jobject obj, jint mask) { static void (CALLBACK *__func_ptr__)(GLbitfield) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLbitfield)) getGLProcAddressHelper("glPushClientAttrib", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLbitfield) mask ); } /** * Original Function-Prototype : *
extern void glPopClientAttrib ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPopClientAttrib ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glPopClientAttrib", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern GLint glRenderMode ( GLenum mode ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_GLFuncJauJNI_glRenderMode ( JNIEnv *env, jobject obj, jint mode) { static jint (CALLBACK *__func_ptr__)(GLenum) = NULL; jint ret; if(__func_ptr__==NULL) { __func_ptr__ = (jint (CALLBACK *)(GLenum)) getGLProcAddressHelper("glRenderMode", NULL, 1, 0); if(__func_ptr__==NULL) return 0; } ret = (jint) __func_ptr__ ( (GLenum) mode ); return ret; } /** * Original Function-Prototype : *
extern GLenum glGetError ( void ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_GLFuncJauJNI_glGetError ( JNIEnv *env, jobject obj) { static jint (CALLBACK *__func_ptr__)() = NULL; jint ret; if(__func_ptr__==NULL) { __func_ptr__ = (jint (CALLBACK *)()) getGLProcAddressHelper("glGetError", NULL, 1, 0); if(__func_ptr__==NULL) return 0; } ret = (jint) __func_ptr__ ( ); return ret; } /** * Original Function-Prototype : *
extern void glFinish ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glFinish ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glFinish", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glFlush ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glFlush ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glFlush", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glHint ( GLenum target , GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glHint ( JNIEnv *env, jobject obj, jint target, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) getGLProcAddressHelper("glHint", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glClearDepth ( GLclampd depth ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glClearDepth ( JNIEnv *env, jobject obj, jdouble depth) { static void (CALLBACK *__func_ptr__)(GLclampd) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLclampd)) getGLProcAddressHelper("glClearDepth", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLclampd) depth ); } /** * Original Function-Prototype : *
extern void glDepthFunc ( GLenum func ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDepthFunc ( JNIEnv *env, jobject obj, jint func) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glDepthFunc", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) func ); } /** * Original Function-Prototype : *
extern void glDepthMask ( GLboolean flag ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDepthMask ( JNIEnv *env, jobject obj, jboolean flag) { static void (CALLBACK *__func_ptr__)(GLboolean) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLboolean)) getGLProcAddressHelper("glDepthMask", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLboolean) flag ); } /** * Original Function-Prototype : *
extern void glDepthRange ( GLclampd near_val , GLclampd far_val ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDepthRange ( JNIEnv *env, jobject obj, jdouble near_val, jdouble far_val) { static void (CALLBACK *__func_ptr__)(GLclampd, GLclampd) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLclampd, GLclampd)) getGLProcAddressHelper("glDepthRange", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLclampd) near_val, (GLclampd) far_val ); } /** * Original Function-Prototype : *
extern void glClearAccum ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glClearAccum ( JNIEnv *env, jobject obj, jfloat red, jfloat green, jfloat blue, jfloat alpha) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glClearAccum", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) red, (GLfloat) green, (GLfloat) blue, (GLfloat) alpha ); } /** * Original Function-Prototype : *
extern void glAccum ( GLenum op , GLfloat value ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glAccum ( JNIEnv *env, jobject obj, jint op, jfloat value) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) getGLProcAddressHelper("glAccum", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) op, (GLfloat) value ); } /** * Original Function-Prototype : *
extern void glMatrixMode ( GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMatrixMode ( JNIEnv *env, jobject obj, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glMatrixMode", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glOrtho ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glOrtho ( JNIEnv *env, jobject obj, jdouble left, jdouble right, jdouble bottom, jdouble top, jdouble near_val, jdouble far_val) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glOrtho", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) left, (GLdouble) right, (GLdouble) bottom, (GLdouble) top, (GLdouble) near_val, (GLdouble) far_val ); } /** * Original Function-Prototype : *
extern void glFrustum ( GLdouble left , GLdouble right , GLdouble bottom , GLdouble top , GLdouble near_val , GLdouble far_val ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glFrustum ( JNIEnv *env, jobject obj, jdouble left, jdouble right, jdouble bottom, jdouble top, jdouble near_val, jdouble far_val) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glFrustum", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) left, (GLdouble) right, (GLdouble) bottom, (GLdouble) top, (GLdouble) near_val, (GLdouble) far_val ); } /** * Original Function-Prototype : *
extern void glViewport ( GLint x , GLint y , GLsizei width , GLsizei height ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glViewport ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei)) getGLProcAddressHelper("glViewport", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height ); } /** * Original Function-Prototype : *
extern void glPushMatrix ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPushMatrix ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glPushMatrix", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glPopMatrix ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPopMatrix ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glPopMatrix", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glLoadIdentity ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLoadIdentity ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glLoadIdentity", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glLoadMatrixd ( const GLdouble * m ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLoadMatrixd ( JNIEnv *env, jobject obj, jdoubleArray m) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glLoadMatrixd", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(m!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, m, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glLoadMatrixd arg: m"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(m!=NULL) { (*env)->ReleaseDoubleArrayElements(env, m, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glLoadMatrixf ( const GLfloat * m ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLoadMatrixf ( JNIEnv *env, jobject obj, jfloatArray m) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glLoadMatrixf", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(m!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, m, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glLoadMatrixf arg: m"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(m!=NULL) { (*env)->ReleaseFloatArrayElements(env, m, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultMatrixd ( const GLdouble * m ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultMatrixd ( JNIEnv *env, jobject obj, jdoubleArray m) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glMultMatrixd", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(m!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, m, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glMultMatrixd arg: m"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(m!=NULL) { (*env)->ReleaseDoubleArrayElements(env, m, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultMatrixf ( const GLfloat * m ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultMatrixf ( JNIEnv *env, jobject obj, jfloatArray m) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glMultMatrixf", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(m!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, m, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glMultMatrixf arg: m"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(m!=NULL) { (*env)->ReleaseFloatArrayElements(env, m, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRotated ( GLdouble angle , GLdouble x , GLdouble y , GLdouble z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRotated ( JNIEnv *env, jobject obj, jdouble angle, jdouble x, jdouble y, jdouble z) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glRotated", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) angle, (GLdouble) x, (GLdouble) y, (GLdouble) z ); } /** * Original Function-Prototype : *
extern void glRotatef ( GLfloat angle , GLfloat x , GLfloat y , GLfloat z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRotatef ( JNIEnv *env, jobject obj, jfloat angle, jfloat x, jfloat y, jfloat z) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glRotatef", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) angle, (GLfloat) x, (GLfloat) y, (GLfloat) z ); } /** * Original Function-Prototype : *
extern void glScaled ( GLdouble x , GLdouble y , GLdouble z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glScaled ( JNIEnv *env, jobject obj, jdouble x, jdouble y, jdouble z) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glScaled", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) x, (GLdouble) y, (GLdouble) z ); } /** * Original Function-Prototype : *
extern void glScalef ( GLfloat x , GLfloat y , GLfloat z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glScalef ( JNIEnv *env, jobject obj, jfloat x, jfloat y, jfloat z) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glScalef", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) x, (GLfloat) y, (GLfloat) z ); } /** * Original Function-Prototype : *
extern void glTranslated ( GLdouble x , GLdouble y , GLdouble z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTranslated ( JNIEnv *env, jobject obj, jdouble x, jdouble y, jdouble z) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glTranslated", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) x, (GLdouble) y, (GLdouble) z ); } /** * Original Function-Prototype : *
extern void glTranslatef ( GLfloat x , GLfloat y , GLfloat z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTranslatef ( JNIEnv *env, jobject obj, jfloat x, jfloat y, jfloat z) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glTranslatef", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) x, (GLfloat) y, (GLfloat) z ); } /** * Original Function-Prototype : *
extern GLboolean glIsList ( GLuint list ) ; **/ JNIEXPORT jboolean JNICALL Java_gl4java_GLFuncJauJNI_glIsList ( JNIEnv *env, jobject obj, jint list) { static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; jboolean ret; if(__func_ptr__==NULL) { __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) getGLProcAddressHelper("glIsList", NULL, 1, 0); if(__func_ptr__==NULL) return 0; } ret = (jboolean) __func_ptr__ ( (GLuint) list ); return ret; } /** * Original Function-Prototype : *
extern void glDeleteLists ( GLuint list , GLsizei range ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDeleteLists ( JNIEnv *env, jobject obj, jint list, jint range) { static void (CALLBACK *__func_ptr__)(GLuint, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint, GLsizei)) getGLProcAddressHelper("glDeleteLists", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) list, (GLsizei) range ); } /** * Original Function-Prototype : *
extern GLuint glGenLists ( GLsizei range ) ; **/ JNIEXPORT jint JNICALL Java_gl4java_GLFuncJauJNI_glGenLists ( JNIEnv *env, jobject obj, jint range) { static jint (CALLBACK *__func_ptr__)(GLsizei) = NULL; jint ret; if(__func_ptr__==NULL) { __func_ptr__ = (jint (CALLBACK *)(GLsizei)) getGLProcAddressHelper("glGenLists", NULL, 1, 0); if(__func_ptr__==NULL) return 0; } ret = (jint) __func_ptr__ ( (GLsizei) range ); return ret; } /** * Original Function-Prototype : *
extern void glNewList ( GLuint list , GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNewList ( JNIEnv *env, jobject obj, jint list, jint mode) { static void (CALLBACK *__func_ptr__)(GLuint, GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint, GLenum)) getGLProcAddressHelper("glNewList", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) list, (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glEndList ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEndList ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glEndList", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glCallList ( GLuint list ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCallList ( JNIEnv *env, jobject obj, jint list) { static void (CALLBACK *__func_ptr__)(GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint)) getGLProcAddressHelper("glCallList", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) list ); } /** * Original Function-Prototype : *
extern void glCallLists ( GLsizei n , GLenum type , const GLvoid * lists ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCallLists__II_3B ( JNIEnv *env, jobject obj, jint n, jint type, jbyteArray lists) { static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jbyte *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glCallLists", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(lists!=NULL) { ptr2 = (*env)->GetByteArrayElements(env, lists, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glCallLists arg: lists"); } } __func_ptr__ ( (GLsizei) n, (GLenum) type, (const GLvoid *) ptr2 ); if(lists!=NULL) { (*env)->ReleaseByteArrayElements(env, lists, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCallLists__II_3S ( JNIEnv *env, jobject obj, jint n, jint type, jshortArray lists) { static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jshort *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glCallLists", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(lists!=NULL) { ptr2 = (*env)->GetShortArrayElements(env, lists, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glCallLists arg: lists"); } } __func_ptr__ ( (GLsizei) n, (GLenum) type, (const GLvoid *) ptr2 ); if(lists!=NULL) { (*env)->ReleaseShortArrayElements(env, lists, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCallLists__II_3I ( JNIEnv *env, jobject obj, jint n, jint type, jintArray lists) { static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glCallLists", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(lists!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, lists, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glCallLists arg: lists"); } } __func_ptr__ ( (GLsizei) n, (GLenum) type, (const GLvoid *) ptr2 ); if(lists!=NULL) { (*env)->ReleaseIntArrayElements(env, lists, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCallLists__II_3F ( JNIEnv *env, jobject obj, jint n, jint type, jfloatArray lists) { static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glCallLists", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(lists!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, lists, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glCallLists arg: lists"); } } __func_ptr__ ( (GLsizei) n, (GLenum) type, (const GLvoid *) ptr2 ); if(lists!=NULL) { (*env)->ReleaseFloatArrayElements(env, lists, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCallLists__II_3D ( JNIEnv *env, jobject obj, jint n, jint type, jdoubleArray lists) { static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jdouble *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glCallLists", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(lists!=NULL) { ptr2 = (*env)->GetDoubleArrayElements(env, lists, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glCallLists arg: lists"); } } __func_ptr__ ( (GLsizei) n, (GLenum) type, (const GLvoid *) ptr2 ); if(lists!=NULL) { (*env)->ReleaseDoubleArrayElements(env, lists, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCallLists__II_3Z ( JNIEnv *env, jobject obj, jint n, jint type, jbooleanArray lists) { static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jboolean *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glCallLists", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(lists!=NULL) { ptr2 = (*env)->GetBooleanArrayElements(env, lists, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glCallLists arg: lists"); } } __func_ptr__ ( (GLsizei) n, (GLenum) type, (const GLvoid *) ptr2 ); if(lists!=NULL) { (*env)->ReleaseBooleanArrayElements(env, lists, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCallLists__II_3J ( JNIEnv *env, jobject obj, jint n, jint type, jlongArray lists) { static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jlong *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glCallLists", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(lists!=NULL) { ptr2 = (*env)->GetLongArrayElements(env, lists, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glCallLists arg: lists"); } } __func_ptr__ ( (GLsizei) n, (GLenum) type, (const GLvoid *) ptr2 ); if(lists!=NULL) { (*env)->ReleaseLongArrayElements(env, lists, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glListBase ( GLuint base ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glListBase ( JNIEnv *env, jobject obj, jint base) { static void (CALLBACK *__func_ptr__)(GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint)) getGLProcAddressHelper("glListBase", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) base ); } /** * Original Function-Prototype : *
extern void glBegin ( GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glBegin ( JNIEnv *env, jobject obj, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glBegin", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glEnd ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEnd ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glEnd", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glVertex2d ( GLdouble x , GLdouble y ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex2d ( JNIEnv *env, jobject obj, jdouble x, jdouble y) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) getGLProcAddressHelper("glVertex2d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) x, (GLdouble) y ); } /** * Original Function-Prototype : *
extern void glVertex2f ( GLfloat x , GLfloat y ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex2f ( JNIEnv *env, jobject obj, jfloat x, jfloat y) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) getGLProcAddressHelper("glVertex2f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) x, (GLfloat) y ); } /** * Original Function-Prototype : *
extern void glVertex2i ( GLint x , GLint y ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex2i ( JNIEnv *env, jobject obj, jint x, jint y) { static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) getGLProcAddressHelper("glVertex2i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x, (GLint) y ); } /** * Original Function-Prototype : *
extern void glVertex2s ( GLshort x , GLshort y ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex2s ( JNIEnv *env, jobject obj, jshort x, jshort y) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) getGLProcAddressHelper("glVertex2s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) x, (GLshort) y ); } /** * Original Function-Prototype : *
extern void glVertex3d ( GLdouble x , GLdouble y , GLdouble z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex3d ( JNIEnv *env, jobject obj, jdouble x, jdouble y, jdouble z) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glVertex3d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) x, (GLdouble) y, (GLdouble) z ); } /** * Original Function-Prototype : *
extern void glVertex3f ( GLfloat x , GLfloat y , GLfloat z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex3f ( JNIEnv *env, jobject obj, jfloat x, jfloat y, jfloat z) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glVertex3f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) x, (GLfloat) y, (GLfloat) z ); } /** * Original Function-Prototype : *
extern void glVertex3i ( GLint x , GLint y , GLint z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex3i ( JNIEnv *env, jobject obj, jint x, jint y, jint z) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) getGLProcAddressHelper("glVertex3i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x, (GLint) y, (GLint) z ); } /** * Original Function-Prototype : *
extern void glVertex3s ( GLshort x , GLshort y , GLshort z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex3s ( JNIEnv *env, jobject obj, jshort x, jshort y, jshort z) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) getGLProcAddressHelper("glVertex3s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) x, (GLshort) y, (GLshort) z ); } /** * Original Function-Prototype : *
extern void glVertex4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex4d ( JNIEnv *env, jobject obj, jdouble x, jdouble y, jdouble z, jdouble w) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glVertex4d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) x, (GLdouble) y, (GLdouble) z, (GLdouble) w ); } /** * Original Function-Prototype : *
extern void glVertex4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex4f ( JNIEnv *env, jobject obj, jfloat x, jfloat y, jfloat z, jfloat w) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glVertex4f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w ); } /** * Original Function-Prototype : *
extern void glVertex4i ( GLint x , GLint y , GLint z , GLint w ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex4i ( JNIEnv *env, jobject obj, jint x, jint y, jint z, jint w) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) getGLProcAddressHelper("glVertex4i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x, (GLint) y, (GLint) z, (GLint) w ); } /** * Original Function-Prototype : *
extern void glVertex4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex4s ( JNIEnv *env, jobject obj, jshort x, jshort y, jshort z, jshort w) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) getGLProcAddressHelper("glVertex4s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) x, (GLshort) y, (GLshort) z, (GLshort) w ); } /** * Original Function-Prototype : *
extern void glVertex2dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex2dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glVertex2dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex2dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex2fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex2fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glVertex2fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex2fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex2iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex2iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glVertex2iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex2iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex2sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex2sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glVertex2sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex2sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex3dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex3dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glVertex3dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex3dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex3fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex3fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glVertex3fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex3fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex3iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex3iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glVertex3iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex3iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex3sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex3sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glVertex3sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex3sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex4dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex4dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glVertex4dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex4dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex4fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex4fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glVertex4fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex4fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex4iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex4iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glVertex4iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex4iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertex4sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertex4sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glVertex4sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glVertex4sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glNormal3b ( GLbyte nx , GLbyte ny , GLbyte nz ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3b ( JNIEnv *env, jobject obj, jbyte nx, jbyte ny, jbyte nz) { static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) getGLProcAddressHelper("glNormal3b", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLbyte) nx, (GLbyte) ny, (GLbyte) nz ); } /** * Original Function-Prototype : *
extern void glNormal3d ( GLdouble nx , GLdouble ny , GLdouble nz ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3d ( JNIEnv *env, jobject obj, jdouble nx, jdouble ny, jdouble nz) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glNormal3d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) nx, (GLdouble) ny, (GLdouble) nz ); } /** * Original Function-Prototype : *
extern void glNormal3f ( GLfloat nx , GLfloat ny , GLfloat nz ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3f ( JNIEnv *env, jobject obj, jfloat nx, jfloat ny, jfloat nz) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glNormal3f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) nx, (GLfloat) ny, (GLfloat) nz ); } /** * Original Function-Prototype : *
extern void glNormal3i ( GLint nx , GLint ny , GLint nz ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3i ( JNIEnv *env, jobject obj, jint nx, jint ny, jint nz) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) getGLProcAddressHelper("glNormal3i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) nx, (GLint) ny, (GLint) nz ); } /** * Original Function-Prototype : *
extern void glNormal3s ( GLshort nx , GLshort ny , GLshort nz ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3s ( JNIEnv *env, jobject obj, jshort nx, jshort ny, jshort nz) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) getGLProcAddressHelper("glNormal3s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) nx, (GLshort) ny, (GLshort) nz ); } /** * Original Function-Prototype : *
extern void glNormal3bv ( const GLbyte * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3bv ( JNIEnv *env, jobject obj, jbyteArray v) { static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jbyte *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLbyte *)) getGLProcAddressHelper("glNormal3bv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glNormal3bv arg: v"); } } __func_ptr__ ( (const GLbyte *) ptr0 ); if(v!=NULL) { (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glNormal3dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glNormal3dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glNormal3dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glNormal3fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glNormal3fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glNormal3fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glNormal3iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glNormal3iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glNormal3iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glNormal3sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormal3sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glNormal3sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glNormal3sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glIndexd ( GLdouble c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexd ( JNIEnv *env, jobject obj, jdouble c) { static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble)) getGLProcAddressHelper("glIndexd", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) c ); } /** * Original Function-Prototype : *
extern void glIndexf ( GLfloat c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexf ( JNIEnv *env, jobject obj, jfloat c) { static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat)) getGLProcAddressHelper("glIndexf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) c ); } /** * Original Function-Prototype : *
extern void glIndexi ( GLint c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexi ( JNIEnv *env, jobject obj, jint c) { static void (CALLBACK *__func_ptr__)(GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint)) getGLProcAddressHelper("glIndexi", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) c ); } /** * Original Function-Prototype : *
extern void glIndexs ( GLshort c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexs ( JNIEnv *env, jobject obj, jshort c) { static void (CALLBACK *__func_ptr__)(GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort)) getGLProcAddressHelper("glIndexs", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) c ); } /** * Original Function-Prototype : *
extern void glIndexub ( GLubyte c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexub ( JNIEnv *env, jobject obj, jbyte c) { static void (CALLBACK *__func_ptr__)(GLubyte) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLubyte)) getGLProcAddressHelper("glIndexub", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLubyte) c ); } /** * Original Function-Prototype : *
extern void glIndexdv ( const GLdouble * c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexdv ( JNIEnv *env, jobject obj, jdoubleArray c) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glIndexdv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(c!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, c, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glIndexdv arg: c"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(c!=NULL) { (*env)->ReleaseDoubleArrayElements(env, c, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glIndexfv ( const GLfloat * c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexfv ( JNIEnv *env, jobject obj, jfloatArray c) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glIndexfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(c!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, c, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glIndexfv arg: c"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(c!=NULL) { (*env)->ReleaseFloatArrayElements(env, c, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glIndexiv ( const GLint * c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexiv ( JNIEnv *env, jobject obj, jintArray c) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glIndexiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(c!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, c, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glIndexiv arg: c"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(c!=NULL) { (*env)->ReleaseIntArrayElements(env, c, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glIndexsv ( const GLshort * c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexsv ( JNIEnv *env, jobject obj, jshortArray c) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glIndexsv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(c!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, c, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glIndexsv arg: c"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(c!=NULL) { (*env)->ReleaseShortArrayElements(env, c, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glIndexubv ( const GLubyte * c ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexubv ( JNIEnv *env, jobject obj, jbyteArray c) { static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jbyte *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) getGLProcAddressHelper("glIndexubv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(c!=NULL) { ptr0 = (*env)->GetByteArrayElements(env, c, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glIndexubv arg: c"); } } __func_ptr__ ( (const GLubyte *) ptr0 ); if(c!=NULL) { (*env)->ReleaseByteArrayElements(env, c, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor3b ( GLbyte red , GLbyte green , GLbyte blue ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3b ( JNIEnv *env, jobject obj, jbyte red, jbyte green, jbyte blue) { static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte)) getGLProcAddressHelper("glColor3b", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLbyte) red, (GLbyte) green, (GLbyte) blue ); } /** * Original Function-Prototype : *
extern void glColor3d ( GLdouble red , GLdouble green , GLdouble blue ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3d ( JNIEnv *env, jobject obj, jdouble red, jdouble green, jdouble blue) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glColor3d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) red, (GLdouble) green, (GLdouble) blue ); } /** * Original Function-Prototype : *
extern void glColor3f ( GLfloat red , GLfloat green , GLfloat blue ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3f ( JNIEnv *env, jobject obj, jfloat red, jfloat green, jfloat blue) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glColor3f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) red, (GLfloat) green, (GLfloat) blue ); } /** * Original Function-Prototype : *
extern void glColor3i ( GLint red , GLint green , GLint blue ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3i ( JNIEnv *env, jobject obj, jint red, jint green, jint blue) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) getGLProcAddressHelper("glColor3i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) red, (GLint) green, (GLint) blue ); } /** * Original Function-Prototype : *
extern void glColor3s ( GLshort red , GLshort green , GLshort blue ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3s ( JNIEnv *env, jobject obj, jshort red, jshort green, jshort blue) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) getGLProcAddressHelper("glColor3s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) red, (GLshort) green, (GLshort) blue ); } /** * Original Function-Prototype : *
extern void glColor3ub ( GLubyte red , GLubyte green , GLubyte blue ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3ub ( JNIEnv *env, jobject obj, jbyte red, jbyte green, jbyte blue) { static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte)) getGLProcAddressHelper("glColor3ub", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLubyte) red, (GLubyte) green, (GLubyte) blue ); } /** * Original Function-Prototype : *
extern void glColor3ui ( GLuint red , GLuint green , GLuint blue ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3ui ( JNIEnv *env, jobject obj, jint red, jint green, jint blue) { static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint)) getGLProcAddressHelper("glColor3ui", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) red, (GLuint) green, (GLuint) blue ); } /** * Original Function-Prototype : *
extern void glColor3us ( GLushort red , GLushort green , GLushort blue ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3us ( JNIEnv *env, jobject obj, jshort red, jshort green, jshort blue) { static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort)) getGLProcAddressHelper("glColor3us", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLushort) red, (GLushort) green, (GLushort) blue ); } /** * Original Function-Prototype : *
extern void glColor4b ( GLbyte red , GLbyte green , GLbyte blue , GLbyte alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4b ( JNIEnv *env, jobject obj, jbyte red, jbyte green, jbyte blue, jbyte alpha) { static void (CALLBACK *__func_ptr__)(GLbyte, GLbyte, GLbyte, GLbyte) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLbyte, GLbyte, GLbyte, GLbyte)) getGLProcAddressHelper("glColor4b", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLbyte) red, (GLbyte) green, (GLbyte) blue, (GLbyte) alpha ); } /** * Original Function-Prototype : *
extern void glColor4d ( GLdouble red , GLdouble green , GLdouble blue , GLdouble alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4d ( JNIEnv *env, jobject obj, jdouble red, jdouble green, jdouble blue, jdouble alpha) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glColor4d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) red, (GLdouble) green, (GLdouble) blue, (GLdouble) alpha ); } /** * Original Function-Prototype : *
extern void glColor4f ( GLfloat red , GLfloat green , GLfloat blue , GLfloat alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4f ( JNIEnv *env, jobject obj, jfloat red, jfloat green, jfloat blue, jfloat alpha) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glColor4f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) red, (GLfloat) green, (GLfloat) blue, (GLfloat) alpha ); } /** * Original Function-Prototype : *
extern void glColor4i ( GLint red , GLint green , GLint blue , GLint alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4i ( JNIEnv *env, jobject obj, jint red, jint green, jint blue, jint alpha) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) getGLProcAddressHelper("glColor4i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) red, (GLint) green, (GLint) blue, (GLint) alpha ); } /** * Original Function-Prototype : *
extern void glColor4s ( GLshort red , GLshort green , GLshort blue , GLshort alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4s ( JNIEnv *env, jobject obj, jshort red, jshort green, jshort blue, jshort alpha) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) getGLProcAddressHelper("glColor4s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) red, (GLshort) green, (GLshort) blue, (GLshort) alpha ); } /** * Original Function-Prototype : *
extern void glColor4ub ( GLubyte red , GLubyte green , GLubyte blue , GLubyte alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4ub ( JNIEnv *env, jobject obj, jbyte red, jbyte green, jbyte blue, jbyte alpha) { static void (CALLBACK *__func_ptr__)(GLubyte, GLubyte, GLubyte, GLubyte) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLubyte, GLubyte, GLubyte, GLubyte)) getGLProcAddressHelper("glColor4ub", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLubyte) red, (GLubyte) green, (GLubyte) blue, (GLubyte) alpha ); } /** * Original Function-Prototype : *
extern void glColor4ui ( GLuint red , GLuint green , GLuint blue , GLuint alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4ui ( JNIEnv *env, jobject obj, jint red, jint green, jint blue, jint alpha) { static void (CALLBACK *__func_ptr__)(GLuint, GLuint, GLuint, GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint, GLuint, GLuint, GLuint)) getGLProcAddressHelper("glColor4ui", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) red, (GLuint) green, (GLuint) blue, (GLuint) alpha ); } /** * Original Function-Prototype : *
extern void glColor4us ( GLushort red , GLushort green , GLushort blue , GLushort alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4us ( JNIEnv *env, jobject obj, jshort red, jshort green, jshort blue, jshort alpha) { static void (CALLBACK *__func_ptr__)(GLushort, GLushort, GLushort, GLushort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLushort, GLushort, GLushort, GLushort)) getGLProcAddressHelper("glColor4us", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLushort) red, (GLushort) green, (GLushort) blue, (GLushort) alpha ); } /** * Original Function-Prototype : *
extern void glColor3bv ( const GLbyte * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3bv ( JNIEnv *env, jobject obj, jbyteArray v) { static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jbyte *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLbyte *)) getGLProcAddressHelper("glColor3bv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor3bv arg: v"); } } __func_ptr__ ( (const GLbyte *) ptr0 ); if(v!=NULL) { (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor3dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glColor3dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor3dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor3fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glColor3fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor3fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor3iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glColor3iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor3iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor3sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glColor3sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor3sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor3ubv ( const GLubyte * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3ubv ( JNIEnv *env, jobject obj, jbyteArray v) { static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jbyte *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) getGLProcAddressHelper("glColor3ubv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor3ubv arg: v"); } } __func_ptr__ ( (const GLubyte *) ptr0 ); if(v!=NULL) { (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor3uiv ( const GLuint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3uiv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLuint *)) getGLProcAddressHelper("glColor3uiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor3uiv arg: v"); } } __func_ptr__ ( (const GLuint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor3usv ( const GLushort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor3usv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLushort *)) getGLProcAddressHelper("glColor3usv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor3usv arg: v"); } } __func_ptr__ ( (const GLushort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor4bv ( const GLbyte * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4bv ( JNIEnv *env, jobject obj, jbyteArray v) { static void (CALLBACK *__func_ptr__)(const GLbyte *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jbyte *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLbyte *)) getGLProcAddressHelper("glColor4bv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor4bv arg: v"); } } __func_ptr__ ( (const GLbyte *) ptr0 ); if(v!=NULL) { (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor4dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glColor4dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor4dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor4fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glColor4fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor4fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor4iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glColor4iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor4iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor4sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glColor4sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor4sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor4ubv ( const GLubyte * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4ubv ( JNIEnv *env, jobject obj, jbyteArray v) { static void (CALLBACK *__func_ptr__)(const GLubyte *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jbyte *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLubyte *)) getGLProcAddressHelper("glColor4ubv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetByteArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor4ubv arg: v"); } } __func_ptr__ ( (const GLubyte *) ptr0 ); if(v!=NULL) { (*env)->ReleaseByteArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor4uiv ( const GLuint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4uiv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLuint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLuint *)) getGLProcAddressHelper("glColor4uiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor4uiv arg: v"); } } __func_ptr__ ( (const GLuint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColor4usv ( const GLushort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColor4usv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLushort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLushort *)) getGLProcAddressHelper("glColor4usv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glColor4usv arg: v"); } } __func_ptr__ ( (const GLushort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord1d ( GLdouble s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord1d ( JNIEnv *env, jobject obj, jdouble s) { static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble)) getGLProcAddressHelper("glTexCoord1d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) s ); } /** * Original Function-Prototype : *
extern void glTexCoord1f ( GLfloat s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord1f ( JNIEnv *env, jobject obj, jfloat s) { static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat)) getGLProcAddressHelper("glTexCoord1f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) s ); } /** * Original Function-Prototype : *
extern void glTexCoord1i ( GLint s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord1i ( JNIEnv *env, jobject obj, jint s) { static void (CALLBACK *__func_ptr__)(GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint)) getGLProcAddressHelper("glTexCoord1i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) s ); } /** * Original Function-Prototype : *
extern void glTexCoord1s ( GLshort s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord1s ( JNIEnv *env, jobject obj, jshort s) { static void (CALLBACK *__func_ptr__)(GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort)) getGLProcAddressHelper("glTexCoord1s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) s ); } /** * Original Function-Prototype : *
extern void glTexCoord2d ( GLdouble s , GLdouble t ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord2d ( JNIEnv *env, jobject obj, jdouble s, jdouble t) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) getGLProcAddressHelper("glTexCoord2d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) s, (GLdouble) t ); } /** * Original Function-Prototype : *
extern void glTexCoord2f ( GLfloat s , GLfloat t ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord2f ( JNIEnv *env, jobject obj, jfloat s, jfloat t) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) getGLProcAddressHelper("glTexCoord2f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) s, (GLfloat) t ); } /** * Original Function-Prototype : *
extern void glTexCoord2i ( GLint s , GLint t ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord2i ( JNIEnv *env, jobject obj, jint s, jint t) { static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) getGLProcAddressHelper("glTexCoord2i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) s, (GLint) t ); } /** * Original Function-Prototype : *
extern void glTexCoord2s ( GLshort s , GLshort t ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord2s ( JNIEnv *env, jobject obj, jshort s, jshort t) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) getGLProcAddressHelper("glTexCoord2s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) s, (GLshort) t ); } /** * Original Function-Prototype : *
extern void glTexCoord3d ( GLdouble s , GLdouble t , GLdouble r ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord3d ( JNIEnv *env, jobject obj, jdouble s, jdouble t, jdouble r) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glTexCoord3d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) s, (GLdouble) t, (GLdouble) r ); } /** * Original Function-Prototype : *
extern void glTexCoord3f ( GLfloat s , GLfloat t , GLfloat r ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord3f ( JNIEnv *env, jobject obj, jfloat s, jfloat t, jfloat r) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glTexCoord3f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) s, (GLfloat) t, (GLfloat) r ); } /** * Original Function-Prototype : *
extern void glTexCoord3i ( GLint s , GLint t , GLint r ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord3i ( JNIEnv *env, jobject obj, jint s, jint t, jint r) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) getGLProcAddressHelper("glTexCoord3i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) s, (GLint) t, (GLint) r ); } /** * Original Function-Prototype : *
extern void glTexCoord3s ( GLshort s , GLshort t , GLshort r ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord3s ( JNIEnv *env, jobject obj, jshort s, jshort t, jshort r) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) getGLProcAddressHelper("glTexCoord3s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) s, (GLshort) t, (GLshort) r ); } /** * Original Function-Prototype : *
extern void glTexCoord4d ( GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord4d ( JNIEnv *env, jobject obj, jdouble s, jdouble t, jdouble r, jdouble q) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glTexCoord4d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) s, (GLdouble) t, (GLdouble) r, (GLdouble) q ); } /** * Original Function-Prototype : *
extern void glTexCoord4f ( GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord4f ( JNIEnv *env, jobject obj, jfloat s, jfloat t, jfloat r, jfloat q) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glTexCoord4f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) s, (GLfloat) t, (GLfloat) r, (GLfloat) q ); } /** * Original Function-Prototype : *
extern void glTexCoord4i ( GLint s , GLint t , GLint r , GLint q ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord4i ( JNIEnv *env, jobject obj, jint s, jint t, jint r, jint q) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) getGLProcAddressHelper("glTexCoord4i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) s, (GLint) t, (GLint) r, (GLint) q ); } /** * Original Function-Prototype : *
extern void glTexCoord4s ( GLshort s , GLshort t , GLshort r , GLshort q ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord4s ( JNIEnv *env, jobject obj, jshort s, jshort t, jshort r, jshort q) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) getGLProcAddressHelper("glTexCoord4s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) s, (GLshort) t, (GLshort) r, (GLshort) q ); } /** * Original Function-Prototype : *
extern void glTexCoord1dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord1dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glTexCoord1dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord1dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord1fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord1fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glTexCoord1fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord1fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord1iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord1iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glTexCoord1iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord1iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord1sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord1sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glTexCoord1sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord1sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord2dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord2dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glTexCoord2dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord2dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord2fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord2fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glTexCoord2fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord2fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord2iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord2iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glTexCoord2iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord2iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord2sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord2sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glTexCoord2sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord2sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord3dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord3dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glTexCoord3dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord3dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord3fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord3fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glTexCoord3fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord3fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord3iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord3iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glTexCoord3iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord3iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord3sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord3sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glTexCoord3sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord3sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord4dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord4dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glTexCoord4dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord4dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord4fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord4fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glTexCoord4fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord4fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord4iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord4iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glTexCoord4iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord4iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoord4sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoord4sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glTexCoord4sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glTexCoord4sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos2d ( GLdouble x , GLdouble y ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos2d ( JNIEnv *env, jobject obj, jdouble x, jdouble y) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) getGLProcAddressHelper("glRasterPos2d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) x, (GLdouble) y ); } /** * Original Function-Prototype : *
extern void glRasterPos2f ( GLfloat x , GLfloat y ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos2f ( JNIEnv *env, jobject obj, jfloat x, jfloat y) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) getGLProcAddressHelper("glRasterPos2f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) x, (GLfloat) y ); } /** * Original Function-Prototype : *
extern void glRasterPos2i ( GLint x , GLint y ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos2i ( JNIEnv *env, jobject obj, jint x, jint y) { static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) getGLProcAddressHelper("glRasterPos2i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x, (GLint) y ); } /** * Original Function-Prototype : *
extern void glRasterPos2s ( GLshort x , GLshort y ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos2s ( JNIEnv *env, jobject obj, jshort x, jshort y) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort)) getGLProcAddressHelper("glRasterPos2s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) x, (GLshort) y ); } /** * Original Function-Prototype : *
extern void glRasterPos3d ( GLdouble x , GLdouble y , GLdouble z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos3d ( JNIEnv *env, jobject obj, jdouble x, jdouble y, jdouble z) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glRasterPos3d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) x, (GLdouble) y, (GLdouble) z ); } /** * Original Function-Prototype : *
extern void glRasterPos3f ( GLfloat x , GLfloat y , GLfloat z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos3f ( JNIEnv *env, jobject obj, jfloat x, jfloat y, jfloat z) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glRasterPos3f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) x, (GLfloat) y, (GLfloat) z ); } /** * Original Function-Prototype : *
extern void glRasterPos3i ( GLint x , GLint y , GLint z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos3i ( JNIEnv *env, jobject obj, jint x, jint y, jint z) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint)) getGLProcAddressHelper("glRasterPos3i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x, (GLint) y, (GLint) z ); } /** * Original Function-Prototype : *
extern void glRasterPos3s ( GLshort x , GLshort y , GLshort z ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos3s ( JNIEnv *env, jobject obj, jshort x, jshort y, jshort z) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort)) getGLProcAddressHelper("glRasterPos3s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) x, (GLshort) y, (GLshort) z ); } /** * Original Function-Prototype : *
extern void glRasterPos4d ( GLdouble x , GLdouble y , GLdouble z , GLdouble w ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos4d ( JNIEnv *env, jobject obj, jdouble x, jdouble y, jdouble z, jdouble w) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glRasterPos4d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) x, (GLdouble) y, (GLdouble) z, (GLdouble) w ); } /** * Original Function-Prototype : *
extern void glRasterPos4f ( GLfloat x , GLfloat y , GLfloat z , GLfloat w ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos4f ( JNIEnv *env, jobject obj, jfloat x, jfloat y, jfloat z, jfloat w) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glRasterPos4f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) x, (GLfloat) y, (GLfloat) z, (GLfloat) w ); } /** * Original Function-Prototype : *
extern void glRasterPos4i ( GLint x , GLint y , GLint z , GLint w ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos4i ( JNIEnv *env, jobject obj, jint x, jint y, jint z, jint w) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) getGLProcAddressHelper("glRasterPos4i", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x, (GLint) y, (GLint) z, (GLint) w ); } /** * Original Function-Prototype : *
extern void glRasterPos4s ( GLshort x , GLshort y , GLshort z , GLshort w ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos4s ( JNIEnv *env, jobject obj, jshort x, jshort y, jshort z, jshort w) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) getGLProcAddressHelper("glRasterPos4s", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) x, (GLshort) y, (GLshort) z, (GLshort) w ); } /** * Original Function-Prototype : *
extern void glRasterPos2dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos2dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glRasterPos2dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos2dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos2fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos2fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glRasterPos2fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos2fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos2iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos2iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glRasterPos2iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos2iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos2sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos2sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glRasterPos2sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos2sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos3dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos3dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glRasterPos3dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos3dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos3fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos3fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glRasterPos3fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos3fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos3iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos3iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glRasterPos3iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos3iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos3sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos3sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glRasterPos3sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos3sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos4dv ( const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos4dv ( JNIEnv *env, jobject obj, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glRasterPos4dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos4dv arg: v"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos4fv ( const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos4fv ( JNIEnv *env, jobject obj, jfloatArray v) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glRasterPos4fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos4fv arg: v"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos4iv ( const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos4iv ( JNIEnv *env, jobject obj, jintArray v) { static void (CALLBACK *__func_ptr__)(const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *)) getGLProcAddressHelper("glRasterPos4iv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos4iv arg: v"); } } __func_ptr__ ( (const GLint *) ptr0 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRasterPos4sv ( const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRasterPos4sv ( JNIEnv *env, jobject obj, jshortArray v) { static void (CALLBACK *__func_ptr__)(const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *)) getGLProcAddressHelper("glRasterPos4sv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRasterPos4sv arg: v"); } } __func_ptr__ ( (const GLshort *) ptr0 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRectd ( GLdouble x1 , GLdouble y1 , GLdouble x2 , GLdouble y2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRectd ( JNIEnv *env, jobject obj, jdouble x1, jdouble y1, jdouble x2, jdouble y2) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glRectd", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) x1, (GLdouble) y1, (GLdouble) x2, (GLdouble) y2 ); } /** * Original Function-Prototype : *
extern void glRectf ( GLfloat x1 , GLfloat y1 , GLfloat x2 , GLfloat y2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRectf ( JNIEnv *env, jobject obj, jfloat x1, jfloat y1, jfloat x2, jfloat y2) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glRectf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) x1, (GLfloat) y1, (GLfloat) x2, (GLfloat) y2 ); } /** * Original Function-Prototype : *
extern void glRecti ( GLint x1 , GLint y1 , GLint x2 , GLint y2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRecti ( JNIEnv *env, jobject obj, jint x1, jint y1, jint x2, jint y2) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLint, GLint)) getGLProcAddressHelper("glRecti", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x1, (GLint) y1, (GLint) x2, (GLint) y2 ); } /** * Original Function-Prototype : *
extern void glRects ( GLshort x1 , GLshort y1 , GLshort x2 , GLshort y2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRects ( JNIEnv *env, jobject obj, jshort x1, jshort y1, jshort x2, jshort y2) { static void (CALLBACK *__func_ptr__)(GLshort, GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLshort, GLshort, GLshort, GLshort)) getGLProcAddressHelper("glRects", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLshort) x1, (GLshort) y1, (GLshort) x2, (GLshort) y2 ); } /** * Original Function-Prototype : *
extern void glRectdv ( const GLdouble * v1 , const GLdouble * v2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRectdv ( JNIEnv *env, jobject obj, jdoubleArray v1, jdoubleArray v2) { static void (CALLBACK *__func_ptr__)(const GLdouble *, const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *, const GLdouble *)) getGLProcAddressHelper("glRectdv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v1!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, v1, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRectdv arg: v1"); } } if(v2!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, v2, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glRectdv arg: v2"); } } __func_ptr__ ( (const GLdouble *) ptr0, (const GLdouble *) ptr1 ); if(v1!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v1, ptr0, JNI_ABORT); } if(v2!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v2, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRectfv ( const GLfloat * v1 , const GLfloat * v2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRectfv ( JNIEnv *env, jobject obj, jfloatArray v1, jfloatArray v2) { static void (CALLBACK *__func_ptr__)(const GLfloat *, const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *, const GLfloat *)) getGLProcAddressHelper("glRectfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v1!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, v1, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRectfv arg: v1"); } } if(v2!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, v2, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glRectfv arg: v2"); } } __func_ptr__ ( (const GLfloat *) ptr0, (const GLfloat *) ptr1 ); if(v1!=NULL) { (*env)->ReleaseFloatArrayElements(env, v1, ptr0, JNI_ABORT); } if(v2!=NULL) { (*env)->ReleaseFloatArrayElements(env, v2, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRectiv ( const GLint * v1 , const GLint * v2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRectiv ( JNIEnv *env, jobject obj, jintArray v1, jintArray v2) { static void (CALLBACK *__func_ptr__)(const GLint *, const GLint *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jint *ptr0 = NULL; static int isWarned0 = 0; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLint *, const GLint *)) getGLProcAddressHelper("glRectiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v1!=NULL) { ptr0 = (*env)->GetIntArrayElements(env, v1, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRectiv arg: v1"); } } if(v2!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, v2, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glRectiv arg: v2"); } } __func_ptr__ ( (const GLint *) ptr0, (const GLint *) ptr1 ); if(v1!=NULL) { (*env)->ReleaseIntArrayElements(env, v1, ptr0, JNI_ABORT); } if(v2!=NULL) { (*env)->ReleaseIntArrayElements(env, v2, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glRectsv ( const GLshort * v1 , const GLshort * v2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glRectsv ( JNIEnv *env, jobject obj, jshortArray v1, jshortArray v2) { static void (CALLBACK *__func_ptr__)(const GLshort *, const GLshort *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jshort *ptr0 = NULL; static int isWarned0 = 0; jboolean isCopiedArray1 = JNI_FALSE; jshort *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLshort *, const GLshort *)) getGLProcAddressHelper("glRectsv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v1!=NULL) { ptr0 = (*env)->GetShortArrayElements(env, v1, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glRectsv arg: v1"); } } if(v2!=NULL) { ptr1 = (*env)->GetShortArrayElements(env, v2, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glRectsv arg: v2"); } } __func_ptr__ ( (const GLshort *) ptr0, (const GLshort *) ptr1 ); if(v1!=NULL) { (*env)->ReleaseShortArrayElements(env, v1, ptr0, JNI_ABORT); } if(v2!=NULL) { (*env)->ReleaseShortArrayElements(env, v2, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glVertexPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3B ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glVertexPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3S ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glVertexPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3I ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glVertexPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3F ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glVertexPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3D ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glVertexPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3Z ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glVertexPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointer__III_3J ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glVertexPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glNormalPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3B ( JNIEnv *env, jobject obj, jint type, jint stride, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jbyte *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glNormalPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3S ( JNIEnv *env, jobject obj, jint type, jint stride, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jshort *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glNormalPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3I ( JNIEnv *env, jobject obj, jint type, jint stride, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glNormalPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3F ( JNIEnv *env, jobject obj, jint type, jint stride, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glNormalPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3D ( JNIEnv *env, jobject obj, jint type, jint stride, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jdouble *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glNormalPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3Z ( JNIEnv *env, jobject obj, jint type, jint stride, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jboolean *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glNormalPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointer__II_3J ( JNIEnv *env, jobject obj, jint type, jint stride, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jlong *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glNormalPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColorPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointer__III_3B ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glColorPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointer__III_3S ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glColorPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointer__III_3I ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glColorPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointer__III_3F ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glColorPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointer__III_3D ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glColorPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointer__III_3Z ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glColorPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointer__III_3J ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glColorPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glIndexPointer ( GLenum type , GLsizei stride , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3B ( JNIEnv *env, jobject obj, jint type, jint stride, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jbyte *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glIndexPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3S ( JNIEnv *env, jobject obj, jint type, jint stride, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jshort *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glIndexPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3I ( JNIEnv *env, jobject obj, jint type, jint stride, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glIndexPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3F ( JNIEnv *env, jobject obj, jint type, jint stride, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glIndexPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3D ( JNIEnv *env, jobject obj, jint type, jint stride, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jdouble *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glIndexPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3Z ( JNIEnv *env, jobject obj, jint type, jint stride, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jboolean *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glIndexPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointer__II_3J ( JNIEnv *env, jobject obj, jint type, jint stride, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jlong *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glIndexPointer arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoordPointer ( GLint size , GLenum type , GLsizei stride , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3B ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glTexCoordPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3S ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glTexCoordPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3I ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glTexCoordPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3F ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glTexCoordPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3D ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glTexCoordPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3Z ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glTexCoordPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointer__III_3J ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glTexCoordPointer arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glEdgeFlagPointer ( GLsizei stride , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3B ( JNIEnv *env, jobject obj, jint stride, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jbyte *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr1 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glEdgeFlagPointer arg: ptr"); } } __func_ptr__ ( (GLsizei) stride, (const GLvoid *) ptr1 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr1, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3S ( JNIEnv *env, jobject obj, jint stride, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jshort *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr1 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glEdgeFlagPointer arg: ptr"); } } __func_ptr__ ( (GLsizei) stride, (const GLvoid *) ptr1 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr1, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3I ( JNIEnv *env, jobject obj, jint stride, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glEdgeFlagPointer arg: ptr"); } } __func_ptr__ ( (GLsizei) stride, (const GLvoid *) ptr1 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr1, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3F ( JNIEnv *env, jobject obj, jint stride, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glEdgeFlagPointer arg: ptr"); } } __func_ptr__ ( (GLsizei) stride, (const GLvoid *) ptr1 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr1, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3D ( JNIEnv *env, jobject obj, jint stride, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glEdgeFlagPointer arg: ptr"); } } __func_ptr__ ( (GLsizei) stride, (const GLvoid *) ptr1 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr1, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3Z ( JNIEnv *env, jobject obj, jint stride, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jboolean *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr1 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glEdgeFlagPointer arg: ptr"); } } __func_ptr__ ( (GLsizei) stride, (const GLvoid *) ptr1 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr1, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlagPointer__I_3J ( JNIEnv *env, jobject obj, jint stride, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jlong *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLvoid *)) getGLProcAddressHelper("glEdgeFlagPointer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr1 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glEdgeFlagPointer arg: ptr"); } } __func_ptr__ ( (GLsizei) stride, (const GLvoid *) ptr1 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetPointerv ( GLenum pname , void * * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3B ( JNIEnv *env, jobject obj, jint pname, jbyteArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jbyte *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetByteArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointerv arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseByteArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3S ( JNIEnv *env, jobject obj, jint pname, jshortArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jshort *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetShortArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointerv arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseShortArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3I ( JNIEnv *env, jobject obj, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointerv arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3F ( JNIEnv *env, jobject obj, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointerv arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3D ( JNIEnv *env, jobject obj, jint pname, jdoubleArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointerv arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3Z ( JNIEnv *env, jobject obj, jint pname, jbooleanArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jboolean *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointerv arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointerv__I_3_3J ( JNIEnv *env, jobject obj, jint pname, jlongArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jlong *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointerv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetLongArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointerv arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseLongArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glArrayElement ( GLint i ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glArrayElement ( JNIEnv *env, jobject obj, jint i) { static void (CALLBACK *__func_ptr__)(GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint)) getGLProcAddressHelper("glArrayElement", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) i ); } /** * Original Function-Prototype : *
extern void glDrawArrays ( GLenum mode , GLint first , GLsizei count ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawArrays ( JNIEnv *env, jobject obj, jint mode, jint first, jint count) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) getGLProcAddressHelper("glDrawArrays", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode, (GLint) first, (GLsizei) count ); } /** * Original Function-Prototype : *
extern void glDrawElements ( GLenum mode , GLsizei count , GLenum type , const GLvoid * indices ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawElements__III_3B ( JNIEnv *env, jobject obj, jint mode, jint count, jint type, jbyteArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, indices, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glDrawElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr3 ); if(indices!=NULL) { (*env)->ReleaseByteArrayElements(env, indices, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawElements__III_3S ( JNIEnv *env, jobject obj, jint mode, jint count, jint type, jshortArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, indices, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glDrawElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr3 ); if(indices!=NULL) { (*env)->ReleaseShortArrayElements(env, indices, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawElements__III_3I ( JNIEnv *env, jobject obj, jint mode, jint count, jint type, jintArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, indices, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glDrawElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr3 ); if(indices!=NULL) { (*env)->ReleaseIntArrayElements(env, indices, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawElements__III_3F ( JNIEnv *env, jobject obj, jint mode, jint count, jint type, jfloatArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, indices, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glDrawElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr3 ); if(indices!=NULL) { (*env)->ReleaseFloatArrayElements(env, indices, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawElements__III_3D ( JNIEnv *env, jobject obj, jint mode, jint count, jint type, jdoubleArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, indices, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glDrawElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr3 ); if(indices!=NULL) { (*env)->ReleaseDoubleArrayElements(env, indices, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawElements__III_3Z ( JNIEnv *env, jobject obj, jint mode, jint count, jint type, jbooleanArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, indices, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glDrawElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr3 ); if(indices!=NULL) { (*env)->ReleaseBooleanArrayElements(env, indices, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawElements__III_3J ( JNIEnv *env, jobject obj, jint mode, jint count, jint type, jlongArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, indices, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glDrawElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr3 ); if(indices!=NULL) { (*env)->ReleaseLongArrayElements(env, indices, ptr3, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glInterleavedArrays ( GLenum format , GLsizei stride , const GLvoid * pointer ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3B ( JNIEnv *env, jobject obj, jint format, jint stride, jbyteArray pointer) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jbyte *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pointer!=NULL) { ptr2 = (*env)->GetByteArrayElements(env, pointer, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glInterleavedArrays arg: pointer"); } } __func_ptr__ ( (GLenum) format, (GLsizei) stride, (const GLvoid *) ptr2 ); if(pointer!=NULL) { (*env)->ReleaseByteArrayElements(env, pointer, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3S ( JNIEnv *env, jobject obj, jint format, jint stride, jshortArray pointer) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jshort *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pointer!=NULL) { ptr2 = (*env)->GetShortArrayElements(env, pointer, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glInterleavedArrays arg: pointer"); } } __func_ptr__ ( (GLenum) format, (GLsizei) stride, (const GLvoid *) ptr2 ); if(pointer!=NULL) { (*env)->ReleaseShortArrayElements(env, pointer, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3I ( JNIEnv *env, jobject obj, jint format, jint stride, jintArray pointer) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pointer!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, pointer, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glInterleavedArrays arg: pointer"); } } __func_ptr__ ( (GLenum) format, (GLsizei) stride, (const GLvoid *) ptr2 ); if(pointer!=NULL) { (*env)->ReleaseIntArrayElements(env, pointer, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3F ( JNIEnv *env, jobject obj, jint format, jint stride, jfloatArray pointer) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pointer!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, pointer, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glInterleavedArrays arg: pointer"); } } __func_ptr__ ( (GLenum) format, (GLsizei) stride, (const GLvoid *) ptr2 ); if(pointer!=NULL) { (*env)->ReleaseFloatArrayElements(env, pointer, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3D ( JNIEnv *env, jobject obj, jint format, jint stride, jdoubleArray pointer) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jdouble *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pointer!=NULL) { ptr2 = (*env)->GetDoubleArrayElements(env, pointer, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glInterleavedArrays arg: pointer"); } } __func_ptr__ ( (GLenum) format, (GLsizei) stride, (const GLvoid *) ptr2 ); if(pointer!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pointer, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3Z ( JNIEnv *env, jobject obj, jint format, jint stride, jbooleanArray pointer) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jboolean *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pointer!=NULL) { ptr2 = (*env)->GetBooleanArrayElements(env, pointer, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glInterleavedArrays arg: pointer"); } } __func_ptr__ ( (GLenum) format, (GLsizei) stride, (const GLvoid *) ptr2 ); if(pointer!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pointer, ptr2, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glInterleavedArrays__II_3J ( JNIEnv *env, jobject obj, jint format, jint stride, jlongArray pointer) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jlong *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, const GLvoid *)) getGLProcAddressHelper("glInterleavedArrays", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pointer!=NULL) { ptr2 = (*env)->GetLongArrayElements(env, pointer, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glInterleavedArrays arg: pointer"); } } __func_ptr__ ( (GLenum) format, (GLsizei) stride, (const GLvoid *) ptr2 ); if(pointer!=NULL) { (*env)->ReleaseLongArrayElements(env, pointer, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glShadeModel ( GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glShadeModel ( JNIEnv *env, jobject obj, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glShadeModel", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glLightf ( GLenum light , GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLightf ( JNIEnv *env, jobject obj, jint light, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) getGLProcAddressHelper("glLightf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) light, (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glLighti ( GLenum light , GLenum pname , GLint param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLighti ( JNIEnv *env, jobject obj, jint light, jint pname, jint param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) getGLProcAddressHelper("glLighti", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) light, (GLenum) pname, (GLint) param ); } /** * Original Function-Prototype : *
extern void glLightfv ( GLenum light , GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLightfv ( JNIEnv *env, jobject obj, jint light, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) getGLProcAddressHelper("glLightfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glLightfv arg: params"); } } __func_ptr__ ( (GLenum) light, (GLenum) pname, (const GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glLightiv ( GLenum light , GLenum pname , const GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLightiv ( JNIEnv *env, jobject obj, jint light, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) getGLProcAddressHelper("glLightiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glLightiv arg: params"); } } __func_ptr__ ( (GLenum) light, (GLenum) pname, (const GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetLightfv ( GLenum light , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetLightfv ( JNIEnv *env, jobject obj, jint light, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetLightfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetLightfv arg: params"); } } __func_ptr__ ( (GLenum) light, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetLightiv ( GLenum light , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetLightiv ( JNIEnv *env, jobject obj, jint light, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetLightiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetLightiv arg: params"); } } __func_ptr__ ( (GLenum) light, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glLightModelf ( GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLightModelf ( JNIEnv *env, jobject obj, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) getGLProcAddressHelper("glLightModelf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glLightModeli ( GLenum pname , GLint param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLightModeli ( JNIEnv *env, jobject obj, jint pname, jint param) { static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) getGLProcAddressHelper("glLightModeli", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) pname, (GLint) param ); } /** * Original Function-Prototype : *
extern void glLightModelfv ( GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLightModelfv ( JNIEnv *env, jobject obj, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) getGLProcAddressHelper("glLightModelfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glLightModelfv arg: params"); } } __func_ptr__ ( (GLenum) pname, (const GLfloat *) ptr1 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glLightModeliv ( GLenum pname , const GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLightModeliv ( JNIEnv *env, jobject obj, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) getGLProcAddressHelper("glLightModeliv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glLightModeliv arg: params"); } } __func_ptr__ ( (GLenum) pname, (const GLint *) ptr1 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMaterialf ( GLenum face , GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMaterialf ( JNIEnv *env, jobject obj, jint face, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) getGLProcAddressHelper("glMaterialf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) face, (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glMateriali ( GLenum face , GLenum pname , GLint param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMateriali ( JNIEnv *env, jobject obj, jint face, jint pname, jint param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) getGLProcAddressHelper("glMateriali", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) face, (GLenum) pname, (GLint) param ); } /** * Original Function-Prototype : *
extern void glMaterialfv ( GLenum face , GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMaterialfv ( JNIEnv *env, jobject obj, jint face, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) getGLProcAddressHelper("glMaterialfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glMaterialfv arg: params"); } } __func_ptr__ ( (GLenum) face, (GLenum) pname, (const GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMaterialiv ( GLenum face , GLenum pname , const GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMaterialiv ( JNIEnv *env, jobject obj, jint face, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) getGLProcAddressHelper("glMaterialiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glMaterialiv arg: params"); } } __func_ptr__ ( (GLenum) face, (GLenum) pname, (const GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetMaterialfv ( GLenum face , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMaterialfv ( JNIEnv *env, jobject obj, jint face, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetMaterialfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetMaterialfv arg: params"); } } __func_ptr__ ( (GLenum) face, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetMaterialiv ( GLenum face , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMaterialiv ( JNIEnv *env, jobject obj, jint face, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetMaterialiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetMaterialiv arg: params"); } } __func_ptr__ ( (GLenum) face, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColorMaterial ( GLenum face , GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorMaterial ( JNIEnv *env, jobject obj, jint face, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum)) getGLProcAddressHelper("glColorMaterial", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) face, (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glPixelZoom ( GLfloat xfactor , GLfloat yfactor ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPixelZoom ( JNIEnv *env, jobject obj, jfloat xfactor, jfloat yfactor) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) getGLProcAddressHelper("glPixelZoom", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) xfactor, (GLfloat) yfactor ); } /** * Original Function-Prototype : *
extern void glPixelStoref ( GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPixelStoref ( JNIEnv *env, jobject obj, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) getGLProcAddressHelper("glPixelStoref", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glPixelStorei ( GLenum pname , GLint param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPixelStorei ( JNIEnv *env, jobject obj, jint pname, jint param) { static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) getGLProcAddressHelper("glPixelStorei", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) pname, (GLint) param ); } /** * Original Function-Prototype : *
extern void glPixelTransferf ( GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPixelTransferf ( JNIEnv *env, jobject obj, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) getGLProcAddressHelper("glPixelTransferf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glPixelTransferi ( GLenum pname , GLint param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPixelTransferi ( JNIEnv *env, jobject obj, jint pname, jint param) { static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) getGLProcAddressHelper("glPixelTransferi", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) pname, (GLint) param ); } /** * Original Function-Prototype : *
extern void glPixelMapfv ( GLenum map , GLint mapsize , const GLfloat * values ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPixelMapfv ( JNIEnv *env, jobject obj, jint map, jint mapsize, jfloatArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, const GLfloat *)) getGLProcAddressHelper("glPixelMapfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glPixelMapfv arg: values"); } } __func_ptr__ ( (GLenum) map, (GLint) mapsize, (const GLfloat *) ptr2 ); if(values!=NULL) { (*env)->ReleaseFloatArrayElements(env, values, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glPixelMapuiv ( GLenum map , GLint mapsize , const GLuint * values ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPixelMapuiv ( JNIEnv *env, jobject obj, jint map, jint mapsize, jintArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLuint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, const GLuint *)) getGLProcAddressHelper("glPixelMapuiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, values, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glPixelMapuiv arg: values"); } } __func_ptr__ ( (GLenum) map, (GLint) mapsize, (const GLuint *) ptr2 ); if(values!=NULL) { (*env)->ReleaseIntArrayElements(env, values, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glPixelMapusv ( GLenum map , GLint mapsize , const GLushort * values ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPixelMapusv ( JNIEnv *env, jobject obj, jint map, jint mapsize, jshortArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, const GLushort *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jshort *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, const GLushort *)) getGLProcAddressHelper("glPixelMapusv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr2 = (*env)->GetShortArrayElements(env, values, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glPixelMapusv arg: values"); } } __func_ptr__ ( (GLenum) map, (GLint) mapsize, (const GLushort *) ptr2 ); if(values!=NULL) { (*env)->ReleaseShortArrayElements(env, values, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetPixelMapfv ( GLenum map , GLfloat * values ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPixelMapfv ( JNIEnv *env, jobject obj, jint map, jfloatArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat *)) getGLProcAddressHelper("glGetPixelMapfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPixelMapfv arg: values"); } } __func_ptr__ ( (GLenum) map, (GLfloat *) ptr1 ); if(values!=NULL) { (*env)->ReleaseFloatArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetPixelMapuiv ( GLenum map , GLuint * values ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPixelMapuiv ( JNIEnv *env, jobject obj, jint map, jintArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint *)) getGLProcAddressHelper("glGetPixelMapuiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, values, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPixelMapuiv arg: values"); } } __func_ptr__ ( (GLenum) map, (GLuint *) ptr1 ); if(values!=NULL) { (*env)->ReleaseIntArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetPixelMapusv ( GLenum map , GLushort * values ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPixelMapusv ( JNIEnv *env, jobject obj, jint map, jshortArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLushort *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jshort *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLushort *)) getGLProcAddressHelper("glGetPixelMapusv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr1 = (*env)->GetShortArrayElements(env, values, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPixelMapusv arg: values"); } } __func_ptr__ ( (GLenum) map, (GLushort *) ptr1 ); if(values!=NULL) { (*env)->ReleaseShortArrayElements(env, values, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glBitmap ( GLsizei width , GLsizei height , GLfloat xorig , GLfloat yorig , GLfloat xmove , GLfloat ymove , const GLubyte * bitmap ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glBitmap ( JNIEnv *env, jobject obj, jint width, jint height, jfloat xorig, jfloat yorig, jfloat xmove, jfloat ymove, jbyteArray bitmap) { static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jbyte *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLfloat, GLfloat, GLfloat, GLfloat, const GLubyte *)) getGLProcAddressHelper("glBitmap", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(bitmap!=NULL) { ptr6 = (*env)->GetByteArrayElements(env, bitmap, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glBitmap arg: bitmap"); } } __func_ptr__ ( (GLsizei) width, (GLsizei) height, (GLfloat) xorig, (GLfloat) yorig, (GLfloat) xmove, (GLfloat) ymove, (const GLubyte *) ptr6 ); if(bitmap!=NULL) { (*env)->ReleaseByteArrayElements(env, bitmap, ptr6, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glReadPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum format , GLenum type , GLvoid * pixels ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3B ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jbyte *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glReadPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glReadPixels arg: pixels"); } } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3S ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jshort *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glReadPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glReadPixels arg: pixels"); } } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3I ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jint *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glReadPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glReadPixels arg: pixels"); } } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3F ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jfloat *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glReadPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glReadPixels arg: pixels"); } } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3D ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jdouble *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glReadPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glReadPixels arg: pixels"); } } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3Z ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jboolean *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glReadPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glReadPixels arg: pixels"); } } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glReadPixels__IIIIII_3J ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jlong *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glReadPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glReadPixels arg: pixels"); } } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr6, (isCopiedArray6 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glDrawPixels ( GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3B ( JNIEnv *env, jobject obj, jint width, jint height, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jbyte *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glDrawPixels arg: pixels"); } } __func_ptr__ ( (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3S ( JNIEnv *env, jobject obj, jint width, jint height, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jshort *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glDrawPixels arg: pixels"); } } __func_ptr__ ( (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3I ( JNIEnv *env, jobject obj, jint width, jint height, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jint *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glDrawPixels arg: pixels"); } } __func_ptr__ ( (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3F ( JNIEnv *env, jobject obj, jint width, jint height, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glDrawPixels arg: pixels"); } } __func_ptr__ ( (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3D ( JNIEnv *env, jobject obj, jint width, jint height, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jdouble *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glDrawPixels arg: pixels"); } } __func_ptr__ ( (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3Z ( JNIEnv *env, jobject obj, jint width, jint height, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jboolean *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glDrawPixels arg: pixels"); } } __func_ptr__ ( (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawPixels__IIII_3J ( JNIEnv *env, jobject obj, jint width, jint height, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jlong *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glDrawPixels arg: pixels"); } } __func_ptr__ ( (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr4, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glCopyPixels ( GLint x , GLint y , GLsizei width , GLsizei height , GLenum type ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyPixels ( JNIEnv *env, jobject obj, jint x, jint y, jint width, jint height, jint type) { static void (CALLBACK *__func_ptr__)(GLint, GLint, GLsizei, GLsizei, GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint, GLsizei, GLsizei, GLenum)) getGLProcAddressHelper("glCopyPixels", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLenum) type ); } /** * Original Function-Prototype : *
extern void glStencilFunc ( GLenum func , GLint ref , GLuint mask ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glStencilFunc ( JNIEnv *env, jobject obj, jint func, jint ref, jint mask) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLuint)) getGLProcAddressHelper("glStencilFunc", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) func, (GLint) ref, (GLuint) mask ); } /** * Original Function-Prototype : *
extern void glStencilMask ( GLuint mask ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glStencilMask ( JNIEnv *env, jobject obj, jint mask) { static void (CALLBACK *__func_ptr__)(GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint)) getGLProcAddressHelper("glStencilMask", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) mask ); } /** * Original Function-Prototype : *
extern void glStencilOp ( GLenum fail , GLenum zfail , GLenum zpass ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glStencilOp ( JNIEnv *env, jobject obj, jint fail, jint zfail, jint zpass) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum)) getGLProcAddressHelper("glStencilOp", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) fail, (GLenum) zfail, (GLenum) zpass ); } /** * Original Function-Prototype : *
extern void glClearStencil ( GLint s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glClearStencil ( JNIEnv *env, jobject obj, jint s) { static void (CALLBACK *__func_ptr__)(GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint)) getGLProcAddressHelper("glClearStencil", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) s ); } /** * Original Function-Prototype : *
extern void glTexGend ( GLenum coord , GLenum pname , GLdouble param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexGend ( JNIEnv *env, jobject obj, jint coord, jint pname, jdouble param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble)) getGLProcAddressHelper("glTexGend", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) coord, (GLenum) pname, (GLdouble) param ); } /** * Original Function-Prototype : *
extern void glTexGenf ( GLenum coord , GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexGenf ( JNIEnv *env, jobject obj, jint coord, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) getGLProcAddressHelper("glTexGenf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) coord, (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glTexGeni ( GLenum coord , GLenum pname , GLint param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexGeni ( JNIEnv *env, jobject obj, jint coord, jint pname, jint param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) getGLProcAddressHelper("glTexGeni", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) coord, (GLenum) pname, (GLint) param ); } /** * Original Function-Prototype : *
extern void glTexGendv ( GLenum coord , GLenum pname , const GLdouble * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexGendv ( JNIEnv *env, jobject obj, jint coord, jint pname, jdoubleArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLdouble *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jdouble *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLdouble *)) getGLProcAddressHelper("glTexGendv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glTexGendv arg: params"); } } __func_ptr__ ( (GLenum) coord, (GLenum) pname, (const GLdouble *) ptr2 ); if(params!=NULL) { (*env)->ReleaseDoubleArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexGenfv ( GLenum coord , GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexGenfv ( JNIEnv *env, jobject obj, jint coord, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) getGLProcAddressHelper("glTexGenfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glTexGenfv arg: params"); } } __func_ptr__ ( (GLenum) coord, (GLenum) pname, (const GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexGeniv ( GLenum coord , GLenum pname , const GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexGeniv ( JNIEnv *env, jobject obj, jint coord, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) getGLProcAddressHelper("glTexGeniv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glTexGeniv arg: params"); } } __func_ptr__ ( (GLenum) coord, (GLenum) pname, (const GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexGendv ( GLenum coord , GLenum pname , GLdouble * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexGendv ( JNIEnv *env, jobject obj, jint coord, jint pname, jdoubleArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jdouble *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) getGLProcAddressHelper("glGetTexGendv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetTexGendv arg: params"); } } __func_ptr__ ( (GLenum) coord, (GLenum) pname, (GLdouble *) ptr2 ); if(params!=NULL) { (*env)->ReleaseDoubleArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexGenfv ( GLenum coord , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexGenfv ( JNIEnv *env, jobject obj, jint coord, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetTexGenfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetTexGenfv arg: params"); } } __func_ptr__ ( (GLenum) coord, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexGeniv ( GLenum coord , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexGeniv ( JNIEnv *env, jobject obj, jint coord, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetTexGeniv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetTexGeniv arg: params"); } } __func_ptr__ ( (GLenum) coord, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexEnvf ( GLenum target , GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexEnvf ( JNIEnv *env, jobject obj, jint target, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) getGLProcAddressHelper("glTexEnvf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glTexEnvi ( GLenum target , GLenum pname , GLint param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexEnvi ( JNIEnv *env, jobject obj, jint target, jint pname, jint param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) getGLProcAddressHelper("glTexEnvi", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint) param ); } /** * Original Function-Prototype : *
extern void glTexEnvfv ( GLenum target , GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexEnvfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) getGLProcAddressHelper("glTexEnvfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glTexEnvfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (const GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexEnviv ( GLenum target , GLenum pname , const GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexEnviv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) getGLProcAddressHelper("glTexEnviv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glTexEnviv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (const GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexEnvfv ( GLenum target , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexEnvfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetTexEnvfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetTexEnvfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexEnviv ( GLenum target , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexEnviv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetTexEnviv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetTexEnviv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexParameterf ( GLenum target , GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexParameterf ( JNIEnv *env, jobject obj, jint target, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) getGLProcAddressHelper("glTexParameterf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glTexParameteri ( GLenum target , GLenum pname , GLint param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexParameteri ( JNIEnv *env, jobject obj, jint target, jint pname, jint param) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) getGLProcAddressHelper("glTexParameteri", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint) param ); } /** * Original Function-Prototype : *
extern void glTexParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexParameterfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) getGLProcAddressHelper("glTexParameterfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glTexParameterfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (const GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexParameteriv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) getGLProcAddressHelper("glTexParameteriv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glTexParameteriv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (const GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexParameterfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetTexParameterfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetTexParameterfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexParameteriv ( GLenum target , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexParameteriv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetTexParameteriv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetTexParameteriv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexLevelParameterfv ( GLenum target , GLint level , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexLevelParameterfv ( JNIEnv *env, jobject obj, jint target, jint level, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLfloat *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLfloat *)) getGLProcAddressHelper("glGetTexLevelParameterfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetTexLevelParameterfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) pname, (GLfloat *) ptr3 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexLevelParameteriv ( GLenum target , GLint level , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexLevelParameteriv ( JNIEnv *env, jobject obj, jint target, jint level, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint *)) getGLProcAddressHelper("glGetTexLevelParameteriv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, params, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetTexLevelParameteriv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) pname, (GLint *) ptr3 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexImage1D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3B ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint border, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray7 = JNI_FALSE; jbyte *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr7 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glTexImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr7 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3S ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint border, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray7 = JNI_FALSE; jshort *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr7 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glTexImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr7 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3I ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint border, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray7 = JNI_FALSE; jint *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr7 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glTexImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr7 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3F ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint border, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray7 = JNI_FALSE; jfloat *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr7 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glTexImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr7 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3D ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint border, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray7 = JNI_FALSE; jdouble *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr7 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glTexImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr7 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint border, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray7 = JNI_FALSE; jboolean *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr7 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glTexImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr7 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage1D__IIIIIII_3J ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint border, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray7 = JNI_FALSE; jlong *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr7 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glTexImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr7 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr7, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexImage2D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3B ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint border, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jbyte *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3S ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint border, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jshort *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3I ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint border, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jint *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3F ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint border, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jfloat *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3D ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint border, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jdouble *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint border, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jboolean *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage2D__IIIIIIII_3J ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint border, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jlong *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr8, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetTexImage ( GLenum target , GLint level , GLenum format , GLenum type , GLvoid * pixels ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3B ( JNIEnv *env, jobject obj, jint target, jint level, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jbyte *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetTexImage arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3S ( JNIEnv *env, jobject obj, jint target, jint level, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jshort *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetTexImage arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3I ( JNIEnv *env, jobject obj, jint target, jint level, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jint *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetTexImage arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3F ( JNIEnv *env, jobject obj, jint target, jint level, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetTexImage arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3D ( JNIEnv *env, jobject obj, jint target, jint level, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jdouble *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetTexImage arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3Z ( JNIEnv *env, jobject obj, jint target, jint level, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jboolean *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetTexImage arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetTexImage__IIII_3J ( JNIEnv *env, jobject obj, jint target, jint level, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jlong *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetTexImage", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr4 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetTexImage arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGenTextures ( GLsizei n , GLuint * textures ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGenTextures ( JNIEnv *env, jobject obj, jint n, jintArray textures) { static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *)) getGLProcAddressHelper("glGenTextures", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(textures!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGenTextures arg: textures"); } } __func_ptr__ ( (GLsizei) n, (GLuint *) ptr1 ); if(textures!=NULL) { (*env)->ReleaseIntArrayElements(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glDeleteTextures ( GLsizei n , const GLuint * textures ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDeleteTextures ( JNIEnv *env, jobject obj, jint n, jintArray textures) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *)) getGLProcAddressHelper("glDeleteTextures", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(textures!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glDeleteTextures arg: textures"); } } __func_ptr__ ( (GLsizei) n, (const GLuint *) ptr1 ); if(textures!=NULL) { (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glBindTexture ( GLenum target , GLuint texture ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glBindTexture ( JNIEnv *env, jobject obj, jint target, jint texture) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) getGLProcAddressHelper("glBindTexture", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLuint) texture ); } /** * Original Function-Prototype : *
extern void glPrioritizeTextures ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPrioritizeTextures ( JNIEnv *env, jobject obj, jint n, jintArray textures, jfloatArray priorities) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) getGLProcAddressHelper("glPrioritizeTextures", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(textures!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glPrioritizeTextures arg: textures"); } } if(priorities!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, priorities, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glPrioritizeTextures arg: priorities"); } } __func_ptr__ ( (GLsizei) n, (const GLuint *) ptr1, (const GLclampf *) ptr2 ); if(textures!=NULL) { (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); } if(priorities!=NULL) { (*env)->ReleaseFloatArrayElements(env, priorities, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern GLboolean glAreTexturesResident ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; **/ JNIEXPORT jboolean JNICALL Java_gl4java_GLFuncJauJNI_glAreTexturesResident ( JNIEnv *env, jobject obj, jint n, jintArray textures, jbooleanArray residences) { static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; jboolean ret; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; jboolean isCopiedArray2 = JNI_FALSE; jboolean *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (jboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) getGLProcAddressHelper("glAreTexturesResident", NULL, 1, 0); if(__func_ptr__==NULL) return 0; } if(textures!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glAreTexturesResident arg: textures"); } } if(residences!=NULL) { ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glAreTexturesResident arg: residences"); } } ret = (jboolean) __func_ptr__ ( (GLsizei) n, (const GLuint *) ptr1, (GLboolean *) ptr2 ); if(textures!=NULL) { (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); } if(residences!=NULL) { (*env)->ReleaseBooleanArrayElements(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } return ret; } /** * Original Function-Prototype : *
extern GLboolean glIsTexture ( GLuint texture ) ; **/ JNIEXPORT jboolean JNICALL Java_gl4java_GLFuncJauJNI_glIsTexture ( JNIEnv *env, jobject obj, jint texture) { static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; jboolean ret; if(__func_ptr__==NULL) { __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) getGLProcAddressHelper("glIsTexture", NULL, 1, 0); if(__func_ptr__==NULL) return 0; } ret = (jboolean) __func_ptr__ ( (GLuint) texture ); return ret; } /** * Original Function-Prototype : *
extern void glTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLsizei width , GLenum format , GLenum type , const GLvoid * pixels ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3B ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint width, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jbyte *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glTexSubImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3S ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint width, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jshort *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glTexSubImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3I ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint width, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jint *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glTexSubImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3F ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint width, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jfloat *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glTexSubImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3D ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint width, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jdouble *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glTexSubImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint width, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jboolean *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glTexSubImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage1D__IIIIII_3J ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint width, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jlong *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr6 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glTexSubImage1D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr6, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * pixels ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3B ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jbyte *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexSubImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3S ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jshort *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexSubImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3I ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jint *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexSubImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3F ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jfloat *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexSubImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3D ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jdouble *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexSubImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jboolean *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexSubImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr8, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage2D__IIIIIIII_3J ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint width, jint height, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray8 = JNI_FALSE; jlong *ptr8 = NULL; static int isWarned8 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr8 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray8); if( isCopiedArray8 == JNI_TRUE && isWarned8==0 ) { isWarned8=1; printf("COPY by glTexSubImage2D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr8 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr8, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glCopyTexImage1D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLint border ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyTexImage1D ( JNIEnv *env, jobject obj, jint target, jint level, jint internalformat, jint x, jint y, jint width, jint border) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLint)) getGLProcAddressHelper("glCopyTexImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) internalformat, (GLint) x, (GLint) y, (GLsizei) width, (GLint) border ); } /** * Original Function-Prototype : *
extern void glCopyTexImage2D ( GLenum target , GLint level , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height , GLint border ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyTexImage2D ( JNIEnv *env, jobject obj, jint target, jint level, jint internalformat, jint x, jint y, jint width, jint height, jint border) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLint, GLint, GLsizei, GLsizei, GLint)) getGLProcAddressHelper("glCopyTexImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) internalformat, (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height, (GLint) border ); } /** * Original Function-Prototype : *
extern void glCopyTexSubImage1D ( GLenum target , GLint level , GLint xoffset , GLint x , GLint y , GLsizei width ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyTexSubImage1D ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint x, jint y, jint width) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei)) getGLProcAddressHelper("glCopyTexSubImage1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) x, (GLint) y, (GLsizei) width ); } /** * Original Function-Prototype : *
extern void glCopyTexSubImage2D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyTexSubImage2D ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint x, jint y, jint width, jint height) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) getGLProcAddressHelper("glCopyTexSubImage2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height ); } /** * Original Function-Prototype : *
extern void glMap1d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint stride , GLint order , const GLdouble * points ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMap1d ( JNIEnv *env, jobject obj, jint target, jdouble u1, jdouble u2, jint stride, jint order, jdoubleArray points) { static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jdouble *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) getGLProcAddressHelper("glMap1d", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(points!=NULL) { ptr5 = (*env)->GetDoubleArrayElements(env, points, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glMap1d arg: points"); } } __func_ptr__ ( (GLenum) target, (GLdouble) u1, (GLdouble) u2, (GLint) stride, (GLint) order, (const GLdouble *) ptr5 ); if(points!=NULL) { (*env)->ReleaseDoubleArrayElements(env, points, ptr5, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMap1f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint stride , GLint order , const GLfloat * points ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMap1f ( JNIEnv *env, jobject obj, jint target, jfloat u1, jfloat u2, jint stride, jint order, jfloatArray points) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jfloat *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) getGLProcAddressHelper("glMap1f", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(points!=NULL) { ptr5 = (*env)->GetFloatArrayElements(env, points, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glMap1f arg: points"); } } __func_ptr__ ( (GLenum) target, (GLfloat) u1, (GLfloat) u2, (GLint) stride, (GLint) order, (const GLfloat *) ptr5 ); if(points!=NULL) { (*env)->ReleaseFloatArrayElements(env, points, ptr5, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMap2d ( GLenum target , GLdouble u1 , GLdouble u2 , GLint ustride , GLint uorder , GLdouble v1 , GLdouble v2 , GLint vstride , GLint vorder , const GLdouble * points ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMap2d ( JNIEnv *env, jobject obj, jint target, jdouble u1, jdouble u2, jint ustride, jint uorder, jdouble v1, jdouble v2, jint vstride, jint vorder, jdoubleArray points) { static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jdouble *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLint, GLint, GLdouble, GLdouble, GLint, GLint, const GLdouble *)) getGLProcAddressHelper("glMap2d", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(points!=NULL) { ptr9 = (*env)->GetDoubleArrayElements(env, points, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glMap2d arg: points"); } } __func_ptr__ ( (GLenum) target, (GLdouble) u1, (GLdouble) u2, (GLint) ustride, (GLint) uorder, (GLdouble) v1, (GLdouble) v2, (GLint) vstride, (GLint) vorder, (const GLdouble *) ptr9 ); if(points!=NULL) { (*env)->ReleaseDoubleArrayElements(env, points, ptr9, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMap2f ( GLenum target , GLfloat u1 , GLfloat u2 , GLint ustride , GLint uorder , GLfloat v1 , GLfloat v2 , GLint vstride , GLint vorder , const GLfloat * points ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMap2f ( JNIEnv *env, jobject obj, jint target, jfloat u1, jfloat u2, jint ustride, jint uorder, jfloat v1, jfloat v2, jint vstride, jint vorder, jfloatArray points) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jfloat *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLint, GLint, GLfloat, GLfloat, GLint, GLint, const GLfloat *)) getGLProcAddressHelper("glMap2f", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(points!=NULL) { ptr9 = (*env)->GetFloatArrayElements(env, points, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glMap2f arg: points"); } } __func_ptr__ ( (GLenum) target, (GLfloat) u1, (GLfloat) u2, (GLint) ustride, (GLint) uorder, (GLfloat) v1, (GLfloat) v2, (GLint) vstride, (GLint) vorder, (const GLfloat *) ptr9 ); if(points!=NULL) { (*env)->ReleaseFloatArrayElements(env, points, ptr9, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetMapdv ( GLenum target , GLenum query , GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMapdv ( JNIEnv *env, jobject obj, jint target, jint query, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLdouble *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jdouble *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLdouble *)) getGLProcAddressHelper("glGetMapdv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr2 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetMapdv arg: v"); } } __func_ptr__ ( (GLenum) target, (GLenum) query, (GLdouble *) ptr2 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetMapfv ( GLenum target , GLenum query , GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMapfv ( JNIEnv *env, jobject obj, jint target, jint query, jfloatArray v) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetMapfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetMapfv arg: v"); } } __func_ptr__ ( (GLenum) target, (GLenum) query, (GLfloat *) ptr2 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetMapiv ( GLenum target , GLenum query , GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMapiv ( JNIEnv *env, jobject obj, jint target, jint query, jintArray v) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetMapiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, v, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetMapiv arg: v"); } } __func_ptr__ ( (GLenum) target, (GLenum) query, (GLint *) ptr2 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glEvalCoord1d ( GLdouble u ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalCoord1d ( JNIEnv *env, jobject obj, jdouble u) { static void (CALLBACK *__func_ptr__)(GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble)) getGLProcAddressHelper("glEvalCoord1d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) u ); } /** * Original Function-Prototype : *
extern void glEvalCoord1f ( GLfloat u ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalCoord1f ( JNIEnv *env, jobject obj, jfloat u) { static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat)) getGLProcAddressHelper("glEvalCoord1f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) u ); } /** * Original Function-Prototype : *
extern void glEvalCoord1dv ( const GLdouble * u ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalCoord1dv ( JNIEnv *env, jobject obj, jdoubleArray u) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glEvalCoord1dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(u!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, u, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glEvalCoord1dv arg: u"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(u!=NULL) { (*env)->ReleaseDoubleArrayElements(env, u, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glEvalCoord1fv ( const GLfloat * u ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalCoord1fv ( JNIEnv *env, jobject obj, jfloatArray u) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glEvalCoord1fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(u!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, u, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glEvalCoord1fv arg: u"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(u!=NULL) { (*env)->ReleaseFloatArrayElements(env, u, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glEvalCoord2d ( GLdouble u , GLdouble v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalCoord2d ( JNIEnv *env, jobject obj, jdouble u, jdouble v) { static void (CALLBACK *__func_ptr__)(GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLdouble, GLdouble)) getGLProcAddressHelper("glEvalCoord2d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLdouble) u, (GLdouble) v ); } /** * Original Function-Prototype : *
extern void glEvalCoord2f ( GLfloat u , GLfloat v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalCoord2f ( JNIEnv *env, jobject obj, jfloat u, jfloat v) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) getGLProcAddressHelper("glEvalCoord2f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) u, (GLfloat) v ); } /** * Original Function-Prototype : *
extern void glEvalCoord2dv ( const GLdouble * u ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalCoord2dv ( JNIEnv *env, jobject obj, jdoubleArray u) { static void (CALLBACK *__func_ptr__)(const GLdouble *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jdouble *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLdouble *)) getGLProcAddressHelper("glEvalCoord2dv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(u!=NULL) { ptr0 = (*env)->GetDoubleArrayElements(env, u, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glEvalCoord2dv arg: u"); } } __func_ptr__ ( (const GLdouble *) ptr0 ); if(u!=NULL) { (*env)->ReleaseDoubleArrayElements(env, u, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glEvalCoord2fv ( const GLfloat * u ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalCoord2fv ( JNIEnv *env, jobject obj, jfloatArray u) { static void (CALLBACK *__func_ptr__)(const GLfloat *) = NULL; jboolean isCopiedArray0 = JNI_FALSE; jfloat *ptr0 = NULL; static int isWarned0 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(const GLfloat *)) getGLProcAddressHelper("glEvalCoord2fv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(u!=NULL) { ptr0 = (*env)->GetFloatArrayElements(env, u, &isCopiedArray0); if( isCopiedArray0 == JNI_TRUE && isWarned0==0 ) { isWarned0=1; printf("COPY by glEvalCoord2fv arg: u"); } } __func_ptr__ ( (const GLfloat *) ptr0 ); if(u!=NULL) { (*env)->ReleaseFloatArrayElements(env, u, ptr0, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMapGrid1d ( GLint un , GLdouble u1 , GLdouble u2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMapGrid1d ( JNIEnv *env, jobject obj, jint un, jdouble u1, jdouble u2) { static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble)) getGLProcAddressHelper("glMapGrid1d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) un, (GLdouble) u1, (GLdouble) u2 ); } /** * Original Function-Prototype : *
extern void glMapGrid1f ( GLint un , GLfloat u1 , GLfloat u2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMapGrid1f ( JNIEnv *env, jobject obj, jint un, jfloat u1, jfloat u2) { static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat)) getGLProcAddressHelper("glMapGrid1f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) un, (GLfloat) u1, (GLfloat) u2 ); } /** * Original Function-Prototype : *
extern void glMapGrid2d ( GLint un , GLdouble u1 , GLdouble u2 , GLint vn , GLdouble v1 , GLdouble v2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMapGrid2d ( JNIEnv *env, jobject obj, jint un, jdouble u1, jdouble u2, jint vn, jdouble v1, jdouble v2) { static void (CALLBACK *__func_ptr__)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLdouble, GLdouble, GLint, GLdouble, GLdouble)) getGLProcAddressHelper("glMapGrid2d", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) un, (GLdouble) u1, (GLdouble) u2, (GLint) vn, (GLdouble) v1, (GLdouble) v2 ); } /** * Original Function-Prototype : *
extern void glMapGrid2f ( GLint un , GLfloat u1 , GLfloat u2 , GLint vn , GLfloat v1 , GLfloat v2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMapGrid2f ( JNIEnv *env, jobject obj, jint un, jfloat u1, jfloat u2, jint vn, jfloat v1, jfloat v2) { static void (CALLBACK *__func_ptr__)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLfloat, GLfloat, GLint, GLfloat, GLfloat)) getGLProcAddressHelper("glMapGrid2f", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) un, (GLfloat) u1, (GLfloat) u2, (GLint) vn, (GLfloat) v1, (GLfloat) v2 ); } /** * Original Function-Prototype : *
extern void glEvalPoint1 ( GLint i ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalPoint1 ( JNIEnv *env, jobject obj, jint i) { static void (CALLBACK *__func_ptr__)(GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint)) getGLProcAddressHelper("glEvalPoint1", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) i ); } /** * Original Function-Prototype : *
extern void glEvalPoint2 ( GLint i , GLint j ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalPoint2 ( JNIEnv *env, jobject obj, jint i, jint j) { static void (CALLBACK *__func_ptr__)(GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLint)) getGLProcAddressHelper("glEvalPoint2", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) i, (GLint) j ); } /** * Original Function-Prototype : *
extern void glEvalMesh1 ( GLenum mode , GLint i1 , GLint i2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalMesh1 ( JNIEnv *env, jobject obj, jint mode, jint i1, jint i2) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) getGLProcAddressHelper("glEvalMesh1", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode, (GLint) i1, (GLint) i2 ); } /** * Original Function-Prototype : *
extern void glEvalMesh2 ( GLenum mode , GLint i1 , GLint i2 , GLint j1 , GLint j2 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEvalMesh2 ( JNIEnv *env, jobject obj, jint mode, jint i1, jint i2, jint j1, jint j2) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) getGLProcAddressHelper("glEvalMesh2", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode, (GLint) i1, (GLint) i2, (GLint) j1, (GLint) j2 ); } /** * Original Function-Prototype : *
extern void glFogf ( GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glFogf ( JNIEnv *env, jobject obj, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) getGLProcAddressHelper("glFogf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glFogi ( GLenum pname , GLint param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glFogi ( JNIEnv *env, jobject obj, jint pname, jint param) { static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) getGLProcAddressHelper("glFogi", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) pname, (GLint) param ); } /** * Original Function-Prototype : *
extern void glFogfv ( GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glFogfv ( JNIEnv *env, jobject obj, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) getGLProcAddressHelper("glFogfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glFogfv arg: params"); } } __func_ptr__ ( (GLenum) pname, (const GLfloat *) ptr1 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glFogiv ( GLenum pname , const GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glFogiv ( JNIEnv *env, jobject obj, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) getGLProcAddressHelper("glFogiv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glFogiv arg: params"); } } __func_ptr__ ( (GLenum) pname, (const GLint *) ptr1 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glFeedbackBuffer ( GLsizei size , GLenum type , GLfloat * buffer ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glFeedbackBuffer ( JNIEnv *env, jobject obj, jint size, jint type, jfloatArray buffer) { static void (CALLBACK *__func_ptr__)(GLsizei, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLenum, GLfloat *)) getGLProcAddressHelper("glFeedbackBuffer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(buffer!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, buffer, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glFeedbackBuffer arg: buffer"); } } __func_ptr__ ( (GLsizei) size, (GLenum) type, (GLfloat *) ptr2 ); if(buffer!=NULL) { (*env)->ReleaseFloatArrayElements(env, buffer, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glPassThrough ( GLfloat token ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPassThrough ( JNIEnv *env, jobject obj, jfloat token) { static void (CALLBACK *__func_ptr__)(GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat)) getGLProcAddressHelper("glPassThrough", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) token ); } /** * Original Function-Prototype : *
extern void glSelectBuffer ( GLsizei size , GLuint * buffer ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glSelectBuffer ( JNIEnv *env, jobject obj, jint size, jintArray buffer) { static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *)) getGLProcAddressHelper("glSelectBuffer", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(buffer!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, buffer, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glSelectBuffer arg: buffer"); } } __func_ptr__ ( (GLsizei) size, (GLuint *) ptr1 ); if(buffer!=NULL) { (*env)->ReleaseIntArrayElements(env, buffer, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glInitNames ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glInitNames ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glInitNames", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glLoadName ( GLuint name ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLoadName ( JNIEnv *env, jobject obj, jint name) { static void (CALLBACK *__func_ptr__)(GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint)) getGLProcAddressHelper("glLoadName", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) name ); } /** * Original Function-Prototype : *
extern void glPushName ( GLuint name ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPushName ( JNIEnv *env, jobject obj, jint name) { static void (CALLBACK *__func_ptr__)(GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLuint)) getGLProcAddressHelper("glPushName", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLuint) name ); } /** * Original Function-Prototype : *
extern void glPopName ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPopName ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glPopName", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glDrawRangeElements ( GLenum mode , GLuint start , GLuint end , GLsizei count , GLenum type , const GLvoid * indices ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3B ( JNIEnv *env, jobject obj, jint mode, jint start, jint end, jint count, jint type, jbyteArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jbyte *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr5 = (*env)->GetByteArrayElements(env, indices, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glDrawRangeElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLuint) start, (GLuint) end, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr5 ); if(indices!=NULL) { (*env)->ReleaseByteArrayElements(env, indices, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3S ( JNIEnv *env, jobject obj, jint mode, jint start, jint end, jint count, jint type, jshortArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jshort *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr5 = (*env)->GetShortArrayElements(env, indices, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glDrawRangeElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLuint) start, (GLuint) end, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr5 ); if(indices!=NULL) { (*env)->ReleaseShortArrayElements(env, indices, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3I ( JNIEnv *env, jobject obj, jint mode, jint start, jint end, jint count, jint type, jintArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jint *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr5 = (*env)->GetIntArrayElements(env, indices, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glDrawRangeElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLuint) start, (GLuint) end, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr5 ); if(indices!=NULL) { (*env)->ReleaseIntArrayElements(env, indices, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3F ( JNIEnv *env, jobject obj, jint mode, jint start, jint end, jint count, jint type, jfloatArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jfloat *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr5 = (*env)->GetFloatArrayElements(env, indices, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glDrawRangeElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLuint) start, (GLuint) end, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr5 ); if(indices!=NULL) { (*env)->ReleaseFloatArrayElements(env, indices, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3D ( JNIEnv *env, jobject obj, jint mode, jint start, jint end, jint count, jint type, jdoubleArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jdouble *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr5 = (*env)->GetDoubleArrayElements(env, indices, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glDrawRangeElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLuint) start, (GLuint) end, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr5 ); if(indices!=NULL) { (*env)->ReleaseDoubleArrayElements(env, indices, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3Z ( JNIEnv *env, jobject obj, jint mode, jint start, jint end, jint count, jint type, jbooleanArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jboolean *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr5 = (*env)->GetBooleanArrayElements(env, indices, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glDrawRangeElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLuint) start, (GLuint) end, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr5 ); if(indices!=NULL) { (*env)->ReleaseBooleanArrayElements(env, indices, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawRangeElements__IIIII_3J ( JNIEnv *env, jobject obj, jint mode, jint start, jint end, jint count, jint type, jlongArray indices) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jlong *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint, GLuint, GLsizei, GLenum, const GLvoid *)) getGLProcAddressHelper("glDrawRangeElements", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(indices!=NULL) { ptr5 = (*env)->GetLongArrayElements(env, indices, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glDrawRangeElements arg: indices"); } } __func_ptr__ ( (GLenum) mode, (GLuint) start, (GLuint) end, (GLsizei) count, (GLenum) type, (const GLvoid *) ptr5 ); if(indices!=NULL) { (*env)->ReleaseLongArrayElements(env, indices, ptr5, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexImage3D ( GLenum target , GLint level , GLint internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3B ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jbyte *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3S ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jshort *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3I ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jint *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3F ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jfloat *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3D ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jdouble *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jboolean *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3D__IIIIIIIII_3J ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jlong *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr9, JNI_ABORT); } } /** * Original Function-Prototype : *
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 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3B ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jbyte *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3S ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jshort *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3I ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jint *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3F ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jfloat *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3D ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jdouble *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jboolean *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3D__IIIIIIIIII_3J ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jlong *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3D arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr10, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glCopyTexSubImage3D ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3D ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint x, jint y, jint width, jint height) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) getGLProcAddressHelper("glCopyTexSubImage3D", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height ); } /** * Original Function-Prototype : *
extern void glColorTable ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3B ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jbyteArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jbyte *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetByteArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseByteArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3S ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jshortArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jshort *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetShortArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseShortArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3I ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jintArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jint *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetIntArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseIntArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3F ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jfloatArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jfloat *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseFloatArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3D ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jdoubleArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jdouble *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseDoubleArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jbooleanArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jboolean *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseBooleanArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTable__IIIII_3J ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jlongArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jlong *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetLongArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseLongArrayElements(env, table, ptr5, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColorSubTable ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3B ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jbyteArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jbyte *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetByteArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTable arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseByteArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3S ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jshortArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jshort *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetShortArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTable arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseShortArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3I ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jintArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jint *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetIntArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTable arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseIntArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3F ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jfloatArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jfloat *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetFloatArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTable arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseFloatArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3D ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jdoubleArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jdouble *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetDoubleArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTable arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseDoubleArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jbooleanArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jboolean *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetBooleanArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTable arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseBooleanArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTable__IIIII_3J ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jlongArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jlong *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetLongArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTable arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseLongArrayElements(env, data, ptr5, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColorTableParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTableParameteriv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) getGLProcAddressHelper("glColorTableParameteriv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glColorTableParameteriv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (const GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColorTableParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTableParameterfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) getGLProcAddressHelper("glColorTableParameterfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glColorTableParameterfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (const GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glCopyColorSubTable ( GLenum target , GLsizei start , GLint x , GLint y , GLsizei width ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyColorSubTable ( JNIEnv *env, jobject obj, jint target, jint start, jint x, jint y, jint width) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLint, GLint, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLint, GLint, GLsizei)) getGLProcAddressHelper("glCopyColorSubTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLint) x, (GLint) y, (GLsizei) width ); } /** * Original Function-Prototype : *
extern void glCopyColorTable ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyColorTable ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint x, jint y, jint width) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) getGLProcAddressHelper("glCopyColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLint) x, (GLint) y, (GLsizei) width ); } /** * Original Function-Prototype : *
extern void glGetColorTable ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3B ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jbyteArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseByteArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3S ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jshortArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseShortArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3I ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jintArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseIntArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3F ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jfloatArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseFloatArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3D ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jdoubleArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseDoubleArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3Z ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jbooleanArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseBooleanArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTable__III_3J ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jlongArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTable", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTable arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseLongArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetColorTableParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetColorTableParameterfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetColorTableParameterfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetColorTableParameteriv ( GLenum target , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableParameteriv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetColorTableParameteriv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetColorTableParameteriv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glBlendEquation ( GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glBlendEquation ( JNIEnv *env, jobject obj, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glBlendEquation", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glBlendColor ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glBlendColor ( JNIEnv *env, jobject obj, jfloat red, jfloat green, jfloat blue, jfloat alpha) { static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) getGLProcAddressHelper("glBlendColor", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLclampf) red, (GLclampf) green, (GLclampf) blue, (GLclampf) alpha ); } /** * Original Function-Prototype : *
extern void glHistogram ( GLenum target , GLsizei width , GLenum internalformat , GLboolean sink ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glHistogram ( JNIEnv *env, jobject obj, jint target, jint width, jint internalformat, jboolean sink) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLenum, GLboolean) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLenum, GLboolean)) getGLProcAddressHelper("glHistogram", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLsizei) width, (GLenum) internalformat, (GLboolean) sink ); } /** * Original Function-Prototype : *
extern void glResetHistogram ( GLenum target ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glResetHistogram ( JNIEnv *env, jobject obj, jint target) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glResetHistogram", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target ); } /** * Original Function-Prototype : *
extern void glGetHistogram ( GLenum target , GLboolean reset , GLenum format , GLenum type , GLvoid * values ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3B ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint type, jbyteArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jbyte *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetByteArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetHistogram arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseByteArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3S ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint type, jshortArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jshort *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetShortArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetHistogram arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseShortArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3I ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint type, jintArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jint *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetIntArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetHistogram arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseIntArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3F ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint type, jfloatArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetHistogram arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseFloatArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3D ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint type, jdoubleArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jdouble *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetDoubleArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetHistogram arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseDoubleArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3Z ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint type, jbooleanArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jboolean *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetBooleanArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetHistogram arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseBooleanArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetHistogram__IZII_3J ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint type, jlongArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jlong *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetHistogram", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetLongArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetHistogram arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) type, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseLongArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetHistogramParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetHistogramParameterfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetHistogramParameterfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetHistogramParameterfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetHistogramParameteriv ( GLenum target , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetHistogramParameteriv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetHistogramParameteriv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetHistogramParameteriv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMinmax ( GLenum target , GLenum internalformat , GLboolean sink ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMinmax ( JNIEnv *env, jobject obj, jint target, jint internalformat, jboolean sink) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLboolean) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLboolean)) getGLProcAddressHelper("glMinmax", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLboolean) sink ); } /** * Original Function-Prototype : *
extern void glResetMinmax ( GLenum target ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glResetMinmax ( JNIEnv *env, jobject obj, jint target) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glResetMinmax", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target ); } /** * Original Function-Prototype : *
extern void glGetMinmax ( GLenum target , GLboolean reset , GLenum format , GLenum types , GLvoid * values ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3B ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint types, jbyteArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jbyte *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetByteArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetMinmax arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) types, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseByteArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3S ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint types, jshortArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jshort *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetShortArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetMinmax arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) types, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseShortArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3I ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint types, jintArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jint *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetIntArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetMinmax arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) types, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseIntArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3F ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint types, jfloatArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetMinmax arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) types, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseFloatArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3D ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint types, jdoubleArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jdouble *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetDoubleArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetMinmax arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) types, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseDoubleArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3Z ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint types, jbooleanArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jboolean *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetBooleanArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetMinmax arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) types, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseBooleanArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMinmax__IZII_3J ( JNIEnv *env, jobject obj, jint target, jboolean reset, jint format, jint types, jlongArray values) { static void (CALLBACK *__func_ptr__)(GLenum, GLboolean, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jlong *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLboolean, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetMinmax", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(values!=NULL) { ptr4 = (*env)->GetLongArrayElements(env, values, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetMinmax arg: values"); } } __func_ptr__ ( (GLenum) target, (GLboolean) reset, (GLenum) format, (GLenum) types, (GLvoid *) ptr4 ); if(values!=NULL) { (*env)->ReleaseLongArrayElements(env, values, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetMinmaxParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMinmaxParameterfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetMinmaxParameterfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetMinmaxParameterfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetMinmaxParameteriv ( GLenum target , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetMinmaxParameteriv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetMinmaxParameteriv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetMinmaxParameteriv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glConvolutionFilter1D ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * image ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3B ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jbyteArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jbyte *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr5 = (*env)->GetByteArrayElements(env, image, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glConvolutionFilter1D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(image!=NULL) { (*env)->ReleaseByteArrayElements(env, image, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3S ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jshortArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jshort *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr5 = (*env)->GetShortArrayElements(env, image, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glConvolutionFilter1D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(image!=NULL) { (*env)->ReleaseShortArrayElements(env, image, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3I ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jintArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jint *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr5 = (*env)->GetIntArrayElements(env, image, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glConvolutionFilter1D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(image!=NULL) { (*env)->ReleaseIntArrayElements(env, image, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3F ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jfloatArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jfloat *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr5 = (*env)->GetFloatArrayElements(env, image, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glConvolutionFilter1D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(image!=NULL) { (*env)->ReleaseFloatArrayElements(env, image, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3D ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jdoubleArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jdouble *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr5 = (*env)->GetDoubleArrayElements(env, image, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glConvolutionFilter1D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(image!=NULL) { (*env)->ReleaseDoubleArrayElements(env, image, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jbooleanArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jboolean *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr5 = (*env)->GetBooleanArrayElements(env, image, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glConvolutionFilter1D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(image!=NULL) { (*env)->ReleaseBooleanArrayElements(env, image, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter1D__IIIII_3J ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jlongArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jlong *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr5 = (*env)->GetLongArrayElements(env, image, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glConvolutionFilter1D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(image!=NULL) { (*env)->ReleaseLongArrayElements(env, image, ptr5, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glConvolutionFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * image ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3B ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jbyteArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jbyte *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr6 = (*env)->GetByteArrayElements(env, image, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glConvolutionFilter2D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(image!=NULL) { (*env)->ReleaseByteArrayElements(env, image, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3S ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jshortArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jshort *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr6 = (*env)->GetShortArrayElements(env, image, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glConvolutionFilter2D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(image!=NULL) { (*env)->ReleaseShortArrayElements(env, image, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3I ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jintArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jint *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr6 = (*env)->GetIntArrayElements(env, image, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glConvolutionFilter2D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(image!=NULL) { (*env)->ReleaseIntArrayElements(env, image, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3F ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jfloatArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jfloat *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr6 = (*env)->GetFloatArrayElements(env, image, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glConvolutionFilter2D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(image!=NULL) { (*env)->ReleaseFloatArrayElements(env, image, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3D ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jdoubleArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jdouble *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr6 = (*env)->GetDoubleArrayElements(env, image, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glConvolutionFilter2D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(image!=NULL) { (*env)->ReleaseDoubleArrayElements(env, image, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jbooleanArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jboolean *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr6 = (*env)->GetBooleanArrayElements(env, image, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glConvolutionFilter2D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(image!=NULL) { (*env)->ReleaseBooleanArrayElements(env, image, ptr6, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionFilter2D__IIIIII_3J ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jlongArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jlong *ptr6 = NULL; static int isWarned6 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glConvolutionFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr6 = (*env)->GetLongArrayElements(env, image, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glConvolutionFilter2D arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6 ); if(image!=NULL) { (*env)->ReleaseLongArrayElements(env, image, ptr6, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glConvolutionParameterf ( GLenum target , GLenum pname , GLfloat params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionParameterf ( JNIEnv *env, jobject obj, jint target, jint pname, jfloat params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat)) getGLProcAddressHelper("glConvolutionParameterf", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat) params ); } /** * Original Function-Prototype : *
extern void glConvolutionParameterfv ( GLenum target , GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionParameterfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLfloat *)) getGLProcAddressHelper("glConvolutionParameterfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glConvolutionParameterfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (const GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glConvolutionParameteri ( GLenum target , GLenum pname , GLint params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionParameteri ( JNIEnv *env, jobject obj, jint target, jint pname, jint params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint)) getGLProcAddressHelper("glConvolutionParameteri", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint) params ); } /** * Original Function-Prototype : *
extern void glConvolutionParameteriv ( GLenum target , GLenum pname , const GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glConvolutionParameteriv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, const GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, const GLint *)) getGLProcAddressHelper("glConvolutionParameteriv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glConvolutionParameteriv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (const GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glCopyConvolutionFilter1D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter1D ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint x, jint y, jint width) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei)) getGLProcAddressHelper("glCopyConvolutionFilter1D", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLint) x, (GLint) y, (GLsizei) width ); } /** * Original Function-Prototype : *
extern void glCopyConvolutionFilter2D ( GLenum target , GLenum internalformat , GLint x , GLint y , GLsizei width , GLsizei height ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyConvolutionFilter2D ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint x, jint y, jint width, jint height) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint, GLint, GLsizei, GLsizei)) getGLProcAddressHelper("glCopyConvolutionFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height ); } /** * Original Function-Prototype : *
extern void glGetConvolutionFilter ( GLenum target , GLenum format , GLenum type , GLvoid * image ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3B ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jbyteArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, image, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetConvolutionFilter arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(image!=NULL) { (*env)->ReleaseByteArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3S ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jshortArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, image, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetConvolutionFilter arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(image!=NULL) { (*env)->ReleaseShortArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3I ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jintArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, image, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetConvolutionFilter arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(image!=NULL) { (*env)->ReleaseIntArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3F ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jfloatArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, image, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetConvolutionFilter arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(image!=NULL) { (*env)->ReleaseFloatArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3D ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jdoubleArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, image, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetConvolutionFilter arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(image!=NULL) { (*env)->ReleaseDoubleArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3Z ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jbooleanArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, image, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetConvolutionFilter arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(image!=NULL) { (*env)->ReleaseBooleanArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetConvolutionFilter__III_3J ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jlongArray image) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetConvolutionFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(image!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, image, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetConvolutionFilter arg: image"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(image!=NULL) { (*env)->ReleaseLongArrayElements(env, image, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetConvolutionParameterfv ( GLenum target , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetConvolutionParameterfv ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetConvolutionParameterfv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetConvolutionParameterfv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetConvolutionParameteriv ( GLenum target , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetConvolutionParameteriv ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetConvolutionParameteriv", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetConvolutionParameteriv arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glSeparableFilter2D ( GLenum target , GLenum internalformat , GLsizei width , GLsizei height , GLenum format , GLenum type , const GLvoid * row , const GLvoid * column ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3B_3B ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jbyteArray row, jbyteArray column) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jbyte *ptr6 = NULL; static int isWarned6 = 0; jboolean isCopiedArray7 = JNI_FALSE; jbyte *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr6 = (*env)->GetByteArrayElements(env, row, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glSeparableFilter2D arg: row"); } } if(column!=NULL) { ptr7 = (*env)->GetByteArrayElements(env, column, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glSeparableFilter2D arg: column"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6, (const GLvoid *) ptr7 ); if(row!=NULL) { (*env)->ReleaseByteArrayElements(env, row, ptr6, JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseByteArrayElements(env, column, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3S_3S ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jshortArray row, jshortArray column) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jshort *ptr6 = NULL; static int isWarned6 = 0; jboolean isCopiedArray7 = JNI_FALSE; jshort *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr6 = (*env)->GetShortArrayElements(env, row, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glSeparableFilter2D arg: row"); } } if(column!=NULL) { ptr7 = (*env)->GetShortArrayElements(env, column, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glSeparableFilter2D arg: column"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6, (const GLvoid *) ptr7 ); if(row!=NULL) { (*env)->ReleaseShortArrayElements(env, row, ptr6, JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseShortArrayElements(env, column, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3I_3I ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jintArray row, jintArray column) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jint *ptr6 = NULL; static int isWarned6 = 0; jboolean isCopiedArray7 = JNI_FALSE; jint *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr6 = (*env)->GetIntArrayElements(env, row, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glSeparableFilter2D arg: row"); } } if(column!=NULL) { ptr7 = (*env)->GetIntArrayElements(env, column, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glSeparableFilter2D arg: column"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6, (const GLvoid *) ptr7 ); if(row!=NULL) { (*env)->ReleaseIntArrayElements(env, row, ptr6, JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseIntArrayElements(env, column, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3F_3F ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jfloatArray row, jfloatArray column) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jfloat *ptr6 = NULL; static int isWarned6 = 0; jboolean isCopiedArray7 = JNI_FALSE; jfloat *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr6 = (*env)->GetFloatArrayElements(env, row, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glSeparableFilter2D arg: row"); } } if(column!=NULL) { ptr7 = (*env)->GetFloatArrayElements(env, column, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glSeparableFilter2D arg: column"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6, (const GLvoid *) ptr7 ); if(row!=NULL) { (*env)->ReleaseFloatArrayElements(env, row, ptr6, JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseFloatArrayElements(env, column, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3D_3D ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jdoubleArray row, jdoubleArray column) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jdouble *ptr6 = NULL; static int isWarned6 = 0; jboolean isCopiedArray7 = JNI_FALSE; jdouble *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr6 = (*env)->GetDoubleArrayElements(env, row, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glSeparableFilter2D arg: row"); } } if(column!=NULL) { ptr7 = (*env)->GetDoubleArrayElements(env, column, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glSeparableFilter2D arg: column"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6, (const GLvoid *) ptr7 ); if(row!=NULL) { (*env)->ReleaseDoubleArrayElements(env, row, ptr6, JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseDoubleArrayElements(env, column, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3Z_3Z ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jbooleanArray row, jbooleanArray column) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jboolean *ptr6 = NULL; static int isWarned6 = 0; jboolean isCopiedArray7 = JNI_FALSE; jboolean *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr6 = (*env)->GetBooleanArrayElements(env, row, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glSeparableFilter2D arg: row"); } } if(column!=NULL) { ptr7 = (*env)->GetBooleanArrayElements(env, column, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glSeparableFilter2D arg: column"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6, (const GLvoid *) ptr7 ); if(row!=NULL) { (*env)->ReleaseBooleanArrayElements(env, row, ptr6, JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseBooleanArrayElements(env, column, ptr7, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glSeparableFilter2D__IIIIII_3J_3J ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint height, jint format, jint type, jlongArray row, jlongArray column) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *) = NULL; jboolean isCopiedArray6 = JNI_FALSE; jlong *ptr6 = NULL; static int isWarned6 = 0; jboolean isCopiedArray7 = JNI_FALSE; jlong *ptr7 = NULL; static int isWarned7 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *, const GLvoid *)) getGLProcAddressHelper("glSeparableFilter2D", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr6 = (*env)->GetLongArrayElements(env, row, &isCopiedArray6); if( isCopiedArray6 == JNI_TRUE && isWarned6==0 ) { isWarned6=1; printf("COPY by glSeparableFilter2D arg: row"); } } if(column!=NULL) { ptr7 = (*env)->GetLongArrayElements(env, column, &isCopiedArray7); if( isCopiedArray7 == JNI_TRUE && isWarned7==0 ) { isWarned7=1; printf("COPY by glSeparableFilter2D arg: column"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLsizei) height, (GLenum) format, (GLenum) type, (const GLvoid *) ptr6, (const GLvoid *) ptr7 ); if(row!=NULL) { (*env)->ReleaseLongArrayElements(env, row, ptr6, JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseLongArrayElements(env, column, ptr7, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetSeparableFilter ( GLenum target , GLenum format , GLenum type , GLvoid * row , GLvoid * column , GLvoid * span ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3B_3B_3B ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jbyteArray row, jbyteArray column, jbyteArray span) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; jboolean isCopiedArray4 = JNI_FALSE; jbyte *ptr4 = NULL; static int isWarned4 = 0; jboolean isCopiedArray5 = JNI_FALSE; jbyte *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, row, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetSeparableFilter arg: row"); } } if(column!=NULL) { ptr4 = (*env)->GetByteArrayElements(env, column, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetSeparableFilter arg: column"); } } if(span!=NULL) { ptr5 = (*env)->GetByteArrayElements(env, span, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glGetSeparableFilter arg: span"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3, (GLvoid *) ptr4, (GLvoid *) ptr5 ); if(row!=NULL) { (*env)->ReleaseByteArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseByteArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } if(span!=NULL) { (*env)->ReleaseByteArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3S_3S_3S ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jshortArray row, jshortArray column, jshortArray span) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; jboolean isCopiedArray4 = JNI_FALSE; jshort *ptr4 = NULL; static int isWarned4 = 0; jboolean isCopiedArray5 = JNI_FALSE; jshort *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, row, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetSeparableFilter arg: row"); } } if(column!=NULL) { ptr4 = (*env)->GetShortArrayElements(env, column, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetSeparableFilter arg: column"); } } if(span!=NULL) { ptr5 = (*env)->GetShortArrayElements(env, span, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glGetSeparableFilter arg: span"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3, (GLvoid *) ptr4, (GLvoid *) ptr5 ); if(row!=NULL) { (*env)->ReleaseShortArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseShortArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } if(span!=NULL) { (*env)->ReleaseShortArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3I_3I_3I ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jintArray row, jintArray column, jintArray span) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; jboolean isCopiedArray4 = JNI_FALSE; jint *ptr4 = NULL; static int isWarned4 = 0; jboolean isCopiedArray5 = JNI_FALSE; jint *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, row, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetSeparableFilter arg: row"); } } if(column!=NULL) { ptr4 = (*env)->GetIntArrayElements(env, column, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetSeparableFilter arg: column"); } } if(span!=NULL) { ptr5 = (*env)->GetIntArrayElements(env, span, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glGetSeparableFilter arg: span"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3, (GLvoid *) ptr4, (GLvoid *) ptr5 ); if(row!=NULL) { (*env)->ReleaseIntArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseIntArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } if(span!=NULL) { (*env)->ReleaseIntArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3F_3F_3F ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jfloatArray row, jfloatArray column, jfloatArray span) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; static int isWarned4 = 0; jboolean isCopiedArray5 = JNI_FALSE; jfloat *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, row, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetSeparableFilter arg: row"); } } if(column!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, column, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetSeparableFilter arg: column"); } } if(span!=NULL) { ptr5 = (*env)->GetFloatArrayElements(env, span, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glGetSeparableFilter arg: span"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3, (GLvoid *) ptr4, (GLvoid *) ptr5 ); if(row!=NULL) { (*env)->ReleaseFloatArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseFloatArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } if(span!=NULL) { (*env)->ReleaseFloatArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3D_3D_3D ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jdoubleArray row, jdoubleArray column, jdoubleArray span) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; jboolean isCopiedArray4 = JNI_FALSE; jdouble *ptr4 = NULL; static int isWarned4 = 0; jboolean isCopiedArray5 = JNI_FALSE; jdouble *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, row, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetSeparableFilter arg: row"); } } if(column!=NULL) { ptr4 = (*env)->GetDoubleArrayElements(env, column, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetSeparableFilter arg: column"); } } if(span!=NULL) { ptr5 = (*env)->GetDoubleArrayElements(env, span, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glGetSeparableFilter arg: span"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3, (GLvoid *) ptr4, (GLvoid *) ptr5 ); if(row!=NULL) { (*env)->ReleaseDoubleArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseDoubleArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } if(span!=NULL) { (*env)->ReleaseDoubleArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3Z_3Z_3Z ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jbooleanArray row, jbooleanArray column, jbooleanArray span) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; jboolean isCopiedArray4 = JNI_FALSE; jboolean *ptr4 = NULL; static int isWarned4 = 0; jboolean isCopiedArray5 = JNI_FALSE; jboolean *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, row, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetSeparableFilter arg: row"); } } if(column!=NULL) { ptr4 = (*env)->GetBooleanArrayElements(env, column, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetSeparableFilter arg: column"); } } if(span!=NULL) { ptr5 = (*env)->GetBooleanArrayElements(env, span, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glGetSeparableFilter arg: span"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3, (GLvoid *) ptr4, (GLvoid *) ptr5 ); if(row!=NULL) { (*env)->ReleaseBooleanArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseBooleanArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } if(span!=NULL) { (*env)->ReleaseBooleanArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetSeparableFilter__III_3J_3J_3J ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jlongArray row, jlongArray column, jlongArray span) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; jboolean isCopiedArray4 = JNI_FALSE; jlong *ptr4 = NULL; static int isWarned4 = 0; jboolean isCopiedArray5 = JNI_FALSE; jlong *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *, GLvoid *, GLvoid *)) getGLProcAddressHelper("glGetSeparableFilter", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(row!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, row, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetSeparableFilter arg: row"); } } if(column!=NULL) { ptr4 = (*env)->GetLongArrayElements(env, column, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glGetSeparableFilter arg: column"); } } if(span!=NULL) { ptr5 = (*env)->GetLongArrayElements(env, span, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glGetSeparableFilter arg: span"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3, (GLvoid *) ptr4, (GLvoid *) ptr5 ); if(row!=NULL) { (*env)->ReleaseLongArrayElements(env, row, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } if(column!=NULL) { (*env)->ReleaseLongArrayElements(env, column, ptr4, (isCopiedArray4 == JNI_TRUE)?0:JNI_ABORT); } if(span!=NULL) { (*env)->ReleaseLongArrayElements(env, span, ptr5, (isCopiedArray5 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glBlendColorEXT ( GLclampf red , GLclampf green , GLclampf blue , GLclampf alpha ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glBlendColorEXT ( JNIEnv *env, jobject obj, jfloat red, jfloat green, jfloat blue, jfloat alpha) { static void (CALLBACK *__func_ptr__)(GLclampf, GLclampf, GLclampf, GLclampf) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLclampf, GLclampf, GLclampf, GLclampf)) getGLProcAddressHelper("glBlendColorEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLclampf) red, (GLclampf) green, (GLclampf) blue, (GLclampf) alpha ); } /** * Original Function-Prototype : *
extern void glPolygonOffsetEXT ( GLfloat factor , GLfloat bias ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPolygonOffsetEXT ( JNIEnv *env, jobject obj, jfloat factor, jfloat bias) { static void (CALLBACK *__func_ptr__)(GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLfloat, GLfloat)) getGLProcAddressHelper("glPolygonOffsetEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLfloat) factor, (GLfloat) bias ); } /** * Original Function-Prototype : *
extern void glTexImage3DEXT ( GLenum target , GLint level , GLenum internalFormat , GLsizei width , GLsizei height , GLsizei depth , GLint border , GLenum format , GLenum type , const GLvoid * pixels ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3B ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jbyte *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3S ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jshort *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3I ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jint *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3F ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jfloat *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3D ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jdouble *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jboolean *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr9, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexImage3DEXT__IIIIIIIII_3J ( JNIEnv *env, jobject obj, jint target, jint level, jint internalFormat, jint width, jint height, jint depth, jint border, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray9 = JNI_FALSE; jlong *ptr9 = NULL; static int isWarned9 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr9 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray9); if( isCopiedArray9 == JNI_TRUE && isWarned9==0 ) { isWarned9=1; printf("COPY by glTexImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLenum) internalFormat, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLint) border, (GLenum) format, (GLenum) type, (const GLvoid *) ptr9 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr9, JNI_ABORT); } } /** * Original Function-Prototype : *
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 ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3B ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jbyteArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jbyte *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetByteArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseByteArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3S ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jshortArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jshort *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetShortArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseShortArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3I ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jintArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jint *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetIntArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseIntArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3F ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jfloatArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jfloat *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetFloatArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseFloatArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3D ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jdoubleArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jdouble *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetDoubleArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseDoubleArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jbooleanArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jboolean *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetBooleanArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseBooleanArrayElements(env, pixels, ptr10, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexSubImage3DEXT__IIIIIIIIII_3J ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint width, jint height, jint depth, jint format, jint type, jlongArray pixels) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray10 = JNI_FALSE; jlong *ptr10 = NULL; static int isWarned10 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLsizei, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glTexSubImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(pixels!=NULL) { ptr10 = (*env)->GetLongArrayElements(env, pixels, &isCopiedArray10); if( isCopiedArray10 == JNI_TRUE && isWarned10==0 ) { isWarned10=1; printf("COPY by glTexSubImage3DEXT arg: pixels"); } } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLsizei) width, (GLsizei) height, (GLsizei) depth, (GLenum) format, (GLenum) type, (const GLvoid *) ptr10 ); if(pixels!=NULL) { (*env)->ReleaseLongArrayElements(env, pixels, ptr10, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glCopyTexSubImage3DEXT ( GLenum target , GLint level , GLint xoffset , GLint yoffset , GLint zoffset , GLint x , GLint y , GLsizei width , GLsizei height ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glCopyTexSubImage3DEXT ( JNIEnv *env, jobject obj, jint target, jint level, jint xoffset, jint yoffset, jint zoffset, jint x, jint y, jint width, jint height) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint, GLint, GLint, GLsizei, GLsizei)) getGLProcAddressHelper("glCopyTexSubImage3DEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) level, (GLint) xoffset, (GLint) yoffset, (GLint) zoffset, (GLint) x, (GLint) y, (GLsizei) width, (GLsizei) height ); } /** * Original Function-Prototype : *
extern void glGenTexturesEXT ( GLsizei n , GLuint * textures ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGenTexturesEXT ( JNIEnv *env, jobject obj, jint n, jintArray textures) { static void (CALLBACK *__func_ptr__)(GLsizei, GLuint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLuint *)) getGLProcAddressHelper("glGenTexturesEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(textures!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGenTexturesEXT arg: textures"); } } __func_ptr__ ( (GLsizei) n, (GLuint *) ptr1 ); if(textures!=NULL) { (*env)->ReleaseIntArrayElements(env, textures, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glDeleteTexturesEXT ( GLsizei n , const GLuint * textures ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDeleteTexturesEXT ( JNIEnv *env, jobject obj, jint n, jintArray textures) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *)) getGLProcAddressHelper("glDeleteTexturesEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(textures!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glDeleteTexturesEXT arg: textures"); } } __func_ptr__ ( (GLsizei) n, (const GLuint *) ptr1 ); if(textures!=NULL) { (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glBindTextureEXT ( GLenum target , GLuint texture ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glBindTextureEXT ( JNIEnv *env, jobject obj, jint target, jint texture) { static void (CALLBACK *__func_ptr__)(GLenum, GLuint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLuint)) getGLProcAddressHelper("glBindTextureEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLuint) texture ); } /** * Original Function-Prototype : *
extern void glPrioritizeTexturesEXT ( GLsizei n , const GLuint * textures , const GLclampf * priorities ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPrioritizeTexturesEXT ( JNIEnv *env, jobject obj, jint n, jintArray textures, jfloatArray priorities) { static void (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, const GLclampf *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, const GLuint *, const GLclampf *)) getGLProcAddressHelper("glPrioritizeTexturesEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(textures!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glPrioritizeTexturesEXT arg: textures"); } } if(priorities!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, priorities, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glPrioritizeTexturesEXT arg: priorities"); } } __func_ptr__ ( (GLsizei) n, (const GLuint *) ptr1, (const GLclampf *) ptr2 ); if(textures!=NULL) { (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); } if(priorities!=NULL) { (*env)->ReleaseFloatArrayElements(env, priorities, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern GLboolean glAreTexturesResidentEXT ( GLsizei n , const GLuint * textures , GLboolean * residences ) ; **/ JNIEXPORT jboolean JNICALL Java_gl4java_GLFuncJauJNI_glAreTexturesResidentEXT ( JNIEnv *env, jobject obj, jint n, jintArray textures, jbooleanArray residences) { static jboolean (CALLBACK *__func_ptr__)(GLsizei, const GLuint *, GLboolean *) = NULL; jboolean ret; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; jboolean isCopiedArray2 = JNI_FALSE; jboolean *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (jboolean (CALLBACK *)(GLsizei, const GLuint *, GLboolean *)) getGLProcAddressHelper("glAreTexturesResidentEXT", NULL, 1, 0); if(__func_ptr__==NULL) return 0; } if(textures!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, textures, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glAreTexturesResidentEXT arg: textures"); } } if(residences!=NULL) { ptr2 = (*env)->GetBooleanArrayElements(env, residences, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glAreTexturesResidentEXT arg: residences"); } } ret = (jboolean) __func_ptr__ ( (GLsizei) n, (const GLuint *) ptr1, (GLboolean *) ptr2 ); if(textures!=NULL) { (*env)->ReleaseIntArrayElements(env, textures, ptr1, JNI_ABORT); } if(residences!=NULL) { (*env)->ReleaseBooleanArrayElements(env, residences, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } return ret; } /** * Original Function-Prototype : *
extern GLboolean glIsTextureEXT ( GLuint texture ) ; **/ JNIEXPORT jboolean JNICALL Java_gl4java_GLFuncJauJNI_glIsTextureEXT ( JNIEnv *env, jobject obj, jint texture) { static jboolean (CALLBACK *__func_ptr__)(GLuint) = NULL; jboolean ret; if(__func_ptr__==NULL) { __func_ptr__ = (jboolean (CALLBACK *)(GLuint)) getGLProcAddressHelper("glIsTextureEXT", NULL, 1, 0); if(__func_ptr__==NULL) return 0; } ret = (jboolean) __func_ptr__ ( (GLuint) texture ); return ret; } /** * Original Function-Prototype : *
extern void glVertexPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3B ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jbyte *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glVertexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3S ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jshort *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glVertexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3I ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jint *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glVertexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3F ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glVertexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3D ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jdouble *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glVertexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3Z ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jboolean *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glVertexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glVertexPointerEXT__IIII_3J ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jlong *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glVertexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glVertexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glNormalPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3B ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glNormalPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3S ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glNormalPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3I ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glNormalPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3F ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glNormalPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3D ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glNormalPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3Z ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glNormalPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glNormalPointerEXT__III_3J ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glNormalPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glNormalPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColorPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3B ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jbyte *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glColorPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3S ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jshort *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glColorPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3I ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jint *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glColorPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3F ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glColorPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3D ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jdouble *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glColorPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3Z ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jboolean *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glColorPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorPointerEXT__IIII_3J ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jlong *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glColorPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glColorPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glIndexPointerEXT ( GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3B ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glIndexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3S ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glIndexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3I ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glIndexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3F ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glIndexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3D ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glIndexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3Z ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glIndexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr3, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glIndexPointerEXT__III_3J ( JNIEnv *env, jobject obj, jint type, jint stride, jint count, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glIndexPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glIndexPointerEXT arg: ptr"); } } __func_ptr__ ( (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr3 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr3, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glTexCoordPointerEXT ( GLint size , GLenum type , GLsizei stride , GLsizei count , const GLvoid * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3B ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jbyteArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jbyte *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetByteArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glTexCoordPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseByteArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3S ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jshortArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jshort *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetShortArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glTexCoordPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseShortArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3I ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jintArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jint *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetIntArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glTexCoordPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseIntArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3F ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jfloatArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jfloat *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetFloatArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glTexCoordPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseFloatArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3D ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jdoubleArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jdouble *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetDoubleArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glTexCoordPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseDoubleArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3Z ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jboolean *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glTexCoordPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr4, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glTexCoordPointerEXT__IIII_3J ( JNIEnv *env, jobject obj, jint size, jint type, jint stride, jint count, jlongArray ptr) { static void (CALLBACK *__func_ptr__)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *) = NULL; jboolean isCopiedArray4 = JNI_FALSE; jlong *ptr4 = NULL; static int isWarned4 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLenum, GLsizei, GLsizei, const GLvoid *)) getGLProcAddressHelper("glTexCoordPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr4 = (*env)->GetLongArrayElements(env, ptr, &isCopiedArray4); if( isCopiedArray4 == JNI_TRUE && isWarned4==0 ) { isWarned4=1; printf("COPY by glTexCoordPointerEXT arg: ptr"); } } __func_ptr__ ( (GLint) size, (GLenum) type, (GLsizei) stride, (GLsizei) count, (const GLvoid *) ptr4 ); if(ptr!=NULL) { (*env)->ReleaseLongArrayElements(env, ptr, ptr4, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glEdgeFlagPointerEXT ( GLsizei stride , GLsizei count , const GLboolean * ptr ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glEdgeFlagPointerEXT ( JNIEnv *env, jobject obj, jint stride, jint count, jbooleanArray ptr) { static void (CALLBACK *__func_ptr__)(GLsizei, GLsizei, const GLboolean *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jboolean *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLsizei, GLsizei, const GLboolean *)) getGLProcAddressHelper("glEdgeFlagPointerEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(ptr!=NULL) { ptr2 = (*env)->GetBooleanArrayElements(env, ptr, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glEdgeFlagPointerEXT arg: ptr"); } } __func_ptr__ ( (GLsizei) stride, (GLsizei) count, (const GLboolean *) ptr2 ); if(ptr!=NULL) { (*env)->ReleaseBooleanArrayElements(env, ptr, ptr2, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetPointervEXT ( GLenum pname , void * * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3B ( JNIEnv *env, jobject obj, jint pname, jbyteArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jbyte *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetByteArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointervEXT arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseByteArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3S ( JNIEnv *env, jobject obj, jint pname, jshortArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jshort *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetShortArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointervEXT arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseShortArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3I ( JNIEnv *env, jobject obj, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointervEXT arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3F ( JNIEnv *env, jobject obj, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointervEXT arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3D ( JNIEnv *env, jobject obj, jint pname, jdoubleArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointervEXT arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseDoubleArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3Z ( JNIEnv *env, jobject obj, jint pname, jbooleanArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jboolean *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetBooleanArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointervEXT arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseBooleanArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetPointervEXT__I_3_3J ( JNIEnv *env, jobject obj, jint pname, jlongArray params) { static void (CALLBACK *__func_ptr__)(GLenum, void **) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jlong *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, void **)) getGLProcAddressHelper("glGetPointervEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetLongArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glGetPointervEXT arg: params"); } } __func_ptr__ ( (GLenum) pname, (void **) ptr1 ); if(params!=NULL) { (*env)->ReleaseLongArrayElements(env, params, ptr1, (isCopiedArray1 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glArrayElementEXT ( GLint i ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glArrayElementEXT ( JNIEnv *env, jobject obj, jint i) { static void (CALLBACK *__func_ptr__)(GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint)) getGLProcAddressHelper("glArrayElementEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) i ); } /** * Original Function-Prototype : *
extern void glDrawArraysEXT ( GLenum mode , GLint first , GLsizei count ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glDrawArraysEXT ( JNIEnv *env, jobject obj, jint mode, jint first, jint count) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLsizei)) getGLProcAddressHelper("glDrawArraysEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode, (GLint) first, (GLsizei) count ); } /** * Original Function-Prototype : *
extern void glBlendEquationEXT ( GLenum mode ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glBlendEquationEXT ( JNIEnv *env, jobject obj, jint mode) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glBlendEquationEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) mode ); } /** * Original Function-Prototype : *
extern void glPointParameterfEXT ( GLenum pname , GLfloat param ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPointParameterfEXT ( JNIEnv *env, jobject obj, jint pname, jfloat param) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) getGLProcAddressHelper("glPointParameterfEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) pname, (GLfloat) param ); } /** * Original Function-Prototype : *
extern void glPointParameterfvEXT ( GLenum pname , const GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glPointParameterfvEXT ( JNIEnv *env, jobject obj, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) getGLProcAddressHelper("glPointParameterfvEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glPointParameterfvEXT arg: params"); } } __func_ptr__ ( (GLenum) pname, (const GLfloat *) ptr1 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColorTableEXT ( GLenum target , GLenum internalformat , GLsizei width , GLenum format , GLenum type , const GLvoid * table ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3B ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jbyteArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jbyte *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetByteArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseByteArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3S ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jshortArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jshort *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetShortArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseShortArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3I ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jintArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jint *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetIntArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseIntArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3F ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jfloatArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jfloat *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseFloatArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3D ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jdoubleArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jdouble *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseDoubleArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jbooleanArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jboolean *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseBooleanArrayElements(env, table, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorTableEXT__IIIII_3J ( JNIEnv *env, jobject obj, jint target, jint internalformat, jint width, jint format, jint type, jlongArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jlong *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr5 = (*env)->GetLongArrayElements(env, table, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) internalformat, (GLsizei) width, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(table!=NULL) { (*env)->ReleaseLongArrayElements(env, table, ptr5, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glColorSubTableEXT ( GLenum target , GLsizei start , GLsizei count , GLenum format , GLenum type , const GLvoid * data ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3B ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jbyteArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jbyte *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetByteArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTableEXT arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseByteArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3S ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jshortArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jshort *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetShortArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTableEXT arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseShortArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3I ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jintArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jint *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetIntArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTableEXT arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseIntArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3F ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jfloatArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jfloat *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetFloatArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTableEXT arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseFloatArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3D ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jdoubleArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jdouble *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetDoubleArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTableEXT arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseDoubleArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3Z ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jbooleanArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jboolean *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetBooleanArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTableEXT arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseBooleanArrayElements(env, data, ptr5, JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glColorSubTableEXT__IIIII_3J ( JNIEnv *env, jobject obj, jint target, jint start, jint count, jint format, jint type, jlongArray data) { static void (CALLBACK *__func_ptr__)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *) = NULL; jboolean isCopiedArray5 = JNI_FALSE; jlong *ptr5 = NULL; static int isWarned5 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLsizei, GLsizei, GLenum, GLenum, const GLvoid *)) getGLProcAddressHelper("glColorSubTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(data!=NULL) { ptr5 = (*env)->GetLongArrayElements(env, data, &isCopiedArray5); if( isCopiedArray5 == JNI_TRUE && isWarned5==0 ) { isWarned5=1; printf("COPY by glColorSubTableEXT arg: data"); } } __func_ptr__ ( (GLenum) target, (GLsizei) start, (GLsizei) count, (GLenum) format, (GLenum) type, (const GLvoid *) ptr5 ); if(data!=NULL) { (*env)->ReleaseLongArrayElements(env, data, ptr5, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetColorTableEXT ( GLenum target , GLenum format , GLenum type , GLvoid * table ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3B ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jbyteArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jbyte *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetByteArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseByteArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3S ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jshortArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jshort *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetShortArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseShortArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3I ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jintArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jint *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetIntArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseIntArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3F ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jfloatArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jfloat *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetFloatArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseFloatArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3D ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jdoubleArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jdouble *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetDoubleArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseDoubleArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3Z ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jbooleanArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jboolean *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetBooleanArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseBooleanArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableEXT__III_3J ( JNIEnv *env, jobject obj, jint target, jint format, jint type, jlongArray table) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLenum, GLvoid *) = NULL; jboolean isCopiedArray3 = JNI_FALSE; jlong *ptr3 = NULL; static int isWarned3 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLenum, GLvoid *)) getGLProcAddressHelper("glGetColorTableEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(table!=NULL) { ptr3 = (*env)->GetLongArrayElements(env, table, &isCopiedArray3); if( isCopiedArray3 == JNI_TRUE && isWarned3==0 ) { isWarned3=1; printf("COPY by glGetColorTableEXT arg: table"); } } __func_ptr__ ( (GLenum) target, (GLenum) format, (GLenum) type, (GLvoid *) ptr3 ); if(table!=NULL) { (*env)->ReleaseLongArrayElements(env, table, ptr3, (isCopiedArray3 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetColorTableParameterfvEXT ( GLenum target , GLenum pname , GLfloat * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableParameterfvEXT ( JNIEnv *env, jobject obj, jint target, jint pname, jfloatArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLfloat *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jfloat *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLfloat *)) getGLProcAddressHelper("glGetColorTableParameterfvEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetFloatArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetColorTableParameterfvEXT arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLfloat *) ptr2 ); if(params!=NULL) { (*env)->ReleaseFloatArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glGetColorTableParameterivEXT ( GLenum target , GLenum pname , GLint * params ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glGetColorTableParameterivEXT ( JNIEnv *env, jobject obj, jint target, jint pname, jintArray params) { static void (CALLBACK *__func_ptr__)(GLenum, GLenum, GLint *) = NULL; jboolean isCopiedArray2 = JNI_FALSE; jint *ptr2 = NULL; static int isWarned2 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLenum, GLint *)) getGLProcAddressHelper("glGetColorTableParameterivEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(params!=NULL) { ptr2 = (*env)->GetIntArrayElements(env, params, &isCopiedArray2); if( isCopiedArray2 == JNI_TRUE && isWarned2==0 ) { isWarned2=1; printf("COPY by glGetColorTableParameterivEXT arg: params"); } } __func_ptr__ ( (GLenum) target, (GLenum) pname, (GLint *) ptr2 ); if(params!=NULL) { (*env)->ReleaseIntArrayElements(env, params, ptr2, (isCopiedArray2 == JNI_TRUE)?0:JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glLockArraysEXT ( GLint first , GLsizei count ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glLockArraysEXT ( JNIEnv *env, jobject obj, jint first, jint count) { static void (CALLBACK *__func_ptr__)(GLint, GLsizei) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLint, GLsizei)) getGLProcAddressHelper("glLockArraysEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLint) first, (GLsizei) count ); } /** * Original Function-Prototype : *
extern void glUnlockArraysEXT ( void ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glUnlockArraysEXT ( JNIEnv *env, jobject obj) { static void (CALLBACK *__func_ptr__)() = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)()) getGLProcAddressHelper("glUnlockArraysEXT", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( ); } /** * Original Function-Prototype : *
extern void glActiveTextureARB ( GLenum texture ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glActiveTextureARB ( JNIEnv *env, jobject obj, jint texture) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glActiveTextureARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) texture ); } /** * Original Function-Prototype : *
extern void glClientActiveTextureARB ( GLenum texture ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glClientActiveTextureARB ( JNIEnv *env, jobject obj, jint texture) { static void (CALLBACK *__func_ptr__)(GLenum) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum)) getGLProcAddressHelper("glClientActiveTextureARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) texture ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord1dARB ( GLenum target , GLdouble s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dARB ( JNIEnv *env, jobject obj, jint target, jdouble s) { static void (CALLBACK *__func_ptr__)(GLenum, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble)) getGLProcAddressHelper("glMultiTexCoord1dARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLdouble) s ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord1dvARB ( GLenum target , const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord1dvARB ( JNIEnv *env, jobject obj, jint target, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) getGLProcAddressHelper("glMultiTexCoord1dvARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord1dvARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLdouble *) ptr1 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord1fARB ( GLenum target , GLfloat s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fARB ( JNIEnv *env, jobject obj, jint target, jfloat s) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat)) getGLProcAddressHelper("glMultiTexCoord1fARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLfloat) s ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord1fvARB ( GLenum target , const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord1fvARB ( JNIEnv *env, jobject obj, jint target, jfloatArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) getGLProcAddressHelper("glMultiTexCoord1fvARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord1fvARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLfloat *) ptr1 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord1iARB ( GLenum target , GLint s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord1iARB ( JNIEnv *env, jobject obj, jint target, jint s) { static void (CALLBACK *__func_ptr__)(GLenum, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint)) getGLProcAddressHelper("glMultiTexCoord1iARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) s ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord1ivARB ( GLenum target , const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord1ivARB ( JNIEnv *env, jobject obj, jint target, jintArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) getGLProcAddressHelper("glMultiTexCoord1ivARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord1ivARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLint *) ptr1 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord1sARB ( GLenum target , GLshort s ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord1sARB ( JNIEnv *env, jobject obj, jint target, jshort s) { static void (CALLBACK *__func_ptr__)(GLenum, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort)) getGLProcAddressHelper("glMultiTexCoord1sARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLshort) s ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord1svARB ( GLenum target , const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord1svARB ( JNIEnv *env, jobject obj, jint target, jshortArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jshort *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) getGLProcAddressHelper("glMultiTexCoord1svARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetShortArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord1svARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLshort *) ptr1 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord2dARB ( GLenum target , GLdouble s , GLdouble t ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dARB ( JNIEnv *env, jobject obj, jint target, jdouble s, jdouble t) { static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble)) getGLProcAddressHelper("glMultiTexCoord2dARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLdouble) s, (GLdouble) t ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord2dvARB ( GLenum target , const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord2dvARB ( JNIEnv *env, jobject obj, jint target, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) getGLProcAddressHelper("glMultiTexCoord2dvARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord2dvARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLdouble *) ptr1 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord2fARB ( GLenum target , GLfloat s , GLfloat t ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fARB ( JNIEnv *env, jobject obj, jint target, jfloat s, jfloat t) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat)) getGLProcAddressHelper("glMultiTexCoord2fARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLfloat) s, (GLfloat) t ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord2fvARB ( GLenum target , const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord2fvARB ( JNIEnv *env, jobject obj, jint target, jfloatArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) getGLProcAddressHelper("glMultiTexCoord2fvARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord2fvARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLfloat *) ptr1 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord2iARB ( GLenum target , GLint s , GLint t ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord2iARB ( JNIEnv *env, jobject obj, jint target, jint s, jint t) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint)) getGLProcAddressHelper("glMultiTexCoord2iARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) s, (GLint) t ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord2ivARB ( GLenum target , const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord2ivARB ( JNIEnv *env, jobject obj, jint target, jintArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) getGLProcAddressHelper("glMultiTexCoord2ivARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord2ivARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLint *) ptr1 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord2sARB ( GLenum target , GLshort s , GLshort t ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord2sARB ( JNIEnv *env, jobject obj, jint target, jshort s, jshort t) { static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort)) getGLProcAddressHelper("glMultiTexCoord2sARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLshort) s, (GLshort) t ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord2svARB ( GLenum target , const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord2svARB ( JNIEnv *env, jobject obj, jint target, jshortArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jshort *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) getGLProcAddressHelper("glMultiTexCoord2svARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetShortArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord2svARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLshort *) ptr1 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord3dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dARB ( JNIEnv *env, jobject obj, jint target, jdouble s, jdouble t, jdouble r) { static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glMultiTexCoord3dARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLdouble) s, (GLdouble) t, (GLdouble) r ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord3dvARB ( GLenum target , const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord3dvARB ( JNIEnv *env, jobject obj, jint target, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) getGLProcAddressHelper("glMultiTexCoord3dvARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord3dvARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLdouble *) ptr1 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord3fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fARB ( JNIEnv *env, jobject obj, jint target, jfloat s, jfloat t, jfloat r) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glMultiTexCoord3fARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLfloat) s, (GLfloat) t, (GLfloat) r ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord3fvARB ( GLenum target , const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord3fvARB ( JNIEnv *env, jobject obj, jint target, jfloatArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) getGLProcAddressHelper("glMultiTexCoord3fvARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord3fvARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLfloat *) ptr1 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord3iARB ( GLenum target , GLint s , GLint t , GLint r ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord3iARB ( JNIEnv *env, jobject obj, jint target, jint s, jint t, jint r) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint)) getGLProcAddressHelper("glMultiTexCoord3iARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) s, (GLint) t, (GLint) r ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord3ivARB ( GLenum target , const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord3ivARB ( JNIEnv *env, jobject obj, jint target, jintArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) getGLProcAddressHelper("glMultiTexCoord3ivARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord3ivARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLint *) ptr1 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord3sARB ( GLenum target , GLshort s , GLshort t , GLshort r ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord3sARB ( JNIEnv *env, jobject obj, jint target, jshort s, jshort t, jshort r) { static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort)) getGLProcAddressHelper("glMultiTexCoord3sARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLshort) s, (GLshort) t, (GLshort) r ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord3svARB ( GLenum target , const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord3svARB ( JNIEnv *env, jobject obj, jint target, jshortArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jshort *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) getGLProcAddressHelper("glMultiTexCoord3svARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetShortArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord3svARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLshort *) ptr1 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord4dARB ( GLenum target , GLdouble s , GLdouble t , GLdouble r , GLdouble q ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dARB ( JNIEnv *env, jobject obj, jint target, jdouble s, jdouble t, jdouble r, jdouble q) { static void (CALLBACK *__func_ptr__)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLdouble, GLdouble, GLdouble, GLdouble)) getGLProcAddressHelper("glMultiTexCoord4dARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLdouble) s, (GLdouble) t, (GLdouble) r, (GLdouble) q ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord4dvARB ( GLenum target , const GLdouble * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord4dvARB ( JNIEnv *env, jobject obj, jint target, jdoubleArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLdouble *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jdouble *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLdouble *)) getGLProcAddressHelper("glMultiTexCoord4dvARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetDoubleArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord4dvARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLdouble *) ptr1 ); if(v!=NULL) { (*env)->ReleaseDoubleArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord4fARB ( GLenum target , GLfloat s , GLfloat t , GLfloat r , GLfloat q ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fARB ( JNIEnv *env, jobject obj, jint target, jfloat s, jfloat t, jfloat r, jfloat q) { static void (CALLBACK *__func_ptr__)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLfloat, GLfloat, GLfloat, GLfloat)) getGLProcAddressHelper("glMultiTexCoord4fARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLfloat) s, (GLfloat) t, (GLfloat) r, (GLfloat) q ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord4fvARB ( GLenum target , const GLfloat * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord4fvARB ( JNIEnv *env, jobject obj, jint target, jfloatArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLfloat *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jfloat *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLfloat *)) getGLProcAddressHelper("glMultiTexCoord4fvARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetFloatArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord4fvARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLfloat *) ptr1 ); if(v!=NULL) { (*env)->ReleaseFloatArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord4iARB ( GLenum target , GLint s , GLint t , GLint r , GLint q ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord4iARB ( JNIEnv *env, jobject obj, jint target, jint s, jint t, jint r, jint q) { static void (CALLBACK *__func_ptr__)(GLenum, GLint, GLint, GLint, GLint) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLint, GLint, GLint, GLint)) getGLProcAddressHelper("glMultiTexCoord4iARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLint) s, (GLint) t, (GLint) r, (GLint) q ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord4ivARB ( GLenum target , const GLint * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord4ivARB ( JNIEnv *env, jobject obj, jint target, jintArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLint *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jint *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLint *)) getGLProcAddressHelper("glMultiTexCoord4ivARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetIntArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord4ivARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLint *) ptr1 ); if(v!=NULL) { (*env)->ReleaseIntArrayElements(env, v, ptr1, JNI_ABORT); } } /** * Original Function-Prototype : *
extern void glMultiTexCoord4sARB ( GLenum target , GLshort s , GLshort t , GLshort r , GLshort q ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord4sARB ( JNIEnv *env, jobject obj, jint target, jshort s, jshort t, jshort r, jshort q) { static void (CALLBACK *__func_ptr__)(GLenum, GLshort, GLshort, GLshort, GLshort) = NULL; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, GLshort, GLshort, GLshort, GLshort)) getGLProcAddressHelper("glMultiTexCoord4sARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } __func_ptr__ ( (GLenum) target, (GLshort) s, (GLshort) t, (GLshort) r, (GLshort) q ); } /** * Original Function-Prototype : *
extern void glMultiTexCoord4svARB ( GLenum target , const GLshort * v ) ; **/ JNIEXPORT void JNICALL Java_gl4java_GLFuncJauJNI_glMultiTexCoord4svARB ( JNIEnv *env, jobject obj, jint target, jshortArray v) { static void (CALLBACK *__func_ptr__)(GLenum, const GLshort *) = NULL; jboolean isCopiedArray1 = JNI_FALSE; jshort *ptr1 = NULL; static int isWarned1 = 0; if(__func_ptr__==NULL) { __func_ptr__ = (void (CALLBACK *)(GLenum, const GLshort *)) getGLProcAddressHelper("glMultiTexCoord4svARB", NULL, 1, 0); if(__func_ptr__==NULL) return; } if(v!=NULL) { ptr1 = (*env)->GetShortArrayElements(env, v, &isCopiedArray1); if( isCopiedArray1 == JNI_TRUE && isWarned1==0 ) { isWarned1=1; printf("COPY by glMultiTexCoord4svARB arg: v"); } } __func_ptr__ ( (GLenum) target, (const GLshort *) ptr1 ); if(v!=NULL) { (*env)->ReleaseShortArrayElements(env, v, ptr1, JNI_ABORT); } } /* C2J Parser Version 1.5 Beta: Java program parsed successfully. */